vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Template for images/on.gif and off.gif (https://vborg.vbsupport.ru/showthread.php?t=51688)

floridaideal 04-16-2003 01:42 PM

Template for images/on.gif and off.gif
 
Hello all

I am just making a new template set for my forum and would like to know which template the on.gif and off.gif are in so I can change the directory of these two images.

Anyone please help

Thank you very much

Stuart

Gary King 04-16-2003 01:56 PM

Your on.gif and off.gif are in a different folder from your other vBulletin images?

Anyways, if they are, then you'll have to modify the following templates to add the correct paths:

forumhome
postbit_offline
postbit_online
usercp_buddy

There may be more; if there are, then just modify the page's template where they appear.

floridaideal 04-16-2003 02:19 PM

Hello, these new images will be in a different folder, its a temp template I am making for easter.

I have just changed all those files but my index on the forums are still using the same on and off images?

Any ideas?

Thanks

Stu

Gary King 04-16-2003 02:24 PM

Try searching these templates:

forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

floridaideal 04-16-2003 02:30 PM

Thanks Gary, had another go and still can't see the template that effects the index, searched both level post templates and the nearest I could find was this:

="{imagesfolder}/$forum[onoff].gif"

Don't think thats anything to do with it though!

Any others I can try?

Thanks

Stu

Gary King 04-16-2003 02:35 PM

Quote:

Today at 10:30 AM floridaideal said this in Post #5
Thanks Gary, had another go and still can't see the template that effects the index, searched both level post templates and the nearest I could find was this:

="https://vborg.vbsupport.ru/images/$forum[onoff].gif"

Don't think thats anything to do with it though!

Any others I can try?

Thanks

Stu


That should be the one.

The code you're looking for is
PHP Code:

{imagesfolder}/$forum[onoff].gif 

Change
PHP Code:

{imagesfolder

to whatever folder the on.gif and off.gif are located.

floridaideal 04-16-2003 03:13 PM

Done it :)

Thank you very much thats great, now the PM on off icon, dont have any idea where I can locate that do you.

Thank you again

Stuart

Gary King 04-16-2003 03:22 PM

If you're talking about on.gif and off.gif when reading a PM, it gets the path from the postbit_offline and postbit_online templates, so if you already modified these templates, then it will also affect the on/off.gif for reading PMs.

floridaideal 04-16-2003 03:33 PM

Thanks Gary

Its PM indicator on the index of the forum I am talking about, inside the message the on/off works fine, the on/off on the index is still the same as normal even with those files edited?

Thanks

Stuart

Gary King 04-16-2003 03:45 PM

Could you tell me which file you are talking about? (please tell me the full URL, like private.php?s=&action=show&privatemessageid=1) And where on the page it is located? (top, middle, bottom)

It seems that you are talking about one of the following files:
  • index.php
  • private.php

Please clarify which on/off.gif you are talking about.


All times are GMT. The time now is 08:16 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.01187 seconds
  • Memory Usage 1,738KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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