vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   change .gif to .pngs on forum status icons (https://vborg.vbsupport.ru/showthread.php?t=156062)

jasonpeinko 08-23-2007 04:40 PM

change .gif to .pngs on forum status icons
 
i want to change my forum status icons to .pngs instead of gifs because gifs suck. Which files do i need to edit i have edited all the templates and it is still not working.

also where can i change the poll icon to a .png?

i got the forum part, (im blind) but i still cant find the poll image.

Opserty 08-23-2007 10:26 PM

See post below

SEOvB 08-24-2007 12:54 AM

Quote:

Originally Posted by Opserty (Post 1324419)
You need to convert the gifs to pngs in a graphics editing program such as GIMP/Paint.NET/PaintShopPro/Photoshop. They are located within the 'images' directory of the forum root. (There a heck of a lot of images though, so I hope you have a lot of patience)

In images/statusicon to be exact, forum_new.gif forum_old.gif are probably the ones your looking for.

Quote:

You would then have to a mass Search and Replace of '.gif' with '.png' in your templates and also edit the Main CSS background images from '.gif' to '.png'.

Good luck I guess... :D
AdminCP -> Stlyes and Templates -> Replacement Variable Manager and enter something like this in

Search for text: forum_new.gif
Replacement text: forum_new.png

this will update your style rather then attempting to change them all manually.

jasonpeinko 08-24-2007 02:07 PM

i got it, but i still cant get the poll imgae to change.

Opserty 08-24-2007 09:51 PM

Quote:

Originally Posted by FRDS (Post 1324481)
In images/statusicon to be exact, forum_new.gif forum_old.gif are probably the ones your looking for.



AdminCP -> Stlyes and Templates -> Replacement Variable Manager and enter something like this in

Search for text: forum_new.gif
Replacement text: forum_new.png

this will update your style rather then attempting to change them all manually.

Oh yes I overlooked both those things, I forgot he was only talking about the status icons. Serves me right for trying to help at half twelve at night. :p

jasonpeinko 08-30-2007 05:07 PM

anyone know about the poll icon?

Delioncourt 08-30-2007 05:12 PM

Just repeat the operations mentioned above for the images/misc/poll_posticon.gif

Wayne Luke 08-30-2007 05:17 PM

I'd just install this mod and be done with it until official PNG support is provided.

https://vborg.vbsupport.ru/showthread.php?t=141493

jasonpeinko 08-30-2007 05:28 PM

that mod did not work, and i cannot find any refrences to the poll icon.

Delioncourt 08-30-2007 06:12 PM

Open
includes/functions_forumdisplay.php
Find
PHP Code:

                $thread['threadiconpath'] = "$stylevar[imgdir_misc]/poll_posticon.gif"

(line 300 on vb 3.6.8)

Replace with

PHP Code:

                $thread['threadiconpath'] = "$stylevar[imgdir_misc]/poll_posticon.png"



All times are GMT. The time now is 04:59 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.01100 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)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