How do I get this to work with 3.6.8 please!

SirGarfield

New Member
This mod is supposed to put a forum image next to the forum description, as a supplement to the statusicon and you are meant to be able to use images of your own choosing by adding them to the images folder.
I've tried for hours on end now to get this darn thing to work, I get a box with a red X in it for a split second then the image box dissapears.
Can anyone please tell me how to get this working with 3.6.8 please!?!
And if possible can someone explain to me how I'm supposed to add images to images/$forumid.gif , I've added them to the images folder as 1.gif 2.gif 3.gif etc etc etc, all I was getting was the red box with the X, do I call them $forumid1.gif, $forumid2.gif etc etc.
Sorry for being really blonde but I have some beautiful images for the forum images and I would love so much to be able to start using them.

Code:
Open template forumhome_forumbit_level2_post => For Forumhome only!

Find:

            <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>

Add before:

<! -- forum icon by www.vuiveclub.net -->
      <if condition="THIS_SCRIPT === 'index'">
<table>
    <tr>
  <td>
<img border="0" width="60" height="60" src="images/$forumid.gif"/>
        </td></if>
        <td>
<! -- / end forum icon -->
</if>

Then Find:

    <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>

Add before too:


<! -- end forum icon by www.vuiveclub.net -->
      <if condition="THIS_SCRIPT === 'index'">
</tr>
</table>    
</td>
</if>
<!-- / end forum icon -->

Save and Done!

Make sure that these 2 conditionals are the same!

For Forumdisplay too - edit template forumhome_forumbit_level1_post


Find:

            <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
            <td>
            <div>

Add below: 

<!-- forum icon -->
<table> <tr> <td> <img src="images/$forumid.gif" border="0" width="60" height="60" align="left" />
<!-- / forum icon -->


Find:


        </td>
        <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>

Add before: 

        <!-- end forum icon --> </td></tr></table><!-- / end forum icon -->Now You have to Upload your Icons to images/$forumid.gif


(Change images/ to your own folder)


If you wanna Show Icons for Forumhome, Forumdisplay and sub-Forumdisplay - Delete conditionals
Show Icons on Forumhome only - Leave these conditions default
Show Icons on Forumdisplay only - Do not Edit forumhome_forumbit_level2_post, edit forumhome_forumbit_level1_post only


Hugs, SirGarfield
(don't let the handle mislead yah!!!)
 
I'm using this mod and i'ts working under vB3.6.8... After installing the product and mofifying the templates go to admincp==> forums and moderators ===> at the bottom of every forum options you can put the URL of your category icon.
 
Those two conditions apply for the "Script_Catagory.Icons" mod, I have installed that one with great ease, the mod' I'm trying to get to work which I have posted in my first post is the "Add Icons to ForumHome orand Forumdisplay by Uploaded images" mod.
Thanks for trying to help though ;-)
 
Back
Top