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)

LEAD_WEIGHT 04-26-2005 04:53 AM

Do u know if the text files "installation_instruct" are vb forum edits & "upgrade_instruct" are for CMPS modules. Thx if u could help

venomx 04-26-2005 05:01 AM

I am guesing the upgrade file is for if you ran a old version of this hack...

LEAD_WEIGHT 04-26-2005 05:18 AM

Quote:

Originally Posted by venomx
I am guesing the upgrade file is for if you ran a old version of this hack...

Did u install this hack and what board version are u running.

Yah, u are right. It does say overwrite for php. files Thx venomx

The old one was vB Affiliates is that what u are referring to?

U know I was checking how did anyone install this hack for vb3.0.7 if the narbar edits to find that code do not exist, so how do u add a code that not there? It is not in default code, so how.

just wondering how u got the right Navbar code for vb3.0.7 cause the one it shows is for vb3.0.0

I just linked to http://www.mydomain.com/forums/affiliate.php

~~~~~~~~~~~~~~~~~~~~~~~~~~
Begin Template Edits
~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------
Open template titled: navbar is vb3.0.0
-----------------------------------
Find:
<td class="vbmenu_control"><a href="$vboptions[bburl]/memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>
-----------------------------------
After Add:
<td class="vbmenu_control"><a href="$vboptions[bburl]/affiliate.php">Affiliates</a></td>



~~~~~~~~~~~~~~~~~~~~~~~~~~
Begin Template Edits
~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------
Open template titled: navbar is vb3.0.7


navbar vb3.0.7 is the only code that looks to match
------------------------------------
<td class="vbmenu_control"><a href="memberlist.php?$session[sessionurl]">$vbphrase[members_list]</a></td>

so all u do is change it like this.

<td class="vbmenu_control"><a href="http://www.mydomain.com/forums/affiliate.php">Affiliates</a></td>

Credits to venomx for the help

LEAD_WEIGHT 04-26-2005 07:59 AM

https://vborg.vbsupport.ru/showpost....&postcount=210

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: 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 ';
CREATE TABLE affiliates (
affiliate_id int(10) NOT NULL au

Is this one query or many cause I copy & paste & get that 1064 error so how do I do this.


Code:

Run this query:
DROP TABLE IF EXISTS affiliates;
CREATE TABLE affiliates (
        affiliate_id int(10) NOT NULL auto_increment,
        sitename varchar(50) NOT NULL,
        siteurl varchar(250) NOT NULL,
        sitedesc mediumtext NOT NULL,
        buttonurl varchar(150) NOT NULL,
        type tinyint(4) NOT NULL,
        email varchar(250) NOT NULL,
        clicksout int(20) NOT NULL,
        clicksin int(20) NOT NULL,
        active tinyint(4) NOT NULL,
        totalrating bigint(20) NOT NULL,
        totalvotes bigint(20) NOT NULL,
        approved tinyint(4) NOT NULL,
        PRIMARY KEY (affiliate_id),
        KEY sitename (sitename),
        KEY siteurl (siteurl),
        KEY email (email)
);

Got it this is one query
Code:

DROP TABLE IF EXISTS affiliates;
and this is the next query [ after each ( ; ) is a query ]
Code:

CREATE TABLE affiliates (
        affiliate_id int(10) NOT NULL auto_increment,
        sitename varchar(50) NOT NULL,
        siteurl varchar(250) NOT NULL,
        sitedesc mediumtext NOT NULL,
        buttonurl varchar(150) NOT NULL,
        type tinyint(4) NOT NULL,
        email varchar(250) NOT NULL,
        clicksout int(20) NOT NULL,
        clicksin int(20) NOT NULL,
        active tinyint(4) NOT NULL,
        totalrating bigint(20) NOT NULL,
        totalvotes bigint(20) NOT NULL,
        approved tinyint(4) NOT NULL,
        PRIMARY KEY (affiliate_id),
        KEY sitename (sitename),
        KEY siteurl (siteurl),
        KEY email (email)
);

credits for help MarcoH64 at vb.com & I guess same guy here :ermm:




One more thing is I am surprise u do not have a paypal donate thing cause of the time u spent on this. :nervous:

LEAD_WEIGHT 04-26-2005 05:00 PM

How do I enable it or what is the amdin link? I get this when i click on it
Code:

Sorry but the Affiliates section of this site has been disabled.
I do not see it in c/panel or is it I have to do something that I have not figure out yet. I been up to long. :tired:

venomx 04-26-2005 05:10 PM

Look in your VB admincp

LEAD_WEIGHT 04-26-2005 09:56 PM

Quote:

Originally Posted by venomx
Look in your VB admincp

Oh, that where it is hiding or is it that I really do not see it, I need glasses or is it hiding within one the list. Man why is these things getting harder to do.

Quote:

Originally Posted by AN-net
you go to your administration control panel and click general settings, under that there is a setting that says # of affiliates per page next to it is a drop down menu of #'s you must choose one and also set up your other settings then click update for it take affect.

I do not see that. I wondering those upgrades are for the first version of vB Affiliates v.2 right. I still can not see that like it shows in those thumbs.

venomx 04-26-2005 10:10 PM

If you made the edits to the /admincp file(s) then you should have Affiliates Listed on the right...

LEAD_WEIGHT 04-26-2005 10:22 PM

Quote:

Originally Posted by venomx
If you made the edits to the /admincp file(s) then you should have Affiliates Listed on the right...

The left u mean right under Vb options or did I just screw this up. Oh u mean the page appears right of the Admin list controls :tired:

How sad I am I did not even refresh my Admin. C/panel page to see the changes. I really need some sleep but before I do I think I go to look at that Graffito thing it looks real promising :tired:

Woot! Woot! got it working Thanks again venomx

FightRice.com 04-28-2005 02:35 AM

Will this work with 3.07

venomx 04-28-2005 04:55 AM

Yes it does

Flow Fusion 05-09-2005 10:22 AM

I'm lost here

PHP Code:

Run this query:
INSERT INTO affiliates_settings VALUES(''''''''''''''''''''''''''''''''''''''''''''''''); 

and here

PHP Code:

Run this query:
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''saved_affiliate_x_successfully''<i>{1}\'s</i> has been updates!''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''deleted_affiliate_x_successfully''<i>{1}</i> has been deleted!''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''deleted_affiliate_x_unsuccessfully''<i>{1}</i> was not deleted due to your choice selection.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''inserted_affiliate_x_successfully''<i>{1}</i> has been successfully added to the data base.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''inserted_affiliate_x_unsuccessfully''This affiliates could not be added to the database because you either did not enter an affiliate name or an affiliate url or an affiliate email.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''saved_affiliate_settings_successfully''Settings for Affiliates Addon Updated.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''updated_affiliate_type_successfully''<i>{1}</i> was updated successfully.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''updated_affiliate_type_unsuccessfully''The type was <u>not</u> updated because the types name was left blank.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''saved_affiliate_type_unsuccessfully''This type/category was not added to the database due to the name of this type/category not being filled in.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''saved_affiliate_type_successfully''<i>{1}</i> was added to the database successfully.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('0''approved_affiliate_x_successfully''<i>{1}</i> has been approved successfully and an email has been dispatched to its admin\'s email.''9000'); 

How do I do this?

poolking 05-09-2005 03:42 PM

Quote:

Originally Posted by Flow Fusion
I'm lost here

PHP Code:

Run this query:
INSERT INTO affiliates_settings VALUES(''''''''''''''''''''''''''''''''''''''''''''''''); 

and here

PHP Code:

Run this query:
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''saved_affiliate_x_successfully''<i>{1}\'s</i> has been updates!''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''deleted_affiliate_x_successfully''<i>{1}</i> has been deleted!''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''deleted_affiliate_x_unsuccessfully''<i>{1}</i> was not deleted due to your choice selection.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''inserted_affiliate_x_successfully''<i>{1}</i> has been successfully added to the data base.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''inserted_affiliate_x_unsuccessfully''This affiliates could not be added to the database because you either did not enter an affiliate name or an affiliate url or an affiliate email.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''saved_affiliate_settings_successfully''Settings for Affiliates Addon Updated.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''updated_affiliate_type_successfully''<i>{1}</i> was updated successfully.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''updated_affiliate_type_unsuccessfully''The type was <u>not</u> updated because the types name was left blank.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''saved_affiliate_type_unsuccessfully''This type/category was not added to the database due to the name of this type/category not being filled in.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('-1''saved_affiliate_type_successfully''<i>{1}</i> was added to the database successfully.''9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeidVALUES ('0''approved_affiliate_x_successfully''<i>{1}</i> has been approved successfully and an email has been dispatched to its admin\'s email.''9000'); 


How do I do this?

Through phpmyadmin.

Flow Fusion 05-09-2005 07:15 PM

Quote:

Originally Posted by poolking
Through phpmyadmin.

Lol
i know that but how? I'm used to "create table...name it add this etc." I never seen this before.

Flow Fusion 05-09-2005 08:26 PM

OK I almost got it. I think when I try this...
PHP Code:

Run this query:
INSERT INTO affiliates_settings VALUES(''''''''''''''''''''''''''''''''''''''''''''''''); 

I get

Quote:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1136
error desc: Column count doesn't match value count at row 1
And when I try to save it all the values go back to default? It won't stay active.

LEAD_WEIGHT 05-24-2005 01:38 PM

Quote:

Originally Posted by Flow Fusion
OK I almost got it. I think when I try this...
PHP Code:

Run this query:
INSERT INTO affiliates_settings VALUES(''''''''''''''''''''''''''''''''''''''''''''''''); 

I get



And when I try to save it all the values go back to default? It won't stay active.

Read my post u get it after? :nervous:

mikaelweb 05-29-2005 05:51 PM

i made new Apply form template to this hack hope you like this one
Code:

$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
        <title>$vboptions[bbtitle] - vB Affilates: Apply</title>
$headinclude
</head>
<body>
$header
$navbar
<form action="affiliate.php?do=insert" method="post">
  <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
      <td width="100%" class="tcat">&raquo; Application Form</td>
    </tr>
    <tr>
      <td class="thead">Here can you applay to affiliate</td>
    </tr>
    <tr>
      <td class="panelsurround" align="middle">
          <div class="panel">
        <div style="width: 640px" align="left">
          <fieldset class="fieldset">
          <legend>Application Form</legend>
          <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
            <tr>
              <td valign="top">Site Name
                          <br/>
                <input type="text" class="bginput" name="sitename" value="" maxlength="50" size="30"><br/>
                Site Url<br/>
                <input type="text" class="bginput" name="siteurl" value="" maxlength="255" size="50"><br/>
                Site Description<br/>
                <textarea name="dec" cols="50" rows="6" class="bginput" id="dec"></textarea><br/>
                Button Url<br/>
                <input type="text" class="bginput" name="button" value="" maxlength="150" size="50"><br/>
                Category<br/>
                <select name="select">
                  <optgroup label="Categories/Types">
$typebits
</optgroup>
                </select><br/>
                Webmaster Email<br/>
                <input type="text" class="bginput" name="email" value="" maxlength="250" size="50"></td>
            </tr>
          </table>
          </fieldset>
                  <br/>
            <fieldset class="fieldset">
            <legend>Affiliate Details</legend>
            <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
              <tr>
                <td> <li>Your site have to be online</li>
                  <li>Your site can not have any copyright and legal issues.</li>
                  </td>
              </tr>
            </table>
            </fieldset>
        </div>
                </div></tr>
    <tr>
      <td align="center" class="thead"><input name="submit" class="button" type="submit" value="Submit"></td>
    </tr>
  </table>
  </form>
<br />
$crn
<br />
$footer
</body>
</html>


LEAD_WEIGHT 05-30-2005 01:55 PM

I get this error on top of Affiliates page but the image appears and on the right of the image right after " Image: " a broken image link appears but after that the url image work.

Is image to big or is it something else.
I also get information not filled out properly.
I get email from others trying to share button links & this does not filled out properly.
I have to fill it out myself in admincp instead of just ok it.

Code:

Affiliate Image Button:
 Image: " / alt="Affiliate's Image Button">
Affiliate's Image Button.

This is code i entered
Code:

<A HREF="http://www.cosforums.com"><img src="http://www.cosforums.com/images/banners/cosforums_small.gif"></A>
Code:

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /affiliate.php on line 110

Warning: fsockopen(): unable to connect to www.cosforums.com"><img src="http:80 in /affiliate.php on line 110

link to site
Code:

http://www.theundergroundsource.com/
User Name : test
Password : test

LEAD_WEIGHT 05-31-2005 02:11 PM

Typo in green
----------------------------------
Open file: /admincp/index.php
----------------------------------
Find:
if (can_administer('canadminstyles'))
----------------------------------

Add above it:
Code:

$printhr = false;
        construct_nav_option("General Settings", 'affiliateadmin.php?do=settings', '<br />');
        construct_nav_option("Manage Affiliates", 'affiliateadmin.php?do=viewaffiliates', '<br />');
        construct_nav_option("Add An Affiliate", 'affiliateadmin.php?do=add', '<br />');
        construct_nav_option("Manage Affiliate Types/Categories", 'affiliateadmin.php?do=viewtypes', '<br />');
        construct_nav_option("Add Affiliate Type/Categorie", 'affiliateadmin.php?do=addtype', '<br />');
        construct_nav_group("Affiliates", '<hr />');


animehawk 06-09-2005 06:02 PM

Server Type Linux
Data Usage 21.29 MB
Web Server Apache v2.0.53
PHP 5.0.3
PHP Max Post Size 8M
PHP Memory Limit 8M
MySQL 4.1.10a
vB 3.0.7

thats my basic info. I just installed and get a blank page every time I open the affiliates.php page. I've gone over my AFFILIATE template and and all the other templates. I enabled the Affiliates page in the AdminCP. Any Idea's anyone?

*clicks install

DS MrSinister 06-16-2005 03:49 PM

can any one help me getting this hack to work with " . TABLE_PREFIX . "?

tomshawk 06-18-2005 06:54 PM

Hello,

The install went well, including the CMPS module, but I'm getting wierd errors when the links are clicked

http://www.tech-unity.com/forums/aff...listaffiliates

There are so many update text files in this thread I've gotten lost as to which ones do to.

Can someone help me out?

TTG 06-19-2005 12:53 AM

Installed on 3.0.6 with only one problem which is not a worry.
sql queries to add admin phrases failed :ermm:

Cafe Affiliates

clicked install .. great hack.

mawby 06-21-2005 11:02 AM

Can I assume this is no longer supported given the "Offical Support/Suggestion forum" no longer exists? I was just wondering if any work was being done to make this work on vb3.5?

tomshawk 06-21-2005 10:54 PM

This fixed it for me on vB 3.0.7

https://vborg.vbsupport.ru/showpost....&postcount=180

Excellent hack, thank you ;)

between worlds 06-26-2005 03:34 PM

Got it working.

Great hack!

Flow Fusion 06-26-2005 06:26 PM

Quote:

Originally Posted by LEAD_WEIGHT
Read my post u get it after? :nervous:


yup thanks.

DS MrSinister 06-27-2005 04:43 PM

I tried to install this hack a few times now. all i am getting is a blank page..

I am running vb3.0.7.. I also would like to know how to get this hack to work with prefix's?

csidlernet 07-20-2005 08:33 AM

Sweet thanks man this'll help lots!

Skyline_GT 08-06-2005 08:49 PM

I wonder where do members can get the image url to put on their site? Like the hit in system..

AN-net 08-07-2005 08:50 PM

Quote:

Originally Posted by Skyline_GT
I wonder where do members can get the image url to put on their site? Like the hit in system..

that is sent through an email to them.

xtreme-mobile 09-07-2005 05:33 PM

hello

am trying to install this now and has all gone to plan but im having trouble on the last query

im trying to add this query:
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_x_successfully', '<i>{1}\'s</i> has been updates!', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'deleted_affiliate_x_successfully', '<i>{1}</i> has been deleted!', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'deleted_affiliate_x_unsuccessfully', '<i>{1}</i> was not deleted due to your choice selection.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'inserted_affiliate_x_successfully', '<i>{1}</i> has been successfully added to the data base.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'inserted_affiliate_x_unsuccessfully', 'This affiliates could not be added to the database because you either did not enter an affiliate name or an affiliate url or an affiliate email.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_settings_successfully', 'Settings for Affiliates Addon Updated.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'updated_affiliate_type_successfully', '<i>{1}</i> was updated successfully.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'updated_affiliate_type_unsuccessfully', 'The type was <u>not</u> updated because the types name was left blank.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_type_unsuccessfully', 'This type/category was not added to the database due to the name of this type/category not being filled in.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_type_successfully', '<i>{1}</i> was added to the database successfully.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('0', 'approved_affiliate_x_successfully', '<i>{1}</i> has been approved successfully and an email has been dispatched to its admin\'s email.', '9000');

but it shows error saying table does not exist

my prefix is vb3_8 but dont know if or where i need to add that to make it work

can anyone help?

regards
dean

AN-net 09-07-2005 07:46 PM

Quote:

Originally Posted by xtreme-mobile
hello

am trying to install this now and has all gone to plan but im having trouble on the last query

im trying to add this query:
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_x_successfully', '<i>{1}\'s</i> has been updates!', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'deleted_affiliate_x_successfully', '<i>{1}</i> has been deleted!', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'deleted_affiliate_x_unsuccessfully', '<i>{1}</i> was not deleted due to your choice selection.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'inserted_affiliate_x_successfully', '<i>{1}</i> has been successfully added to the data base.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'inserted_affiliate_x_unsuccessfully', 'This affiliates could not be added to the database because you either did not enter an affiliate name or an affiliate url or an affiliate email.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_settings_successfully', 'Settings for Affiliates Addon Updated.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'updated_affiliate_type_successfully', '<i>{1}</i> was updated successfully.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'updated_affiliate_type_unsuccessfully', 'The type was <u>not</u> updated because the types name was left blank.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_type_unsuccessfully', 'This type/category was not added to the database due to the name of this type/category not being filled in.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('-1', 'saved_affiliate_type_successfully', '<i>{1}</i> was added to the database successfully.', '9000');
INSERT INTO phrase (languageid,varname,text,phrasetypeid) VALUES ('0', 'approved_affiliate_x_successfully', '<i>{1}</i> has been approved successfully and an email has been dispatched to its admin\'s email.', '9000');

but it shows error saying table does not exist

my prefix is vb3_8 but dont know if or where i need to add that to make it work

can anyone help?

regards
dean

put it before the word phrase in INSERT INTO

xtreme-mobile 09-07-2005 09:28 PM

works mate

thank you very much :D

great hack :D

Ericsson 09-08-2005 04:16 PM

How can I get it to show a random affiliate?

GamerPlanet 09-11-2005 10:09 AM

I have everything installed and no errors of any kind from where I can see. The problem I am having it in the AdminCP I check the areas to activate the addon, select the rest of my settings, and then when I save it, it shows that my information has been saved. (again no errors). However when the screen refreshes it shows the page if I had never made a selection at all. The addon also does not activate. In short it's not saving my selections. Any thoughts or ideas?

Thanks!

ManagerJosh 09-20-2005 05:25 AM

Just a quick inquiry...will we see this hack for vB3.5 :D

AN-net 09-20-2005 09:46 AM

its been ported by Danny_vbt

egoldregion 09-22-2005 01:10 AM

When I add new template(affiliate_list), the following error occurred:

Quote:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/egoldreg/public_html/forum/includes/adminfunctions_template.php(3098) : eval()'d code on line 97

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.
and When I run affiliate.php?do=listaffiliates, the following error occurred:
Quote:

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/egoldreg/public_html/forum/affiliate.php(358) : eval()'d code on line 97
How can I resolved the problems?
BTW: my forum version is VB 3.0.9

Paul M 09-24-2005 10:59 PM

Quote:

Originally Posted by AN-net
its been ported by Danny_vbt

Well I hope he took table prefixes into account then. I have installed this for someone tonight who uses them and had to edit ALL the queries because not one of them takes the use of table prefixes into account. :(


All times are GMT. The time now is 04:22 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.01679 seconds
  • Memory Usage 1,957KB
  • 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
  • (10)bbcode_code_printable
  • (6)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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