Using variables in templates?
4 posters
Page 1 of 1
Using variables in templates?
On PunBB, what code is it, so that i can add,
I know that
any suggestions, on what it could be?
- Code:
Welcome { USERNAME }
I know that
- Code:
{ USERNAME }
any suggestions, on what it could be?
Re: Using variables in templates?
i have notice that the code
- Code:
{ USERNAME }
Stephen-- Hyperactive
- Posts : 2542
Reputation : 326
Language :
Re: Using variables in templates?
I know that, but in this forums if i remove the sapce it does this:
thats why to show the code i did it like this:
- Code:
Using php in posts is called being a smart [Language]... Stop it
thats why to show the code i did it like this:
- Code:
{ USERNAME }
Re: Using variables in templates?
I think that forumotion removed those codes.
Mike- Hyperactive
- Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado
Re: Using variables in templates?
Hi,
They are not removed. They have never worked in templates.
For the space that you must add to write it here it's cause those variables have been censored on the support forum.
If you want them to work in templates you can use Etanas tut from the French forum.
http://forum.forumactif.com/t260631-astuce-utiliser-les-variables-user-et-forum-autre
All you need to do is take the script showed there http://tinyurl.com/var-fa and add it to your JS managment. Mark all pages.
Than you can use the variables she listed in the tutorial and they will work like the default ones forumotion offers.
They are not removed. They have never worked in templates.
For the space that you must add to write it here it's cause those variables have been censored on the support forum.
If you want them to work in templates you can use Etanas tut from the French forum.
http://forum.forumactif.com/t260631-astuce-utiliser-les-variables-user-et-forum-autre
All you need to do is take the script showed there http://tinyurl.com/var-fa and add it to your JS managment. Mark all pages.
Than you can use the variables she listed in the tutorial and they will work like the default ones forumotion offers.
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Re: Using variables in templates?
Thanks, solved + i also found out that {LOGGED_AS} works.
- Code:
{LOGGED_AS}
Re: Using variables in templates?
It works if you use it in templates since it's the templates variable (the one that's already there).
Welcome.
Lock
Welcome.
Lock
Nera.- Energetic
- Posts : 7078
Reputation : 2017
Language : English
Location : -
Similar topics
» PHP Variables
» Variables in Modules
» wut is the variables for PhpBB3
» Template and Variables
» List of variables
» Variables in Modules
» wut is the variables for PhpBB3
» Template and Variables
» List of variables
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum