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-28-2003 02:48 AM

there is one problem /w memberschoice_bit , so open it and remove this line

http://www.atmyparty.com/network
**************this is fixed in the current zip file***********

this is template in 1.x update folder - not from clean install template


3. remove this "&name=$voters[nomname]" from memberschoice.php or use addslashes before do this (if usename have a ' , then the link will not work. )
*******please tell me the line number(s) of the memberschoice.php where this occours********

it's from those line where u just added which limited to which usergroup can view - line 84 to 93. i don't think action==whovoted need it. but if a username have a ' (for example like "Jade's A") a database error will appear if that user click on the link.


thanks trafix...

trafix 03-28-2003 02:57 AM

I have been spying on you....lol

I like your board, and the hack looks great, It seems your members are loving it big time :)

Would you like to post the alterations as an addon?

limited voting and x posts to vote

It saves me working it out...if you dont want to post it...pm it to me..

Im glay you like the hack!

Quote:

Today at 02:48 PM LangTuDaTinh said this in Post #81
there is one problem /w memberschoice_bit , so open it and remove this line

http://www.atmyparty.com/network
**************this is fixed in the current zip file***********

this is template in 1.x update folder - not from clean install template


3. remove this "&name=$voters[nomname]" from memberschoice.php or use addslashes before do this (if usename have a ' , then the link will not work. )
*******please tell me the line number(s) of the memberschoice.php where this occours********

it's from those line where u just added which limited to which usergroup can view - line 84 to 93. i don't think action==whovoted need it. but if a username have a ' (for example like "Jade's A") a database error will appear if that user click on the link.


thanks trafix...


LangTuDaTinh 03-28-2003 01:55 PM

Quote:

Yesterday at 08:57 PM trafix said this in Post #82
I have been spying on you....lol

I like your board, and the hack looks great, It seems your members are loving it big time :)

Would you like to post the alterations as an addon?

limited voting and x posts to vote

It saves me working it out...if you dont want to post it...pm it to me..

Im glay you like the hack!



thanks for your comments trafix, i'll post some when i'm done (about two more days). hehhee i need to sort out which one cause i have "change username via usercp" hack and multi-avatars hack (make by me) so i modified most of the codes.

this hack is great ....my members love it so much that they request many modifications for this hack.
maybe i need to change the layout.

also they just request me this: allow members to vote only when all Nominees are selected.

USODJA 03-29-2003 02:19 AM

I like that last one too...

Lesane 03-31-2003 12:34 PM

hehe, this is a very well known line in memberschoice.php:
PHP Code:

// ###################### Start Top10 Richest Persons ####################### 

CopyNPaste? ;):D

A good hack nonetheless!

trafix 03-31-2003 12:47 PM

OOOOPS,

Sorry Lesane....

Yes I know...slap my wrist....

If you were not such a great inspirator and teacher....people would still be requesting this hack....Thank you

Im glad you like it :)

Im probibly not the only person to learn for your great work!

Lesane 03-31-2003 01:09 PM

hehe np, i am glad that people learn from my work and create hacks for vbulletin. ;)

kevinnguyen 04-02-2003 10:17 PM

hey i got this prob
even though i set all members can view Who Voted, the link still doesnt appear for registered members
anyone help plz

kevinnguyen 04-03-2003 09:59 PM

nvm, i fixed it
nice hack btw

pgowder 04-08-2003 11:02 AM

I'm getting an error when anyone with a ' in thier username is nominated. How can this be fixed??

Quote:

Invalid SQL: SELECT * FROM memberschoice WHERE nomname='loves southern singn'' mysql error: You have an error in your SQL syntax near ''loves southern singn''' at line 1


All times are GMT. The time now is 06:34 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.01112 seconds
  • Memory Usage 1,741KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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