The Arcive of vBulletin Modifications Site. |
|
Getting the sessionhash to be processed in the forum description? Details »»
|
|||||||||||||||||||||||||||
|
Getting the sessionhash to be processed in the forum description?
Developer Last Online: Nov 2023
Hi,
I'd like to provide links to nested forums on their parent's forum description, however the $session[sessionhash] variable is not processed. Is there a way to do this? If I don't pass the session hash isn't there the danger of an uncookied user losing their session? Paul Show Your Support
|
|||||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Exactly where are you trying to do this? In what template?
Looking at forumhome_forumbit_level1_post, and it does indeed use $session[sessionhash]. Are you sure it's not just because you have turned cookies on for your own user, which would remove the sessionhash for links. |
|
#3
|
|||
|
|||
|
I am trying to do this in the actual forum description, which is defined in Admin CP > Forums & Moderators > Edit > Description.
Not in forumhome. Paul |
|
#4
|
|||
|
|||
|
For an example of what I'm talking about, see the link to beta hacks in the forum description of the Full Releases forum on this server.
|
|
#5
|
||||
|
||||
|
Ah, I see what you mean.
This requires a small hack to index.php and forumdisplay.php In both files find: PHP Code:
PHP Code:
|
|
#6
|
||||
|
||||
|
I get a lot of:
Code:
Parse error: parse error in /home/index.php(305) : eval()'d code on line 1 PHP Code:
Anyone have the same problem or have a solution that won't give me parse errors? Thanks |
|
#7
|
||||
|
||||
|
up
|
![]() |
|
|