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)

Elmer 12-03-2009 10:00 PM

Forum Icons
 
1 Attachment(s)
Forum Icons is a product that adds an option in the edit/add new forum page to set a forum icon.

To make it work, you will need to make a template modification, I did try to do it with a plugin, but got frustrated trying but failing to make it work. :D

I promise I will be looking into this so we don't have to edit any template, but in the meantime...

How to Install:


1- Upload the product xml file.
2- Edit forumhome_forumbit_level2_post
Find:
Code:

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

<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>


If you use it, please mark it as installed :)

halkum 12-04-2009 09:28 PM

I just use HTML in the description. Good template mod though! If it ever releases as a product without a template mod I'll grab it up.

halkum 12-04-2009 09:31 PM

Screw it, installed.

Nadeemjp 12-05-2009 01:50 AM

i currently used the html code for 3.8.4.
does this mean we wont be able to use html codes in description on vb4.0?

Dr.osamA 12-05-2009 03:44 AM

try

thanxx

installed
________
ANAL PLEASURE

gedr80 12-05-2009 03:58 AM

Thank you very much

dacho 12-06-2009 01:11 PM

Thanks man

SİMAR 12-06-2009 02:18 PM

Thank you

compact123 12-06-2009 08:24 PM

thanks installed but how i can like that?

https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/

https://vborg.vbsupport.ru/external/2010/01/51.png

Greight 12-07-2009 09:18 AM

Bug found;
If you use html markups for the forum title, this is added to the forum description :
HTML Code:

" style="float: left; margin-right: 4px;" />

Greight 12-09-2009 07:34 AM

Quote:

Originally Posted by Greight (Post 1926710)
Bug found;
If you use html markups for the forum title, this is added to the forum description :
HTML Code:

" style="float: left; margin-right: 4px;" />

So no idea ?

Micky_1 12-09-2009 09:12 PM

Quote:

Originally Posted by compact123 (Post 1926477)

Find:
Code:

<div class="forumdata">
Replace it with:
Code:

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


PikeyXB 12-10-2009 12:45 AM

Close, but no cigar :).....for me I ended up with two images, one in the right place and the original one

Quote:

Originally Posted by Micky_1 (Post 1928023)
Find:
Code:

<div class="forumdata">
Replace it with:
Code:

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



CFodder 12-10-2009 01:52 AM

**EDIT, fixed by reinstall **

Alfa1 12-11-2009 12:30 AM

This is included in vbulletin by default. There is no need to use a hack to show forum icons.

Micky_1 12-11-2009 03:14 AM

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.

Where? :confused:

Greight 12-11-2009 06:02 AM

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.

That will change the side icon but this adds an icon beside it.

Greight 12-11-2009 12:02 PM

Quote:

Originally Posted by Greight (Post 1926710)
Bug found;
If you use html markups for the forum title, forum name + this code is added to the forum description :
HTML Code:

" style="float: left; margin-right: 4px;" />

Waiting for a solution:confused:

Elmer 12-11-2009 08:39 PM

Quote:

Originally Posted by Greight (Post 1928800)
Waiting for a solution:confused:

Remove from alt="{vb:raw forum.title}" the bold part, that's the code you need to place in your template .

Cableguy69 12-11-2009 08:48 PM

So is there a way to display it as shown in this picture?

https://vborg.vbsupport.ru/

Tize. 12-12-2009 01:33 AM

Thank you very much Elmer! Installed!!
Muchas gracias Elmer como siempre trayendonos novedades y cosas guapas.
Saludos.

Greight 12-12-2009 06:17 PM

Quote:

Originally Posted by Elmer (Post 1929028)
Remove from alt="{vb:raw forum.title}" the bold part, that's the code you need to place in your template .

Thanks
Fixed

Bacon Butty 12-12-2009 08:52 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.

This.

I was starting to think I was going crazy, theres no need for this mod. Unique forum icons, as in... a different icon per forum is a default feature.

Admin CP->Forum Manager ->Prefix for Forum Status Images

compact123 12-12-2009 09:32 PM

Quote:

Originally Posted by Bacon Butty (Post 1929547)
This.

I was starting to think I was going crazy, theres no need for this mod. Unique forum icons, as in... a different icon per forum is a default feature.

Admin CP->Forum Manager ->Prefix for Forum Status Images

Forum Status diffirent...

halkum 12-12-2009 10:11 PM

I for one love this mod. Thank you.

VonDoom 12-12-2009 10:35 PM

Does this work in subforums? I had installed it in for use in my subforums but it didnt work. so im just wondering. I know there are alot of different beta versions of 4.0 right now so its all good. but still curious.

g00gl3r 12-13-2009 05:55 PM

Quote:

Originally Posted by Bacon Butty (Post 1929547)
This.

I was starting to think I was going crazy, theres no need for this mod. Unique forum icons, as in... a different icon per forum is a default feature.

Admin CP->Forum Manager ->Prefix for Forum Status Images

How does this prefix thing work then? Do you simply enter the path to an image?

whitetigergrowl 12-15-2009 04:42 PM

subforum_link-48.png

Sub forum link images are not showing properly. I get the red x.

I also couldn't find that image in the VB directory. How do I resolve this?

KURTZ 12-17-2009 02:55 PM

Quote:

Originally Posted by g00gl3r (Post 1930059)
How does this prefix thing work then? Do you simply enter the path to an image?

i'm interested too in this issue ... :)

Greight 12-17-2009 03:03 PM

Quote:

Originally Posted by KURTZ (Post 1932278)
i'm interested too in this issue ... :)

Forum Status images are usually shown alongside the forum in a forum listings to indicate the read status.

This prefix must only contain alphanumerical characters, though the following are also allowed - _ / ., a folder name is also acceptable to be placed within the status icon directory.

The following images are currently in use for status icons, you will need to create images with the specified prefix to match.
forum_link.gif
forum_new.gif
forum_new_lock.gif
forum_old.gif
forum_old_lock.gif

This prefix can be set for each forum in forum manager/edit forum.

KURTZ 12-17-2009 03:11 PM

Quote:

Originally Posted by Greight (Post 1932279)
Forum Status images are usually shown alongside the forum in a forum listings to indicate the read status.

This prefix must only contain alphanumerical characters, though the following are also allowed - _ / ., a folder name is also acceptable to be placed within the status icon directory.

The following images are currently in use for status icons, you will need to create images with the specified prefix to match.
forum_link.gif
forum_new.gif
forum_new_lock.gif
forum_old.gif
forum_old_lock.gif

This prefix can be set for each forum in forum manager/edit forum.

OK but this is a different thing ... :)

however thx

Greight 12-17-2009 03:24 PM

Quote:

Originally Posted by KURTZ (Post 1932288)
OK but this is a different thing ... :)

however thx

This is exactly what you guys meant.

kisanjong 12-19-2009 07:52 AM

Thanks :)

TunerNetwork 12-21-2009 12:16 AM

This is a kick arse mod, just installed, now i can't stop customizing!

Here is mine so far, not done yet, but feel it gave my forum page a lil more ummmphhhh!

http://www.subislobs.com/forums/forum.php

masons 12-21-2009 12:37 PM

Yeah I LOVE IT.. it is awesome!
http://tinyurl.com/yz9tdnl

SledgeHead 12-22-2009 01:11 AM

Quote:

Originally Posted by Cableguy69 (Post 1929033)
So is there a way to display it as shown in this picture?

https://vborg.vbsupport.ru/

Anyone find a solution to get this yet?

bandare 12-22-2009 04:42 PM

Quote:

Originally Posted by SledgeHead (Post 1935067)
Anyone find a solution to get this yet?

looking for the same too....

barcena 12-22-2009 06:32 PM

Estos iconos son el icono del foro como tal o iconos aparte?

Are those the main forum icons or extra icons?

Thanks in advance

Merjawy 12-23-2009 05:09 PM

Quote:

Originally Posted by Nadeemjp (Post 1925548)
i currently used the html code for 3.8.4.
does this mean we wont be able to use html codes in description on vb4.0?

Works fine on 4.0

Other hacks of the like made my forumhome page speed goes way down in the past attempts..

So I've always used the forum discription to add icons and worked great

footose 12-24-2009 04:14 PM

1 Attachment(s)
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/external/2010/02/83.jpg


All times are GMT. The time now is 07:14 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.01574 seconds
  • Memory Usage 1,835KB
  • 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
  • (6)bbcode_code_printable
  • (3)bbcode_html_printable
  • (1)bbcode_php_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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