![]() |
Smilies in QR and QE
I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.
/*=============================================*\ || Smilies in QR and QE || || Author : Anton Kanevsky || Works on : vBulletin 3.5.x - 3.8.x || Released : Jun 05, 2009 || || Time required to install: ~30 seconds || Difficulty: easy \*=============================================*/ DESCRIPTION Displays standard vBulletin smilies in quick reply and quick edit, which are not there by default. STATISTICS Products to Install: 1 VERSION HISTORY 1.1.0 [+] The modification is now compatible with vBulletin 3.5.x - 3.8.x. [+] Eliminated all template edits. 1.0.3 [+] The modification is now compatible with vBulletin 3.6. 1.0.2 [+] The dropdown has been added to the quick edit form. [+] The hack is now free of code modifications. 1.0.1 [F] Templates are now cached, 4 queries saved. 1.0.0 Initial Release The installation manual is contained within the attached file. IF YOU LIKE MY HACK, PLEASE CLICK INSTALL |
Phew, at last thanks
Anyway, 2 things What does the .css in the zip do? I'm using vbadvanced gallery ... the smileys don't show up in the qr box on that. (the link does but there is nothing in it) |
Quote:
Quote:
|
Did it in under three minutes and works like a charm.
A god you are! *clicked install* |
Quote:
ie html_docs/forum html_docs/gallery So I might just need to find the file that works the smiley popup in the forum root and copy it to the gallery root (maybe, maybe not. I'm no coder) |
Thanks, I was looking for this.
|
For some reason after install, the templates aren't getting cached, this has added 5 extra queries to every thread :
Uncached templates: editor_smilie (15) Uncached templates: editor_smiliebox (1) Uncached templates: editor_smiliebox_row (5) Uncached templates: newpost_disablesmiliesoption (1) how can I resolve this? Thanks :) |
thank you.
|
Quote:
|
Quote:
I get this also, i think its because they have not been included in the global.php file. |
Any update on a fix? I had to uninstall because of the extra load it was putting on my server.
|
Quote:
|
Great news buddy. :)
|
Updated. Cache is now being utilitized.
To upgrade, just upload the new plugin XML (there was no plugins in prev. version). |
sweet, thanks.
|
Bingo! Was waiting for this... thanks.
|
nice :D
|
editor_toolbar_start
PHP Code:
Chris |
I am not sure that this code will not interefere with vbulletin functioning...
vbulletin doesn't just use "qr" for nothing. You may not know what other things are to be enabled when the editor is not "qr", at least not for future versions... But I'll look at your suggestion, thx. ;) |
Hence why I had the code check if $smiliebox was empty ;)
Chris |
I performed a thorough search through vbulletin files to see where $smiliebox gets defined, but I only found out that it gets defined in that function AFTER the hook... so I don't really get the idea :(
|
I think I have a better solution ;) Check back tomorrow, and if it comes out well, the hack will have no code mods.
|
Hmm ...
editor_toolbar_start PHP Code:
$editor_type doesn't seem to be needed after that Hook - except for the smilies check. So setting it to smth. else should bypass the if and not cause any side effects. |
Quote:
Chris |
Any screen shots involved here?? lol can some one please post me a screen shot on how it looks on properly before i download / install??
|
RELEASE v1.0.2
[+] The dropdown has been added to the quick edit form. [+] The hack is now free of code modifications. TO UPGRADE: 1. Uninstall the old plugin via plugin manager. 2. Install the new product via product manager. 3. Perform the second template modification for postbit_quickedit. 4. Undo the code edit from the previous version. Quote:
|
Are there any upgrade instructions?
|
Yes, sorry.
TO UPGRADE: 1. Uninstall the old plugin via plugin manager. 2. Install the new product via product manager. 3. Perform the second template modification for postbit_quickedit. 4. Undo the code edit from the previous version. |
Thanks ... what about the code edit? Should that be removed too or is that ok?
EDIT .... Ah you edited it ... I look like a plum now :o |
Although it doesn't matter in this particular case, the answer is YES. You should undo the code edit.
Also, if you downloaded the archive before this post, download it again. A minor error in XML has been fixed. ;) |
Quote:
|
Is anyone else using this hack also using vbadvanced gallery?
If so I'm still having trouble trying to get the smileys to appear in the dropdown box when commenting on a picture. If anyone has a solution I would be a very grateful man |
Definitely very cool! Thanks!
|
Thanks for the second update! :D
|
excelent product thank you very much
|
Yay! Finally... I've been waiting forever for someone to do this. HOTM!
* acidburn0520 vigorously clicks Install |
am installing for sure - cheers
|
How could this be amended to show a random selection of, say, 15 smilies, rather than just the first 15?
I realise that might involve a code edit but I don't care. :D Would it just be a matter of amending the same code that generates the smilies in the main message window, which would be fine as I want those random too? |
Yes, it is the same code.
|
It doesnt seem to work with v3.50 RC3 :(
|
All times are GMT. The time now is 04:49 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:
|