but it won't work. I have tried to load the link directly by removing the end from &thecondition on and I get a list of links so that part works, but trying to load the link as I have it above results in -
Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /html/portal/includes/templatefunctions.php on line 408
The reason I wanted this js export to work is so I could pull the information from the affiliate code field I had created onto another page. Unfortunately, instead of displaying the rendered html I'm getting the actual code.
For example: I've added the following export to my page
hai wrote: The reason I wanted this js export to work is so I could pull the information from the affiliate code field I had created onto another page. Unfortunately, instead of displaying the rendered html I'm getting the actual code.
Any suggestions?
Sounds like the problem I had with my html fields. I have mine working now, although there are still problems, which Paul says he has fixed, so just waiting for the next update now.
However, still on JavaScript export... I use an external .js generated using the javascript export in the admin for this same purpose. I've now got around to trying it in V.5 but instead of the banner displaying I just get {CATTINYBANNER}
updated to 5.0.4 now I don't get anything, loaded the script url directly and got the following debug -
An error occoured at highaspirations.com/portal/...inks&thecondition[1]=type='affiliate' on 2008-09-06 15:47:11. Please relay this data to support. Error #2: 'mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given' in /html/portal/databases/mysqli.php on line 42. Debug info: canviewownfulltrc`,`canviewallfulltrc` FROM wsn_membergroups
Load time so far: 0.17 seconds.
Query 5: SELECT `id`,`name`,`links`,`comments`,`time`,`usergroup`,`password`,`ip`,`totalhits`,`totalhitsin`,`email`,`validated`,`template`,`language`,`lastattempt`,`allowemail`,`signature`,`avatarname`,`stylesheet`,`allowuseremail`,`albumid`,`failedattempts`,`totalbytes`,`funds`,`notifyoflinks`,`lastvisit`,`timezone`,`rating`,`pmfolders`,`notifyofpms`,`acceptpms`,`cookieduration`,`banned`,`location`,`homepage`,`occupation`,`bio`,`aim`,`icq`,`msn`,`yahoo`,`inactive`,`timeonline`,`totalpms`,`buddies`,`ignored`,`isonline`,`acceptims`,`adminpermissions`,`referrer`,`groupreverttime`,`grouprevertto`,`moderationpm`,`secondarygroups`,`linksperpage`,`commentsperpage`,`shouts`,`customtitle`,`shoutban`,`topicbans`,`forumbans`,`visibility`,`birthdate`,`lastsession`,`interests`,`posteditor`,`forumaccess`,`pmpopup`,`pmnotify`,`modnotes`,`guestnotes`,`salt`,`lastmodnote`,`newpms`,`imflag`,`orderalbums`,`lastguestnote`,`autosubscribe`,`notifymethod`,`showavatars`,`showsigs`,`warninglevel`,`topics`,`posts`,`chatcolor`,`traderrating`,`invitessent`,`validatedemail`,`calsub`,`macros`,`guestnotify`,`keychecktime`,`notifykeywords`,`autosubscribepost`,`blogrss`,`positivepct`,`notifytrader`,`inactiveemail` FROM wsn_members WHERE id = '1' AND validated = 1
Load time so far: 0.19 seconds.
Query 6: SELECT `id`,`to`,`subject`,`message`,`headers`,`replacement`,`mime` FROM wsn_email WHERE timesent=0 AND inprogress=0 ORDER BY id ASC LIMIT 0,10
Load time so far: 0.29 seconds.
Number of rows is 0
Query 7: SELECT `` FROM rtable WHERE 1=1 AND (r) ORDER BY title ASC LIMIT 0,r
Load time so far: 0.36 seconds.
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 'r' at line 1
Comments on javascript export
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
I have followed the instructions in the manual regarding javascript exports - scripts.webmastersite.net/w.../javascript-export-76.html but seem to be having some trouble.
I want a list of only 1 type of link. If I understand correctly the link should be:
but it won't work. I have tried to load the link directly by removing the end from &thecondition on and I get a list of links so that part works, but trying to load the link as I have it above results in -
Fatal error: Cannot use assign-op operators with overloaded objects nor string offsets in /html/portal/includes/templatefunctions.php on line 408
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
You forgot the array index for thecondition. After that there's an error relating to the quotations though, I'll have to add a stripslashes.
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
You forgot the array index for thecondition.
Can you please give an example of how the link should look? Thanks.
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
thecondition= ---> thecondition[1]=
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
The reason I wanted this js export to work is so I could pull the information from the affiliate code field I had created onto another page. Unfortunately, instead of displaying the rendered html I'm getting the actual code.
For example:
I've added the following export to my page
instead of getting a banner which clicks to the affiliate I get -
Any suggestions?
Expert
Usergroup: Customer
Joined: Aug 19, 2005
Location: England
Total Topics: 391
Total Comments: 1303
The reason I wanted this js export to work is so I could pull the information from the affiliate code field I had created onto another page. Unfortunately, instead of displaying the rendered html I'm getting the actual code.
Any suggestions?
Sounds like the problem I had with my html fields. I have mine working now, although there are still problems, which Paul says he has fixed, so just waiting for the next update now.
However, still on JavaScript export... I use an external .js generated using the javascript export in the admin for this same purpose. I've now got around to trying it in V.5 but instead of the banner displaying I just get {CATTINYBANNER}
http://www.123club.co.uk/
My script to generate the toplist is:
exp_tinybanner|categories,rand(),5,ascending,tinybanner !='',,,0,0,0,0,0,0,,0
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
updated to 5.0.4 now I don't get anything, loaded the script url directly and got the following debug -
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Fixed the fix for 5.0.5 (sigh). Working for me at the moment.
Forum Regular
Usergroup: Customer
Joined: Apr 03, 2007
Location: NY & PA
Total Topics: 94
Total Comments: 339
This works perfectly now. Thank you.