Page 1 of 1

[Solved] Smilie Panel on Posting-page

PostPosted: Thu Aug 23, 2007 12:14 am
Author: Ezra
Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Basic Knowledge
Board URL:

PHP Version:
MySQL Version:


What was done before the problem appeared?
nothing


What was done to try to solve the problem?
nothing



De.scription and Message

I have not so much of a problem, but a question for you guys:

On the page where you can write your postings or pm's there's a smilie panel to the left of the message-body field with 4 x 5 (=20) smilies. How and where can I change which smilies are shown here? I want some of my smilies to appear here, instead of having to click the "View more Emoticons" link beneath those 20 smilies.

And, I have the same question regarding the message icons which are shown above the message-body field. How can I change those? Is this done in one of the template pages?

Thanks!!

Ezra

PostPosted: Sat Aug 25, 2007 8:37 am
Author: zenrei
i can answer the second part... to change the posting smilies, you go to:

ACP > General Admin > Post Icons

you can delete, add and reorder them, you can also make certain ones viewable to certain groups too

PostPosted: Sat Aug 25, 2007 9:49 am
Author: Ezra
"zenrei";p="28164" wrote:i can answer the second part... to change the posting smilies, you go to:

ACP > General Admin > Post Icons

you can delete, add and reorder them, you can also make certain ones viewable to certain groups too


Thanks Zenrei! I found what you said and changed the icons...

I also found the solution to the first part of my question. The ones that are shown are the first 20 smilies which you can also see in ACP>>General>>Smilies panel. I can't see a way to change the order there. So, if found a workaround:

I put al my smilies in a smilie-pack and exported the pack to my computer. I rearranged the lines in the .pak file, so that the first 20 lines are the smilies that I want to show on the postingpage. Then I imported the rearranged .pak file and all was fine!

Greetings,
Ezra

PostPosted: Mon Aug 27, 2007 6:00 am
Author: zenrei
that's genius! nice thinking <img>

Re: [Solved] Smilie Panel on Posting-page

PostPosted: Thu Sep 13, 2007 3:25 am
Author: AndyKoeln
Hello Ezra

I also have this problem.
Also on this side this problem exists.

It lies with the parameters which become a handed over.

In posting.php in line 199 3 parameters will hand over:

Code: Select all
else if ( $mode == 'smilies' ){         generate_smilies('window', PAGE_POSTING, 'message');         exit;}  


But in the /includes/functions_post.php line 1096 only 2 parameters are discussed.

Code: Select all
function generate_smilies($mode, $page_id){     global $db, $board_config, $template, $lang, $images, $theme, $phpEx, $phpbb_root_path;     global $user_ip, $session_length, $starttime;     global $userdata;.............


I think it must be due. Unfortunately, I still have no solution for this problem.

Please, excuse my bad English, I use an Online-Translater.

byebye
Andy

Re: [Solved] Smilie Panel on Posting-page

PostPosted: Thu Sep 13, 2007 3:43 am
Author: AndyKoeln
I believe the solution to have found.

Look please in /includes/functions_post.php line 1096

Code: Select all
function generate_smilies($mode, $page_id )


and substitute for this with:

Code: Select all
function generate_smilies($mode, $page_id, $who)