The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi
I would like display a special content (banner) only one time per session can someone help me with the code please <!-- Beginn Session code my content End Session Code --> thanks in advanced |
#2
|
||||
|
||||
![]()
The easiest way would be to set a temporary cookie, and check this cookie. However, this requires PHP coding on your part. I'm sure I've posted a snippet somewhere though.
|
#3
|
|||
|
|||
![]()
Here is a basic piece of PHP to do this.
Set the cookie... PHP Code:
PHP Code:
http://uk.php.net/manual/en/function.setcookie.php |
#4
|
||||
|
||||
![]()
Inside vBulletin, the vbsetcookie() function should be used.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|