PDA

View Full Version : Rebuild Bitfields Link in AdminCP


evenmonkeys
12-22-2005, 10:00 PM
I spent like thirty minutes lookin for the link that rebuilds your bitfields. When I finally found it, I found it in a thread that a person said it should be made into a modification. I couldn't agree more. For my first vB Extention, I'm releasing this one.

Description
This will add a link under your vBulletin Options category within your AdminCP that will allow you to rebuild your bitfields with the click of your mouse. It will then just reload to your main AdminCP homepage.

Templates to edit: 0
Files to Upload: 1

Instructions
1. Upload all cpnav_rebuild_bitfields.xml to your forum/includes/xml directory.
2. Go to AdminCP to make sure it's all working. It'll be located under the vBulletin Options.


All done! Enjoy!!


[ INSTALL (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=103565) ]

da420
12-22-2005, 11:56 PM
im sorry what exactly does this do?

evenmonkeys
12-22-2005, 11:59 PM
im sorry what exactly does this do?

I'm going to be 100% honest. I have no idea what the exact purpose is. What I can tell you is that a lot of hacks that are released require that you manually update your bitfields after installing them. This is the link required that I can never find. I'm sure the command has something to do with updating certain fields that your database is not recognizing. Maybe one of the coders around here can answer it for you.

Rhoads
12-23-2005, 01:03 AM
You can edit your cpnav_vbulletin.xml

:ermm:

evenmonkeys
12-23-2005, 01:11 AM
Yeah, but why edit a file if you don't have to?

EasyTarget
12-23-2005, 01:36 AM
haha thanks, now we just need to sticky this or something.

jugo
12-23-2005, 02:53 AM
Just set your debug to on. or install the debug in admincponly modification and you'll get that and alot more useful info.

Feckie (Roger)
12-23-2005, 05:29 AM
It's Already On Quick Admin Tools (https://vborg.vbsupport.ru/showthread.php?t=99279&highlight=admin+tools)

evenmonkeys
12-23-2005, 06:25 AM
Meh... well... this hack will be for those who don't want an entire list of quick links... and are just looking for this one link... and uhhh... don't want to spend the time looking for the debug option... which I have not been able to find. Where is that located? I could have sworn it used to be in the config.php file... but it's not anymore.

Marco van Herwaarden
12-23-2005, 06:37 AM
It still is in the config.php:
$config['Misc']['debug'] = true;

PS Regardless of your debug setting, the direct link to rebuild always works: http://www.myboard.com/admincp/index.php?do=buildbitfields

Arios
12-23-2005, 02:35 PM
Cool saves me hunting for a link everytime. Thanks!

Andreas
12-23-2005, 08:06 PM
Normally, it should not be necessary to rebuild bitfields manually ...

evenmonkeys
12-23-2005, 08:15 PM
Normally, it should not be necessary to rebuild bitfields manually ...

I've installed three modifications that have given me a link at the end of the install script telling me to run admincp/index.php?do=buildbitfields.

Andreas
12-23-2005, 08:57 PM
Yes, in older Versions this was necessary - now it should not.

akanevsky
12-26-2005, 08:23 PM
When you turn on the debug mode, the link is available under vBulletin Options... Don't see any use to this hack.

EasyTarget
12-27-2005, 04:47 AM
so its available when you're not in debug mode?

and kirby there's been plenty of instances, even with your hacks, where people have had to rebuild the bitfields manually inorder for it to work correctly.. even when they install the hack right.

Marco van Herwaarden
12-27-2005, 05:56 AM
Yes it is available if you use the direct link when not in debug mode.

evenmonkeys
12-27-2005, 06:27 AM
What else does debug open up?

Marco van Herwaarden
12-27-2005, 08:05 AM
Add/Edit Options
Admin Help Manager
Queries executed and explain
Templates loaded

just the first things that come into mind now.

davidw
01-14-2006, 07:47 AM
<font color="SeaGreen">* christianb clicks install</font>

d8tabyte
03-27-2006, 05:45 PM
meh- I found it helpful - thanks.

washingtonboise
05-14-2011, 03:04 AM
I came to this thread while searching for an answer to, "How to rebuild bitfields in vbulletin"
For anyone else seeking the same solution, here you go. Copy the link below and change 'yoursite.com' to your own URL.

http://www.yoursite.com/admincp/index.php?do=buildbitfields

If you are rebuilding because a previous mod or plugin is causing issues (even if you already uninstalled it), then be sure to go in to /includes/xml and delete any xml files that are related to that mod. Do that before you rebuild bit fields.