![]() |
MySmilies VB
Tested with vb 3.6.8
This hack puts the control of the smilies on the users. It lets any user (that you give permission to) upload or modify the smilies that he can use. These are not the smilies that vb uses, these are user-customized smilies. The smilies that you already have in place are preserved and are still used. But users may upload their own smilies for their use, and they are kept separate from the forum smilies. For users:
Installation instructions See the included readme.txt Info for hackers: You may modify, improve, upgrade, redistribute this hack, include it in another hack or yours or translate it provided you do it free of charge and you distribute it in www.vbulletin.org at least, there is no need to pm me asking for permission Some portions of the code are (c) Jelsoft Enterprises Ltd. |
Extra resources:
For spanish users, the translation of this hack: (upload it in the Language Manager) Spanish translation Instructions for making it work with vbShout 2.0 https://vborg.vbsupport.ru/showpost....4&postcount=54 Changelog 1.03 Upgrade instructions: upgrade the xml product at the admincp - Added support for MySmilies when previewing a post/thread (newpost/newthread) - Bug fix: a javascript problem, not on a blank installation but when used along with other hacks (ej. vbPager). Made them coexist. - Bug fix: When viewing a pm, your smilies were parsed, instead of the pm sender's smilies - Bug fix: In some WYSIWYG scenarios, a class="inlineimg" appears because of a double parsing. This was fixed. - Added a hint for adding compatibility for vbShout (check the Extra resources section) 1.02 Upgrade instructions: upgrade the xml product at the admincp - Bug fix: in the usercp navigation panel the link was showing with no background - Added an index.html to the mysmiliesvb directory for security 1.01 Upgrade instructions: reupload mysmiliesvb.php - Bug fix: If a * was found in the replacement text, it was incorrectly parsed - Added spanish translation in the zip 1.0 - First release Known bugs: None yet |
thank you. installed on 3.6.4
|
Great! :) Installed!
|
sounds cool - I will check it out later.
|
Thanks Nice Modification...
|
Muchas gracias hombre, muy bien hack =D
Saludos :p |
Very cool! Installed and we'll see how it goes.
|
It's mad, you think you have everything your vB needs and you log on and see a sweet ass hack such as this! Thanking you. :)
|
This is a great concept but it gives me a couple questions.
Can you add permissions for a per-user basis? When the user inputs a new keyword will all posts with that keyword use their smilie? or does the new smilie only show in the users posts? Is the new smilie parsed so it will not interfere with current keywords? (if not might I suggest AJAX to make this check on-the-fly? Are there restrictions on type of images? Can you add an option to limit file types? Are there instructions for adding the MySmilies dropdown for the Quick Reply box too? edit...I would like to recommend adding a blank index.html to the zip for the mysmiliesvb directory for security :) |
Quote:
Great mod. installed and voted MOTM! |
Quote:
Quote:
You can configure the hack in such way that every time a user adds a new smilie then the cache is cleared (and, all his posts are updated the next time someone views them), but this is somehow server intensive and is disabled by default. Please keep in mind that the smilie is only available for the user that uploaded it. Anyone else using that keyword will not get the smilie. When a user adds a smilie it is checked against his smilies (no duplicated keywords allowed) and against the forum smilies (cannot override forum smilies). Quote:
Quote:
Quote:
|
One little thing I've found:
In the usercp the background of the text in the left panel is black. The main user control panel page that is... With a white skin it's hard to see. Looks like it's missing some css code or something :) |
Hmm..... I've just installed this and I'm trying to upload a smiley to test .. getting the error Imageinfo Failed:
|
Quote:
This problem is not specific to this mod, but to imagemagick, I found the following thread that might help: http://www.vbulletin.com/forum/showthread.php?t=177800 |
I found the issue. VBulletin didn't like the image so I just resaved it. Thanks for the suggestion as it allowed me to find out what was going on :)
|
Quote:
|
BTW will it error out if someone else has already used the same replacement variable or image ?
|
Excellent work, Kentaurus!
Ver1.02 fixed the css problem. Great mod man |
Installed and working great, superb hack Kentaurus
Nominated also and clicked install, many thanks , my users will love this :cool: |
Quote:
when I write :santaclaus: in a post, it will be replaced with my image when the other user writes :santaclaus: in his post, it will be replaced with his image when any other user writes :santaclaus: in a post... it will be ignored because he doesn't have a smilie for that :) And the literal text, :santaclaus: will be displayed A single user cannot have two images for the same replacement text, tough, and that do error out |
Quote:
|
NM :) I just noticed it renames the image so there cannot be any sort of conflict.
|
Works 3.5 ???
Tks, C?dric :rolleyes: |
Its not working, I've uploaded a smilie and tried using it in the shoutbox (vbshout) but it didn't work!
|
it works but i get a javascript error in showthread, expecting string, identifier or number
|
If I want post, am possible I nothing more uses.
|
Works fine but the :smiley: codes are not working in the vbshoutbox. How to do that?
|
Very very cool, thank you for posting this.
I noticed that if you preview a post it does not show the MySmilies, but once you submit the thread it takes care of it. Not a big issue IMHO but it is a bit of a glitch. |
Works great! Thank you!
|
Quote:
They do not work in quotes Quote:
See what I mean here , posts 5 & 6 |
This sounds awesome! Thank you very much!
|
Really great idea. I click install. :)
|
Quote:
Depending on vbshout, it could be easy or difficult to add, I'd need to check it out. For this hack to work, I need to know what the user that published the post / pm, is, that is, the userid, since the smilies are private to him and are only parsed in his posts.... and since vbshout is not passing the information about who left the message.... that'd need to be added for the hack to work in vbshout too. |
Quote:
|
Quote:
But I see that a javascript could happen in quickreply (if you have smilies enabled there) or in newthread in the special scenario that your smilie has a ' in it.... |
Quote:
A quote is more generic, is not always a quote of a post from other user. A special parsing would be needed to consider the scenario. Since the smilies are user-based, two users can have the same keyword for different smilies, or they could have a completely different set of smilies, meaning that when I parse the quote... I'd need to parse it not with the smilies from the user that published the post, but with the smilies of the user that was quoted. This, at the very least, duplicates the work that needs to be done. The quotes, I'll leave it for a version 2 until I figure out an optimized way to do it. The error with the preview not showing the smilies will be fixed. |
This is unbelievable. I can't wait to test this out.
Nice looking mod!! :) |
Can someone help me with these ?
I Post New Thread but Smilies and work no longer. |
Thanks thats working good. In my forum many people said your smilies not good etc. and my problem resolve with this hack.
Sorry my English. |
All times are GMT. The time now is 12:21 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|