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)
-   -   Members Choice voting hack - V2 with usergroup permissions (https://vborg.vbsupport.ru/showthread.php?t=74183)

Protoman 03-07-2005 03:22 AM

I'm having a phrase issue. when it sends the email to somebody the message is correct but the title says missing mc_nomination_email.. thinking the phrase was placed in the wrong group and should be in 'Email Subject Text' instead. I'll try that... so.. now I have 2 mc_nomination_email phrases...

TTG 03-07-2005 08:33 AM

Quote:

Originally Posted by TTG
When someone clicks to vote for a nominee,box opens asking for 'Reason'.
Header of box shows "You are voting for" .. should the name of the nominee be shown alongside this header message ?

Any news on this small problem ?

And another :-
Cron job doesn't close polling booth, even if run manually !

Scerina 03-07-2005 11:21 AM

I followed the instructions in the .zip file that had the actual hack in it...is there a different set of directions?

Scerina 03-07-2005 11:29 AM

When I edit the Usergroup Pemissions for this hack...I get a mySQL Database error message...

Database error in vBulletin 3.0.3:

Invalid SQL: UPDATE vb3usergroup SET

### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Elders',
description = 'Forum Head Leaders',
usertitle = '',
opentag = '<font color=\"red\"><b>',
closetag = '</font></b>',
passwordexpires = '180',
passwordhistory = '360',
attachlimit = '0',
avatarmaxwidth = '100',
avatarmaxheight = '100',
avatarmaxsize = '50000',
profilepicmaxwidth = '200',
profilepicmaxheight = '200',
profilepicmaxsize = '75535',
pmquota = '100',
pmsendmax = '5',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '523239423',
genericoptions = '23',
journalpermissions = '2047',
mcpollingbooth = '0'
WHERE usergroupid=6
mysql error: Unknown column 'mcpollingbooth' in 'field list'

mysql error number: 1054

Date: Monday 07th of March 2005 08:28:16 AM

Scerina 03-07-2005 11:34 AM

can someone please reinstall this hack for me? I think I messed it up along the lines somewhere and I dunno where as am not a techie...I did follow the instructions in the original zip file for this hack posted on top...

Scerina 03-07-2005 09:54 PM

I think I got it workin, I ran this query:
ALTER TABLE `usergroup` ADD `mcpollingbooth` INT( 12 ) UNSIGNED NOT NULL ;


Now everything seems to be working...

Now how do I nominate a member and vote? How does this work exactly?

MR-2ZZ 03-09-2005 07:30 AM

Instructions on how to install this are on Page 15. I posted a new install.

Esposito 03-09-2005 08:56 AM

Where can I nominate the rights assigned around user? Can someone help me?
Greets

EDDIE! 03-09-2005 05:27 PM

the event to close all booths doesn't work. The closing date has passed by 4 days and the booth is still open. I have the task manager set to run it every day, but no dice. Please help!

Also, I'd like to have it so you can nominate more then 6 and so Administrators could be nominated as well.

Thanks to anyone who helps.

MR-2ZZ 03-09-2005 06:55 PM

I am working on it guys.

Scerina 03-09-2005 07:38 PM

Quote:

Originally Posted by Esposito
Where can I nominate the rights assigned around user? Can someone help me?
Greets

That was my next question...THANK U SO MUCH FOR ASKIN MR.EP!

Scerina 03-09-2005 07:39 PM

Quote:

Originally Posted by EDDIE!
the event to close all booths doesn't work. The closing date has passed by 4 days and the booth is still open. I have the task manager set to run it every day, but no dice. Please help!

Also, I'd like to have it so you can nominate more then 6 and so Administrators could be nominated as well.

Thanks to anyone who helps.

I notice too...how long till ya next update? When will the next version or upgrade to this hack be release? And will these lil bugs be fixed???

Scerina 03-11-2005 04:16 AM

can someone PLEASE direct me to where I can find the Poll Booth Manager for this hack??? Cuz I do not see it ANYWHERE!!!

Huge thanx to the one who would be so kind enough to take some time out to help out a newbie to all this techie stuff and I will appreaciate any help & support any experince person can give me.

Scerina 03-11-2005 11:01 PM

How do you vote for someone who has been nominated in a pollbooth??? I mean how does voting works on this hack?? Where do members vote?

TTG 03-12-2005 09:54 AM

Quote:

Originally Posted by Scerina
can someone PLEASE direct me to where I can find the Poll Booth Manager for this hack??? Cuz I do not see it ANYWHERE!!!

Huge thanx to the one who would be so kind enough to take some time out to help out a newbie to all this techie stuff and I will appreaciate any help & support any experince person can give me.

If you did the file edit "/admincp/index.php", you should have the Members Choice / Polling Booth manager listed in your admincp.

TTG 03-12-2005 09:59 AM

Quote:

Originally Posted by Scerina
How do you vote for someone who has been nominated in a pollbooth??? I mean how does voting works on this hack?? Where do members vote?

When you've created a 'booth name' in admincp .. 'Member of the month' or something similar and members have been nominated via the link in postbit, you can then vote for the nominated member in the poll booth.

Scerina 03-12-2005 05:31 PM

Quote:

Originally Posted by TTG
When you've created a 'booth name' in admincp .. 'Member of the month' or something similar and members have been nominated via the link in postbit, you can then vote for the nominated member in the poll booth.

How do you vote for them in the poll booth though? I don't see a link to vote for them...I only see links to who have voted for them and to remove the nominee...plus the who nominated who and their speeches...but no link to voting for them.

When you nominate them is that the same as voting for them? I mean am i missin something here?

Ski-Whiz 03-13-2005 08:17 PM

I keep getting an error, and I'm not sure what this is saying.. I can't uninstall it, as it says there is nothing installed.

Can someone please help me interpret this out??
This happens right after the install script edits the templates:

Quote:

Invalid SQL: ALTER TABLE " . TABLE_PREFIX . "usergroup
ADD mcpollingbooth INT( 12 ) NOT NULL
)
mysql error: You have an error in your SQL syntax near '" . TABLE_PREFIX . "usergroup
ADD mcpollingbooth INT( 12 ) NOT NULL
)' at line 1

mysql error number: 1064
Thanks!!

Marco van Herwaarden 03-14-2005 03:22 AM

Look for this alter table statement in queries.php in the hack directory and remove a trailing ")"

MR-2ZZ 03-14-2005 04:20 AM

I wrote completely new install instructions a few pages back.

Scerina 03-14-2005 09:41 PM

HOW THE HELL DO YOU VOTE ON THIS HACK????? I DONT SEE ANY LINKS ANYWHERE TO VOTE!!!

TTG 03-15-2005 08:11 AM

Member has made acceptance speech .. can you SEE the where to vote

Scerina 03-16-2005 02:32 PM

I still dont see the Vote For Me link or link to vote for the nominee. I attached a screen shot of my Member's Choice and what links are available...are admins not suppose to vote for nominees or something? Am I missin something here???

TTG 03-16-2005 02:46 PM

Quote:

Originally Posted by Scerina
I still dont see the Vote For Me link or link to vote for the nominee. I attached a screen shot of my Member's Choice and what links are available...are admins not suppose to vote for nominees or something? Am I missin something here???

The screen shot you provide is the polling booth closed for voting. Check your admincp >> members choice >> polling booth manager .. make sure "This polling booth is open" .. should be showing a green button next to the category.

Morgalis 03-16-2005 04:33 PM

I've uploaded all the new files and removed the 1 directory and in fact, removed the hack via the links provided in HIS

I still get a prompt to install version 1

Taking a chance that it was a typo, I tried to install it and generate files to which I got this error

// Templates

Warning: Invalid argument supplied for foreach() in /his_files/hack_creator_b2.php on line 160

Can anyone point me in the right direction?

Thanks

Scerina 03-16-2005 06:39 PM

Quote:

Originally Posted by TTG
The screen shot you provide is the polling booth closed for voting. Check your admincp >> members choice >> polling booth manager .. make sure "This polling booth is open" .. should be showing a green button next to the category.

the booth is open to voting and the light is green in the booth manager under AdminCP...it is something else and if you are thinkin I did not follow the instructions or whatever...I did follow the instructions to the very last detail.

TTG 03-16-2005 06:56 PM

Quote:

Originally Posted by Scerina
the booth is open to voting and the light is green in the booth manager under AdminCP...it is something else and if you are thinkin I did not follow the instructions or whatever...I did follow the instructions to the very last detail.

Assume you've updated all usergroups "Members Choice Permissions" ..?

Scerina 03-16-2005 07:35 PM

i did all that with the member groups...gave them all (including admin) voting permissions

TTG 03-17-2005 09:51 PM

Quote:

Originally Posted by Scerina
i did all that with the member groups...gave them all (including admin) voting permissions

Problems solved .. Vbulletin options >> Members Choice >> "Does the voting start when all nomination positions have been filled?" = No

If this is set to Yes .. all nominee postitions must be filled before the "Vote" link appears.

EDDIE! 03-18-2005 04:38 AM

Quote:

Originally Posted by EDDIE!
the event to close all booths doesn't work. The closing date has passed by 4 days and the booth is still open. I have the task manager set to run it every day, but no dice. Please help!

Also, I'd like to have it so you can nominate more then 6 and so Administrators could be nominated as well.

Thanks to anyone who helps.

anyone?

TTG 03-18-2005 08:50 AM

Quote:

Originally Posted by EDDIE!
anyone?

No 1 is still to be fixed by the author

No 2 "Vbulletin options >> Members Choice >>Allow Admin Nomination>>Maximum Nominees"

Ski-Whiz 03-21-2005 01:52 AM

I get everything to install without errors, and I followed Mr.2ZZ's directions..

When I go to the AdminCP, and go to Polling Booth Manager, I get a database error.. The email I get is this

Quote:

Database error in vBulletin 3.0.7:

Invalid SQL:
SELECT * FROM cpsession
WHERE userid =
AND hash = 'e97abc788a5d960baa90a599470e87fa'
AND dateline > 1111370351
mysql error: You have an error in your SQL syntax near 'AND hash = 'e97abc788a5d960baa90a599470e87fa'
AND dateline > 1111370351' at line 4

mysql error number: 1064
Now this is referring to my session, but it's not telling me what's wrong.. I have retraced my steps, and it's not work right..

When I hit nominate in the postbit, it brings me to a wierd screen.. I can give someone a test username if they have time to see if they can help me.. Thanks ahead of time!

MR-2ZZ 03-21-2005 02:25 AM

are all your file mods correct?

Ski-Whiz 03-21-2005 09:05 AM

Yeah, I checked them..

When I go to the AdminCP, and go to the Polling Booth, I get a database error. Now I used the queries.php that you suggested, and manually added the other one. I'm not sure what would cause the "There's a problem with your database error". I would think as long as the database was updated, and the admincp/index.php was edited correctly, I should be able to see something right?

I have edited and checked my files though.. Maybe I need to take a break and recheck with a clearer head.. :D

Quincy Wisdom 03-24-2005 11:39 PM

* Quincy clicks install

Well done, :)

osariase 04-07-2005 10:51 PM

Hi
I tried to install this hack and i did everything to the letter and i get this error message below:

Warning: halt(./includes/functions_log_error.php): failed to open stream: No such file or directory in /home/naijawor/public_html/includes/db_mysql.php on line 389

Warning: halt(): Failed opening './includes/functions_log_error.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/naijawor/public_html/includes/db_mysql.php on line 389



Can someone please tell me what I did wrong and how do i fix this problem?

thanks for your help

TTG 04-07-2005 10:57 PM

You must have not edited the files correctly .. check 'em again.

Ski-Whiz 04-10-2005 11:55 PM

Quote:

Originally Posted by TTG
You must have not edited the files correctly .. check 'em again.


No, the database was lacking some entries.. :D I have to manually verify every entry.. :D

The install messed up the 1st time, so that's where I got messed up.. I entered a few of the entries manually. To fix it all, I had to verify every database change.. :D

Works now..

mcyates 04-17-2005 03:45 PM

Only some people have Nominate Now under their username on the postbit legacy. I have many usergroups. Is there an option on each usergroup to enable them to be voted?

adamgessel 04-19-2005 07:16 PM

Awesome hack.

*Clicks Install!*


All times are GMT. The time now is 04:07 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.01507 seconds
  • Memory Usage 1,830KB
  • 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
  • (15)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
  • (40)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