Where phpbb2 find "folder_img" is "the_name.gif"

This forum is now closed as part of retiring phpBB2.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
seth_gravijah
Registered User
Posts: 4
Joined: Tue Jun 24, 2008 3:51 pm

Where phpbb2 find "folder_img" is "the_name.gif"

Post by seth_gravijah » Thu Jul 03, 2008 10:37 am

Hi, I want to custom the display of the forum folder images depending the season, but not by changing theme manually.

- For the "season" part, getMonth() is my friend, no problem here.

- For the images part, I started searching in the index_body.tpl which gave me the "FORUM_FOLDER_IMG" string.
I've browsed various files and found in some (index.php, viewforum.php) that this string was lead by "$folder_image", and this one by $images['whatever']. And from that point I'm stuck, I can't find where the system figure out that $images['whatever'] is equal to whatever.gif

(W/o that, pretty tough to add a month conditionnal function on that whatever.gif :D )

Any one know where the images filenames are stored within the system ?

User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 23696
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: Where phpbb2 find "folder_img" is "the_name.gif"

Post by Paul » Thu Jul 03, 2008 10:53 am

you are using phpBB2? This forum is meant for phpBB3 only :).
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
Brf
Support Team Member
Support Team Member
Posts: 50714
Joined: Tue May 10, 2005 7:47 pm
Location: {postrow.POSTER_FROM}
Contact:

Re: Where phpbb2 find "folder_img" is "the_name.gif"

Post by Brf » Thu Jul 03, 2008 11:16 am

phpbb2 uses the stylename.cfg file to define the images.

seth_gravijah
Registered User
Posts: 4
Joined: Tue Jun 24, 2008 3:51 pm

Re: Where phpbb2 find "folder_img" is "the_name.gif"

Post by seth_gravijah » Thu Jul 03, 2008 12:22 pm

Paul wrote:you are using phpBB2? This forum is meant for phpBB3 only :).
As stated in the message title, yes. Did I really posted it in the 3.x forum ? :shock: Oops ! I suppose you moved it here then, thx ! I guess it's usually no good to do several things at the same time :?
Brf wrote:phpbb2 uses the stylename.cfg file to define the images.
:oops: Sorry I didn't find it on my own !
Thx !

Post Reply

Return to “[2.0.x] MOD Writers Discussion”

Who is online

Users browsing this forum: No registered users and 8 guests

cron