No smileys on edit

Discussions about the phpBB3 Forum. How to get the best from this powerful script.
Note that there is no official support for phpBB3 here, a place to share more than to ask for.

Moderator: Moderators

No smileys on edit

Postby davey579 » Thu Jun 25, 2009 4:09 pm

When a user on my forum edits his/her post or quotes someone, all the smileys are gone. I have this problem a pretty long time, but i can't find anything on the internet. How can i solve this?
davey579
 
Posts: 5
Joined: Thu Jun 25, 2009 2:29 pm

Advertisement

Re: No smileys on edit

Postby dcz » Fri Jun 26, 2009 8:07 am

It may just be an authorisation / setting matter, please make sure about this.
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21325
Joined: Fri Apr 28, 2006 9:03 pm

Re: No smileys on edit

Postby davey579 » Fri Jun 26, 2009 8:19 am

After digging in phpbb's functions i found a solution.

In /includes/functions.php, function get_preg_expression():

I replaced
"#<!\-\- s(.*?) \-\-><img src="\{SMILIES_PATH\}\/.*? \/><!\-\- s\1 \-\->#"
by
"#<!\-\- s(.*?) \-\-><img src=\"(.*?)\".*?\/><!\-\- s\1 \-\->#"

This works okay now. Is seems that it can't find the right smiley-path?
davey579
 
Posts: 5
Joined: Thu Jun 25, 2009 2:29 pm

Re: No smileys on edit

Postby dcz » Sun Jun 28, 2009 11:08 am

It's not normal, make sure you have the proper SMILIES_PATH code in your page_header() function in includes/functions.php.
Could as well be a matter of wrong config for smiley path in acp.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21325
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 13 guests