AutoDirector forum

support, advice, hints and tips

AutoDirector forum » hacks and mods » In over my head here :-(

In over my head here :-(

Page: 1

Author Post
Member
Registered: Jan 2012
Posts: 9
When I reference a photo link in a info = statement. such as
http://www.myhomeautophotos.com/photos/17/17878/17878_10011TB5_1.JPG

I get an XML Parsing Error because the link sees the "_" characters as <strong> and then </strong> as shown below.

http://www.myhomeautophotos.com/photos/17/17878/17878<strong>10011TB5</strong>1.JPG

I am not a php programmer, what can I do??
Administrator
Registered: Apr 2008
Posts: 293
Ahh, I think that looks like a bug within AutoDirector - it's actually in client/carlist.js rather than the PHP though. What I'd suggest is that you search for and remove this statement in the file:

this.info=reRepeat(this.info,/\_([^\|]+)\_/g,"{{strong}}$1{{/strong}}");

It'll stop you being able to use bold but the links will work. I'll look into a better fix, although it's quite a tricky problem...
_______________
AutoDirector administrator

Page: 1

AutoDirector forum » hacks and mods » In over my head here :-(

return to the main AutoDirector website