The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I close my board from phpMyadmin
Hi every body:
I tried to use this query to close my forum from phpMyadmin but it did not work I dont know whay!! UPDATE setting SET value='0' WHERE settingid='1'; can correct me please also, can you kindly show me how to delet a post or a thread by ID from phpMyadmin Thank you very much in advance |
#2
|
||||
|
||||
Erm, why not just do all that through the vBulletin administration?
|
#3
|
|||
|
|||
that is not the point ManagerJosh
I have a very valid reason for that |
#4
|
||||
|
||||
Switch Board Off:
[sql]UPDATE setting SET value='0' WHERE varname='bbactive';[/sql] Delete Post: [sql]DELETE FROM post WHERE postid='POSTIDHERE';[/sql] Delete Thread: [sql]DELETE FROM thread WHERE threadid='THREADIDHERE';[/sql] [sql]DELETE FROM post WHERE threadid='THREADIDHERE';[/sql] Remember to replace POSTIDHERE & THREADIDHERE with the correct thread/post id. |
#5
|
|||
|
|||
Remi try this query:
PHP Code:
g-force2k2 |
#6
|
|||
|
|||
Thank you Thank you Thank you Thank you Veeeeeeeeeeeeeery much, you are great.
All of them are working accept this: UPDATE setting SET value='0' WHERE varname='bbactive' It changes the value from 1 to 0 but the forum is still open!! Any idia what is the problebm!! |
#7
|
||||
|
||||
After taking a look I remembed that vB requires you to Submit the options after they have been changed, so a query similar to the following is needed, however it will not work, so don't run it on a live board:
[sql]UPDATE template SET template='bbactive' WHERE title='options'[/sql] This is taken from options.php |
#8
|
|||
|
|||
OK
Thank you very much NTLDR , now every thing makes sence |
#9
|
||||
|
||||
Quote:
The correct way to do this: To delete a thread, you have to delete the thread, any associated posts and any attachements associated with those posts, any polls associated with those threads and the poll answers associated with those threads and finally, any thread ratings for the thread. You've left way too much out. |
#10
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|