The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Details »» | |||||||||||||||||||||||||
Soooo...
First of all, I must admit I'm a PHP-newbie...and the installation of this hack is REALLY tricky, but the results are OK, and I think it's worth while Here's my hack. It creates a link just under the usual smilies panel and allows to have a huge amount of smilies, and to order them in folders. 1. Pre-Requisites You must have this two hacks installed: https://vborg.vbsupport.ru/showthrea...threadid=24033 https://vborg.vbsupport.ru/showthrea...threadid=25888 2. Description of Files in .ZIP smiliepanel.php - To copy in your root dir. vbcode.js.txt - A few lines to ADD at bottom of your vbcode.js blanksmile.gif - A "fake" smile to add in your /images/smilies dir adv_smilie_*.txt - The templates you have to create vbcode_smilies_getmore - The template as I have on my vbull. 3. How to install a. Edit smiliepanel.php Just after this comment PHP Code:
PHP Code:
Do the same thing with PHP Code:
Then, look for the line PHP Code:
b. Add the lines of code you find in "vbcode.js.txt" at bottom of your vbcode.js c. Create the templates adv_smilie_head adv_smilie_page adv_smilie_firstalt adv_smilie_secondalt adv_smilie_foot adv_smilie_table adv_smilie_close and copy in them the content of the .TXT files. d. Replace your "vbcode_smilies_getmore" template with the one you find in the .ZIP file. e. Now...this is the only way I found to do that, and the way it was useful for me, if one of you has something better, pls help Upload the "blanksmile.gif" to your smilies directory. Then go to the admin panel, and add the smile, without giving it replacement text and text. Then, move the "blank" smile to the last position. I have 36 smilies installed on my board, and with the "blank" one they become 37. Then I went to "vBulletin Options", and set "Clickable Smilies Total" to 36. (That means it has always to be your number of smiles, minus one). f. Upload vbcode.js and smiliepanel.php That's it. Comments and suggestions are REALLY appreciated. Show Your Support
|
Comments |
#2
|
|||
|
|||
Hey, I'll install the hack, but first, do you have any previews or something so I can see how it looks and get a better idea of how it works.
Thanks! |
#3
|
||||
|
||||
Sure!
Here's the bottom of the "old" smilies panel Here's the main page of the panel And finally a "folder" of smilies |
#4
|
||||
|
||||
Great 'tricky' hack, very nice. Thanks. :up:
|
#5
|
||||
|
||||
Am I correct in understanding that you have to actually edit the smiliepanel.php file and add ALL the smilies by hand?
Also, where does one get the rightarrow.gif from? Chris |
#6
|
||||
|
||||
Quote:
Whoops...here it is...I'll add it to the .ZIP file asap. Tnx. |
#7
|
||||
|
||||
Another question....If we have to manually add each smilie to the template, then why do we need to have the Change the display order of smilies hack? I'm curious.
Chris |
#8
|
|||
|
|||
Hey, can we have it go straight to the Panel instead of clicking on a link to go their?
|
#9
|
||||
|
||||
Quote:
I'll try to explain. If you have...for example, 10 smilies INSIDE vbulletin (the ones you add from the admin panel), you won't have the "Get More" text below the panel, right? Since my hack replaces the "Get More" link under the main smiles panel, you have to add a blank smile to the database, then put it in the LAST place (that's why you need to change the order) and then go to Options --> Clickable Smilies Total --> and change it to the number of your smilies MINUS one...the blank one. I know it's REALLY tricky, but it's the only way I thought of it |
#10
|
||||
|
||||
Quote:
I guess not. Unless you build a "postbit" template including frames, but in this case I guess the javascript won't work. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|