Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Design and Graphics Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-16-2007, 10:14 PM
TroyF2000's Avatar
TroyF2000 TroyF2000 is offline
 
Join Date: Aug 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How Do I Edit the Style numbers on my forum?

I have installed & then UN-installed forum styles many times now, and I was wondering about their numerical orders. Like say now, I only have 4 styles up, but my Default is the only one that is numbered correctly. It goes like this:

Default Style--1
OrangeBane--37
OrangeBane Ultra--38
Shadow's Bane--39

How can I reset this so they are just 1,2,3,4 again? Please help?
Reply With Quote
  #2  
Old 08-17-2007, 10:58 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's the MySQL unique indexes. You've installed 39 styles (and removed many), and therefore, it's currently at 39.
Reply With Quote
  #3  
Old 08-18-2007, 08:04 PM
TroyF2000's Avatar
TroyF2000 TroyF2000 is offline
 
Join Date: Aug 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But how do I reset that? I would just delete the entire shabang and reinstall everything. It's just I didn't want to delete all my posts & stuff, too. Is there a way to just reset the index for the styles?
Reply With Quote
  #4  
Old 08-18-2007, 08:16 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could go directly into the database and change the styleid. However, you would have to edit the id everywhere it shows up. It's easy to change it in the table "style", but it is also called out in "user". I don't know which other tables/columns it would show up in.
Reply With Quote
  #5  
Old 08-18-2007, 10:28 PM
TroyF2000's Avatar
TroyF2000 TroyF2000 is offline
 
Join Date: Aug 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sounds like a plan, man.Thanks. But where all does the id data appear? Anyone know?
Reply With Quote
  #6  
Old 08-20-2007, 10:14 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any id in vBulletin is automatically generated by MySQL, and you should never change them. There is also no reason to change them.
Reply With Quote
  #7  
Old 08-20-2007, 10:28 AM
snowlion snowlion is offline
 
Join Date: Mar 2005
Location: STY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
You could go directly into the database and change the styleid. However, you would have to edit the id everywhere it shows up. It's easy to change it in the table "style", but it is also called out in "user". I don't know which other tables/columns it would show up in.
After changed you will see white page. As Marco said, you shouldn't change them.
Reply With Quote
  #8  
Old 08-20-2007, 10:57 PM
TroyF2000's Avatar
TroyF2000 TroyF2000 is offline
 
Join Date: Aug 2006
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Marco
There is also no reason to change them.
Well, technically, no. But I am planning to upload about 11 more styles later this year and I wanted them numbered consecutively. Forewarned & understood about the potential dangers, can you guys still tell me where all the ids which Lynne mentioned, show up? I would really appreciate it & it will save me from having to reinstall everything just so I can have this ordered right. It's THAT important to me. Please help guys. I promise I'll be careful.
Reply With Quote
  #9  
Old 08-21-2007, 09:16 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is absolutly no (valid) reason to have them renumbered!

Styleid's are stored on many places and i will not even start to name them as i would probably forget a few, and it will totally mes up your board. I really strongly suggest that you forget about this, it is not worth the effort and the risks.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:06 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04140 seconds
  • Memory Usage 2,236KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete