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-11-2005 09:44 PM

Quote:

Originally Posted by alkatraz
Great idea for a hack!! Sorting through nominations and votes is such a pain in the ass.

Nothing wrong with it, but a lot of peeps like to do things manualy "just in case" something could affect their heavily modded board.

Hmm manually ..... its not my idea of fun sitting there adding heaps of templates and phrases one at a time :(

vB trader manually .... i dont think so .... over 70 templates and like over 400 new phrases ...... manual is not going to happen .. lol

kall 01-11-2005 09:57 PM

In the text file you mention installing vB Jukebox... :)

paulmjno 01-11-2005 11:07 PM

This is confusing. I have installed the hack, but have no idea how to use it. Where can I add voting booths? And why does the install text have info about vB Jukebox in it?

trafix 01-12-2005 02:19 AM

Quote:

Originally Posted by paulmjno
This is confusing. I have installed the hack, but have no idea how to use it. Where can I add voting booths? And why does the install text have info about vB Jukebox in it?

ooops ... i used the jukebox readme as a template for this readme .... mentally substatute ;)

MikaK 01-12-2005 02:20 AM

Quote:

Originally Posted by yinyang
2) is there a way in the next generation to set the member choice via usergroups?

Would be very cool:up:

trafix 01-12-2005 02:23 AM

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"

MikaK 01-12-2005 04:15 AM

Seems like very cool! and fun:D Definately finds the small, very deep hiding politician even in me!

I think I found a small bug creating a db error when clickin at the "Leader Board" link. In mc_pollbooth.php around line 333
PHP Code:

$topresult $DB_site->query("
SELECT * FROM mc_nominee 
WHERE boothid = 
$boothid 
ORDER BY votes 
DESC 

needs a TABLE_PREFIX, like in my case: scll as the tableprefix
PHP Code:

$topresult $DB_site->query("
SELECT * FROM scllmc_nominee 
WHERE boothid = 
$boothid 
ORDER BY votes 
DESC 

Further, I think it would be nice if bbcode and smilies were present available for the speeches.

Cheers,
-Mika

trafix 01-12-2005 04:32 AM

Quote:

Originally Posted by MikaK
Seems like very cool! and fun:D Definately finds the small, very deep hiding politician even in me!

I think I found a small bug creating a db error when clickin at the "Leader Board" link. In mc_pollbooth.php around line 333
PHP Code:

$topresult $DB_site->query("
SELECT * FROM mc_nominee 
WHERE boothid = 
$boothid 
ORDER BY votes 
DESC 

needs a TABLE_PREFIX, like in my case: scll as the tableprefix
PHP Code:

$topresult $DB_site->query("
SELECT * FROM scllmc_nominee 
WHERE boothid = 
$boothid 
ORDER BY votes 
DESC 

Further, I think it would be nice if bbcode and smilies were present available for the speeches.

Cheers,
-Mika

hmmm, i will take a look .... maybe i didnt add the "table prefix" bit

MikaK 01-12-2005 04:41 AM

Quote:

Originally Posted by trafix
hmmm, i will take a look .... maybe i didnt add the "table prefix" bit

This might be dependent on my server mail options. When nominating my test member the test member receives a notification email with the message:
Could not find phrase 'mc_nomination_email'.

Regards,
-Mika

trafix 01-12-2005 05:02 AM

Quote:

Originally Posted by MikaK
This might be dependent on my server mail options. When nominating my test member the test member receives a notification email with the message:
Could not find phrase 'mc_nomination_email'.

Regards,
-Mika

hmmm ... i will check the phrases have been added to the phrases.php .... they should have


All times are GMT. The time now is 12:08 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.01257 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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