Complete list of phpBB 3.0.x template variables

Post any links or useful resources for phpBB3 "Olympus". Code development, or MOD related resource links, or any other useful resources regarding phpBB3
Forum rules
READ: StarTrekGuide.com Board Rules

Post any valuable resource for phpBB3. -- Anything that might assist MOD developers, or be useful to phpBB3 users.
Quote links or link to articles or resources.

NO Support Requests

Do NOT spam your own board or website


Before posting, please review Guidelines for listing sites as resources

Complete list of phpBB 3.0.x template variables

Postby Highway of Life » 29 May 2007, 20:13

http://startrekguide.com/phpBB3

If you browse around, you?ll see the variables change depending on the page that you are viewing.
At any time, the variables that you see are ALL of the variables available for THAT page.

The list on each page was so long, I decided to drop the language variables from displaying by default.
You can show the language variables on any page at any time by adding &lang=true

The list will also show the actual strings given if you use &plain=true
By default, it will (try to) show you the actual example.

Variables
  • plain=true (display examples in a non-parsed string format)
  • lang=true (display language variables for the current page)
  • hide_vars=true (hide the variables tables -- i.e. Normal forum view)

If you would like to write descriptions for any of the variables, please reply or send me a PM with the variables written as follows.
VARIABLE_NAME: Description of variable on one line (can be a long description, but no new-lines allowed)
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10


Re: Complete list of phpBB 3.0.x template variables

Postby Sniper_E » 29 May 2007, 21:12

That is a very informative/helpful add-on.... can that be added to any forum easily?
No is NEVER an Option and NEVER is the only Option when it comes to Giving Up!
User avatar
Sniper_E    
STG Jedi Master
STG Jedi Master
 
Posts: 7003
Joined: 31 May 2006, 06:29
Location: Shreveport, LA
Favorite Team: The STG Team
Gender: Male
phpBB Knowledge: 6

Re: Complete list of phpBB 3.0.x template variables

Postby Highway of Life » 30 May 2007, 00:10

Yes, actually... it can.
As always, I try to code everything so that it will be portable everywhere. ;)

It?s a simple config value that will turn it off.
Modifies two files: includes/functions.php this is where all the pretty work is done.
/styles/prosilver/template/overall_header.html (one variable added)

Oh, and one variable in config.php
I am probably going to do a more template based action for it for phpBB.com, as right now, most everything is done in the functions.php file.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: Complete list of phpBB 3.0.x template variables

Postby eFantasy » 30 May 2007, 09:45

really nice! well done! :good: :good:
Dark Blitz - A graphics community
Styles: proFantasy
New ranks: Blue Blitz ranks
Topic icons: More prosilver topic icons
Image
User avatar
eFantasy    
Style Author
Style Author
 
Posts: 528
Joined: 26 Apr 2007, 09:53
Location: Netherlands
Gender: Male
phpBB Knowledge: 5

Re: Complete list of phpBB 3.0.x template variables

Postby Semi_Deus » 13 Jun 2007, 14:19

awsome, but how did you get that phpbb.com style??
it isnt shared right?
Former Moderator & Styles team member
Image
User avatar
Semi_Deus
Admiral
Admiral
 
Posts: 2479
Joined: 13 Feb 2007, 13:53
Location: Netherlands
Favorite Team: Ajax
Gender: Male
phpBB Knowledge: 8

Re: Complete list of phpBB 3.0.x template variables

Postby Highway of Life » 14 Jun 2007, 01:30

Global variable descriptions 95% complete -- need proofread.
Fully template and language driven now -- 300 total LOC including language file and template.
Blocks now correctly display ALL of their variables -- bug fixed -- Thanks Pyramide!
Let me know if you notice anything else.
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: Complete list of phpBB 3.0.x template variables

Postby Matadon » 13 Jan 2008, 06:56

link seems to be broken, or has it moved?

Thanks..
Matadon
Terminated Drone
Terminated Drone
 
Posts: 9
Joined: 21 Jan 2007, 07:02
Gender: Female

Re: Complete list of phpBB 3.0.x template variables

Postby topdown » 11 May 2008, 00:52

I don't think it's worked for a while, I remember looking at this a while back and had the Not Found page.
It would be nice to see it back.
Do not PM me for Support unless I give permission in a post......PM's only help one, posts help everyone !
User avatar
topdown    
STG Styles Leader
STG Styles Leader
 
Posts: 3030
Joined: 01 Oct 2007, 22:56
Location: Handyman's harddrive
Favorite Team: STG Teams
Gender: Male
phpBB Knowledge: 9

Re: Complete list of phpBB 3.0.x template variables

Postby Highway of Life » 11 May 2008, 13:25

I have to put a new one up... just been so busy recently. Sorry. :sorry:
Watch out! I might do a code wheelie!

User avatar
Highway of Life    
STG Jedi Master
STG Jedi Master
 
Posts: 10458
Joined: 08 May 2006, 05:23
Location: Beware of Programmers carrying screwdrivers
Gender: Male
phpBB Knowledge: 10

Re: Complete list of phpBB 3.0.x template variables

Postby Davethegreat » 29 May 2008, 10:30

As you should be :( I say this is neccessary D:
User avatar
Davethegreat    
Supporter
Supporter
 
Posts: 163
Joined: 21 May 2008, 10:05
Location: Widnes UK
Favorite Team: Liverpool
Gender: Male
phpBB Knowledge: 5

Next

Return to phpBB3 Links and Resources

Who is online

Users browsing this forum: No registered users and 2 guests