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)

ChurchMedia 07-24-2003 04:59 AM

There were some missing \ in the code. I had the same problem. Try this code:

PHP Code:

// members choice voting announce bit 

$userstatus $DB_site->query_first("SELECT * FROM memberschoice WHERE nomname='$bbuserinfo[username]'"); 
    if (empty(
$userstatus[nomname])) { 
  
$nomination="<smallfont><a href=\"memberschoice.php?s=[sessionhash]\">You have not been nominated for any awards at this time.</a></smallfont>"
} else if (
$userstatus[acceptnom]=='No') { 
  
$nomination="<smallfont><b><a href=\"memberschoice.php?s=[sessionhash]\">You have been nominated for an award!</a></b></smallfont>"
} else {     
  
$nomination="<smallfont><a href=\"memberschoice.php?s=[sessionhash]\">Your nomination has been accepted!</A></smallfont>"
  } 
   
// members choice announce bit 


ChurchMedia 07-25-2003 12:06 AM

If anyone's interested, I've modified this way-cool hack to nominate/vote on pictures, etc. in PhotoPost. It shows thumbnails and let's you vote from within the gallery instead of the board. We just started it today, but I'm sure my members will love it. You can preview it here.

Thanks for the great hack!

y2krazy 08-20-2003 04:14 AM

Well, I am testing this hack on the Forums I Admin, but when i try to access the main index.php, all I get is a white screen. I've edited all the files to the 't', even went to my backups and edited those to see if it would work, but still nothing. But, when I remove the code that is to be placed in the index.php file, the main page works fine, except for the display of the Nominations and such because of the missing code. Is there any way to help resolve this problem? Thanks in advance!

-y2k-

y2krazy 08-24-2003 04:33 PM

Well, I guess I'll just leave the code out on the Forum Home template. No big deal, just one of the features that won't be used. Other than that, a great hack, and I am going to run it by the head Admin to see if we can install it. Thanks!

-y2k-

lasto 08-24-2003 06:06 PM

Quote:

07-25-03 at 02:06 AM ChurchMedia said this in Post #122
If anyone's interested, I've modified this way-cool hack to nominate/vote on pictures, etc. in PhotoPost. It shows thumbnails and let's you vote from within the gallery instead of the board. We just started it today, but I'm sure my members will love it. You can preview it here.

Thanks for the great hack!


that is excellant that m8 anychance of a release

lasto 09-03-2003 10:02 PM

gather not :(

mjp1111 10-12-2003 12:09 PM

How do I uninstall this and remove all the database stuff?

trafix 03-10-2004 11:14 AM

WOW ... its about time! The vB3 version of this hack is now available .... go get it here
http://www.everythingvb.com/showthread.php?t=153

Crank 06-17-2004 02:20 AM

hey ChurchMedia thank you for the fix it was bringing my site down. thank you also Trafix for a great hack. i am very pleased to incorporate it.
*clikcs Install*

Gio~Logist 11-06-2004 11:38 AM

say you wanna use this for like a TOP VIDEO GAME or TOP VIDEO hack, you can do this by just having them nomiate a video or game and then they vote on it once 10 have been nominated, and i guess you would take out the acceptance speach part

am i correct?


All times are GMT. The time now is 03:15 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.01306 seconds
  • Memory Usage 1,740KB
  • 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)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