Uutiset:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu
Advertisement:

where do i find all the functions or context calls at

Aloittaja leroymcqy, maaliskuu 10, 2014, 10:36:03 IP

« edellinen - seuraava »

leroymcqy

where can i find a list of these items:


$PersonalText = $memberContext[$id]['blurb'];
                $Website = $memberContext[$id]['website']['url'];
                $UserName = $context['user']['name'];
                $UserPosts = $user_info['posts'];
                $UserAvatar = $context['user']['avatar']['href'];


i am looking to add data to my custom script. i am usin ssi but i like to actually hard code my items and use ssi with certain items then for the whole site.

i love freedom coding not strict coding. if it comes to using ssi for most parts then yes i will use it then.


kat

I'm not sure what you're asking for, to be honest.

What is it that you want to do with this information, exactly?

Oldiesmann

Lainaus käyttäjältä: leroymcqy - maaliskuu 10, 2014, 10:36:03 IP
where can i find a list of these items:


$PersonalText = $memberContext[$id]['blurb'];
                $Website = $memberContext[$id]['website']['url'];
                $UserName = $context['user']['name'];
                $UserPosts = $user_info['posts'];
                $UserAvatar = $context['user']['avatar']['href'];


i am looking to add data to my custom script. i am usin ssi but i like to actually hard code my items and use ssi with certain items then for the whole site.

i love freedom coding not strict coding. if it comes to using ssi for most parts then yes i will use it then.

If you want data for the current member, then you can include SSI.php and access $context['user'] or $user_info to get the data you want ($memberContext is only used internally and won't be set in most places).
Michael Eshom
Christian Metal Fans

Advertisement: