vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - vB Category Icons (https://vborg.vbsupport.ru/showthread.php?t=82750)

Logikos 07-13-2005 02:15 AM

The query is so you can store the <img> info inside the database. In order to run querys in the Admincp you need to edit the config.php file. Change the following line:

Find:
PHP Code:

$canrunqueries ''

Replace With:
PHP Code:

$canrunqueries 'X'

Change X to your Userid. You can find your userid by clicking on your profile and seeing the number at the end of the URL. If your the owner of the site, this will ussally be 1.

Gio 07-13-2005 02:19 AM

Thanks again.

Loki12 07-13-2005 08:44 PM

The following does essentially the same thing, but is easier and quicker to install, I think...

http://www.vbulletin.com/forum/showthread.php?t=114545

Logikos 07-14-2005 03:30 AM

As stated in my other thread about that post on vb.com. I personaly like to keep things as orginaized as possiable, so there for its eaiser for me to just edit the forum info in the ADMINCP. As if you have more then one style, you would have to edit every template that contains the icon information. My way, you would just edit one field and be done.

Brinnie 07-22-2005 09:58 PM

Hi,

Please bear with my noobness, as I don't always know. But couldn't one add <img> tag to the forum description?

I think this is a great tutorial. Now if I could only kill the default status icons... Anyone have any ideas?

Wayne Luke 07-23-2005 04:15 AM

Quote:

Originally Posted by Live Wire
As stated in my other thread about that post on vb.com. I personaly like to keep things as orginaized as possiable, so there for its eaiser for me to just edit the forum info in the ADMINCP. As if you have more then one style, you would have to edit every template that contains the icon information. My way, you would just edit one field and be done.

If you use the imagedir stylevar, you wouldn't have to though. Just let it be inherited from the parent.

Andreas 07-26-2005 06:26 PM

@Live Wire
This Hack can be implemented without File Edits in RC 1 by using Hook forumadmin_edit_form, so you might want to update it :)

Logikos 07-26-2005 07:17 PM

lol, thanks mate. Gonna update.

GrendelKhan{TSU 07-27-2005 06:51 AM

figures I just installed this yesterday (LOVE IT AND showed support with "INSTALL" ;)), next day RC1 is out... heh. I take it I have to redo this if I update to RC1?

Logikos 07-27-2005 06:59 AM

All you will have to do is import a xml file from the admincp. Working on it now/


All times are GMT. The time now is 09:30 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.01231 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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