The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to replace forum_new.gif?
I'm trying to replace the default buttons for "No new posts in forum" and "Forum has new posts." I've succeeded in replacing the ones at the very bottom of the page.
However, as you look vertically down the page, the same old default buttons still appear next to the name of each forum. The names of the default buttons are clearly "forum_new.gif" and "forum_old.gif". When I search in the templates for those phrases, however, I find only one reference to each -- the same ones that I used to insert the new icons at the bottom of the page. Where are those other guys hanging out? how can I change the icon next to each forum name?? |
#2
|
||||
|
||||
Find the template where the 'old' ones are showing up and see what is happening in there.
To find the template of interest, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source. |
#3
|
|||
|
|||
Lynne, thank you very much for your reply. I did as you suggested, and it was very educational.
From looking at the source code, it appears that the icons in question are part of the "forumhome_forumbit_level2_post" template. That seems quite clear -- the phrase "Begin template forumhome_forumbit_level2_post" appeared almost immediately before each appearance of the expression forum_old.gif or forum_new.gif. When I opened up that template, however, I could not find any reference to either gif. My effort to replace the default gifs therefore remains stymied. |
#4
|
||||
|
||||
It looks like this is the image here:
HTML Code:
<img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
|
#5
|
||||
|
||||
for my 2 cents worth, it is easy to rename the new image the same as the old and upload it to the correct directory with ftp overwriting it. simple and effective way of replacing images.
|
#6
|
|||
|
|||
Quote:
I'd love to be able to do that, Lynne, but it is well beyond my capability at present. Thank you for your reply, though, and the information. --------------- Added [DATE]1254596105[/DATE] at [TIME]1254596105[/TIME] --------------- Quote:
It looks like that's what I'll have to do. I was reluctant to overwrite anything but it appears I can't avoid it. Thank you, Medtech, for your help. |
#7
|
||||
|
||||
Ive always done it this way as well.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|