vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   RPG Integration Hack (https://vborg.vbsupport.ru/forumdisplay.php?f=102)
-   -   Forcing users to use the DHTML Stats Drop Down. (https://vborg.vbsupport.ru/showthread.php?t=92148)

neolithic 07-14-2005 03:30 AM

Forcing users to use the DHTML Stats Drop Down.
 
I've been attempting to search this forum for an answer but no luck. Hopefully I didn't just over look a post or something.

I'm just wondering if someone knows how to force users to use that DHTML drop down menu that shows the stats instead of the big chunky expanded layout. I'm talking about the stats shown in the postbit btw.

Essentially I want to remove the users ability to make that choice as to what style of stats they want in their UserCP

Revan 07-15-2005 08:25 AM

I see I need to create an ACP setting for this :p
Run this:
[sql]UPDATE `user` SET `rpgstats` = '0'[/sql]
Remember to add a prefix if you got one.
Then open the template, and delete the entire bit concerning the dropdown selection.

neolithic 07-15-2005 04:45 PM

Thanks Revan. Works a treat.

neolithic 07-18-2005 04:36 AM

Just a thought. What is the default value for rpgstats? Is it 0 or will I have to come back and re-run the query every time a new user registers and account?

Kingzor 09-03-2005 07:44 PM

Quote:

Originally Posted by neolithic
Just a thought. What is the default value for rpgstats? Is it 0 or will I have to come back and re-run the query every time a new user registers and account?

yea im having the same problem with new users

Revan 09-03-2005 09:51 PM

[sql]ALTER TABLE `user` CHANGE `rpgstats` `rpgstats` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0'[/sql]


All times are GMT. The time now is 12:34 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.00934 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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