Code:if ( $_COOKIE['memberID'] > 0 ) { Do something for a logged in member } else Do something else if they are not a logged in member
Code:if ( $_COOKIE['memberID'] > 0 ) { Do something for a logged in member } else Do something else if they are not a logged in member
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
where does this code need to be added.
also smoge the earliest posts now come last which is a bit confusing I like it the way it was earlier.
Thanks
This is just a code example - you can put it wherever you need to control a not logged in users access.Originally Posted by ijk
I assume you mean the posts here on ModMySite. You can change this in your user control panel:Originally Posted by ijk
http://www.modmysite.com/profile.php?do=editoptions
In the "Thread Display Mode" option.
Smoge
ModMySite Administrator
Problems? Questions? Need modifications or other help with your site?
Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.
thanks, much better now with the old posts frist.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks