i would like to use the variables like: member.php{vb:raw session.sessionurl_q}{vb:raw bbuserinfo}
does this tab mod accept this variables?
i would like to use the variables like: member.php{vb:raw session.sessionurl_q}{vb:raw bbuserinfo}
does this tab mod accept this variables?
Hi cloferba,
{vb:raw session.sessionurl_q}{vb:raw bbuserinfo} are template variables, which are not used by T&LM, as it does not use any templates at all... all tabs, links and sub-menu links are rendered via PHP.
T&LM automatically adds the session hash to any url that needs it.
As for user info, only the userid and security tokens are currently exposed and can be used:
- ws-userid for the userid of the member currently viewing the page
- ws-sectok for the security token of the user currently viewing the page
In the next release you will also be able to use:
- $vbulletin->userinfo['userid']
- $vbulletin->userinfo['securitytoken']
For example: search.php?do=finduser&u=$vbulletin->userinfo['userid'] would find all threads for the user currently clicking on that link (it would not work for guests).
The new variables above are the PHP versions of the template variables.
The way I re-factored the next version, it will be very easy for me to add new $vbulletin->userinfo variables to this product.... so, if you need specific variables exposed you just need to let me know.
Good news, I am planning to release the next version over the weekend, with a few nice features
Regards,
Mosh Shigdar, Wolfshead Solutions.
I am NOT available to take on Paid Work Requests.
NOTE: I do not provide support via Private Message, Instant Messenger or Email, so please post your questions in the appropriate forum.
NOTE: Wolfshead Solutions will permanently shut down on Monday 1st July 2013.
Bookmarks