vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Poll Write-In & Change Vote Hack (https://vborg.vbsupport.ru/showthread.php?t=198535)

edytwinky 06-29-2009 03:43 PM

Does this mod allow me to allow users to change their vote only?

I really don't want to use the Poll Write-In Part, just the change vote portion.

adnoid 08-22-2009 11:12 AM

Installed and working - thanks. But I've now gotten about a dozen of these:

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

                DELETE FROM pollvote
                WHERE pollvoteid IN ();

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 ')' at line 2
Error Number  : 1064
Request Date  : Friday, August 21st 2009 @ 02:21:41 PM
Error Date    : Friday, August 21st 2009 @ 02:21:41 PM
Script        : http://www.websleuths.com/forums/poll.php?do=changevote&pollid=862
Referrer      : http://www.websleuths.com/forums/showthread.php?t=87944
IP Address    : 75.68.55.51
Username      : atherella
Classname    : vB_Database
MySQL Version :

Any idea what conditions could lead to this? What information can I provide to help track this down?

lm3a.net 08-23-2009 10:11 AM

Great !!

thank you,

ryancooper 08-27-2009 01:25 PM

Awesome hack! This should be standard.

Robert9 10-22-2009 10:33 PM

Wunderful!

But two things i really miss:

1. To choose if the answers of a poll should be parsed in alphabetical order.
2. To choose if the result ist sorted by votes and second in alphabetical order, too.

There is another mod that can sort by votes, but it seems that this mod doesnt fit to this one. :(

NTMID8 10-24-2009 04:50 AM

Thanks! Great job! Working good on 3.8.2 with heavy poll modifications done beforehand.

Leo Brazil 01-06-2010 09:58 AM

Working great so far since a long time. Hope to it see ported to 4.0...

edytwinky 01-10-2010 02:09 PM

yes a 4.0 update would be great. I tried messing around with the mod but had no luck

edytwinky 01-29-2010 10:05 PM

FYI. Tried this in 4.0 and received this error:
Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/class_bootstrap.php(1111) : eval()'d code on line 69

TomasDR 02-10-2010 03:58 AM

I have been away from the boards for quite a while.

I will be upgrading my board to 4.x so I will be updating this add-on also. Stay tuned.


All times are GMT. The time now is 02:42 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.01252 seconds
  • Memory Usage 1,729KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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