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)

trafix 03-26-2003 08:55 AM

Click cklick....bang bang......run this quiry and all will be ok

$DB_site->query("INSERT INTO memberschoiceadmin VALUES (1,'1', 'Voting for the next award will start soon', '1', '10', 'Member of the Month', '1', '1')");


i am just about to update zip......for the final time....lol :)

partang2 03-26-2003 09:05 AM

You are a hardworking hacker m8! Looking forward to try this thing. :)

trafix 03-26-2003 09:08 AM

i think most of the problem is that i am still learning.....database stuff isnt my strong point.

Thanks for your support and let me know how you get on.

partang2 03-26-2003 09:10 AM

Will try it right now. Will let you know soon....

partang2 03-26-2003 11:17 AM

Well, I have tested it now and it worked ok. The reason I don't wanna use this (even if I liked it) is that you have put links in the templates back to your own forum registation so that peoples who clicks the nick to the nominated member's at my forum are beeing redirected straight to your place...! God knows where else there are links like that... NOT GOOD!!! :angry:

trafix 03-26-2003 11:21 AM

i cant see the last post here but i did get it in my mail,

are you talking about the "members choice hack by trafix" bit at the bottom?????

i can assure you that there is no other links, hidden or otherwise.

trafix 03-26-2003 11:49 AM

i see what you are talking about......whoops another bug..thank you for pointing it out,
will update zip to 1.7 soon

replace entire memberschoice_bit template with

partang2 03-26-2003 12:29 PM

Ok that's fine, but I can't get the same colors as the rest of my forum in the memberschoice_nominate_member template:

__________________________________________________ __
<p align="center"><normalfont><br>What is your reason for nominating <b>$nominatemember?</b></p><p align="center">
<TEXTAREA cols=80 name=nomreason rows=8 wrap=Virtual></TEXTAREA></p><br></td>
</tr>

<tr>

<td bgcolor="#000ec0" colspan='2' align='middle'><p id='submitrow'><input type="submit" value=" Nominate Now " accesskey="s">

</p></td>

</tr></table></form></TD>
</TR>
</TABLE>

$footer

</body>

</html>

__________________________________________________ __

Maybe I am tired here, but what is wrong with this?
All the others are ok...

DPoole 03-26-2003 12:35 PM

$DB_site->query("INSERT INTO memberschoiceadmin VALUES (1,'1', 'Voting for the next award will start soon', '1', '10', 'Member of the Month', '1', '1')")

You have an error in your SQL syntax near '$DB_site->query("INSERT INTO memberschoiceadmin VALUES (1,'1', 'Voting for the n' at line 1

trafix 03-26-2003 12:40 PM

damn damn damn

try

$DB_site->query("INSERT INTO memberschoiceadmin VALUES (NULL,'1', 'Voting for the next award will start soon', '1', '10', 'Member of the Month', '1', '1')")


All times are GMT. The time now is 11:59 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.01662 seconds
  • Memory Usage 1,729KB
  • 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)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