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)
-   -   Easier editing of the forum rules upon registration (https://vborg.vbsupport.ru/showthread.php?t=51303)

Holidazed 04-15-2003 03:48 PM

Well, then how am I supposed to know what it should be and how do I fix it? I am not a programmer or database guy. I just follow the instructions and cross my fingers.

I understand that some of you have fixed it. What do I do to fix this once the query is already run? How do I undo what has been done and do it again correctly?

Areku 04-15-2003 03:50 PM

Same here, i dunno why mist put 42 available to all...

DO what Zenith said, just use phpmyadmin to find out the last field number in your setting table and modify the 42 accordingly.

Holidazed 04-15-2003 04:02 PM

Well, according to my setting table, "42" is my forum rules section. In fact it reads exactly like this.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
INSERT INTO setting VALUES (184, 42, 'Rules', 'forumrules', ' <p><normalfont>Registration to this forum is free! We do insist that you abide by the rules and policies detailed below. If you agree to the terms, please press the Agree button at the end of the page. Note: By pressing the button you declare that you are over the age of 13. If you are 13 or under, please use <a href="register.php?s=$session[sessionhash]&action=signup&who=coppa&url=$url">this registration form</a>.</normalfont></p> <p><normalfont>Although the administrators and moderators of $bbtitle will attempt to keep all objectionable messages off this forum, it is impossible for us to review all messages. All messages express the views of the author, and neither the owners of $bbtitle or Jelsoft Enterprises Limited (developers of vBulletin) will be held responsible for the content of any message.</normalfont></p> <p><normalfont>By clicking the Agree button, you warrant that you will not post any messages that are obscene, vulgar, sexually-orientated, hateful, threatening, or otherwise violative of any laws.</normalfont></p> <p><normalfont>The owners of $bbtitle have the right to remove, edit, move or close any thread for any reason.</normalfont></p>', 'Here is what the guests on your forum will see upon registration. They have to read this page and agree to the terms before registering.', 'textarea', 1);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Do I change this to "78" like the first query makes reference too.

Too lost to decide.

Dean C 04-15-2003 04:23 PM

Where did you get the 42 from - it says 78 in the textfile :s?

Holidazed 04-15-2003 04:39 PM

I was looking at the wrong thing. The textfile says "78". Now I know that is nothing more than the display order (not being a database guru) so I left it alone.

Here is what you do:

1. Goto phpadmin and display your database.
2. Select the "setting" table and browse it.
3. Search for "forumrules"
4. Note the number in the "settinggroupid" column
5. Browse the "settinggroup" table
6. Find the entry titled "Forum Rules"
7. Edit the entry
8. Change the "settinggroupid" to the number you saw on the "setting" table.

This should completely fix it. It did for me.

LilDragonWings 04-15-2003 05:24 PM

Thanks to Mist and Bitg...

Worked perfectly with Bitg's instructions on the database adjustment!

Now time to Chisel out my Commandments unto my community.

Word.

Holidazed 04-15-2003 06:58 PM

I may not know how to do everything, but once I figure it out, it helps that I do technical support for a living.

Dean C 04-16-2003 09:09 AM

But this makes no sense as to why you had this problem - the settinggroupid's in the textfile have no reference to 42 :s

- miSt

Zenith 04-16-2003 10:03 AM

Quote:

Today at 11:09 AM Mist said this in Post #28
But this makes no sense as to why you had this problem - the settinggroupid's in the textfile have no reference to 42 :s

- miSt

You sure about that?

From your textfile....

INSERT INTO setting (settingid,settinggroupid,title,varname,value,description,optioncode,displa yorder) VALUES (NULL,42,'Rules','forumrules','....

Dean C 04-16-2003 10:33 AM

Presst Ctrl + F5 on the first page of this thread then tell me what you see?


All times are GMT. The time now is 11:02 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.02066 seconds
  • Memory Usage 1,739KB
  • 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)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