vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Require Users to Sign a Contract Before Posting in an Individual Forum (https://vborg.vbsupport.ru/showthread.php?t=91867)

amykhar 08-16-2005 01:34 PM

No. Feel free to add that in if you so desire.

Mu5icMan 08-16-2005 01:47 PM

i have no idea where to start for adding a log file. Is there a coder here who can add it?

Bad Bunny 08-16-2005 03:49 PM

Quote:

Originally Posted by amykhar
The other phrases are installed by the product.

I had a blank tcat because it wasn't a global phrase. So I looked in the template, and found the phrase used, and changed it to global.

Bad Bunny 08-19-2005 12:49 PM

It seemed to work fine, until I added a contract to a new forum, and tried to sign it, and got this error.

Quote:

Database error in vBulletin 3.5.0 Release Candidate 1:

Invalid SQL:

UPDATE user
SET contracts = 10,11
WHERE userid = 1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '11
WHERE userid = 1' at line 2
Error Number : 1064

amykhar 08-19-2005 01:19 PM

Bunny, get the new zip. I was sure I had fixed that in the zip file, but I guess I didn't.

Reupload contracts.php and tickets.php

Amy

Bad Bunny 08-19-2005 01:58 PM

Quote:

Originally Posted by amykhar
Bunny, get the new zip. I was sure I had fixed that in the zip file, but I guess I didn't.

Reupload contracts.php and tickets.php

Amy

Will do. Thanks.

Bad Bunny 08-19-2005 02:06 PM

Quote:

Originally Posted by Bad Bunny
Will do. Thanks.

Unfortunately, I did delete my copy of the zip, and downloaded the new zip, and uploaded, overwriting my files on the server, and I still have the same exact error. Maybe I have to clear my cache on this site.
[high]* Bad Bunny goes to do that and try again
[/high]

EDIT>>
I deleted the folder yet again, cleared my cache, downloaded the zip, overwrote my files, and I still have the same error.

amykhar 08-19-2005 02:31 PM

When I look in the zip, I see the correct file. I reuploaded it again though. Try one more time.

Bad Bunny 08-19-2005 02:34 PM

Quote:

Originally Posted by amykhar
When I look in the zip, I see the correct file. I reuploaded it again though. Try one more time.

How can I know if it is the right file?

amykhar 08-19-2005 02:35 PM

It will have this in it.

Code:

                            $db->query_write("
                        UPDATE " . TABLE_PREFIX . "user
                        SET contracts = '$contractlist'
                        WHERE userid = " . $vbulletin->userinfo['userid']."
                ");



All times are GMT. The time now is 08:50 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.02133 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_code_printable
  • (5)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