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)

Pseudomizer 05-21-2004 10:00 PM

Smilie Category Hack
 
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,

Pseudomizer 05-22-2004 09:51 AM

Hi,

here is a screenshot of this hack.

Enjoy it.

Cheers,

msimplay 05-22-2004 10:31 AM

[high]* msimplay clicks install
[/high]
absolutely fantastic and exactly how it should have been done in the first place :D

MindTrix 05-22-2004 11:21 AM

Just what i need and have been waiting for, THANK YOUU

MindTrix 05-22-2004 11:41 AM

tried and tested and works nicely

Pseudomizer 05-22-2004 12:06 PM

Quote:

Originally Posted by MindTrix
Just what i need and have been waiting for, THANK YOUU

I love it when i can satisfy some needs.

Cheers,

aloha 05-22-2004 04:08 PM

Nothing to do with this hack, but your linkme hack rocks...

Thanks for helping out some members!

Pseudomizer 05-22-2004 06:55 PM

Quote:

Originally Posted by aloha
Nothing to do with this hack, but your linkme hack rocks...

Thanks for helping out some members!

Glad you enjoy my work.

Cheers,

Dan 05-22-2004 07:02 PM

Quote:

Originally Posted by Pseudomizer
Hi,

here is a screenshot of this hack.

Enjoy it.

Cheers,

Nicely done :) Good work

EnriqueHavoc 05-22-2004 07:07 PM

nice! i think i will be installing this soon.

Do you know if theres a way to set permissions for what user groups get to use specific categories?

Pseudomizer 05-22-2004 09:28 PM

Quote:

Originally Posted by EnriqueHavoc
nice! i think i will be installing this soon.

Do you know if theres a way to set permissions for what user groups get to use specific categories?

Hi Enrique,

this could be implemented but smilies are publicly available in VB. So even if i would implement the onclick implementation per usergroup, people could just guess or ask how to create a smilie like :confidential: and then everyone could post this smilie without using the VB click smilie method. So it would not make sense to implement something like this. Sorry.

Cheers,

zetetic 05-23-2004 12:41 AM

Great hack, Pseudomizer! Thanks.

One thing: Where would I add padding so everything isn't pressed up against the sides of the box?

Pseudomizer 05-23-2004 01:34 AM

Quote:

Originally Posted by tmhall
Great hack, Pseudomizer! Thanks.

One thing: Where would I add padding so everything isn't pressed up against the sides of the box?

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,

zetetic 05-23-2004 02:55 AM

Excellent. Thanks. :)

Intex 05-23-2004 07:46 AM

Looks good Pseudomizer . I noticed you have a similar smiley hack. What's the difference between the two?

MindTrix 05-23-2004 08:51 AM

The first two sections in the drop down list dont show any smilies even though them catagorys have some, any ideas?

Pseudomizer 05-23-2004 09:31 AM

Quote:

Originally Posted by Intex
Looks good Pseudomizer . I noticed you have a similar smiley hack. What's the difference between the two?

Hi Intex,

the differences between these two hacks are:

- navigation menu like navbar for smilie hack
- no click-add function for smilie hack
- [IMG Tag for cut and paste into thread in smilie hack
- you don't have to define replacement words for the smilies in the smilie hack
- smilie hack is a total diffent page and totally independant of the VB smilies
- no database entries

- the smilie category hack uses the VB smilies
- drop down field for categories
- easy click and add function into thread

Cheers,

Pseudomizer 05-23-2004 09:53 AM

Quote:

Originally Posted by MindTrix
The first two sections in the drop down list dont show any smilies even though them catagorys have some, any ideas?

Hi MindTrix,

thanks for pointing this out. As it looks like as soon as a category name has a special character in the name like &,$, etc no smilies are showing up.

I will investigate why this is happening and i will fix this in the version. Until then please do not use any special characters in the name ( german umlaut work in the names *weird* ).

Sorry for this inconvenience.

Cheers,

Detomah 05-24-2004 11:46 AM

[high]* Detomah installs this superb and well needed hack. :)
[/high]

Thanks.

MindTrix 05-24-2004 04:31 PM

When in the first catagory you can click a smilie and it gets put in the post, however clicking smilies in other catagorys does not send them to the post, any fix?

Pseudomizer 05-24-2004 07:29 PM

Quote:

Originally Posted by MindTrix
When in the first catagory you can click a smilie and it gets put in the post, however clicking smilies in other catagorys does not send them to the post, any fix?

Hi MindTrix,

do we still talk about the same board ? I just tested it and it works for all smilies for all categories. The only problem that could occur here is the focus command. So if you have multiple new thread or answer thread windows open, then the vb script will not know where to put the smilies. But this is VB and nothing to do with this hack.

Please give some more details. Thanks.

Cheers,

MindTrix 05-24-2004 09:58 PM

Nope definetly not working now, and yes its the same board. Ummm i only have one window open, click MORE to show the smilies, choose a catagory, then if i place the mouse over a smilie it shows the mouse cursor turning into a hand like normal, but clicking it does not place the smilie in the post. :(

Pseudomizer 05-24-2004 10:15 PM

Quote:

Originally Posted by MindTrix
Nope definetly not working now, and yes its the same board. Ummm i only have one window open, click MORE to show the smilies, choose a catagory, then if i place the mouse over a smilie it shows the mouse cursor turning into a hand like normal, but clicking it does not place the smilie in the post. :(

This is very strange. I just went to your board and logged in with the guest account you gave me and tried it. It worked for all categories and i tried at least 5 smilies in each category. Which browser are you using ? Perhaps it's a browser problem ?

It works with my browser. Any other people on your board experiencing this problem ?

Cheers,

EnriqueHavoc 05-24-2004 10:47 PM

Quote:

Originally Posted by Pseudomizer
Hi Enrique,

this could be implemented but smilies are publicly available in VB. So even if i would implement the onclick implementation per usergroup, people could just guess or ask how to create a smilie like :confidential: and then everyone could post this smilie without using the VB click smilie method. So it would not make sense to implement something like this. Sorry.

Cheers,

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

MindTrix 05-24-2004 10:54 PM

im using up2date IE.

Other members are all havin the same proble, If you look onthe site, look in the announcment section about the smilies. You will see people talking about the problem there

Pseudomizer 05-25-2004 09:17 AM

Quote:

Originally Posted by MindTrix
im using up2date IE.

Other members are all havin the same proble, If you look onthe site, look in the announcment section about the smilies. You will see people talking about the problem there

Hi MindTrix,

i just checked again. I opened a reply thread clicked through some smilies. Changed the window, came back again, changed the category and i could always insert a smilie.

Then i posted these smilies in your specific thread and it worked.

Your problem is not reproduceable by me. If i do not get the same error i will not be able to find the problem to solve it.

I am using IE6 SP1.

Cheers,

MindTrix 05-25-2004 03:41 PM

Im using the same as you and it definetly is not working for me or other members now, seems very odd 2 me

Pseudomizer 05-25-2004 04:05 PM

Quote:

Originally Posted by MindTrix
Im using the same as you and it definetly is not working for me or other members now, seems very odd 2 me

Then we have to do it step by step. I would suggest the following:

- close all windows and open one window with your forum
- log in with the guest account you gave me
- reply on one post and try some smilies

This would be my first step. Perhaps it is dependant on usergroup rights or something like this.

If the smilies work, then we will have a deeper look into it why it behaves like this. If they do not work, then some of your clients ( including yourself ) have something diffent to my PC.

I will try it with my 2 other PC running Windows 2000 and XP.

I also tried it with Opera 7.03 and it works fine on your domain. The only problem with Opera is, that the smilies are added at the end of the text and not where the cursor is, but this is a know problem of the VB implementation.

Cheers,

MindTrix 05-25-2004 04:26 PM

Signed in as a guest account and it worked perfect, maybe its admins that cant use it right?

Pseudomizer 05-25-2004 07:06 PM

Quote:

Originally Posted by MindTrix
Signed in as a guest account and it worked perfect, maybe its admins that cant use it right?

That is very strange. I do not check for usergroups. It should work for all groups. Did it work before with all smilies for admins ?

Do anybody else not from your forum MindTrix experience this problem as well ?

Cheers,

esnecca 05-25-2004 08:21 PM

Quote:

Originally Posted by Pseudomizer
That is very strange. I do not check for usergroups. It should work for all groups. Did it work before with all smilies for admins ?

Do anybody else not from your forum MindTrix experience this problem as well ?

Cheers,

I'm an admin on my forum and I have MindTrix' problem as well. My co-admin does not have the problem and when I log in as test user I don't either. Very odd...

PS - Other than that little weirdness, I truly adore this hack. Thank you.

esnecca 05-25-2004 08:31 PM

Aha! It's the WYSIWYG editor causing the problem. When I change to the standard editor it works.

Pseudomizer 05-27-2004 12:53 AM

Quote:

Originally Posted by esnecca
Aha! It's the WYSIWYG editor causing the problem. When I change to the standard editor it works.

MindTrix ? Can you confirm that ?

Cheers,

MindTrix 05-28-2004 03:06 PM

Seems to be working with standard editor

Pseudomizer 05-28-2004 03:25 PM

Quote:

Originally Posted by MindTrix
Seems to be working with standard editor

Hi,

i tried it on my board and it works on both editors. Now the question remains, why does it not work on your boards for the non-standard editor ?

Cheers,

msimplay 05-28-2004 03:27 PM

well am sure it was working on both too untill i switched to internet explorer
i use mozilla on my own computer

Pseudomizer 05-28-2004 03:31 PM

Quote:

Originally Posted by msimplay
well am sure it was working on both too untill i switched to internet explorer
i use mozilla on my own computer

It works with my IE 6.0 SP1. What can we do to find this bug ? Any ideas ?

Cheers,

msimplay 05-28-2004 03:48 PM

okay just installed service pack one
and the more smilies on Internet explorer is working for both wyziwyg and
standard editor
cept ie seems to be a lot slower
than firebird at doing the job

Pseudomizer 05-28-2004 04:38 PM

Quote:

Originally Posted by msimplay
okay just installed service pack one
and the more smilies on Internet explorer is working for both wyziwyg and
standard editor
cept ie seems to be a lot slower
than firebird at doing the job

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,

tnguy3n 05-31-2004 01:55 AM

This may be a dumb question, but how to add a category in Admin CP? I couldn't find that option anywhere. thanks.


All times are GMT. The time now is 05:57 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.01397 seconds
  • Memory Usage 1,829KB
  • 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
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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