Support Forums

external.php feed not displaying ads

This is a discussion on external.php feed not displaying ads within the Technical Support forums, part of the Technical Support Forums category; What version of 68 Classifieds are you running? V4.2.2. What template are you using? Custom Please describe in detail the ...


Go Back   68 Classifieds Forums > Technical Support Forums > Technical Support

Reply
 
Thread Tools Display Modes
Old 04-06-2011, 10:18 PM   #1
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 286
Rep Power: 13
EnergyFreak is on a distinguished road
Default external.php feed not displaying ads

What version of 68 Classifieds are you running?
V4.2.2.

What template are you using?
Custom

Please describe in detail the issue you are having:

I wanted to post this here before submitting a bug report because the problem might not be related to the file. Since the recent upgrade, my external.php is no longer displaying any ads. I noticed that the new version had an edited version of the external.php so it might be that.
EnergyFreak is offline   Reply With Quote
Old 04-06-2011, 10:42 PM   #2
Staff
 
Join Date: Mar 2006
Posts: 603
Rep Power: 36
Blair will become famous soon enough
Default

I just tried with the demo and everything seems to be in order.

Could you provide more details please? Is it possible the file you're using has been changed?
__________________
Blair
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
Blair is offline   Reply With Quote
Old 04-06-2011, 10:56 PM   #3
Customer
 
Join Date: Feb 2010
Location: Montreal, QC
Posts: 286
Rep Power: 13
EnergyFreak is on a distinguished road
Default

No I uploaded the new file provided with version v4.2.2. and did not modify the file. It just displays nothing and says "This feed contains no entries." and on internet explorer 9 it gives me a feed error. You can check it out, my site is in the signature.

Last edited by EnergyFreak; 04-07-2011 at 12:00 AM.
EnergyFreak is offline   Reply With Quote
Old 04-07-2011, 02:42 AM   #4
Staff
 
Join Date: Mar 2006
Location: New Jersey
Posts: 2,195
Rep Power: 70
John Snyder is a jewel in the rough
Default

Its because there are html entities in the title. Please add this to the bug tracker and I'll fix it in the morning.

In the mean time you can use CDATA tags:

PHP Code:
//line 98:
echo "\t<title>" htmlentities($title) . "</title>\r\n";
//line 101
echo "\t<description>" html_entity_decode($Core->settings['description']) . "</description>\r\n";
//line 138
echo "\t\t\t" '<title>' Filter::special_chars($listing['title']) . $seperator $price '</title>' "\r\n"
To see how to apply CDATA tags you can look in external.php line: 160

PHP Code:
echo "\t\t\t" "<description><![CDATA[" $imDescription "]]></description>" "\r\n"
__________________
John
68C Staff

68C Downloads | Report a Bug | Knowledge Base
If you have a current support subscription, you can Submit a Support Ticket
John Snyder is offline   Reply With Quote
Old 04-10-2011, 08:44 PM   #5
Customer
 
Abdulaziz's Avatar
 
Join Date: Sep 2008
Location: Kuwait
Posts: 61
Rep Power: 15
Abdulaziz is on a distinguished road
Default

PHP Code:
//line 98:
echo "\t<title>" htmlentities($title) . "</title>\r\n";
// replace it with 
//line 98:
echo "\t<title>" $title "</title>\r\n"

it's works with me
__________________
Developer 4.1.9
Abdulaziz is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Categories_Parent Not Displaying Totals nagrap2 Technical Support 1 02-13-2009 01:18 PM
Content Not Displaying tdisraeli Technical Support 16 01-14-2009 10:40 AM
Using external.php as RSS Feed- Damon Technical Support 2 03-14-2008 03:28 AM
Not displaying price Unregistered Pre Sales Questions 4 02-27-2007 02:39 PM


All times are GMT -4. The time now is 05:07 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0