vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Vbulletin 3.8.9 I want to change vbulletin status icons? (font awesome icons) (https://vborg.vbsupport.ru/showthread.php?t=328372)

polyana 11-26-2020 08:55 PM

Vbulletin 3.8.9 I want to change vbulletin status icons? (font awesome icons)
 
I want to use awesome font icons instead of forum_old.gif, forum_new.gif, forum_link.gif etc .. icons in the forum.
I couldn't find the name of these icons inside the theme.
I want to give font awesome icons to every gif image.

https://forum.vbulletin.com/filedata...2&d=1605105966

Dr.CustUmz 11-26-2020 09:10 PM

You want to search for
HTML Code:

<img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
replace with
Code:

<i class="fa fa_ICON"</i>
to set a diffent icon based on status use
Code:

$forum[statusicon]
which will return NEW / OLD
so you can do just an example
Code:

<if condition="$forum[statusicon] == 'new'">NEW ICON <else /> OLD ICON </if>
NOTE This will not allow you to double click the icon to mark the forum read, but if you look at the code you are replacing im sure you can figure it out ;)

You know I've actually never thought to do this, and super easy for that matter. May add this to my fontawesomer addon =)

polyana 12-07-2020 01:10 PM

Quote:

Originally Posted by Dr.CustUmz (Post 2604882)

NOTE This will not allow you to double click the icon to mark the forum read, but if you look at the code you are replacing im sure you can figure it out ;)

You know I've actually never thought to do this, and super easy for that matter. May add this to my fontawesomer addon =)

Thank you bro.


All times are GMT. The time now is 09:13 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.01047 seconds
  • Memory Usage 1,719KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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