vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Custom User Smileys (https://vborg.vbsupport.ru/showthread.php?t=115993)

Jafo232 05-17-2006 10:00 PM

Custom User Smileys
 
-----------------
- Brought To You By:
-
- MediaFlavor.com
-
- Custom VB Mods, Extensions, and Plugins

-----------------

As an administrator of a pretty busy forum, I get tired of users asking to add this smiley, or that smiley, so I wrote up this extension that allows users to upload their own smileys. Each user has a custom smiley set that they can choose from.

Users smilies are private, meaning everyone can see their smilies, but that smiley is only displayed in that users smiley set when they post/reply to an article.

The administrator can limit what groups can use custom smileys, and can define how many smilies users can have, their file size, and W X H restrictions.

ChangeLog:

May 18th, 2006 - Patched popup smilie hook for standard editor (advanced was fine)
May 21st, 2006 - Patched popup smilie hook to include phrases instead of static names. Modified readme slightly for smiliebits.

Installation

Installation is simple and there are NO source code edits.

Set it up, enjoy and

CLICK INSTALL!


This modification is FREE of charge, but if you wish to reward me for my work, and encourage future modifications by me, please donate below:

https://vborg.vbsupport.ru/external/2010/02/12.gif

wizardan 05-18-2006 05:09 PM

Installed!
At last, I can get some smilie addicts off my back:)

Jafo232 05-18-2006 05:11 PM

Quote:

Originally Posted by wizardan
Installed!
At last, I can get some smilie addicts off my back:)

Wizardan, please let me know how it works on your site. It seems to be working fine for me, but I have only tested it on two sites so far, so the pool is rather small.

wizardan 05-18-2006 05:28 PM

Tested all features.
100% functionality:)

I might change allowable size and number values in the admin CP and see how that goes.

Well done!

Suggestion...
Perhaps the 'custom' link in the smilie pop up could lead to only the user's custom smilies, as opposed to the regular smilie list followed by the user's custom list.

Jafo232 05-18-2006 05:33 PM

Quote:

Originally Posted by wizardan
Suggestion...
Perhaps the 'custom' link in the smilie pop up could lead to only the user's custom smilies, as opposed to the regular smilie list followed by the user's custom list.

I am considering that, it requires another template and I am a bit concerned about compatibility issues.

I am thinking though, you could put the custom smilies on top of the regular smilies by putting $usmiliebits above $smiliebits in the smiliepopup template.

wizardan 05-18-2006 05:44 PM

I'll give that a whirl!

*edit* Done.
Seems more functional that way.

Would really like a separate list, as suggested, if you determine it's doable.
My forums are very heavily hacked, with an extremelly customized style, and there was absolutely no problems installing this enhancement.

Atakan KOC 05-18-2006 05:46 PM

<font color="SeaGreen">Nice. Click install....</font>

VaaKo 05-18-2006 06:44 PM

does it work with vbshout?
I've installed it but nothing is happening in the shoutbox!
it's not evening working in normal posts! :\

Jafo232 05-18-2006 06:47 PM

Quote:

Originally Posted by VaaKo
does it work with vbshout?
I've installed it but nothing is happening in the shoutbox!

I have no idea about vbshout, I have never used it. From what I have seen from the vbshout thread, I doubt it.

wizardan 05-18-2006 06:48 PM

One bug to report...
There's is a problem, it turns out, with the uploaded being clickable.
They show up as a url in the post field now...

VaaKo 05-18-2006 06:49 PM

oh, so this is basically like the vbimage host
it wouldve been better if u made it more like the real smilies found in the admincp where each smilie has his own code and stuff not just an img url

VaaKo 05-18-2006 06:51 PM

Quote:

They show up as a url in the post field now...
exactly
I uploaded a smilie called: rudolph
I tried putting: "rudolph" and "rodolph:" in my posts but nothing happened
when I open the custom smilies and clicked on the smilie I uploaded it gave me the url

that's not nice

Jafo232 05-18-2006 06:54 PM

Quote:

Originally Posted by wizardan
One bug to report...
There's is a problem, it turns out, with the uploaded being clickable.
They show up as a url in the post field now...

I am not sure I understand what you mean? Showing up in the post field?

Jafo232 05-18-2006 06:57 PM

Quote:

Originally Posted by VaaKo
exactly
I uploaded a smilie called: rudolph
I tried putting: "rudolph" and "rodolph:" in my posts but nothing happened
when I open the custom smilies and clicked on the smilie I uploaded it gave me the url

that's not nice

I thought about that, and thought it would be rather CPU intensive having to load all the users smilie codes in a threadview, and parsing out individual codes.

VaaKo 05-18-2006 07:00 PM

Quote:

Originally Posted by Jafo232
I thought about that, and thought it would be rather CPU intensive having to load all the users smilie codes in a threadview, and parsing out individual codes.

I already have more than 500 smilies on my forums!
I mean it wouldn't make a different!
IMO the hack like that is kinda useless!
and it's more useless not to let other members have advantage of the uploaded smilies by anyone!

I mean, if a user uploaded a smilie, everyone should enjoy it!

Jafo232 05-18-2006 07:03 PM

Quote:

Originally Posted by VaaKo
I already have more than 500 smilies on my forums!
I mean it wouldn't make a different!
IMO the hack like that is kinda useless!
and it's more useless not to let other members have advantage of the uploaded smilies by anyone!

I mean, if a user uploaded a smilie, everyone should enjoy it!

Well, good for you, you can just click uninstall then. ;)

Works for me and my users prefer to have their own personal smilies.

wizardan 05-18-2006 07:11 PM

Quote:

Originally Posted by Jafo232
I am not sure I understand what you mean? Showing up in the post field?

http://img512.imageshack.us/img512/4...ile10fy.th.gif

clicking one of the above custom smilies results in this...
http://img178.imageshack.us/img178/9...ile20vm.th.gif

and once submitted, this...
http://img214.imageshack.us/img214/9...ile33zp.th.gif

Jafo232 05-18-2006 07:17 PM

Hmm, I am not getting that. I just show it insert the image right into the text editor:

wizardan 05-18-2006 07:19 PM

Oh well, I might have cheered too early, and it turns out I do have a code conflict somewhere. I'll recheck my install:)

Jafo232 05-18-2006 07:21 PM

Hmm, wondering what happens if you change the code back to put the custom smilies on the bottom again?

wizardan 05-18-2006 07:30 PM

Tried that.
Same result.
Not the first time relatively simple hacks give me headaches:p
I'll find the bug somehow!

lordofgun 05-18-2006 07:51 PM

What happens if one of your users names a smiley the same name as another smiley in the general smiley population?

Also, can anyone use that user's custom smiley or will it only work for that user?

Great addon!

Jafo232 05-18-2006 07:52 PM

Quote:

Originally Posted by wizardan
Tried that.
Same result.
Not the first time relatively simple hacks give me headaches:p
I'll find the bug somehow!

Let me know what you find. I would be very interested. I am thinking it is something template related, but not sure.

Jafo232 05-18-2006 07:53 PM

Quote:

Originally Posted by lordofgun
What happens if one of your users names a smiley the same name as another smiley in the general smiley population?

Also, can anyone use that user's custom smiley or will it only work for that user?

Great addon!

There will be no conflict if people use the same names.

Only the user can use the smiley. Of course, if someone really likes it, they can right click it, save as, and add it to their smiley. :)

yinyang 05-18-2006 08:14 PM

great hack. absolutely loving it.

Snake 05-18-2006 08:29 PM

Very nice indeed. I shall install it tonight.

palerider 05-18-2006 08:39 PM

Quote:

Originally Posted by wizardan

clicking one of the above custom smilies results in this...
[

Thanks for the hack, but I'm getting the same thing.

TTG 05-18-2006 09:09 PM

After uploading a custom smilie and clicking on it to add to a post, it simply creates a url .. click on the url and smilie appears in a new window !?

Jafo232 05-18-2006 10:05 PM

Which editor are you guys using when you get this and what version of VB are you using?

palerider 05-19-2006 02:11 AM

Standard editor

3.5.4

Jafo232 05-19-2006 02:13 AM

Ahh I see, this is only working for the advanced editor... I will see what I can do with it as far as standard editor..

Jafo232 05-19-2006 02:32 AM

Ok, fixed the issue with standard editors. You can apply the fix by following the directions in the 1.01.patch.txt, OR you can uninstall, and re-install the latest version.

The patch is much easier, and your users won't lose their smileys.

Current version as of this post: 1.01

palerider 05-19-2006 03:17 AM

Thanks. Works great now.

Jafo232 05-19-2006 03:50 AM

Quote:

Originally Posted by palerider
Thanks. Works great now.

Your welcome, let me know if you have any other further issues with it. :banana:

wizardan 05-19-2006 06:02 AM

Yep, works now:p
Thanks for the patch.

Jafo232 05-19-2006 12:38 PM

Quote:

Originally Posted by wizardan
Yep, works now:p
Thanks for the patch.

Great! I have never used the standard editor, always used the advanced editor. Minor oversight. :D

wizardan 05-19-2006 12:48 PM

Yep.
The smilie wars have already started on my forum!
Thanks again for the fix. I never would have thought of the editor being an issue.

Jafo232 05-19-2006 03:24 PM

Funny you mention that, same thing going on in my forum.

utw-Mephisto 05-19-2006 04:33 PM

Quote:

Originally Posted by Jafo232
Funny you mention that, same thing going on in my forum.

Same here, and funny to see smilies I have never even saw in my life :D

Nachtfalke 05-19-2006 08:06 PM

Seems to be something wrong. I have translated the phrases into german, but still the english phrase "Custom milies" show up in the smilie popup.
And I have a question, too. Is it possible, that if someone clicks on the "Custom" link, that only his own smilies appear in the popup?
Thanks 4 help!


All times are GMT. The time now is 07:47 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.01867 seconds
  • Memory Usage 1,818KB
  • 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
  • (15)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