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)

Whiteyez 08-04-2007 10:27 PM

Hello! Very nice mod thanks..but i have a little problem with the Internet Explorer. As you can see in the image below the icon is its ok but next to him there is an X and when i go the cursor
over it its a hyperlink to the forum. How can i fix this?

http://img174.imageshack.us/img174/2...titled1ny0.png

This the code from "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>
<img src="$stylevar[imgdir_statusicon]/$forumid.png" alt="" class="ForumImages" />
                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><span width="100"><img src="$stylevar[imgdir_statusicon]/$forum[forumid].gif" border="0" align="right"></span><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">$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

Thanks again for this great mod..

valdet 08-06-2007 12:18 PM

Hi Whiteyez

This is because you have set two images to appear next to each other..

Make sure you remove the wrong one (one of the bold in the code below) and leave only the one which is appropriate..
Also make sure all of your forum images are either PNG's or GIF's. Do not mix both of them..

I hope it works for ya..,
Val.

Code:

<img src="$stylevar[imgdir_statusicon]/$forumid.png" alt="" class="ForumImages" />
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><span width="100"><img src="$stylevar[imgdir_statusicon]/$forum[forumid].gif" border="0" align="right"></span><strong>$forum[title]</strong></a>


Whiteyez 08-06-2007 12:22 PM

Thats it...i missed that...thanks..

Ekka 08-18-2007 07:36 AM

OK

After much mucking around and trying stuff I'm back here and going to show you what I'm after/trying to do.

In the pic attached I'd like to move the icons to the very left column and have them as a link to that forum.

Currently that column on the very left is the default Vb one, has those little forum open/closed icons. So they can go. like who looks and cares about those right?

Step by step here please.

StarBuG 08-18-2007 05:36 PM

If you had checked my other hacks you had noticed this one:
Simple Category Icons

it does what you are asking for ;)

Ekka 08-19-2007 09:30 AM

Oh, sorry, didn't check you out. LOL

Will have a look and advise, thank you.

Mad Woman 08-24-2007 09:20 AM

I've installed this and I now have the text "go to your style options" showing up at the bottom of every forum description. I haven't uploaded photos yet, but I'm wondering if I typed the css bit into the right place. When you say to put it into additional css, do you mean to place it into additional css definitions?

StarBuG 08-24-2007 02:39 PM

Yes "Additional CSS Definitions"

Mad Woman 08-26-2007 01:54 PM

Thanks Starbug. Now I just need to know how to remove the "Go to your style options" text from the description of the forum.

This is what I have:
Quote:

<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>Go to your style options
<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

StarBuG 08-27-2007 05:17 AM

Remove it from this code you posted.
It is in the middle " </if>Go to your style options" (only remove the text, not the if)
You probably copied my instructions on how to install with the code to install into your template ;)

StarBuG


All times are GMT. The time now is 11:50 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.01231 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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