vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   vB Affiliates v.2 (https://vborg.vbsupport.ru/showthread.php?t=63044)

AN-net 05-03-2004 02:53 AM

replace
Code:

<if condition="$show['rate']">
<td class="thead" align="center">Rate</td>
</if>

with
Code:

<if condition="$show[rate]">
<td class="thead" align="center">Rate</td>
</if>


Skyline_GT 05-03-2004 03:01 AM

not working..
http://www.gamerzplanet.net/forums/a...listaffiliates

Skyline_GT 05-03-2004 03:03 AM

I got this when I am trying to edit taht template..

Code:

The following error occurred when attempting to evaluate this template:

Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or `T_NUM_STRING' in /home/gamerzpl/public_html/forums/includes/adminfunctions_template.php(3037) : eval()'d code on line 104

This is likely caused by a malformed conditional statement. It is highly recommended that you fix this error before continuing, but you may continue as-is if you wish.


Skyline_GT 05-03-2004 03:05 AM

hm.. it works now..
Somehow I need to rmeove the " ' " in the if condition..
thanks.

Holidazed 05-11-2004 09:05 PM

An-net, I installed this and it works fine. However, if either myself or a user adds an affilliate and somewhere in the decription, title or whereever there is a ' it gives a database error. I know that the ' character has caused problems in other hacks, is there some modification I cqn add to your hack to make this not an issue.

I can explain to my users not to use the ' key, but I find that most ppl are just plain stupid.

Also, is there a way to make it open a new browser window when a link from the affiliate is clicked?

SnowBot 05-12-2004 04:46 AM

got it installed but whenever i try to activate it it does not save the settings in admincp :( Any ideas ?

SnowBot 05-12-2004 09:34 AM

nevermind :) i missed a query out, stupid me.

Holidazed 05-12-2004 07:44 PM

Quote:

Originally Posted by bitg
An-net, I installed this and it works fine. However, if either myself or a user adds an affilliate and somewhere in the decription, title or whereever there is a ' it gives a database error. I know that the ' character has caused problems in other hacks, is there some modification I cqn add to your hack to make this not an issue.

I can explain to my users not to use the ' key, but I find that most ppl are just plain stupid.

Also, is there a way to make it open a new browser window when a link from the affiliate is clicked?

Any ideas?

Vman 05-14-2004 12:31 AM

Two Things!

#1, when trying to register to your site for support, the "Reigister" link is not working so Im not able to register and get the support needed for the script...

#2. It seems since I have installed your program Im getting the following type errors. When A person fills in the "Add to Affiliate" and it goes to the re-direct. the re-direct stays in a loop! If a person uses the by pass link, then it stated you do not have all the fields filled out correctly and still stays in a re-direct loop.
Then if I have processed the site for approval and if a person (Including myslef) tries to click the link to THAT site in the affiliate program, It Stays in a loop and if you press the link to bypass that it sends you back the main forum with the their site address attached in the string, which then make the re-direct not work...

Hope I have explained this in detial for you to understand. Please help in anyway you can.

Don :disappointed:

AN-net 05-15-2004 11:45 PM

in response to bitg:

find in affiliate.php:
PHP Code:

$DB_site->query("INSERT INTO affiliates (siteurl,sitename,sitedesc,type,email,buttonurl) VALUES('$siteurl','$sitename','$desc','$type','$email','$button')"); 

change to:
PHP Code:

$DB_site->query("INSERT INTO affiliates (siteurl,sitename,sitedesc,type,email,buttonurl) VALUES('$siteurl','".addslashes($sitename)."','".addslashes($desc)."','$type','$email','$button')"); 



All times are GMT. The time now is 03:55 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.01242 seconds
  • Memory Usage 1,745KB
  • 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
  • (3)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)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