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 »

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 ?
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 28616
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 »

you are using phpBB2? This forum is meant for phpBB3 only :).
User avatar
Brf
Support Team Member
Support Team Member
Posts: 53379
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 »

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 »

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”