vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Smilie Category Hack (https://vborg.vbsupport.ru/showthread.php?t=65394)

msimplay 06-10-2004 04:52 PM

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

esnecca 06-10-2004 04:54 PM

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?

:confused:

Pseudomizer 06-10-2004 05:13 PM

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,

msimplay 06-10-2004 05:45 PM

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

esnecca 06-10-2004 05:57 PM

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.

Pseudomizer 06-10-2004 06:05 PM

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,

Pseudomizer 06-10-2004 06:16 PM

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,

esnecca 06-10-2004 06:28 PM

Bravo! Thank you so much, Pseudomizer. https://vborg.vbsupport.ru/external/2004/06/2.gif

msimplay 06-10-2004 06:35 PM

Thank you :)

zetetic 06-11-2004 06:37 PM

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:


All times are GMT. The time now is 09:23 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.01165 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_php_printable
  • (5)bbcode_quote_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