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)
-   -   vBaffiliates5 - Allow Users to Add & Edit their Own Affiliate Links!!! (https://vborg.vbsupport.ru/showthread.php?t=47008)

squawell 01-29-2003 03:33 PM

hello Satan...i got this error

Invalid SQL: SELECT linkid,name,link,b_link,height,width,hits,userid FROM vbaffiliates WHERE moderated='1' ORDER BY RAND() LIMIT
mysql error: You have an error in your SQL syntax near '' at line 1

mysql error number: 1064

can u tell me what the problem is??

PS:i install the version 4.0

Chris M 01-31-2003 05:17 PM

@squawell - I am assuming that this refers to the global.php file modification...Please can you post what you have got in that file...:)

@Dark Draco - I assumed that you put it there...If you didnt, then ignore the bit to remove it from the header template:)

Satan

squawell 01-31-2003 06:31 PM

Quote:

Originally posted by hellsatan
@squawell - I am assuming that this refers to the global.php file modification...Please can you post what you have got in that file...:)
Satan

Satan..

i remove the code in global.php than it works....so i think maybe we dont need to add the code in that file....

anyway it works now.......

Chris M 02-01-2003 12:22 PM

Ok cool:)

Satan

squawell 02-27-2003 06:32 AM

i have a problem now

i set one page show five banner list..when i add the sixth banner

it did not show up...why?is it should have page(2):<< [1]2

something like this...so what is that problem??...

Chris M 03-02-2003 06:04 PM

Because it was designed to show only a certain amount of banners...

Just set the showable amount of banners higher;)

If you want a page system, I am sure I can code something next week:)

Satan

squawell 03-03-2003 01:20 PM

Quote:

Originally posted by hellsatan
Because it was designed to show only a certain amount of banners...

Just set the showable amount of banners higher;)

If you want a page system, I am sure I can code something next week:)

Satan

i will wait u release page system that will make forum better...

thankz Satan.......... :bunny:

squawell 03-05-2003 05:54 AM

another question~~

can just add the moderate option in banner list but only show it to

who have permission to moderate? that will be easy and fast to

moderated.and do not need goto admin cp....

DarkDraco07 03-14-2003 11:04 PM

for somereason it doesnt show more than 1 banner on my homepage now. 2 of the banners are broken links right now and it doesnt show broken images. im thinking that might be the reason. heres how it is right now:

3 banners, 2 are broken and 1 isnt. the 1 shows and the other 2 dont. Someone adds a affiliate link with a working banner. i moderate it and then the 1 that did work doesnt work anymore. whats wrong?

DarkDraco07 03-17-2003 12:19 AM

bump

DarkDraco07 03-25-2003 03:42 AM

some assistance please?

Logik 03-25-2003 05:03 AM

Man o man, this is old, didnt think i'd see another post.

Chris M 03-25-2003 08:26 PM

@Dark Draco - Sorry...I haven't got a clue as to what is wrong with it...

Have you tried installing version4?

If you have already installed it, re-apply the database queries, after dropping the existing tables...

Other than that, you can PM me the url to look at, and I will see if I can determine the problem:)

Satan

Yaxio 03-31-2003 03:18 PM

i get this when i go to my forum:

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT linkid,name,link,b_link,height,width,hits,userid FROM vbaffiliates WHERE moderated='1' ORDER BY RAND() LIMIT
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

i added everything correctly in the global.php file and everything.

Yaxio 03-31-2003 03:18 PM

i get this when i go to my forum:

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT linkid,name,link,b_link,height,width,hits,userid FROM vbaffiliates WHERE moderated='1' ORDER BY RAND() LIMIT
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

i added everything correctly in the global.php file and everything.

squawell 03-31-2003 03:48 PM

Quote:

Today at 01:18 AM Yaxio said this in Post #95
i get this when i go to my forum:

Database error in vBulletin 2.3.0:

Invalid SQL: SELECT linkid,name,link,b_link,height,width,hits,userid FROM vbaffiliates WHERE moderated='1' ORDER BY RAND() LIMIT
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

i added everything correctly in the global.php file and everything.

u can try do not add the code in global.php maybe it will work~

because thats work for me..... :bunny:

Chris M 05-18-2003 03:18 PM

Did you update the vBulletin Options?:)

Satan

Chris M 05-18-2003 03:19 PM

v5 Released!

vBaffiliates5 has been released!

This update allows vBaffiliates to work with register_globals off, and also has a little script-structure update:)

Satan

gmarik 05-24-2003 09:15 AM

Great - If somebody thinks, he could integrate it with X-Cart, I could send you the code needed.

Chris M 05-24-2003 09:24 AM

What is X-Cart?:)

Satan

DarkDraco07 05-25-2003 05:14 PM

i know this is in final but could you add a comment into this? like when someone wants to put up a banner, the add a comment on why they should be affiliates

Chris M 05-25-2003 10:58 PM

You mean like a "site comment" field?

I could include it for the next version:)

Satan

gmarik 06-09-2003 05:47 PM

http://x-cart.com/ - shopping cart software
If you would need some coding tips from it, I could give a look at it. Because I have one. :o)

Chris M 06-10-2003 04:17 PM

I'm sorry - What has that got to do with this?:confused:

Satan

XtReMaTriX 07-06-2003 11:20 AM

Hey guys... does this work with version 2.2.8???

*UPDATE* well i got it to work, I set it up do just display the names... very simple, no redirects or anything... Thanx for the hack!!! :)

*Clicks Install*

cindyd 07-06-2003 07:00 PM

Quote:

03-02-03 at 04:04 PM hellsatan said this in Post #86
Because it was designed to show only a certain amount of banners...

Just set the showable amount of banners higher;)

If you want a page system, I am sure I can code something next week:)

Satan


Could someone tell me if the last version is a page system? That is what I am looking for. Thanks for the help.
Cindy

Veg 09-03-2003 02:28 PM

Im getting this error.

Invalid SQL: SELECT linkid,name,link,b_link,height,width,hits,userid FROM vbaffiliates WHERE moderated='1' ORDER BY RAND() LIMIT
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

mysql error number: 1064

Veg 09-03-2003 02:30 PM

Nevermind ive fixed. You should add a note in the readme about sizes.

MuSuL 09-25-2003 01:11 AM

Ok, this is the problem Im having...Firs the affiliate.php was making the site extremly slow!, then I removed the script for the global.php and now its like normal, but before any of this happend, not one banner would show up, no matter where I put the $affiliate at!...Still no banner...HELP!!!!!...thanks

MuSuL 09-25-2003 03:24 AM

Now I re-installed the script back into global.php..The banner showed up just once...then never again...HELP!

MindTrix 09-27-2003 03:05 PM

i got the same error that VEG got, can someone tell me how to fix it plzzz? ma sites dead until i do

MindTrix 09-27-2003 05:17 PM

yahh fixed it had to change settings thing in cp. Butttt, ima dumbass i cnt see no where at all that lets u mod the banners and let them be shown kinda thing

found it soz :S

MuSuL 09-28-2003 05:33 AM

Im still having the problem when I add $affiliate anywhere, it slows down the index.php or loading of the index.php....What gives...I have installed and delete and re-installed with the same problem, then when I delete the global.php script which I was told to add, the site runs fine, but the banners don't show up on any of the pages!....HELP!!!.... Please....thanks.....

MuSuL 10-14-2003 04:05 PM

Anyone can help please!!!!

MuSuL 10-22-2003 12:11 AM

Hello!. Anyone there?

MuSuL 11-11-2003 01:06 AM

Well time has run out on this hack, I just don't understand why I can't get help to a great hack if it does not work...Thanks for the help, Ill now delete the hack and try a different one.....

Soo, if you are looking for help here, it appears its not availble at this time...sad to see a hack go wasted!


All times are GMT. The time now is 05:17 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.01195 seconds
  • Memory Usage 1,800KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (36)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