Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Custom Forum Legend - Perforum Basis
RateU Offline
Administrator
*******
Posts: 2,350
Joined: Mar 2010
Post: #1
Custom Forum Legend - Perforum Basis
Not an application, only a basic XThreads usage Biggrin

Basically, we can use template_prefix_forumbit_depth2_forum template to use different Forum Legend, per forum basis.

Default:

HTML Code
<img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />


Replace the {$theme['imgdir']} with the path of our custom forum legend images:

HTML Code
<img src="image_path/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />


We can still use the {$theme['imgdir']} variable if we want the forum legend custom per forum basis and per theme basis:

HTML Code
<img src="{$theme['imgdir']}/image_path/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" />


And maybe we need to change the template_prefix_forumbit_depth2_cat template too, if the forum has a sub forum.



Attached File(s) Thumbnail(s)
   

(This post was last modified: 09-06-2010 09:45 AM by RateU.)
09-06-2010 09:21 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Custom Forum Legend - Perforum Basis - RateU - 09-06-2010 09:21 AM

 Standard Tools
Forum Jump: