PERSONALIZING PAGES USING THE WEB SITE MEMBERSHIP PLUGIN - Aug 18th, 2011


Adding a personal touch like "Welcome Aubry Jones" to a page that uses the membership plugin is pretty easy, and it can
be done with as little as one line of code.

Here's how...



<?php if (@$CURRENT_USER): ?> Welcome <?php echo mysql_escape($CURRENT_USER['first_name']); ?> <?php echo
mysql_escape($CURRENT_USER['last_name']); ?> <?php endif ?>



By substituting any field that exists in your membership account table, and by setting up "elseif" and "else" criteria,
you can display many other types of information to users.



The materials on this web site have been created for use with CMS Builder content management software. CMS Builder software is published and licensed for use by InteractiveTools.com. Please contact Interactive Tools for information on the downloading of the software or the purchasing of licenses.


Terms of Service