vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Posting Required Before Poll Voting (https://vborg.vbsupport.ru/showthread.php?t=60001)

g-force2k2 01-09-2004 10:00 PM

Posting Required Before Poll Voting
 
First vb3 hack and it took me long enough. Although the modification isn't very large I think it is quite useful.

What it does?
Basically it requires users to post their reasons for their poll vote before they're allowed to actually vote on the poll.
This can be used to get more feedback from polls than just the ordinary check how many votes their were.

Tested and Installed On vb3 RC 1

This hack comes packed with a complete installer, uninstaller, completely vbphrased, uses adminhelp feature, and bitwise permissions. Open the zip and upload the install_postb4vote.php to the admincp directory and run the installer.

Please remember to respect my work, and I appreciate that if you use this hack to click install. Comments, suggestions, and concerns are all welcomed. Guess its back to more vb3 hacking.

See attachments below for screenshots.

Cheers,
g-force2k2

Boofo 01-10-2004 09:41 AM

Looks good! ;) Would there be a way to get just a txt file with the instructions?

MindTrix 01-10-2004 10:18 AM

**drewls** Thats nice mate, should make things more interesting, Now just too teach members how to post polls :) lol

FleaBag 01-10-2004 03:23 PM

This is an excellent idea. But is it possible to have this working only on polls the admin selects to use the extra function?

g-force2k2 01-10-2004 03:49 PM

Quote:

Originally Posted by Boofo
Looks good! ;) Would there be a way to get just a txt file with the instructions?

I could attach one, but the hack requires the installer to perform a language update that is required to be done. I can make one with the queries and file mods though if you want.

Quote:

Originally Posted by FleaBag
This is an excellent idea. But is it possible to have this working only on polls the admin selects to use the extra function?

You can use forum permissions to do it per forum, but it is possible to have it as a poll option, which I can do.

Cheers,
g-force2k2

Boofo 01-10-2004 03:58 PM

Thank you, sir. ;)

g-force2k2 01-10-2004 05:16 PM

Quote:

Originally Posted by Boofo
Thank you, sir. ;)

Text instructions attached in the first post.

Regards,
g-force2k2

Boofo 01-10-2004 05:45 PM

Quote:

Originally Posted by g-force2k2
Text instructions attached in the first post.

Regards,
g-force2k2

Thank you again, sir. ;)

EDIT: Do I need the zip file for asny of this stuff?

Quote:

completely vbphrased, uses adminhelp feature, and bitwise permissions

g-force2k2 01-10-2004 08:35 PM

Boofo you need to run step 4 to update the vb3 language but other then that no.

Note that if you installed this hack please download the new zip and upload the new install_postb4vote.php to the admincp directory and run step 4 to updated the vb3 language properly.

Cheers,
g-force2k2

albibak 01-13-2004 05:04 PM

Test on RC2 => OK
Thx for this hack

daddysylem 01-21-2004 11:58 AM

g-force2k2,
This may sound stupid, but is this hack available for any version 2.x.x ?
I have been looking all over for something like this, but with no luck.
We have not upgraded to VB3 and really had not planned to do so until its been out there for awhile.
Any help you could give would be very much appreciated.

g-force2k2 01-23-2004 02:30 AM

Quote:

Originally Posted by daddysylem
g-force2k2,
This may sound stupid, but is this hack available for any version 2.x.x ?
I have been looking all over for something like this, but with no luck.
We have not upgraded to VB3 and really had not planned to do so until its been out there for awhile.
Any help you could give would be very much appreciated.

It doesn't sound stupid, actually sounds like an idea created for vb3 is needed for those that still run on vb2 for whatever reasons they may have. If you're interested pm me and I'll be more than happy to send you the vb2 port.

Cheers,
g-force2k2

Oblivion Knight 01-23-2004 02:58 PM

Quote:

Originally Posted by g-force2k2
Note that if you installed this hack please download the new zip and upload the new install_postb4vote.php to the admincp directory and run step 4 to updated the vb3 language properly.

If only I'd have read this before I started installing the mod.. I've just spent the last hour going through the database checking that the queries were run successfully because the settings text for this mod were missing in the admincp.

After giving up, I'd taken a screenshot ready for posting but I read the thread in case this had been reported before and this solved the problem.. Please update the text file so that this isn't repeated.. My hair hurts from pulling it out.. :p

daddysylem 01-23-2004 09:41 PM

Quote:

Originally Posted by g-force2k2
It doesn't sound stupid, actually sounds like an idea created for vb3 is needed for those that still run on vb2 for whatever reasons they may have. If you're interested pm me and I'll be more than happy to send you the vb2 port.

Cheers,
g-force2k2


Thank you g-force2k2,
I sent you a PM as requested.

daddysylem 02-05-2004 01:02 PM

Quote:

Originally Posted by g-force2k2
It doesn't sound stupid, actually sounds like an idea created for vb3 is needed for those that still run on vb2 for whatever reasons they may have. If you're interested pm me and I'll be more than happy to send you the vb2 port.

Cheers,
g-force2k2


g-force2k2,
I've sent you 3-PM's and an Email now, but still no response.
Is everything ok?

Pyxis 03-10-2004 11:36 AM

Great hack. I've forever despaired of getting feedback from my users on why they voted what they voted. HEH!

Kumaro 03-18-2004 11:35 PM

I am getting this error when trying to run the queries???

You have an error in your SQL syntax near '\'forumpermission\', \'edit\', \'novoteb4post\', \'230\', 1 )
INSERT INTO phras' at line 2

SaN-DeeP 03-19-2004 09:19 AM

Superb HAck :)
I was looking for something like this :)

Thnx man

Kumaro 03-19-2004 01:56 PM

Quote:

Originally Posted by Kumaro
I am getting this error when trying to run the queries???

You have an error in your SQL syntax near '\'forumpermission\', \'edit\', \'novoteb4post\', \'230\', 1 )
INSERT INTO phras' at line 2

i get that error for each query i run
i am running RC3, how do i fix it?

Kumaro 03-20-2004 12:47 PM

am i doing something wrong....can anyone help?

Kumaro 03-22-2004 09:01 PM

Why is this thread dead?! lol....
please, if anyone can help me. I get the following error when I run the query
You have an error in your SQL syntax near '\'forumpermission\', \'edit\', \'novoteb4post\', \'230\', 1 )
INSERT INTO phras' at line 2

Kumaro 03-22-2004 09:19 PM

Okay, I noticed that the install script will automatically run those quries for you, right? Yet still, I get an error now when trying to edit the usergroups.

Database error in vBulletin 3.0.0 Release Candidate 3:

Invalid SQL: UPDATE usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Registered Users',
description = '',
usertitle = '',
opentag = '',
closetag = '',
passwordexpires = '0',
passwordhistory = '0',
attachlimit = '0',
novoteb4post = '1',
avatarmaxwidth = '120',
avatarmaxheight = '120',
avatarmaxsize = '150000',
profilepicmaxwidth = '100',
profilepicmaxheight = '100',
profilepicmaxsize = '150535',
pmquota = '50',
pmsendmax = '5',
forumpermissions = '127487',
pmpermissions = '3',
calendarpermissions = '19',
wolpermissions = '1',
adminpermissions = '0',
genericpermissions = '7879',
genericoptions = '30',
arcadepermissions = '19'
WHERE usergroupid=2
mysql error: Unknown column 'novoteb4post' in 'field list'

mysql error number: 1054

Date: Monday 22nd of March 2004 11:47:02 PM
Script: http://www.411hype.com/board/admincp/usergroup.php
Referer: http://www.411hype.com/board/admincp...&usergroupid=2
Username: BlackAC

Please, this hack is great and It would be an essential addition to my forums.

Kumaro 03-25-2004 09:16 PM

thanks for NO HELP...i fixed my own problem.

greaaat support g-force << sarcasm


All times are GMT. The time now is 04:46 PM.

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.01229 seconds
  • Memory Usage 1,768KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)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