vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Forum Icons on forumhome (https://vborg.vbsupport.ru/showthread.php?t=214289)

Sofia 05-21-2009 10:00 PM

Forum Icons on forumhome
 
1 Attachment(s)
This mod allows you to have specific forum icons on the forumhome per forum.



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



(New) You want your statusicons per forum? Read this : https://vborg.vbsupport.ru/showpost....6&postcount=45


Installation


In the template forumhome_forumbit_level2_post,

Find:

HTML Code:

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

HTML Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left"/></a>
Create a folder "iconforums" into your images/misc folder. Upload your icons in images/misc/iconforums.

Indicate a forumid for the images name.


Example:
ID Forum = 3. So your image have this name : "3.gif"
ID Forum = 7. So your image have this name : "7.gif"

You must have an icon for each forum
.

veenuisthebest 05-22-2009 02:07 PM

lol nice.

ndut 05-22-2009 11:00 PM

thank you, installed

ti07shadow 05-22-2009 11:04 PM

tagged "reserved" for future use!

nice mod

pozo 05-23-2009 12:35 PM

Very nice... that's exactely what I've searched! :up:

warnmar10 05-24-2009 12:01 AM

This didn't work for me and I believe it is because I don't have any categories defined. On my forumhome page I have 5 forums defined but not under categories. Any ideas?

lm3a.net 05-24-2009 04:49 AM

i used it on my forum

it's very nice

thank you

FiMeTi 05-24-2009 12:10 PM

great job Sofia! Thanks! :)

RobbieZ 05-24-2009 12:45 PM

Quote:

Originally Posted by warnmar10 (Post 1816030)
This didn't work for me and I believe it is because I don't have any categories defined. On my forumhome page I have 5 forums defined but not under categories. Any ideas?

It has nothing to do with categories.

If you hover over any part of your forum you should see this in your address bar.

Where the number 44 is your forum ID. There for as Sofia said. you need to upload your desired image to your subforum folder named 44.gif.



Thanks Sofia, This looks very good indeed.

I however don't use forum contains new/old posts. I use the 'Prefix for Forum Status Images'.

FiMeTi 05-24-2009 12:53 PM

Hi Sofia. I got a little problem, hoping you?ll help me out.

Your code is missing the "<strong>$forum[title]</strong>".
So I see the pictures, but not the Forumtitle. I added it and use the following code now.
Code:

                        <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].png" alt="$forum[title]"  hspace="4px" align="left"/><strong>$forum[title]</strong></a>
works fine with this. But I do also have forums without pictures and there the forumtitle shows up two times. See picture below. How can I now get rid of the first forumtitel, so it shows normal without picture?
https://vborg.vbsupport.ru/


All times are GMT. The time now is 04:51 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.01205 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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