2008-03-31, 01:40 PM
Hi there,
I hope you can assist me once again.
I have a stats package I wish to intergrate into MyBB. It requires that each page name is pulled into a script. I need variables to use to pull in unique values each time.
The format I've been given is:
Now the way I envisage doing this is referring to several different values where only one can populate on each page.
For example:
This doesn't work though.
Is there a global variable I don't know about or does anyone have any ideas as to the best way to tackle this? I'll need it to eventually read something like "Forum:board index" or "Forum:forum name 1" or "Forum:private message screen".
Thanks for any help in advance.
Greg
I hope you can assist me once again.
I have a stats package I wish to intergrate into MyBB. It requires that each page name is pulled into a script. I need variables to use to pull in unique values each time.
The format I've been given is:
s.pageName="Forum:PageName";
Now the way I envisage doing this is referring to several different values where only one can populate on each page.
For example:
s.pageName="Forum:{$thread['subject']}{$foruminfo['name']}{$lang->post_reply_to}{$lang->newthread_in}";
This doesn't work though.
Is there a global variable I don't know about or does anyone have any ideas as to the best way to tackle this? I'll need it to eventually read something like "Forum:board index" or "Forum:forum name 1" or "Forum:private message screen".
Thanks for any help in advance.
Greg