vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   End-User Options - Favorite Smilies (https://vborg.vbsupport.ru/showthread.php?t=123116)

Darwinist 08-10-2006 01:26 AM

No, this is not related to this add-on. Sounds like it's a problem with the 'Custom User Smileys' product you installed.

GoNz00 08-10-2006 06:07 AM

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 :)

acegames 08-11-2006 10:20 AM

installed and working

Aislinn 08-14-2006 06:15 PM

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'];
}

Darwinist 08-14-2006 08:06 PM

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'];
}

Aislinn 08-15-2006 01:25 AM

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?

Muellmann 08-15-2006 12:26 PM

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

ComputerVitals 08-16-2006 01:18 AM

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>"
I dont have that. This is my line
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>
How would I change it to make them both work? This is what I did and it doesn't show the favorites
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>
Any way for this to work for me?


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!!

jw00dy 08-17-2006 01:45 AM

Great hack, thank you!!!

*installed*

jwaany 08-17-2006 01:17 PM

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
  • Page Generation 0.01276 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete