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)

MikaK 01-18-2005 04:48 AM

Quote:

Originally Posted by trafix
ALL nominations must be filled before anybody can vote

trafix

Hi trafix,

What if I set the control for
Voting
Does the voting start when all nomination positions have been filled?

to option "no".

Does it only block the voting from starting at all?

Two requests:
If your answer for the above is yes, would it be difficult to hack the mod so voting can start even if not all positions are filled?

The other one would it be difficult to hack this with different set of voting rules for each booth established?

Regs,
-Mika

deta 01-18-2005 01:12 PM

Hello,
does the possibility exist of letting indicate on vbindex the portal in a customerbox, the Nr.1 of the Vots?

Thus the user, who has most Vots?

exsample:
Best man Member of the Month
or
Best woman Member of the Month

Thus in a box, the name with the picture appears?

cu Deta

trafix 01-18-2005 08:59 PM

Quote:

Originally Posted by deta
Hello,
does the possibility exist of letting indicate on vbindex the portal in a customerbox, the Nr.1 of the Vots?

Thus the user, who has most Vots?

exsample:
Best man Member of the Month
or
Best woman Member of the Month

Thus in a box, the name with the picture appears?

cu Deta

I would dout that there is an intergration hack that will display the voting / nominations in portals .... however i suggest that you post that request in their support thread. and im sure someone will code it for you ;)

trafix 01-19-2005 11:15 PM

OK ..... i found the bug that is causing the missing phrases in the email body... I will update the zip soon.

Here is the quick fix

If an email phrase varname has more than one underscore "_" it seems to have some sort of conflict .....

open mc_moninate.php and on 296 and find

PHP Code:

eval(fetch_email_phrases('mc_nomination_email')); 

change to
PHP Code:

eval(fetch_email_phrases('mc_nominationemail')); 

save and upload mc_moninate.php

search for phrase in both email body and email subject for

mc_nomination_email change to mc_nominationemail

That should fix the problem

T3MEDIA 01-20-2005 12:07 AM

Quote:

Originally Posted by trafix
I would dout that there is an intergration hack that will display the voting / nominations in portals .... however i suggest that you post that request in their support thread. and im sure someone will code it for you ;)

Ha yeah right.

MorrisMcD 01-20-2005 01:23 AM

Quote:

Originally Posted by trafix
hmm, when you search for the 'mc_nomination_email'.' phrases there should be 2 of them, 1 in the email body phrases and 1 in the email subject phrases .... if you are missing them i think i has quoted them in one of my posts on the 1st or 2nd page of this thread.

as for the admin navbar issue ... check that the phrase is in the control panel gloabal phrasegroup and that the varname and the script is the same spelling.

ALL nominations must be filled before anybody can vote

trafix

I am missing the mc_nomination_email in email subject phrases...

You quoted the body back on page 2 or 3, but not the subject.. Could you please??? :squareeyed:

As for 'filling' nominations, I am not even sure yet how many are needed... I have some awards where only one person was nominated, and they already have some votes... I also noticed that you can vote on as many of the candidates as you like.. Is this by design? I would prefer it keeps you from voting twice, but just curious if that is how you designed it or not.

Also, above all the nominations and whatnot on the members choice page, there is a box with 'Booth List' in the top left of that box.. Nothing else in that box.. :confused:

trafix 01-21-2005 05:28 AM

Quote:

Originally Posted by MorrisMcD
I am missing the mc_nomination_email in email subject phrases...

You quoted the body back on page 2 or 3, but not the subject.. Could you please??? :squareeyed:

As for 'filling' nominations, I am not even sure yet how many are needed... I have some awards where only one person was nominated, and they already have some votes... I also noticed that you can vote on as many of the candidates as you like.. Is this by design? I would prefer it keeps you from voting twice, but just curious if that is how you designed it or not.

Also, above all the nominations and whatnot on the members choice page, there is a box with 'Booth List' in the top left of that box.. Nothing else in that box.. :confused:

OK the phrases are
mc_nomination_email in email subject
HTML Code:

$bbuserinfo[username] has nominated you for $booth[title].
mc_nomination_email in email subject
HTML Code:

$bbuserinfo[username] has 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

as for your other issues check your settings in the vb options - members choice

Deviant++ 01-21-2005 09:18 AM

In acp, the box where if I press expand and it shows

-Polling Booth Manager:



The box dosn't have a title. Could you direct me to where typo could be cause I'm sure I've missed it out somewhere.. :)



also, when a nomination is relied to.. it says this.. but still completes the process with the reply... jus that error in the redirect page.. what could it be ?

trafix 01-21-2005 09:56 AM

its more like the phrases are missing for some reason

in the frontend re-direct phrases should be

varname - mc_nominated_and_accepted
text - You have been nominated and made your acceptance speech.

in members choice phrases should be

varname - mc_members_choice
text - Members Choice

Deviant++ 01-21-2005 10:46 AM

Done, :D but what any suggestions for the admin cp blank box title ?


All times are GMT. The time now is 10:00 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.01669 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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