Remove Message Icons

Started by Marcus Forsberg, May 12, 2008, 03:25:42 PM

Previous topic - Next topic

Marcus Forsberg



Remove Message Icons 1.0
By Nascar



Error
Bic errors has occured in this mod. It has  been removed until this is fixed.

Apllicmz




Marcus Forsberg


yago101

hi!!

I followed your tutorial step by step and message icons are not showng anymore. But I'm receiving this error:

8: Undefined index: icon
Archivo: /web/htdocs/www.***.com/home/smf/Sources/Post.php
Line: 1550

I don't know what to change to fix this error

cheers

Marcus Forsberg

Post.php?
Wonder why there's errors in that :S
Could you attach Post.php?

yago101

Don't know... :s

here it goes

BTW... icons still showing on unread topics page

Marcus Forsberg

Oh, most have forgot that page, will fix that in the future.
I'll have a look at your file.

Marcus Forsberg

Hmm... Tried remove the

'icon' => preg_replace('~[\./\\\\*\':"<>]~', '', $_POST['icon']),

Let's hope it works now. :P

yago101

it seems to work removing that line, though 'icon' appears in more lines. I don't receive any errors :)

I solved the problem on unread topics page editing Recent.template.php; it was easy to figure out.

thanks a lot ;)

Marcus Forsberg

No problem.

In next verision I'llinclude edits for all other places.

Advertisement: