Posted on Wednesday 21st May 2008 at 08:22 PM | |
Thomas Newbie |
Just wondering if there is anyway to make a div appear if a user has logged in for the very first time? ;] |
Posted on Wednesday 21st May 2008 at 09:48 PM | |
Adam981 Junior Member |
Wouldn't that be the same as the "newest user" that RMB has? |
Posted on Saturday 24th May 2008 at 08:43 PM | |
new2old Junior Member |
Run this is PHPMYADMIN PHP Code
1 2
ALTER TABLE `members` ADD `first` VARCHAR( 3 ) default 'Yes'
On login.php where you have the links add PHP Code
1 2 3 4 5 6 7
if ($logged['first'] == "Yes") {
Open logout.php right under include "config.php"; add PHP Code
1 2 3 4 5
if ($logged['first'] == "Yes") {
That's it any errors let me no, would be a good idea to put in the div for first time users that they will need to logout for it to disappear. |