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)

kevinnguyen 05-18-2003 02:06 AM

very good job LTDT *thumbs up*

DPoole 05-18-2003 07:09 AM

looks nice well done m8

kevinnguyen 05-20-2003 05:19 PM

when will V2 come out?

Vile 05-29-2003 08:31 PM

Awesome hack, and works great, except for one part..

The message that is supposed to be displayed on forumhome when someone is nominated, does not show up for me.

I read through all the posts, but noone else had this problem.

As the directions stated, in root\index.php

I placed:

PHP Code:

// members choice voting announce bit
 
$userstatus $DB_site->query_first("SELECT * FROM memberschoice WHERE nomname='$bbuserinfo[username]'");
    if (empty(
$userstatus[nomname])) {
  
$nomination="No Nomination";
} else if (
$userstatus[acceptnom]=='No') {
  
$nomination="<b><font color=\"#ffoooo\">You have been nominated</font></b>";
} else {    
  
$nomination="Nomination accepted";
  }
  
// members choice announce bit 

After

PHP Code:

// get total posts
$countposts=$DB_site->query_first('SELECT COUNT(*) AS posts FROM post');
$totalposts=number_format($countposts['posts']); 

But it still doesnt show up :\

Any ideas?

Thanks :)

DPoole 06-03-2003 01:17 PM

traffic can u make a small addon please

where anyone who is nominated gets a small gif or anything in their postbit (something which stands out) and once that gif is clicked it takes u straight to the Main page of the voting hack.

Not many people are using it as they dont know its there unless they been nominated so id like to make more traffic for it.

If nominated - get an ICON under avator - if not nominated nothing shows

trafix 06-03-2003 01:43 PM

It has been brought to my ayyension that I missed a template to edit in the instructions, thanks Vile :)

This tells the ,e,ber on the forum home page if they have been nominated

**********************************
OPEN Postbit Templates > forum home
**********************************

------------------
Add to your welcome panel or approiate place near top of forum
------------------

$nomination

**********************************
SAVE Postbit Templates > forum home
**********************************

Vile 06-03-2003 03:55 PM

Quote:

Today at 03:43 PM trafix said this in Post #116
It has been brought to my ayyension that I missed a template to edit in the instructions, thanks Vile :)



No, thank you for the fix :D

Hack is working excellent, and the members are loving it :)

DPoole 06-04-2003 07:40 PM

Quote:

Yesterday at 03:17 PM DPoole said this in Post #115
traffic can u make a small addon please

where anyone who is nominated gets a small gif or anything in their postbit (something which stands out) and once that gif is clicked it takes u straight to the Main page of the voting hack.

Not many people are using it as they dont know its there unless they been nominated so id like to make more traffic for it.

If nominated - get an ICON under avator - if not nominated nothing shows


No Possibilty of update to this traffic ??

vbulletin-arab 06-17-2003 10:53 AM

helloo trafix

i have 2 prob...

the 1 set :
As the directions stated, in root\index.php

I placed:

PHP Code:

// get total posts
$countposts=$DB_site->query_first('SELECT COUNT(*) AS posts FROM post');
$totalposts=number_format($countposts['posts']); 

add after :


PHP Code:

 // members choice voting announce bit
 
$userstatus $DB_site->query_first("SELECT * FROM memberschoice WHERE nomname='$bbuserinfo[username]'");
    if (empty(
$userstatus[nomname])) {
  
$nomination="<a href=\"memberschoice.php?s=[sessionhash]">No Nomination</a>";
} else if (
$userstatus[acceptnom]=='No') {
  
$nomination="<b><a href=\"memberschoice.php?s=[sessionhash]"><font color=\"#ffoooo\">You have been nominated</font></a></b>";
} else {    
  
$nomination="<a href=\"memberschoice.php?s=[sessionhash]">Nomination accepted</A>";
  }
  
// members choice announce bit 

i will add but give me an error on line 142

and i am removed this code

the 2 set prob...

i am go to - Nominations & Voting > Nominate Member

and click on the Nominate Now dont do anything's

????

plz help me :(

vbulletin-arab 06-19-2003 01:28 AM

any body help me ?!


All times are GMT. The time now is 01: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.01215 seconds
  • Memory Usage 1,754KB
  • 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
  • (2)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