I'm sorry, this doesn't work. I'm not a sql or database expert, but I can copy and paste with the best of "em, and that's what I did.
I copy and paste the first query, which is
INSERT INTO settinggroup (settinggroupid,title,displayorder) VALUES (NULL,'Forum Rules','78');
and i get the following error
Warning: mysql_num_fields(): supplied argument is not a valid MySQL result resource in /home/bret/public_html/forums/admin/query.php on line 29
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/bret/public_html/forums/admin/query.php on line 33
then I run the second query, and get the following error:
INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,optioncode,displayorde r) VALUES (NULL,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');
|