vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Forum Images next to the Description for every Forum (https://vborg.vbsupport.ru/showthread.php?t=143098)

captainron19 03-10-2008 02:48 PM

Is it possible to have an image appear only at one of the forums? I noticed that if I do not have a .png image for every single forum a broken image shows.

I have a lot of forums and I really just wanted an image to appear like this mod but only at one forum title

MixMakers 03-12-2008 06:53 AM

How can I get this to work with the subforum of a subforum of a subforum? So 3 levels down.

Forum
-Subforum
--Subforum

Baldilocks 03-17-2008 06:37 AM

I like the images to the left of the forum title itself as seen on my forum.

Sworm 03-17-2008 07:18 AM

Code:

/* Forum Images next to the Description for every Forum */
.ForumImages {
float: right;
margin-right: 8px;
margin-top: 2px;
}

How can i do for apply this code?

AnyBody can write step by step?

I'm not expert

------------------------------------------------

Ok, i've solved..... good hack

Sworm 03-17-2008 08:02 AM

A big problem with IE,
a "X" is showed in the forums that not have a image added,
this is my forumhome_forumbit_level2_post
Code:

<tr align="center">
        <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
                <div>
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                        <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
                </div>
                <if condition="$show['forumdescription']"><div class="smallfont"><img src="$stylevar[imgdir_statusicon]/$forumid.png" alt="" class="ForumImages" />             
          $forum[description]
        </div>
        </if>
                <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
                <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
        </td>
        <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
        <td class="alt1">$forum[threadcount]</td>
        <td class="alt2">$forum[replycount]</td>
        <if condition="$vboptions['showmoderatorcolumn']">
        <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
        </if>
</tr>
$childforumbits

AnyBody can help me?

legionofangels 03-17-2008 10:53 PM

Quote:

Originally Posted by captainron19 (Post 1461541)
Is it possible to have an image appear only at one of the forums? I noticed that if I do not have a .png image for every single forum a broken image shows.

I have a lot of forums and I really just wanted an image to appear like this mod but only at one forum title

Yes you can, but you can't use this template change if you want only one image.

Do this instead:

http://www.vbulletin.com/forum/showp...8&postcount=31

OR, you need to add a 1 pixel transparent image and title it "forumid".png where "forumid" is whatever the forum id of the forum it's going by.

Quote:

Originally Posted by MixMakers (Post 1462817)
How can I get this to work with the subforum of a subforum of a subforum? So 3 levels down.

Forum
-Subforum
--Subforum

Determine which template it is on and edit the template in a similar fashion.

Quote:

Originally Posted by Sworm (Post 1466845)
A big problem with IE,
a "X" is showed in the forums that not have a image added,
this is my forumhome_forumbit_level2_post
Code:

<tr align="center">
        <td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
        <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
                <div>
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                        <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
                </div>
                <if condition="$show['forumdescription']"><div class="smallfont"><img src="$stylevar[imgdir_statusicon]/$forumid.png" alt="" class="ForumImages" />             
          $forum[description]
        </div>
        </if>
                <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
                <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
        </td>
        <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
        <td class="alt1">$forum[threadcount]</td>
        <td class="alt2">$forum[replycount]</td>
        <if condition="$vboptions['showmoderatorcolumn']">
        <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
        </if>
</tr>
$childforumbits

AnyBody can help me?

The modification is working exactly like it's supposed to, you need to put images in those sections for those red x's to disappear.

OR, you need to add a 1 pixel transparent image and title it "forumid".png where "forumid" is whatever the forum id of the forum it's going by.

CapitanoN6 08-10-2008 01:03 PM

https://vborg.vbsupport.ru/external/2008/08/59.jpg

https://vborg.vbsupport.ru/How do this?

legionofangels 08-11-2008 12:37 AM

Quote:

Originally Posted by CapitanoN6 (Post 1595419)

You just follow the directions found here:

http://www.vbulletin.com/forum/showthread.php?t=114545

And in this post he might have given me a special conditional to apply:

http://www.vbulletin.com/forum/showp...8&postcount=31

Upload the images you'd like to use to your appropriate folder on the FTP and wa la, you have forum images. I made mine i think 60 x 60 so they would fill up the description area perfectly with 2 sentence descriptions.

I like alignment.....A LOT!

Hope that helps.

Legion of Angels

GTGT 11-19-2008 11:22 PM

Can I make these images clickable?

technom8t 03-09-2009 11:46 PM

i spent hours trying to get all the different ways in this thread to work, but i decided just to start from scratch and what i came up with was simple, no template edits at all, this will align the image to the left and make it clickable to a destination of your choice


just add this code into the forum description and change the links to match what you need, thats it :

Code:

<a href="http://www.destination you want to arrive at when clicked" target="_blank"> <img src="http:/yoursie.co.uk/forums/statusicon/forum_icon_name.png"></a>
p.s i am guessing you could add ''right tags'' to make the image appear to the right?

i.e.
<right>THE CODE HERE</right>


All times are GMT. The time now is 11:27 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
  • Page Generation 0.01168 seconds
  • Memory Usage 1,760KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete