vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [Solved] Different Forum Icon For Each Forum? (https://vborg.vbsupport.ru/showthread.php?t=190254)

Bacon Butty 09-07-2008 12:51 PM

[Solved] Different Forum Icon For Each Forum?
 
Hi,

I am sure I have seen this but cant seem to find it via search.

Basically looking for a mod/method which would enable me to have a different icon next to each forum?;

http://www.grandoldteam.com/forum/images/forumicons.jpg

2guys1forum 09-07-2008 12:56 PM

I am sure this will help you further:

http://www.vbulletin.com/forum/showthread.php?p=1617241

Bacon Butty 09-07-2008 01:02 PM

Thanks, but I am pretty sure I saw a modification for this a while ago? :confused:

Lynne 09-07-2008 01:59 PM

No Mod needed. Go to the Forum Manager > select your forum to edit > Prefix for Forum Status Images (This prefix will be used on status image filenames for a forum, it must contain A-Z, 0-9, -, _, . and /)
Quote:

Prefix for Forum Status Images
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


Bacon Butty 09-07-2008 02:11 PM

Thanks Lynne,

I have tried that by following this but despite the seemingly obvious instructions, I cant seem for the life of me to be able to figure it out :confused:

Lynne 09-07-2008 02:45 PM

What is your prefix and what are the names of your new icons? Also, are you making sure to put your newly made icons into the correct image folder for your style?

Bacon Butty 09-07-2008 02:52 PM

My newly made icons are;

* blueroom_link.gif
* blueroom_new.gif
* blueroom_new_lock.gif
* blueroom_old.gif
* blueroom_old_lock.gif

They are in the correct image folder for the style.

I have tried several prefix in the "Prefix for Forum Status Images" section of forum manager, could you tell me how to display the above correctly?

King Kovifor 09-07-2008 03:11 PM

Try:
blueroom_

Bacon Butty 09-07-2008 03:22 PM

I have, no luck...

Lynne 09-07-2008 03:22 PM

Do you have a link to the page that isn't showing the icons?

edit: You've got the names wrong, they should be:

* blueroom_forum_link.gif
* blueroom_forum_new.gif
* blueroom_forum_new_lock.gif
* blueroom_forum_old.gif
* blueroom_forum_old_lock.gif

Bacon Butty 09-07-2008 03:31 PM

Quote:

Originally Posted by Lynne (Post 1616671)
Do you have a link to the page that isn't showing the icons?

edit: You've got the names wrong, they should be:

* blueroom_forum_link.gif
* blueroom_forum_new.gif
* blueroom_forum_new_lock.gif
* blueroom_forum_old.gif
* blueroom_forum_old_lock.gif

Cant show the link as its a hidden style I am working on.

The skin is "easyblue", and the files;

* blueroom_forum_link.gif
* blueroom_forum_new.gif
* blueroom_forum_new_lock.gif
* blueroom_forum_old.gif
* blueroom_forum_old_lock.gif

Are located in /forum/images/easyblue/statusicon/

With the prefix in the admincp setting in forum manager set as blueroom_

Still no luck.

Thanks for the help.

Lynne 09-07-2008 03:47 PM

Are the names of the new icons showing up in your source code? Are you just getting a blank icon on the page? What is the result? Any errors in your error_logs? Do you have the path to your folder correct in Style > StyleVars > Item Status Icon Folder ?

Bacon Butty 09-07-2008 03:55 PM

Icons simply aren't changing, showing the default. /forum/images/easyblue/statusicon/forum_new.gif

The Item Status Icon Folder in StyleVars is images/easyblue/statusicon

No errors in error_logs.

Opserty 09-07-2008 04:23 PM

Create a New Style with No Parent Style. Browse the affected pages using this style, do your icons change?

Lynne 09-07-2008 04:40 PM

Can you view those icons directly? ie. www.yousite.com/forum/images/easyblue/statusicon/blueroom_forum_link.gif

Bacon Butty 09-07-2008 04:43 PM

You can yes. Link

SEOvB 09-07-2008 04:51 PM

Quote:

Originally Posted by Bacon Butty (Post 1616684)
Cant show the link as its a hidden style I am working on.

The skin is "easyblue", and the files;

* blueroom_forum_link.gif
* blueroom_forum_new.gif
* blueroom_forum_new_lock.gif
* blueroom_forum_old.gif
* blueroom_forum_old_lock.gif

Are located in /forum/images/easyblue/statusicon/

With the prefix in the admincp setting in forum manager set as blueroom_

Still no luck.

Thanks for the help.


They wont go there by default. enter the custom name (blueroom_forum_new.gif for ex.)

When the broken image appears, right click it and hit view image in FF or Properties in IE. This will tell you where the image needs to be saved to, then simply move the images to that folder.


Also, it is possible the custom image doesnt work for that skin on the forum home templates. Revert the forumhome_forumbit_level2_post template and then see if it works.

The second line of that template should be something like
Code:

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

Opserty 09-07-2008 04:52 PM

Did you also try clearing your browser cache? Also which forum have you changed it for?

It seems to be working for your "feelingblues" skin as it is trying to use the image: http://www.grandoldteam.com/forum/im..._forum_old.gif

To be honest, the easiest way we will be able to see this is to make the skin viewable...

--------------- Added [DATE]1220810123[/DATE] at [TIME]1220810123[/TIME] ---------------

Quote:

Originally Posted by FRDS (Post 1616751)
They wont go there by default. enter the custom name (blueroom_forum_new.gif for ex.)

I'm not sure what you mean by "They won't go there by default" but if you look in the template it shows:
Code:

<img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
So if the skin is set up correctly it should do.

Bacon Butty 09-07-2008 04:56 PM

Quote:

Originally Posted by Opserty (Post 1616753)
Did you also try clearing your browser cache? Also which forum have you changed it for?

It seems to be working for your "feelingblues" skin as it is trying to use the image: http://www.grandoldteam.com/forum/im..._forum_old.gif

To be honest, the easiest way we will be able to see this is to make the skin viewable...

Link to skin I am working on

The Everton Forum is the icon I am trying to change.

Opserty 09-07-2008 05:00 PM

Look in your forumhome_forumbit_leve2_post template. Do you have the code in red:
Code:

<tr align="center">
    <td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
    <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
        <div>

Or is it slightly different?

Bacon Butty 09-07-2008 05:06 PM

Quote:

Originally Posted by Opserty (Post 1616761)
Look in your forumhome_forumbit_leve2_post template. Do you have the code in red:
Code:

<tr align="center">
    <td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
    <td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
        <div>

Or is it slightly different?

That did the trick, the "$forum[imageprefix]" was missing.

Thank you very much.


All times are GMT. The time now is 05:20 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.03476 seconds
  • Memory Usage 1,770KB
  • 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
  • (4)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete