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)

trafix 01-12-2005 05:10 AM

Damn ... liiks like the email body phrases didnt import properly with the his ... so i will have to edit that a.s.a.p

but for now open your phraes manager goto email body pheases and add the following 2 phrases

mc_nomination_email

PHP Code:

$bbuserinfo[usernamehas nominated you for $booth[title].
        
        
Please take the time to add your acceptance speech$bbuserinfo.
        
        
Click Here $vboptions[bburl]/mc_pollbooth.php?$session[sessionurl]do=showbooth&boothid=$boothid

AND

mc_pollbooth_closed

PHP Code:

Congrats goes to $winner[username] for winning $pollinfo[title].
        
        
We would like to thank everyone who nominated and voted in this Members Choice Award.
        
        
To see the full results
Click 
[url="$vboptions[bburl]/mc_pollbooth.php?$session[sessionurl]do=showbooth&boothid=$list[mc_pollboothid]"]HERE[/url

let me know if it works :)

paulmjno 01-12-2005 05:31 AM

Quote:

Originally Posted by trafix
ummm you will find the settings in the vb options .... and to set up a polling booth .... setect the polling booth manager and click on "add"

There is no link to the page where you add new booths...

trafix 01-12-2005 05:52 AM

See attached image

Quote:

Originally Posted by paulmjno
There is no link to the page where you add new booths...


paulmjno 01-12-2005 06:06 AM

Quote:

Originally Posted by trafix
See attached image

It is that page I am unable to get to. There is no link to it.

MikaK 01-12-2005 06:06 AM

Quote:

Originally Posted by trafix
See attached image

I think "paulmjno" refers to the left side navlinks. I also had that "problem" untill I noticed I didn?t run the last stage of the installer:)

-Mika

paulmjno 01-12-2005 06:24 AM

Quote:

Originally Posted by MikaK
I think "paulmjno" refers to the left side navlinks. I also had that "problem" untill I noticed I didn?t run the last stage of the installer:)

OK, I tried to re-install the hack (using override) and at the last part, I received this error:
Quote:

Warning: main(../upgrade_queries.php): failed to open stream: No such file or directory in /index.php on line 49

Fatal error: main(): Failed opening required '../upgrade_queries.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/username/public_html/board/install/hacks/Members Choice/1/index.php on line 49
Edit: The problem here is that there is no upgrade_queries.php file in the distribution. Also: you might wanna know that you've shipped your WS_FTP logs with the distro.

trafix 01-12-2005 06:55 AM

the last stage of the installing is to di the file / template edits .... these are listed in the readme file

kall 01-12-2005 07:09 AM

Quote:

Originally Posted by trafix
the last stage of the installing is to di the file / template edits .... these are listed in the readme file

The AdminCP option is blank for me, I see the "Polling Booth manager" but the bit that heads that is blank.

Also, for some reason in mc_BOOTH, the wrong phrase is getting called.

Find
PHP Code:

$vbphrase[ms_rule_1_3

Change to
PHP Code:

$vbphrase[mc_rule_1_3

*edit* But that phrase isn't there either. :(

trafix 01-12-2005 07:46 AM

Quote:

Originally Posted by kall
The AdminCP option is blank for me, I see the "Polling Booth manager" but the bit that heads that is blank.

Also, for some reason in mc_BOOTH, the wrong phrase is getting called.

Find
PHP Code:

$vbphrase[ms_rule_1_3

Change to
PHP Code:

$vbphrase[mc_rule_1_3

*edit* But that phrase isn't there either. :(

tnx for he bug reports ... i will upload v1.1 with fixes to date ... including missing phrases

trafix 01-12-2005 07:59 AM

mc_rule_1_3
PHP Code:

1You may not vote or nominate yourself.<br />2You may not vote for the person that you nominated.<br />3You may not vote more than once for the same nominee.<br /> 



All times are GMT. The time now is 10:03 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.01225 seconds
  • Memory Usage 1,756KB
  • 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
  • (7)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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