Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Smilie Category Hack Details »»
Smilie Category Hack
Version: 1.00, by Pseudomizer Pseudomizer is offline
Developer Last Online: Feb 2010 Show Printable Version Email this Page

Version: 3.0.1 Rating:
Released: 05-21-2004 Last Update: 06-09-2004 Installs: 100
 
No support by the author.

Welcome to my first Release of

Smilie Category Hack or How-to-organize VB smilies in a nutshell

This small Hack helps you to organize your smilies in a better and easier way:

How does this work ?

You have to have to create multiple Smilie Categories with your ACP Smilie Manager. This hack will offer you a form select screen in your smilie popup window. So you can now easily choose from different categories.
The integration should take about 5 minutes and is very easy. But please remember that you need to have at least 2 categories created with your smiliemanager in your ACP.

Required actions:

- 1 template change
- 1 php file change

Please click on this install button or on the install button on the upper right corner if you wish to get support for this hack.

Update 1.01
Bug in the WYSIWYG editor fixed.

Enjoy it.

Cheers,

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #52  
Old 06-10-2004, 04:52 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MindTrix
I personaly think that problem is down to php versions maybe? on the forum i had it on when i got errors, they had an old php version, but on my own personal forum its up-2-date php and it works fine
hmm but his forum also doesn't work lol
even so it should work whatever php version there is
Reply With Quote
  #53  
Old 06-10-2004, 04:54 PM
esnecca esnecca is offline
 
Join Date: Apr 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Hi have enabled now everything that has to do with WYSIWYG. Please have a look now.

Cheers,
Thank you, Pseudomizer. The WYSIWYG editor causes the same problem on your site as it does on mine. Specifically, all the standard smilies in both the pull-down menu and the clickable sidebox insert normally; any of the smilies in the special categories will not insert when you click on them.

On the other hand, you can r-click, copy and paste all the ones in the nonstandard categories into a new post. Mystifying, is it not?

Reply With Quote
  #54  
Old 06-10-2004, 05:13 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi @LL,

i am totally confused now. Please let's try it step by step.

We do NOT talk about the quick reply box. We talk about the window that opens when you click on reply. A new window opens and you can write your posts in there. At the side you have some smilies and you can click on the "more smilies" link to open a new window.

I am confused because i do not see any difference with the WYSIWYG editor enabled. It looks the same as before. The same options, nothing new. And if i try to click a smilie, it works.

Please help me and tell me where you click and what buttons you are pushing to receive this error.

Thanks.

Cheers,
Reply With Quote
  #55  
Old 06-10-2004, 05:45 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Hi @LL,

i am totally confused now. Please let's try it step by step.

We do NOT talk about the quick reply box. We talk about the window that opens when you click on reply. A new window opens and you can write your posts in there. At the side you have some smilies and you can click on the "more smilies" link to open a new window.

I am confused because i do not see any difference with the WYSIWYG editor enabled. It looks the same as before. The same options, nothing new. And if i try to click a smilie, it works.

Please help me and tell me where you click and what buttons you are pushing to receive this error.

Thanks.

Cheers,
ok step by step
1st enable wyziwyg
2nd click new post somewhere on your forums
3rd open smilie popup window
4th change the catergory
5th click on a smilie in popup and see if it inserts


ps its not an error the smilie just doesn't insert is all
Reply With Quote
  #56  
Old 06-10-2004, 05:57 PM
esnecca esnecca is offline
 
Join Date: Apr 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Please help me and tell me where you click and what buttons you are pushing to receive this error.
Hi Pseudomizer,

These were my exact steps on your forum:
  1. Chose Enhanced Interface - Full WYSIWYG Editing in my user options
  2. Clicked New Thread in the Support forum
  3. Clicked on a smilie in the clickable smilie box to the right - it inserted into the post as normal
  4. Clicked on the More link
  5. Selected Special 1 and clicked Go
  6. Clicked on ":igitt:" smilie - it did not insert
  7. Clicked on ":armor:" smilie - it did not insert
  8. Right-clicked on ":igitt:" and clicked Copy
  9. Right-clicked in the new post and clicked Paste - smilie inserted
  10. Clicked on a smilie from the smilie drop-down menu on the bbcode toolbar to the right of the font color option - it inserted into the post as normal
  11. Clicked on the Show all Smilies link at the bottom of the menu
  12. Selected Special 2 and clicked Go
  13. Clicked on ":duschen:" smilie - it did not insert
  14. Clicked on ":bad:" smilie - it did not insert
  15. Right-clicked on ":duschen:" and clicked Copy
  16. Right-clicked in the new post and clicked Paste - smilie inserted

I hope this helps. Thanks again for all your hard work.
Reply With Quote
  #57  
Old 06-10-2004, 06:05 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ahh. Ok. Now i got ya. I did not had the WYSIWYG editor enabled. I thought by enabling it via the ACP it should work. Ok. Sorry for that.

But in addition that i can reproduce your error now, i get a javascript error that this object does not support this function. So it is a javascript error and not as mentioned before a PHP error.

I will try to find the error now and fix it.

Thanks for all your help so far. Long way but i think we are on the way to get it done.

Cheers,
Reply With Quote
  #58  
Old 06-10-2004, 06:16 PM
Pseudomizer's Avatar
Pseudomizer Pseudomizer is offline
 
Join Date: Mar 2002
Location: Germany
Posts: 614
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem FIXED:

Thanks for all the help. I have now found the problem which is causing this error.
Please do the following to correct this bug:

Open the misc.php and to go line 472 where it says:

PHP Code:
        $new_smilies .= "<input type=\"hidden\" name=\"wysiwyg\" value=\"0\">"
and replace this line with this line:

PHP Code:
        $new_smilies .= "<input type=\"hidden\" name=\"wysiwyg\" value=\"$wysiwyg\">"
Enjoy this hack.

Cheers,
Reply With Quote
  #59  
Old 06-10-2004, 06:28 PM
esnecca esnecca is offline
 
Join Date: Apr 2004
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bravo! Thank you so much, Pseudomizer.
Reply With Quote
  #60  
Old 06-10-2004, 06:35 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you
Reply With Quote
  #61  
Old 06-11-2004, 06:37 PM
zetetic's Avatar
zetetic zetetic is offline
 
Join Date: Apr 2004
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pseudomizer
Hi tmhall,

the complete table is defined through the smilie templates. Look in your ACP for the Smilie PopUp Templates. The bits are the smilies themselves and the category is the TR or head of the table. But if you know HTML then you will recognize it yourself.

Cheers,
Hi Pseudomizer,

I really can't figure this out. I just want some space (like 20 pixels) between the left edge of the popup box and the dropdown category field. Also, I'd like to be able to resize the pop-up box. I tried messing with smiliepopup and smiliepopup_category templates and nothing worked.

What am I missing here? :ermm:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:38 AM.


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.14349 seconds
  • Memory Usage 2,321KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete