Hi
I'm trying to link SMF to a guestmap and want to pass the user id or username from SMF to the page without having to append it to the end of a URL.
I can extract the $context variable and post what I want but I'd rather a find a better method.
Can't find anything in SSI to do it - I've also tried using session variables but doesn't seem to work.
Any simple pointers please?
What's wrong with the method you mentioned?
The $user_info and $context arrays that you get with SSI.php are the best way. What do you not like about them?
Thanks
I've managed to do it by including SSI.php now and reading the variable from there .
I really like SMF an am very appreciative of the work that goes into it what I'm not so keen on is loading 50K+ to reload one variable ;D
If I've got this wrong I'm sure you'll tell me!
If your web host uses a php script cache then the overhead should be minimal.