The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
PHP Code:
|
#12
|
|||
|
|||
Quote:
When a user enteres my page, the global_start hook is run. I save the referrer url in a global variable for each user. The variable is named the same though, but should contain different values for each user. When I click on whosonline, the whosonlinebit template is run. Here i want to print out the referal url for each user. That is not possible because the whosonlinebit template doesn't print out my global variable. Plus how does it know which global variable belongs to which user? I also posted this at vb.com http://www.vbulletin.com/forum/showthread.php?t=163168 |
#13
|
|||
|
|||
Sorry to say, but the way you are trying it will never work. You will at least have to store the information for each user in a table.
I suggest you ask someone else if they can make something for you. |
#14
|
|||
|
|||
I can do it, if someone will just tell me how.
I tried this instead. I modified the userinfo class to contain one more string called ref. and i fill it in index.php but it wont print it in the whosonlinebit...?? |
#15
|
|||
|
|||
The session table sounds more suitable for this to me.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|