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)
-   -   Forum Based Agreements (https://vborg.vbsupport.ru/showthread.php?t=33406)

damicatz 12-20-2001 10:00 PM

Requested at : https://vborg.vbsupport.ru/showthrea...&postid=208371

This hack allows you to make your users have to agree before posting something. You can choose which forums require agreements and which don't.

damicatz 12-21-2001 06:27 PM

And a version for Macintosh Users

cobradude 12-22-2001 03:04 AM

damicatz, thanks for doing this man!!! I have it all installed, but...The "Require Agreement Before Posting?" button is not persisting. Meaning I select it for a particular forum, but if I open that forum in the admin area again, it's set back to "no". Checked by trying to post as well, but it didn't seem to work. Any ideas?

Attached is a copy of my forum.php.

You may NOT upload full files from vBulletin.
- FireFly.

cobradude 12-22-2001 06:05 AM

Was able to get this going by modifying it using phpmysql.

Thanks damicatz

damicatz 12-22-2001 12:35 PM

No Problem

I don't know why it wasn't working earlier for you, I tested it on my board, but it's good you got it working :)

cobradude 12-22-2001 08:10 PM

Thanks again damicatz.

Here's the agreement I am using for my consumer watch forum area.

[QUOTE]Club Cobra Agreement
Due to the real time nature of this site, Club Cobra is unable to verify the truth or veracity of any content posted by you on this forum. Therefore, by checking the "I Agree" box below, you agree that the content of your post belongs to you alone and that you are solely responsible and liable for any statements you make or opinions you express in your post. You further agree to hold Club Cobra, its administrators and its members completely free and harmless from any and all liabilities, including the defense thereof, arising from any statements or opinions you post.

Furthermore, by hitting the agree button below, you are indicating the following:

1. The information you are sharing is absolutely truthful.
2. You understand that YOU alone are liable for the things you say.
3. Replying to an already open topic should ONLY be done if you have valuable information to share to the issue. Negative tag on comments are NOT acceptable unless you have personal experience with the situation.
4. If this is an issue that is playing itself out in court, wait until the judgment to post.
5. MOST IMPORTANTLY: By agreeing, you are indicating that you have given the respective business an opportunity to resolve the issue.

Thank you.



hypedave 12-22-2001 08:13 PM

wow

damicatz 12-25-2001 11:38 PM

Ok I found out why people were having trouble, I left out something in the text file, d'oh

Corrections are attached

Remember to right click and select save as, since browsers don't view it right.

DelusionalMind 12-29-2001 05:42 AM

hehe. will come in handy with my forums

thanks man :)

TaP 12-30-2001 06:39 PM

I get this error when I try to update my fourm settings in admin/index.php...

PHP Code:

Database error in vBulletin Control Panel 2.2.1:

Invalid SQLUPDATE forum
                   SET
                     styleid
='1'title='Newbie Forum'description='Forum For Newbies.',
                     
active='1'displayorder='105'parentid='164'parentlist='138,164,-1',
                     
allowposting='1'cancontainthreads='1'daysprune='45',
                     
newpostemail=''newthreademail='',
                     
moderatenew='0'allowhtml='0'allowbbcode='1',
                     
allowimages='1'allowsmilies='1'allowicons='1',
                     
styleoverride='1'allowratings='1'countposts='1',
                     
moderateattach='0',AGREE='1'
                   
WHERE forumid='138'
mysql errorUnknown column 'AGREE' in 'field list'

mysql error number1054 


Any clue why this is? - It did this after I installed your fix...

cobradude 12-30-2001 10:51 PM

Check your forum.php to ensure that you've done everything right. Based on what you have attached, it looks wrong, as it says "unknown column agree". Should be "AGREEMENT"

The php file you ran set up a field in the db for AGREEMENT, and since the code you have says agree, it can't find it.

Skyline_GT 07-15-2003 12:17 AM

arr..
error

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: UPDATE forum
SET
styleid='1', title='Website Show Case', description='Got a really good website to show off? Well post them here.',
active='1', displayorder='1', parentid='30', parentlist='35,30,-1',
allowposting='1', cancontainthreads='1', daysprune='30',
newpostemail='', newthreademail='',
moderatenew='0', allowhtml='0', allowbbcode='1',
allowimages='1', allowsmilies='1', allowicons='1',
styleoverride='0', allowratings='1', countposts='1',
moderateattach='0',AGREE='1'
WHERE forumid='35'
mysql error: Unknown column 'AGREE' in 'field list'

mysql error number: 1054

Date: Monday 14th of July 2003 08:15:33 PM
Script: http://www.gamerzonline.net/forum/forum/admin/forum.php
Referer: http://www.gamerzonline.net/forum/ad...dit&forumid=35
i checked everything and I did right

Skyline_GT 07-15-2003 12:50 AM

I don't what do you mean

Using a database manager like phpmyadmin open up the templates table in your vBulletin database.

Find both template's records, and edit both of them and for both change the templateset to -1.

KeithMcL 11-13-2003 09:44 PM

Any plans to make this hack available to vB3 when it goes Gold? I'd really like to use this one on my forums.

KeithMcL 03-05-2004 11:35 AM

Sorry about bringing up an old thread, but has anyone been working on a vB3 version of this?


All times are GMT. The time now is 02:46 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.01091 seconds
  • Memory Usage 1,755KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (15)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete