vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Members Choice Voting Hack (https://vborg.vbsupport.ru/showthread.php?t=50819)

LangTuDaTinh 03-26-2003 03:27 AM

PHP Code:

$DB_site->query("CREATE TABLE memberschoiceadmin (
  event smallint(1) unsigned DEFAULT '0' NOT NULL auto_increment,   
  nominees smallint(4) DEFAULT '0',
  nomineesmax smallint(5) DEFAULT '10',
  awardname varchar(255) NOT NULL,
  nominateone smallint(2) DEFAULT '0',
  voteone smallint(2) DEFAULT '0',
  PRIMARY KEY (event)
)"
); 


look like status and statusreason is missing from install script

trafix 03-26-2003 03:41 AM

Yep, your right! ok i will update the zip file asap.

if you know how to enter queries manually

ALTER TABLE memberschoiceadmin ADD status smallint(2) AFTER `event`

and then

ALTER TABLE memberschoiceadmin ADD statusreason varchar(225) AFTER `status`

I will edit first post once i get a Chance to update it, again my apponlgies

DPoole 03-26-2003 03:57 AM

Perfect - cheers

DPoole 03-26-2003 04:01 AM

well i not getting no error LOL

even after adding them queries - this happens

When i add title to the Award name in Admin CP and enter no of nominees etc and press submit i get this `Action is succesfully updated!

but when i check it again all boxes are blank so i cant nominate on main board as its not available as it resets to nothing.

trafix 03-26-2003 04:18 AM

Zip file updated

trafix 03-26-2003 04:20 AM

so all is ok now??

could you post of pm me a link to your forum please?

snyx 03-26-2003 04:54 AM

this is a very cool idea, but just not what my members were asking for. they wanted to be able to nominate users based on categories. (ie. best avatar, funniest replies, worst signature, ect..) so im going to wait on this one, see where it goes :)

trafix 03-26-2003 05:04 AM

you can call the award what ever you want....dosnt have to be member of the month...you can change each month if you want to.

You can nominate the name of the award from your config admin

DPoole 03-26-2003 05:11 AM

I have tested this on Local machine and also on Active web and i get the same prob

as soon as i enter any details into the admin cp for it : example Member of the month the boxes go blank once i press Submit

So cause of this the hack aint activated but besides this the rest went well

will wait to see if anyone else has same prob

I gone over the hack line by line - been at since 5am so im pretty sure i aint missed anything.

trafix 03-26-2003 05:25 AM

did you do the table alterations in post no.12?


All times are GMT. The time now is 08:57 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.01082 seconds
  • Memory Usage 1,731KB
  • 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_php_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