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)

DPoole 03-26-2003 12:42 PM

$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')")

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

trafix 03-26-2003 12:45 PM

partang2,

hmm interesting...the area where the textbox is should be the second alt colour ..... is it not doing that?
can you pm me a link to your board?

partang2 03-26-2003 12:49 PM

There is nothing in that template who shows to "second alt colour"....?

trafix 03-26-2003 12:58 PM

Quote:

Today at 12:42 AM DPoole said this in Post #41
$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')")

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


You seen to be fairly capable with mysql...open your phpmyadmin
select memberschoiceadmin from the table list..then click on "insert row" you can manually enter the data ensuring that "event"=1

trafix 03-26-2003 12:59 PM

partang
here is the full template

partang2 03-26-2003 01:12 PM

Did you check your templates m8? Think there are some errors in them.... several .gif's linked from vbulletin doesent show up etc...

trafix 03-26-2003 01:20 PM

in the 21 templates there is only 6 .gif images apart from the avatars, all being at the start of the nav

<img src="{ imagesfolder }/vb_bullet.gif" alt="" border="0" align="absmiddle">

DPoole 03-26-2003 01:26 PM

ok i tired that trafix but it was already set at 1 as far as i could see so i thought id be smart and delete the tables from teh database now i get mysql errors just trying to run the mychoicequery.php

I thought dropping tables would allow me to re-add em running this but obviously it never.

No problem though i can just drop database and install again

Is the zip in first post updated to reflect all the database queries that are needed??

thanks for help as well

trafix 03-26-2003 01:28 PM

yep the zip is updated...for the doqurie php file to work you will need to drop all 3 tables

partang2 03-26-2003 01:35 PM

Quote:

Today at 03:20 PM trafix said this in Post #47
in the 21 templates there is only 6 .gif images apart from the avatars, all being at the start of the nav

<img src="{ imagesfolder }/vb_bullet.gif" alt="" border="0" align="absmiddle">

Nope, this is from memberschoice_bit:

<table cellpadding="10" cellspacing="0" border="1" width="100%" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif"><tr><td>


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