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)

ddo36 06-19-2009 03:26 PM

mark this as installed. :)

Great work sofia :up:

I have one question though..

I went to vBulletin Options>> Forum Display Options (forumdisplay)>>Enable Forum Description set to Yes..

So that means that the description of the forum will show below the navbar right?

my question is, where do you think i can edit the forum description(showing below the navbar), so that icons can show in the description without editing the forum description(in the forum manager).

just like what you did in this mod.

coz i'd like that the forum description(below the navbar) will have pictures too.

i hope you understood my question. :D

Candostum 06-19-2009 08:34 PM

Thanks but I get XHTML error with this code.

kent_lkc 06-20-2009 09:24 AM

any idea how to add image to Category ?

New Joe 07-02-2009 01:11 PM

Quote:

Originally Posted by Sofia (Post 1816283)
Hi aliali. Yes, it's possible, but only 1 icon by forum, so you cannot have old/new posts system.

In the template forumhome_forumbit_level2_post and forumhome_forumbit_level1_post

Find:

HTML Code:

<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
Replace by:

HTML Code:

<td class="alt2"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/$forum[forumid].gif" hspace="4px" align="left"/></a></td>

I tried that but it didn't work.
Could you give me a more "step by step" way to do it, including where to upload the images.
Also do I have to add anything to the code change?
How does it know which picture to add to which Forum?

Sofia 07-02-2009 02:37 PM

Quote:

Originally Posted by New Joe (Post 1841403)
I tried that but it didn't work.
Could you give me a more "step by step" way to do it, including where to upload the images.
Also do I have to add anything to the code change?
How does it know which picture to add to which Forum?

Hey Joe. :)
Try to upload images in the folder misc.


If it doesn't work, you can test this:

Only if you have 3.7.x and newer version (3.8.x)

You can have specific status icons by forum.
With no product, no template modification and very easy.







Installation


1. AdminCP


AdminCP >> Forums & Moderators >> Forum Manager >> Choose a forum

In this forum, find: Style Options
In Style Options,
we can modify Prefix for Forum Status Images.

This setting allows you to have a prefix by forum that will be used on status icons filenames.

You must enter here your forum ID.

How I can find my forum ID?
On the same page, at the top of this page, you've your forum name and your forum ID.

https://vborg.vbsupport.ru/



In this example, ID is "2", so you must enter "2" in Prefix for Forum Status Images.
Then, I use "_" so that it is more clean on your filenames.


2. Images

Now, you have to create your images for every forum where you want to have specific status icons.

Your images must have this name:
ID_forum_link.gif
ID_forum_new.gif
ID_forum_new_lock.gif
ID_forum_old.gif
ID_forum_old_lock.gif

In my example, images have this name:
2_forum_link.gif
2_forum_new.gif
2_forum_new_lock.gif
2_forum_old.gif
2_forum_old_lock.gif

Finally, upload images into "images/yourstyle/statusicon".

thedagnu 07-02-2009 03:17 PM

1 Attachment(s)
Do you know what I should add to specify only which forums need a new image, and the rest be the default...?

Examples like the following picture :

Attachment 101388



Thank you for your help.
Sorry if my english bad. :)

New Joe 07-02-2009 03:19 PM

Thanks for that, I will give it a try.

Shankoty 07-09-2009 09:39 AM

Quote:

Originally Posted by Sofia (Post 1841446)
Hey Joe. :)
Try to upload images in the folder misc.


If it doesn't work, you can test this:

Only if you have 3.7.x and newer version (3.8.x)

You can have specific status icons by forum.
With no product, no template modification and very easy.







Installation


1. AdminCP


AdminCP >> Forums & Moderators >> Forum Manager >> Choose a forum

In this forum, find: Style Options
In Style Options,
we can modify Prefix for Forum Status Images.

This setting allows you to have a prefix by forum that will be used on status icons filenames.

You must enter here your forum ID.

How I can find my forum ID?
On the same page, at the top of this page, you've your forum name and your forum ID.

https://vborg.vbsupport.ru/



In this example, ID is "2", so you must enter "2" in Prefix for Forum Status Images.
Then, I use "_" so that it is more clean on your filenames.


2. Images

Now, you have to create your images for every forum where you want to have specific status icons.

Your images must have this name:
ID_forum_link.gif
ID_forum_new.gif
ID_forum_new_lock.gif
ID_forum_old.gif
ID_forum_old_lock.gif

In my example, images have this name:
2_forum_link.gif
2_forum_new.gif
2_forum_new_lock.gif
2_forum_old.gif
2_forum_old_lock.gif

Finally, upload images into "images/yourstyle/statusicon".

NOT WORKING , it show me empty area beside the forum,..

New Joe 07-09-2009 12:27 PM

Quote:

Originally Posted by Shankoty (Post 1845662)
NOT WORKING , it show me empty area beside the forum,..

Didn't work for me either and it can only be set to certain styles.
I just followed this thread and it worked great: http://www.vbulletin.com/forum/showthread.php?t=114545

Now all I am looking for is how to add the icons within the forum on the let instead of the envelopes.

dimthan 07-12-2009 06:56 AM

where i can find some good icons for my forum using this add ?
thx in advance


All times are GMT. The time now is 05: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.01392 seconds
  • Memory Usage 1,756KB
  • 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_html_printable
  • (4)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