![]() |
Insert Images In Sub-Forums
Hi guys
I want insert in all my sub-forums an image before each forums... I must modify "forumhome_subforumbit_post", right? I try some time to editing but it's don't work...Can you help me please? Forumhome_subforumbit_post: Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" /> <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"> Very thanks..guys |
I actually just played around with this yesterday on my forum. What you want to do is the following...
You must apply these changes to forumhome_forumbit_level2_post. forumhome_subforumbit_post is when you set the forum to display the subforums of a forum (like the small text under "Premium Modifications" on vb.org). Code:
<tr align="center"> You will need to include conditionals on $forum[forumid] if you want to assign forum-specific images. |
Hi Buraq
I have follow your instructions but the images are insert in Forumhome and don't in Sub-Forums.... I want insert a different images for each section in my Sub-Forums, don't in Forumhome! I want isert image here : Link Which template I must modify? And what code Can I Use, please? Very thanks ;) |
will this work for 3.6.0?...
|
My bad, I thought the forums you were trying to edit were on ForumHome (couldn't tell from the picture). I looked through the templates again and what you need to edit for ForumDisplay is forumhome_forumbit_level1_post...
Code:
<tbody> Code:
<if condition="$forum[forumid]==X"> OR If you want multiple forums to have different images (like you showed in your first post), you can include the following code instead... Code:
<if condition="$forum[forumid]==X OR $forum[forumid]==Y OR $forum[forumid]==Z"> hope that helped. Quote:
|
All times are GMT. The time now is 06:46 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|