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...


All times are GMT. The time now is 12:35 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.01872 seconds
  • Memory Usage 1,746KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)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