Hi all,
I'm working on a client forum and one of the features they have requested is to have an overlay when a user enters the forum saying about how it is a public forum and it is against the rules to post personal information. We obviously don't want this popping up every time a user loads the forum though. I already have it so it only loads on the forum home. I thought the best way to do this inside of vBulletin would be to use the lastactivity variable, but I am unsure how it works and haven't found much documentation.
Right now I have:
Code:
//script to pull up the overlay
I am using timenow - 10 just for testing purposes, in practice I would set it to one day perhaps. Does anyone have any insight on what I am doing wrong? I have also tried $post['lastactivity'] but it didn't seem to make a difference. Thanks for any help you can provide.
__DEFINE_LIKE_SHARE__
|