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)

tnguy3n 05-31-2004 01:56 AM

never mind! found it! lol :D

msimplay 05-31-2004 01:03 PM

Quote:

Originally Posted by Pseudomizer
If i got you right: It did not work with IE 6.0 but it works now with IE 6.0 SP1 ? I think that MindTrix had already IE 6.0 SP1 installed. Could you please check your current version MindTrix ?

Thanks for posting this information msimplay. This helps a lot. *thumbs up*

Cheers,

sorry about this i checked again and it seems that the first catergory works with the wyziwyg editor but the other catergories do not

Pseudomizer 05-31-2004 01:45 PM

Quote:

Originally Posted by msimplay
sorry about this i checked again and it seems that the first catergory works with the wyziwyg editor but the other catergories do not

Then it looks like that some parameters are given to the first page which i did not pass to the other subpages. I just checked and i could not find it. Any idea which parameter this could be ? The wyziwyg editor seems to use more hidden params.

Any help is welcome to find this bug.

Cheers,

esnecca 06-09-2004 11:27 PM

I played around a little more in the WYSIWIG settings and found that if I removed the clickable box and changed WYSIWYG Smilie Menu Total Smilies from the original 15 to the total number of smilies, then I could pick one from any category. The problem is that I have almost 1000 smilies (which is why I needed the category hack in the first place) and setting the menu total to 1000 makes the postbit load at a snail's pace.

So it's obviously not even close to a solution, but hopefully this experiment might you a better idea of how to procede towards a fix. I truly love this hack, Pseudomizer, and I very much hope you can pinpoint the problem. Until then, I'd far rather have my categories than the WYSIWYG editor. :)

Pseudomizer 06-10-2004 01:44 AM

Quote:

Originally Posted by esnecca
I played around a little more in the WYSIWIG settings and found that if I removed the clickable box and changed WYSIWYG Smilie Menu Total Smilies from the original 15 to the total number of smilies, then I could pick one from any category. The problem is that I have almost 1000 smilies (which is why I needed the category hack in the first place) and setting the menu total to 1000 makes the postbit load at a snail's pace.

So it's obviously not even close to a solution, but hopefully this experiment might you a better idea of how to procede towards a fix. I truly love this hack, Pseudomizer, and I very much hope you can pinpoint the problem. Until then, I'd far rather have my categories than the WYSIWYG editor. :)

Hi,

this is really weird. If i could reproduce this problem, i would sit down and try to find the problem. But if i can not reproduce the problem, i can't do anything. It works on my board without any problems with the normal mode and the enhanced mode.

Could someone of you where it is not working try it out on my board please ? Go to http://www.LoveTalks.de and login with "vbulletin" password "smilies". Go into the LoveTalks Support Subforum and create a thread and try the smilies.

If it does not work on my domain, then it has to do something with your browser. If it does work on my domain, then it has to do something with your server. I have no better idea how to find out what is causing this problem.

So any feedback would be appreciated.

Cheers,

msimplay 06-10-2004 08:15 AM

Quote:

Originally Posted by Pseudomizer
Hi,

this is really weird. If i could reproduce this problem, i would sit down and try to find the problem. But if i can not reproduce the problem, i can't do anything. It works on my board without any problems with the normal mode and the enhanced mode.

Could someone of you where it is not working try it out on my board please ? Go to http://www.LoveTalks.de and login with "vbulletin" password "smilies". Go into the LoveTalks Support Subforum and create a thread and try the smilies.

If it does not work on my domain, then it has to do something with your browser. If it does work on my domain, then it has to do something with your server. I have no better idea how to find out what is causing this problem.

So any feedback would be appreciated.

Cheers,

um wyziwyg editor is not switched on at your forums

esnecca 06-10-2004 10:50 AM

Hi Pseudomizer,

msimplay is right, I think. You probably have "Enable Standard Controls" set in the Message Posting Interface Options instead of "Enable Standard & WYSIWYG Controls". If you change that then we can try to recreate the problem with the test account.

Pseudomizer 06-10-2004 04:22 PM

Quote:

Originally Posted by esnecca
Hi Pseudomizer,

msimplay is right, I think. You probably have "Enable Standard Controls" set in the Message Posting Interface Options instead of "Enable Standard & WYSIWYG Controls". If you change that then we can try to recreate the problem with the test account.

Hi have enabled now everything that has to do with WYSIWYG. Please have a look now.

Cheers,

msimplay 06-10-2004 04:49 PM

Quote:

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

Cheers,

same problem on your forums

the first catergory on the wyziwyg popup works fine
but if you change it to any other one it stops inserting the smiley

MindTrix 06-10-2004 04:50 PM

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

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:

Pseudomizer 06-11-2004 06:50 PM

Quote:

Originally Posted by tmhall
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:

Hi tmhall,

you can define the size and location of the pop-up window in the "editor_clientscript" template.

And if you wish to create more space then add HTML code in this line:

PHP Code:

$new_smilies .= "<form name=\"smilieform\" action=\"misc.php\">"

You add your code before the < FORM but after the ".

Cheers,

zetetic 06-11-2004 07:00 PM

Cool, thanks. :)

Pseudomizer 06-11-2004 07:24 PM

Quote:

Originally Posted by tmhall
Cool, thanks. :)

You're welcome.

Cheers,

egyptsons 06-13-2004 01:10 PM

great that is the best

thank you too msimplay

M.C. 06-14-2004 08:35 PM

[high]* M.C. gonna to install ;)[/high]

PKRWUD 08-19-2004 09:55 AM

Spectacular hack! Thank you sooooooo much!

wolfman 08-21-2004 12:10 AM

Man this is what I have been looking for.

Ghanem 10-26-2004 09:49 AM

Hi,


cool hack

I need to do somthing but id not figure how

I need to make the smilies popup window show only one column insted of 2
how can I do it..

thx in advance

TwinsForMe 11-09-2004 06:40 PM

Quote:

Originally Posted by EnriqueHavoc
hmm i understand.. :( i guess ill have to figure out how to do it with conditionals. for my board im not really worried about people finding ways to circumvent it but i wanted to let certain usergroups be able to choose explicit or bad taste smilies in private forums that my public users/clients wouldnt see

I would like this feature too.

GenSec 11-12-2004 09:50 AM

The smaller hack - the better one :up:
Thanks!

Pseudomizer 11-14-2004 06:39 AM

Quote:

Originally Posted by EnriqueHavoc
hmm i understand.. i guess ill have to figure out how to do it with conditionals. for my board im not really worried about people finding ways to circumvent it but i wanted to let certain usergroups be able to choose explicit or bad taste smilies in private forums that my public users/clients wouldnt see.

Even if you go with conditionals this would not be a solution. If someone knows the URL of your smilie, he will be able to use it.

The only way to prevent specific users from using specific smilies would be a .htaccess solution combined with queries to your database.

This would be a performance impact and very difficult to be implemented.

I would not recommend requesting this feature.

Cheers,

Ghanem 11-14-2004 06:48 PM

Quote:

Originally Posted by unicorn
Hi,
I need to make the smilies popup window show only one column insted of 2
how can I do it..

Plzz :ermm:

Pseudomizer 11-14-2004 06:54 PM

Quote:

Originally Posted by unicorn
Plzz :ermm:

Then edit the template.

Cheers,

Ghanem 11-14-2004 08:17 PM

Quote:

Originally Posted by Pseudomizer
Then edit the template.

Cheers,

If I know which or how I would not ask :rolleyes:

TwinsForMe 11-25-2004 03:56 PM

*clicks install* :)

Diva 12-29-2004 04:13 AM

I just wanted to thank you for this hack. It's a wonderful addition and works perfectly! The members love it. :D

Pseudomizer 12-29-2004 04:46 AM

Quote:

Originally Posted by Diva
I just wanted to thank you for this hack. It's a wonderful addition and works perfectly! The members love it. :D

Yes. I needed it for my over 1000 smilies. Now we have to figure out 1000 expressions, one for each smilie. :rolleyes: Let's see how many we will integrate with this hack.

But i am glad you like it. :)

Cheers,

Diva 01-03-2005 08:25 AM

I love it! I do have a problem though that I am hoping you can help me with. I use VBIndex and my smilies won't show on the front page shoutbox unless the full path is written. If I do that then my all my smilies are starting to show up in the "Add Smilie" section. I did not see this issue before, but I cannot be sure that it is because of the hack. Do you have any suggestions? Any and all help would be much appreciated! :D

Pseudomizer 01-03-2005 08:42 AM

Quote:

Originally Posted by Diva
I love it! I do have a problem though that I am hoping you can help me with. I use VBIndex and my smilies won't show on the front page shoutbox unless the full path is written. If I do that then my all my smilies are starting to show up in the "Add Smilie" section. I did not see this issue before, but I cannot be sure that it is because of the hack. Do you have any suggestions? Any and all help would be much appreciated! :D

Hi Diva,

did you replace the URL of each smilies with the http full link? I had to do this for my board and for my portal. But this should be independant of this smilie hack.

Cheers,

Diva 01-03-2005 08:51 AM

I did. Now I have them in the categories with the full url and as new smilies with just images/smilies. For some reason It's reading them twice because of the url.


All times are GMT. The time now is 11:30 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.01852 seconds
  • Memory Usage 1,851KB
  • 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_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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