Append Session ID
Moderator: General Moderators
Append Session ID
Anyone here know how do I apply append_sid() to this view private messages URL in this script.
http://www.aaitechnologies.co.uk/chat/v ... .php?t=164
http://www.aaitechnologies.co.uk/chat/v ... .php?t=164
somewhere you must have
where SOMETHING is something else 
replace it with
no, i have not read the whole page, but this should roughly be it.
Code: Select all
$templaet_assign_vars(
'SOMETHING' => 'privmsg.php?folder=inbox'
)replace it with
Code: Select all
$templaet_assign_vars(
'SOMETHING' => append_sid('privmsg.php?folder=inbox')
)Code: Select all
'U_PRIVATEMSGS' => append_sid('privmsg.'.$phpEx.'?folder=inbox'),
'U_PRIVATEMSGS_POPUP' => append_sid('privmsg.'.$phpEx.'?mode=newpm'),
'U_SEARCH' => append_sid('search.'.$phpEx),I think I have fixed it.
Will putting
in this line, eg
append a session id to the link.
I think it will.
Will putting
Code: Select all
{U_PRIVATEMSGS}Code: Select all
<a class="mainmenu" href=forum/{U_PRIVATEMSGS}/><B>Private Message</B>I think it will.