$Id: CHANGELOG.txt,v 1.173.2.3 2007/01/29 21:51:53 drumm Exp $
$Id: ed_classified.module,v 1.1.4.22 2007/03/01 18:39:02 inactivist Exp $

Not logged in I see this:

Marketing Internship
Submitted by tarvid on Wed, 2007/04/04 - 01:15.

* office

n/a

expires on Fri, 2007/05/04 - 01:15 (4 weeks 1 day)
»

* Login or register to post comments

Logged in I see this:

Home » Classified Ads » Jobs » office
Marketing Internship

* View
* Edit
* Track

Submitted by tarvid on Tue, 2007/04/03 - 20:15.

* office

The Mental Health America Resource Development department offers interns the opportunity to support various marketing efforts through prospect identification for cause-related marketing campaigns. Also responsible for maintaining contact database, assist with planning special events, tracking department functions and outreach efforts, brainstorm creative partnership strategies, and work across all MHA programs and departments to seek funding to support our vital mission. Only creative, organized and ambitious individuals need apply. If interested, please apply via e-mail (interns@mentalhealthamerica.net).

expires on Thu, 2007/05/03 - 20:15 (4 weeks 1 day)

Comments

tarvid’s picture

mcurry’s picture

I tried creating an account so I can see the problem, but the account is pending approval (unblocking)

mcurry’s picture

Title: Anonymous user sees "n/a" » Anonymous user sees "n/a" - incorrect use of check_markup() when viewing ads
Assigned: Unassigned » mcurry
Priority: Normal » Critical

Ok, I think I know what's going on. You have selected an input filter that the guest user is not allowed to access. check_markup() is not being used correctly in ed_classified in a few places.

Patch forthcoming

mcurry’s picture

Component: User interface » Code
mcurry’s picture

Status: Active » Fixed

Ok, I've checked in a proposed fix.
You can manually install this version of ed_classified.module, and let me know if it fixes the problem.

PLEASE NOTE: always check for the latest official release build for your drupal version, if it's newer than the date of this posting, do not use the item linked below!

http://cvs.drupal.org/viewcvs/*checkout*/drupal/contributions/modules/ed...

tarvid’s picture

the cvs version generates error on ed_classified_notification.inc

your analysis is correct. if the ad creator uses filtered html instead of full html the body is viewable.

Thanks for the help

mcurry’s picture

the cvs version generates error on ed_classified_notification.inc

Hm... sorry about that. The easiest way to get the correct stuff is is to grab the latest CVS/dev branch:

http://ftp.osuosl.org/pub/drupal/files/projects/ed_classified-5.x-1.x-de...

Then drop in the latest ed_classified.module listed in my prior comment.
Or, you can wait till tonight's nightly build (whenever that happens.)

Anonymous’s picture

Status: Fixed » Closed (fixed)
mcurry’s picture

Assigned: mcurry » Unassigned