![]() |
Quote:
|
Hi UK Jimbo,
I tried the attached version. But I receive the below error... Parse error: parse error, unexpected $ in /home/induslad/public_html/forums/archive/index.php(254) : eval()'d code on line 18 Please could you help. Thanks, Induslady |
Sounds like you made a mistake when modifying the adsense code to add your publisher id, colors, etc. Uninstall, re-install, and look carefully at how the code is arranaged. (Using \ to escape ", etc)
|
Hello ConqSoft,
Thank you for your reply message. I unistalled, modified the xml product carefully and re-uploaded. It works fine now. Regards, Induslady |
what does "(Using \ to escape ", etc)" mean??
grrr. .. can someone just post an full example of the edited plugins? amy always has great hacks, but the WORST readmes. heh (no offense amy, but you are always skippy on your readmes for us stoooopid n00bs. :() anyway her's what I was trying EXACTLY: archive header Code:
$output.=" Code:
$output.=" what'd I do wrong? :confused: |
You missed a bunch of quotes. EVERY internal quote must have a \ in front of it.
OR change the external quotes to single quotes. The internal ones are the ones that are in the google code itself. The external ones are the ones in the first and last lines of the plugin code. I am leaving the mod with the escaped quotes version because many of us use alternative ads in addition too google and the other ad code uses single quotes. |
Quote:
|
Quote:
for reference: I just change first and last lines of code in each plugin from: $output.=" (to) $output.=' (and) "; (to) '; ......that's it!! :D :D *boy do I wish that was in the readme. (would saved a looot of time ;) hint hint nudge nudge. :p) only issue now is the site search isn't crawling the site AT ALL. (0 results :eek: ). anyone happen to know why? :/ |
I followed the instructions, read the whole thread, am using version 3.5.4, and only changed the URLs and AdSense customer code and I am still getting an error message
Quote:
|
Thanks, Rock-on.
|
All times are GMT. The time now is 05:05 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|