![]() |
No, this is not related to this add-on. Sounds like it's a problem with the 'Custom User Smileys' product you installed.
|
ahh, its no longer installed, it was removed with the upgrade, it must have left that file after the uninstall then.. great news as they have all been crying for there fav smilies back :D
thanks for clearing it up for me, i shall reinstall after work :) |
installed and working
|
Ok can you please tell what misc.php file do we edit for step 2. Where is it located as there are quite a few misc.php files.
Never mind, after checking three misc.php files I found it. And Im having an error now that its all installed.. I get the error when clicking the popup smilie box on the quick reply and in the user cp when trying clicking the link for the edit favorite smilies. But I dont get it when clicking the smilies on my signature box in the user cp or in the advanced reply. Parse error: parse error, unexpected ',' in /usr/local/psa/home/vhosts/sitename/httpdocs/forum/misc.php on line 77 Heres the section of that file: 'getsmilies' => array( 'smiliepopup', 'smiliepopup_category', 'smiliepopup_row', 'smiliepopup_smilie', 'smiliepopup_straggler' ), ############### FAVORITE SMILIES ################# 'editfavsmilies' => array( 'favoritesmilies', 'favoritesmilies_bit', 'favoritesmilies_bit_blank', 'favoritesmilies_row' ), ############### /FAVORITE SMILIES ################ ), 'showsmilies' => array( 'help_smilies', 'help_smilies_smilie', 'help_smilies_category', ) ); $actiontemplates['none'] =& $actiontemplates['showsmilies']; // allows proper template caching for the default action (showsmilies) if no valid action is specified if (!empty($_REQUEST['do']) AND !isset($actiontemplates["$_REQUEST[do]"])) { $actiontemplates["$_REQUEST[do]"] =& $actiontemplates['showsmilies']; } |
You have two closing parentheses... delete the line that I highlighted below:
'getsmilies' => array( 'smiliepopup', 'smiliepopup_category', 'smiliepopup_row', 'smiliepopup_smilie', 'smiliepopup_straggler' ), ############### FAVORITE SMILIES ################# 'editfavsmilies' => array( 'favoritesmilies', 'favoritesmilies_bit', 'favoritesmilies_bit_blank', 'favoritesmilies_row' ), ############### /FAVORITE SMILIES ################ ), 'showsmilies' => array( 'help_smilies', 'help_smilies_smilie', 'help_smilies_category', ) ); $actiontemplates['none'] =& $actiontemplates['showsmilies']; // allows proper template caching for the default action (showsmilies) if no valid action is specified if (!empty($_REQUEST['do']) AND !isset($actiontemplates["$_REQUEST[do]"])) { $actiontemplates["$_REQUEST[do]"] =& $actiontemplates['showsmilies']; } |
thank you. Works perfectly.
But I noticed the favorite smilies only show up in the tool box in the advanced post and the advanced post drop down, not in the quick reply drop down. Anyway to put them into the quick reply drop down too? |
Now my Users can choose them favorite Smilies.
I have so many Smilies in my Board, that everyone had to search long time to find his favorite ones. Thankies :D |
Wonder if you can help me
I Installed Catagory smilies. And would also like the Favorite smiley Heres my problem In template 'editor_smiliebox', find: Code:
title="<phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase>" Code:
<td class="smallfont" colspan="$vboptions[smcolumns]">[<a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(430, smiliewindow_y); return false" title="<phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase>">$vbphrase[more]</a>]</td> Code:
<td class="smallfont" colspan="$vboptions[smcolumns]">[<a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(430, smiliewindow_y); return false" title="<if condition="$vbulletin->userinfo['favsmilies']"><phrase 1="$favsmtotal" 2="$totalsmilies">$vbphrase[showing_x_favsmilies_of_y_total]</phrase><else /><phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase></if>">$vbphrase[more]</a>]</td> Never mind.... Guess it would work if I were to upload the 2 edited files.. Hehe... Well atleast you can use the above if somone has Catagory Smilies installed. Works great!! |
Great hack, thank you!!!
*installed* |
installed and working
thank you |
All times are GMT. The time now is 04:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|