vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Forum Icons (https://vborg.vbsupport.ru/showthread.php?t=229529)

Spiritvn 02-04-2010 10:35 PM

Quote:

Originally Posted by dangerin (Post 1974774)
Thanks for this mod but i'm not able to change the icons..
i've done all the opeations but now i do nothave any icon in my forum.
there's somene that can give me a decsription more easy for me.
thanks to all

1. import the product
2. do as my b4 post
3. place your icon link on the forum manager

I dont think it's so hard for the ppl

JonoE 02-05-2010 08:53 AM

Quote:

Originally Posted by Extra PC (Post 1969891)
nice

how to put the image under forum name like here

www.extra-pc.com/testforum

Please can someone answer this.

New Joe 02-05-2010 09:18 AM

As this Mod isn't supported it's up to the posters to help out.
So you might wait a long time for things like that.
The mod works and some extras have been mentioned about moving the picture to different places, so I'd just go with what is here for now.

dangerin 02-05-2010 10:30 AM

Thanks but i've done all and the image do not appear.
where you indicate iconlocation i've put my address for example /images/statusicon/forum/xxxxx.jpg or gif or png but i do not see.
Also if i put the address indicated how can i change an icon for every forum? i thought and i've read that it was possible. it's correct?
thanks

cindy helmond 02-05-2010 10:58 AM

not working for me added the path to image (full url) but no icons showing on vb 4.01 any help?
thx

denman75 02-05-2010 11:14 AM

Quote:

Originally Posted by dangerin (Post 1975322)
Thanks but i've done all and the image do not appear.
where you indicate iconlocation i've put my address for example /images/statusicon/forum/xxxxx.jpg or gif or png but i do not see.
Also if i put the address indicated how can i change an icon for every forum? i thought and i've read that it was possible. it's correct?
thanks

try to use the full path ,perhaps its working ?

denman75 02-05-2010 11:16 AM

Quote:

Originally Posted by cindy helmond (Post 1975334)
not working for me added the path to image (full url) but no icons showing on vb 4.01 any help?
thx

u are sure u make the changes in forumhome_forumbit_level2_post
ps what template u have Cindy ?
i can try to upload it and give it a try on my board

cindy helmond 02-05-2010 11:22 AM

Quote:

Originally Posted by denman75 (Post 1975341)
u are sure u make the changes in forumhome_forumbit_level2_post
ps what template u have Cindy ?
i can try to upload it and give it a try on my board

this is the code without the template edit !!!

Code:

<li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
        <div class="forumrow table">
                <div class="foruminfo td">
                        <img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
                        <div class="forumdata">
                                <div class="datacontainer">
                                        <div class="titleline">
                                                <h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
                                                <vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
                                        </div>
                                        <vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>

                                        <vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
                                                <div class="moderators">
                                                        <h4>{vb:rawphrase moderators}:</h4>
                                                        <ol class="commalist">
                                                                {vb:raw forum.moderators}
                                                        </ol>
                                                </div>
                                        </vb:if>

                                        <vb:if condition="$show['subforums']">
                                                <div class="subforums">
                                                        <h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
                                                        <ol class="subforumlist commalist">
                                                                {vb:raw forum.subforums}
                                                        </ol>
                                                </div>
                                        </vb:if>

                                        <vb:if condition="$show['forumsubscription']">
                                                <p class="unsubscribe">
                                                        <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
                                                </p>
                                        </vb:if>
                                </div>
                        </div>
                </div>
        <vb:if condition="$forum['statusicon'] != 'link'">
                <h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
                <ul class="forumactionlinks td">
                        <vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
                        <vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:raw forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if>
                </ul>
        <h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
                <ul class="forumstats td">
                        <li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
                        <li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
                </ul>
                <div class="forumlastpost td">
                        <h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
                        <div>
                                {vb:raw forum.lastpostinfo}
                        </div>
                </div>
        </vb:if>
        </div>
        <vb:if condition="$childforumbits">
                <ul class="childsubforum">
                        {vb:raw childforumbits}

                </ul>
        </vb:if>
</li>


dangerin 02-05-2010 11:23 AM

yes i've also addes the full path with and without http:// but the icon do not appear ..

Spiritvn 02-05-2010 11:41 AM

Quote:

Originally Posted by dangerin (Post 1975322)
Thanks but i've done all and the image do not appear.
where you indicate iconlocation i've put my address for example /images/statusicon/forum/xxxxx.jpg or gif or png but i do not see.
Also if i put the address indicated how can i change an icon for every forum? i thought and i've read that it was possible. it's correct?
thanks

Should use the full path to test. Use IE if you see a red X, it's bad link, if you dont see anything, it's wrong code.

So revert the template and do like my post #119:

https://vborg.vbsupport.ru/showpost....&postcount=119

For who want place it nearby the forum description:

Find:

Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
Replace with:

Code:

<vb:if condition="$show['forumdescription']"><vb:if condition="$forum['iconlocation']"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float:left; padding-left: 2px; padding-right: 2px;" id="forum_statusicon_{vb:raw forum.forumid}"/><p class="forumdescription">{vb:raw forum.description}</p><vb:else /><p class="forumdescription">{vb:raw forum.description}</p></vb:if></vb:if>
Edit the red pixel number to style it fix your design.

Below code is for who wanna make it below the forum description:

Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p><vb:if condition="$forum['iconlocation']"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float:left; padding-left: 2px; padding-right: 2px;clear: both;" id="forum_statusicon_{vb:raw forum.forumid}"/></vb:if></vb:if>
It's easy to help if you give your link

dangerin 02-05-2010 11:54 AM

I've pasted exactly the code and in forumhome_forumbit_level2_post i have this code :
P.s. my stile is simple black

<li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
<div class="forumrow table">
<div class="foruminfo td">
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
<div class="forumdata">
<div class="datacontainer">
<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>
<vb:if condition="$show['forumdescription']"><p class="forumdescription"><vb:if condition="$forum['iconlocation']"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float: left; margin-right: 4px;" /></vb:if>{vb:raw forum.description}</p>
<vb:elseif condition="$forum['iconlocation']" /><p class="forumdescription"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></p></vb:if>

<vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
<div class="moderators">
<h4>{vb:rawphrase moderators}:</h4>
<ol class="commalist">
{vb:raw forum.moderators}
</ol>
</div>
</vb:if>

<vb:if condition="$show['subforums']">
<div class="subforums">
<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
<ol class="subforumlist commalist">
{vb:raw forum.subforums}
</ol>
</div>
</vb:if>

<vb:if condition="$show['forumsubscription']">
<p class="unsubscribe">
<a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb :raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
</p>
</vb:if>
</div>
</div>
</div>
<vb:if condition="$forum['statusicon'] != 'link'">
<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
<ul class="forumactionlinks td">
<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb :raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:ra w forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if>
</ul>
<h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
<ul class="forumstats td">
<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
</ul>
<div class="forumlastpost td">
<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
<div>
{vb:raw forum.lastpostinfo}
</div>
</div>
</vb:if>
</div>
<vb:if condition="$childforumbits">
<ul class="childsubforum">
{vb:raw childforumbits}

</ul>
</vb:if>
</li>

After i ho in acp forum manager and in the line for the address i put the full path or also the direct but i do not see nothing in my forums

denman75 02-05-2010 12:05 PM

Quote:

Originally Posted by dangerin (Post 1975357)
I've pasted exactly the code and in forumhome_forumbit_level2_post i have this code :
P.s. my stile is simple black

<li id="forum{vb:raw forum.forumid}" class="forumbit_post L2">
<div class="forumrow table">
<div class="foruminfo td">
<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />
<div class="forumdata">
<div class="datacontainer">
<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>
<vb:if condition="$show['forumdescription']"><p class="forumdescription"><vb:if condition="$forum['iconlocation']"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float: left; margin-right: 4px;" /></vb:if>{vb:raw forum.description}</p>
<vb:elseif condition="$forum['iconlocation']" /><p class="forumdescription"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></p></vb:if>


<vb:if condition="$vboptions['showmoderatorcolumn'] AND $forum['moderators']">
<div class="moderators">
<h4>{vb:rawphrase moderators}:</h4>
<ol class="commalist">
{vb:raw forum.moderators}
</ol>
</div>
</vb:if>

<vb:if condition="$show['subforums']">
<div class="subforums">
<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>
<ol class="subforumlist commalist">
{vb:raw forum.subforums}
</ol>
</div>
</vb:if>

<vb:if condition="$show['forumsubscription']">
<p class="unsubscribe">
<a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb :raw forum.forumid}" rel="nofollow">{vb:rawphrase unsubscribe_from_this_forum}</a>
</p>
</vb:if>
</div>
</div>
</div>
<vb:if condition="$forum['statusicon'] != 'link'">
<h4 class="nocss_label">{vb:rawphrase forum_actions}:</h4>
<ul class="forumactionlinks td">
<vb:if condition="$vboptions['externalrss']"><li class="forumactionlink rsslink"><a href="external.php?{vb:raw session.sessionurl}type=RSS2&amp;forumids={vb:raw forum.forumid}" title="{vb:rawphrase view_forum_rss_feed}">{vb:rawphrase view_forum_rss_feed}</a></li></vb:if>
<vb:if condition="$show['member']"><vb:if condition="$show['forumsubscription']"><li class="forumactionlink unsubslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=removesubscription&amp;f={vb :raw forum.forumid}" title="{vb:rawphrase unsubscribe_from_this_forum}">{vb:rawphrase unsubscribe_from_this_forum}</a></li><vb:else /><li class="forumactionlink subslink"> <a href="subscription.php?{vb:raw session.sessionurl}do=addsubscription&amp;f={vb:ra w forum.forumid}" title="{vb:rawphrase subscribe_to_this_forum}">{vb:rawphrase subscribe_to_this_forum}</a></li></vb:if></vb:if>
</ul>
<h4 class="nocss_label">{vb:rawphrase forum_statistics}:</h4>
<ul class="forumstats td">
<li>{vb:rawphrase threads}: {vb:raw forum.threadcount}</li>
<li>{vb:rawphrase posts}: {vb:raw forum.replycount}</li>
</ul>
<div class="forumlastpost td">
<h4 class="lastpostlabel">{vb:rawphrase last_post}:</h4>
<div>
{vb:raw forum.lastpostinfo}
</div>
</div>
</vb:if>
</div>
<vb:if condition="$childforumbits">
<ul class="childsubforum">
{vb:raw childforumbits}

</ul>
</vb:if>
</li>

After i ho in acp forum manager and in the line for the address i put the full path or also the direct but i do not see nothing in my forums

seeing nothing strange
but do u use any other third party image blockers
or limited guests mods ,
last thing what u can do is disable all of your mods/plugs except the forum icon mods
and see what it does

cindy helmond 02-05-2010 12:05 PM

Quote:

Originally Posted by Spiritvn (Post 1975354)
Should use the full path to test. Use IE if you see a red X, it's bad link, if you dont see anything, it's wrong code.

So revert the template and do like my post #119:

https://vborg.vbsupport.ru/showpost....&postcount=119

For who want place it nearby the forum description:

Find:

Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
Replace with:

Code:

<vb:if condition="$show['forumdescription']"><vb:if condition="$forum['iconlocation']"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float:left; padding-left: 2px; padding-right: 2px;" id="forum_statusicon_{vb:raw forum.forumid}"/><p class="forumdescription">{vb:raw forum.description}</p><vb:else /><p class="forumdescription">{vb:raw forum.description}</p></vb:if></vb:if>
Edit the red pixel number to style it fix your design.

Below code is for who wanna make it below the forum description:

Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p><vb:if condition="$forum['iconlocation']"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float:left; padding-left: 2px; padding-right: 2px;clear: both;" id="forum_statusicon_{vb:raw forum.forumid}"/></vb:if></vb:if>
It's easy to help if you give your link

ok thx but i have default style of vb 4 what i have to do :

red X ??

Spiritvn 02-05-2010 12:11 PM

Quote:

Originally Posted by cindy helmond (Post 1975363)
ok thx but i have default style of vb 4 what i have to do :

red X ??

It's for default style :)

Just revert the template to default, then re-do it, you can test yourself.

Remember, it's for POSTED FORUM. If your forum without post, it does not use that template, so, post some testing post first.

Again, If s1 need help, give the forum i will check if what u r doing wrong.


---------

The X within IE display means WRONG LINK IMAGE. Firefox does not display the wrong link so you hard to know if you got the wrong.

dangerin 02-05-2010 12:20 PM

I only have a product for the resize of images that i've also disabled but is ever the same result.
i do not understand what's happening..
but now i can not deactive all the products

cindy helmond 02-05-2010 12:29 PM

Quote:

Originally Posted by Spiritvn (Post 1975366)
It's for default style :)

Just revert the template to default, then re-do it, you can test yourself.

Remember, it's for POSTED FORUM. If your forum without post, it does not use that template, so, post some testing post first.

Again, If s1 need help, give the forum i will check if what u r doing wrong.


---------

The X within IE display means WRONG LINK IMAGE. Firefox does not display the wrong link so you hard to know if you got the wrong.

ok thx !!

Spiritvn 02-05-2010 02:36 PM

Quote:

Originally Posted by dangerin (Post 1975370)
I only have a product for the resize of images that i've also disabled but is ever the same result.
i do not understand what's happening..
but now i can not deactive all the products

Did you read and do as i said?

dangerin 02-05-2010 05:23 PM

Quote:

Originally Posted by Alfa1 (Post 1928625)
This is included in vbulletin by default. There is no need to use a hack to show forum icons.

What do you mean?
I'm interested becaus i'm trying from two days to change icons but i do not see nothing . ..

dangerin 02-05-2010 05:24 PM

Quote:

Originally Posted by Spiritvn (Post 1975432)
Did you read and do as i said?

Yeas read and done bu without result

dangerin 02-05-2010 06:58 PM

Quote:

Originally Posted by House M.D. (Post 1966482)
To make the forum icon sit to the left of the title and description, you need to do this :

Uninstall any previous version and install a fresh copy. Do not make any edits to the mod except for what you see below.

It took a lot of trial and error to get this right - If you like what you see, please make a PayPal donation to mcs@sunwave.net to cover my time in getting this done. Thank you.

1) Install a fresh copy of this mod

2) Open up : Styles and Templates / Style Mananger / Edit Templates / Forum Home Templates / forumhome_forumbit_level2_post


Look for :
Code:

<div class="datacontainer">

Add this code after that line :
Code:

<div style="float: left; margin-right: 5px;">
<vb:if condition="$forum['iconlocation']"><a href="{vb:link forum, {vb:raw forum}}"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></a></vb:if>
</div>
<div style="float: left; width: 90%;">



Look for :
Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>

Replace that line with :
Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if></div>


That's it! - Hit the "Save and Reload" button and your done.

This will show the icon to the left of the title and description. Also, if you hover your mouse over the icon, it will show that board titles name. If you click on the icon, it will take you to that boards location.

I hope you enjoy it - any donations would be greatly appreciated.

Here is what the results will look like :

https://vborg.vbsupport.ru/external/2014/03/62.png


I've also done all that is written in this post but without result.
if i change the principal incon that appear in imges/statusicon it appear but i can not manage evry forum how i could with this great mod but unsupported.
Is possible for the futur to indicate in a mod that is unsupporte so i do not download and install more? thanks to all and i hope to have solution about this problem.

messengermatt 02-05-2010 09:59 PM

I need some help here, i installed the mod and it didnt work i also searched for the specific code and it wasnt found in the style im using which is just a normal style with a different colour.

I posted a few posts back about my issue and nobody helped me out but sub forums support would be a good thing as thats what i need

Gamempire 02-07-2010 04:18 PM

i made an interesting change to the template modification, different from that this coder use in this mod:
https://vborg.vbsupport.ru/showthread.php?t=235240

opacity and different forum icons for each forum..

however, you did a great job for the product, Elmer :)

Aclikyano 02-08-2010 12:57 AM

how do i remove where it says LAST POST by where the name of the section is?

Aclikyano 02-08-2010 12:58 AM

Quote:

Originally Posted by footose (Post 1937374)
I have modified the template code so that you can put icon's in the category fields of the site also.


Open forumhome_forumbit_level1_nopost

Find <span class="forumtitle">

Insert Above:

PHP Code:

<vb:if condition="$forum['iconlocation']">
<
img style="float:left;" src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" />
</
vb:if> 

Looks like this:

https://vborg.vbsupport.ru/attachmen...1&d=1261678452


hey anyway to remove where it says LAST POST???

movslow 02-08-2010 01:19 PM

Quote:

Originally Posted by Spiritvn (Post 1974739)

#moveslow:

You can find on the forumhome_forumbit_level2_post

Code:

<h2 class="forumtitle" >
Then add before:

Code:

<vb:if condition="$forum['iconlocation']"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}"/></vb:if>
It's better with small icon and you can controll with css by class, .forumicon controls status icon so if you want to place that position, you should change the class, add new class and edit its style.

Thanks for the reply, but this isn't what I was needing.

I've enclosed a screenshot so you can see what/where I am referring to.

http://movslow.com/stuff/forumicons.jpg

My 2 questions are:

1.) The RED underlines are the sub-forum icons, is it possible to place something there?

2.) The RED X, is the category description, is it possible to place something there as well?

Thanks again for your help.
:up:

Ranger187 02-08-2010 01:23 PM

Did ya bother to read the post above yours from yesterday? ;) He said how to put an icon in the category description bud...

New Joe 02-08-2010 11:39 PM

Quote:

Originally Posted by Gamempire (Post 1976758)
i made an interesting change to the template modification, different from that this coder use in this mod:
https://vborg.vbsupport.ru/showthread.php?t=235240

opacity and different forum icons for each forum..

however, you did a great job for the product, Elmer :)

Yes, a big thanks for that code, I had been looking for a way to do that for many week.
Good work.

delmarva 02-09-2010 04:38 AM

Quote:

Originally Posted by GreigM (Post 1956037)
Good mod, I made a little modification so that the image is clickable and is a link to the forum

Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription"><vb:if condition="$forum['iconlocation']"><a href="{vb:link forum, {vb:raw forum}}"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float: left; margin-right: 4px;" /></a></vb:if>{vb:raw forum.description}</p>
                                        <vb:elseif condition="$forum['iconlocation']" /><p class="forumdescription"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></p></vb:if>


Thank you for this. :)

Great Mod.. *INSTALLED*

abdulbasitsaeed 02-14-2010 03:50 AM

Thank you Elmer, for this lovely mod. :)

Quote:

Originally Posted by House M.D. (Post 1966482)
To make the forum icon sit to the left of the title and description, you need to do this :

Uninstall any previous version and install a fresh copy. Do not make any edits to the mod except for what you see below.

It took a lot of trial and error to get this right - If you like what you see, please make a PayPal donation to mcs@sunwave.net to cover my time in getting this done. Thank you.

1) Install a fresh copy of this mod

2) Open up : Styles and Templates / Style Mananger / Edit Templates / Forum Home Templates / forumhome_forumbit_level2_post


Look for :
Code:

<div class="datacontainer">

Add this code after that line :
Code:

<div style="float: left; margin-right: 5px;">
<vb:if condition="$forum['iconlocation']"><a href="{vb:link forum, {vb:raw forum}}"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></a></vb:if>
</div>
<div style="float: left; width: 90%;">



Look for :
Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>

Replace that line with :
Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if></div>


That's it! - Hit the "Save and Reload" button and your done.

This will show the icon to the left of the title and description. Also, if you hover your mouse over the icon, it will show that board titles name. If you click on the icon, it will take you to that boards location.

I hope you enjoy it - any donations would be greatly appreciated.

Here is what the results will look like :

https://vborg.vbsupport.ru/external/2014/03/62.png

Thank you very much, House M.D.! :)

This worked perfectly on my side. To make the space even on both sides of the forum icon, I changed margin-right: to 15 px instead of 5.

Pro-eSports.com 02-17-2010 10:35 PM

Someone said that vBulletin already has this integrated by default, is this true? Because then I don't need this mod.

dangerin 02-18-2010 05:18 AM

is not the same thing.. you can chamnge the icon on the root indicated reading it with firebug on your site but this mod has a different result and you change every icon in every forum.
Regret that for me do not work from a lot of day also if i executed all instructions but must be a problem of my Vb that i do not know

Rafa-el 02-19-2010 07:32 PM

Sorry for the question, but, where is the Plugin Option? ACP-??

Thanks.

Pro-eSports.com 02-20-2010 03:22 AM

Quote:

Originally Posted by Rafa-el (Post 1986725)
Sorry for the question, but, where is the Plugin Option? ACP-??

Thanks.

ACP - PLUGINS & PRODUCTS - MANAGE PRODUCTS - [Add/Import Product]

Rafa-el 02-22-2010 01:08 AM

I mean the Option to configure the plugin.

angedelamort 02-22-2010 04:53 AM

I saw this plugin and said to myself it's great. Just before I did an install I read the whole thread and someone said to write html in the description (AdminCP -> Forum Manager -> Edit Forum -> Description).

so if you just put that at the beginning of your text:
Code:

<img src="path/to/icons/your_icon.png" align="left" border="0" />My forum description.
it does the same thing if I'm not mistaken? Or maybe this plugin does more? So no need to install a plugin or change any templates. Except if you want something like some people requested, to put the icon to take the full size, it may be an interesting plugin.

dangerin 02-22-2010 05:22 AM

but with this code in template forum you can use AN icon for A forum and with this mod ( if work ) is possible to have a different icon for a different forum.

saghir 02-22-2010 08:30 AM

help ....

where can i fine // forumhome_forumbit_level2_post

for edit , plz tell me i am new

dangerin 02-22-2010 08:46 AM

you found it in the templates manager seraching those word and you find the template indicated.
i hope that at you works ok the mod ..
at me do not work sigh sigh

saghir 02-22-2010 09:51 AM

thanks, can u tell me plz from where i can upload XML file,

saghir 02-22-2010 09:59 AM

yep, i change code and upload xml file, but no result


All times are GMT. The time now is 05:55 PM.

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.01783 seconds
  • Memory Usage 1,937KB
  • 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
  • (19)bbcode_code_printable
  • (1)bbcode_php_printable
  • (20)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
  • (40)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