vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Change style on index with UPDATE (https://vborg.vbsupport.ru/showthread.php?t=52491)

-Sidekick- 06-05-2003 07:42 AM

Can this be modified so it will work in the header template as well? If so, how?

grog6 06-05-2003 03:02 PM

Use firefly to use it in the header, I think it should be better ;)

With mine, all modifications are done in the index.php, and if you want to do it in the header, you' ve to modify the global.php ...

Mr. Brian 06-05-2003 07:26 PM

Might install this if I have the time to do so.. ;)

Matthew's click *install* :)

Chris M 06-05-2003 09:42 PM

Quote:

05-05-03 at 01:16 PM Edgar said this in Post #17
Nice hack, but the numbers are not coming up correct for me.
To see what I mean see: http://www.avalancheonline.com/forums/index.php?s=
I have close to 1900 members yet only 200 or so users are showing up in the menu. And these are the only 3 styles there are.

@Edgar - You could alternatively force all users to update their styles, by running this query:

[sql]UPDATE user SET styleid='1' WHERE styleid!='2' AND styleid!='4'[/sql]
^ That should work:)

That query will update all users setting their styleid to 1, unless their styleid is 2 or 4 (the other 2 styles on your site):)

Satan

grog6 06-05-2003 10:07 PM

Hehe, thx Chris :)

-Sidekick- 06-06-2003 02:53 AM

Quote:

Today at 11:02 AM grog6 said this in Post #32
Use firefly to use it in the header, I think it should be better ;)

With mine, all modifications are done in the index.php, and if you want to do it in the header, you' ve to modify the global.php ...

FireFly's doesn't Update things like the postbit hack like yours does. That's why I was wondering if you can expand on this one. -.-

grog6 06-06-2003 06:09 PM

Try this Sidekick, it may bu usefull for you ;)

https://vborg.vbsupport.ru/showthrea...AND+each+style

-Sidekick- 06-07-2003 05:49 AM

That hack will update the style postbit hack like yours?

grog6 06-07-2003 12:06 PM

I haven't looked at this hack yet, but just ask the question to the hacker, he should answer you with pleasure ;)

-Sidekick- 06-11-2003 05:42 AM

I've gotten no response from that hacker....


All times are GMT. The time now is 10:36 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.01653 seconds
  • Memory Usage 1,734KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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