The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Description:
This hack will allow you to set the display order of clickable smilies (if you use them). It's good if you have a lot of smilies, and want the more commonly used to be shown in the box. Demo: Installation: 1. Run the following queries either in phpMyAdmin or thru Telnet: (one query at a time) Code:
ALTER TABLE smilie ADD showid SMALLINT not null ALTER TABLE smilie ADD INDEX (showid) UPDATE smilie SET showid=smilieid PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
JJR512 That's it! Feedback, requests and anything else is more than welcome. Good luck! Show Your Support
|
Comments |
#172
|
|||
|
|||
I just re-did this hack as I upgraded to 2.3.2 and it is working fine.
Attached is my version of it, which really only has a couple minor changes. If anybody wants to try it, go for it, and let me know if it works for you. |
#173
|
||||
|
||||
Futureal, thanks for providing the attachment. It appears my install went fine this time but when I try to update the order of the smilies it doesn't seem to work. Any ideas?
|
#174
|
|||
|
|||
Does it give you any sort of an error message or anything?
I just double-checked on mine and it works, using those same instructions. Try replacing your admin/smilie.php with a 100% fresh copy and make those same changes. Pay close attention to which lines are getting modified; there are a number of similar lines in there for the different actions. |
#175
|
||||
|
||||
Quote:
|
#176
|
|||
|
|||
Technically we're not allowed to send out vB source files, modified or otherwise. The only modifications I've made to it, though, are those I detailed in the text file. So once those are made, your file should be identical to mine.
It sounds like a step is being missed somewhere, so that when you click the update button, no query is being performed. Just a guess, though. |
#177
|
|||
|
|||
Futureal, thanks for posting the update to get this working in 2.32. I had installed the previous version and was able to update the order by manually changing the orderid in the database, but had not been able to get the interface to work in the Admin panel. I hadn't had a chance to look at it myself, and since I don't really need to reorganize the smilies very often, didn't feel very inclined to put much more effort into it since I'd already ordered them to my liking in my database. Then I just happened to buzz by here and saw that you'd redone it, so I tried again. Thank you so much!
|
#178
|
|||
|
|||
Hi Guys,
I just installed the hack, but I'm getting a Parse error and can't seem to figure out what's wrong here. Parse error: parse error in /home/mo001vma/www/home/admin/smilie.php on line 417 ---- // ###################### Start do order ##################### if ($HTTP_POST_VARS['action']=="doorder") { ++while (list($key,$val)=each($order)) { // - this is line 417 ++++$DB_site->query("UPDATE smilie SET showid='$val' WHERE smilieid='$key'"); ++} Thanks! |
#179
|
|||
|
|||
I installed the hack and noithing happened, although it said it was successful. I checked my smilies CP and it looks the same.
What did I do wrong? Thanks!!! -L |
#180
|
|||
|
|||
All worked well till I added more smiles thus a click for more link appears and when clicked an error page not found pops up... Its marked php but I run php3 where can I change the java script to read php3 instead of php?
THANKS in advance |
#181
|
|||
|
|||
Hi everyone....
Is this smiley display hack working for version 2.3.4?? Are there other similar hacks out there that definitely will work with 2.3.4? Thanks for the feedback, Khashyar |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|