The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vba CMPS: Smilie Creator Details »» | |||||||||||||||||||||||||
vBa CMPS: Smilie Creator v1.0.1
OVERVIEW: This is a conversion of an old VB2 hack (https://vborg.vbsupport.ru/showthread.php?t=50450) by Kars10 to create new smilie faces on the fly. The original version acted as a pop-up box from within a BB code so that the new smilie would be inserted into your forum message posting. A BB code trick posted over at vbulletintemplates.com (http://www.vbulletintemplates.com/mo...ead.php?t=6671) really eliminates the need of having to do this hack anymore since you can accomplish nearly the same thing without having to do any code changes. I was still interested in this old hack though because there are times I'd like to be able to create a new smilie on the fly either for my own personal usage or for my site. So looking at it as a learning experience my goals were to change the hack to be a more generic approach and make it easy to integrate into a site so making it into a vBadvanced CMPS (http://www.vbadvanced.com) module seemed the obvious answer. The other added benefit of making it into a vBadvanced CMPS module is the fact that it could then be added to a web site without doing any code modifications at all but still being able to, for instance, block access to it from non-registered users. I emphasis.... the PHP code is by Kars10, my only change to it was to remove the file name from being hard-coded and instead I'm passing it in from the template in order to make it easier to add new smilies in the future. REQUIREMENTS: Since the template and PHP are really generic you should be able to easily get it working with just about configuration. For my purposes thought it was intended for.....
UPDATES: Updates & changes....
Show Your Support
|
Comments |
#122
|
||||
|
||||
Quote:
When I converted CinVin over to 3.5 the smilie creator came along without needing any revisions. Previously I was on vB 3.0.x with CMPS 2.0 for vB 3.0 and upgraded to vB 3.5 Gold and CMPS 2.0 for vB 3.5 at the same time and the creator continued working fine with no problems. |
#123
|
|||
|
|||
Quote:
Will I be able to change those images to match my forum smilies? |
#124
|
||||
|
||||
Quote:
For example, the original version of the smilie used in my signature is here: http://www.cinvin.com/forums/images/...r/vorlage1.png As you can see it splits the graphic into two pieces and then inserts the new section in between them. Inside of the zip file is the PSD file of the smilies that Kars released in his original version of this hack so you can create new smilies using that or use your own smilies. If you use your own smilies you just have to make sure you get the dimensions right so that you leave enough of the 'stick' at top so that it splits it into two but at the same you don't want the smilie so big that it splits the top of the smilies head. |
#125
|
|||
|
|||
Quote:
|
#126
|
|||
|
|||
Quote:
I uploaded the appropriate files, created the template and added the page. Probably I'm doing something wrong with the settings of the page as I don't see any smilie creator at all, not even a shell, nothing, only the other modules I've enabled for the page! Also, I didin't find a place in the options of the page (I chose template) to input the php file... Is this supposed to be done automatically via the template? |
#127
|
|||
|
|||
Nevermind, strangely I just saw it!
I have another problem now... Probably because my forum smilies are larger than the original ones they are "cut" at the bottom... See for yourself: http://www.e-steki.com/?page=smcreator * Loukrhtia hopes this can be fixed :nervous: |
#128
|
|||
|
|||
Create a new VBA CMPS page or module. ????
how to create this ??? thanks! |
#129
|
||||
|
||||
Quote:
|
#130
|
|||
|
|||
KW802 can you please see my post at the hack's thread in vbadvanced?
I can't correct the imagecopy to fit the new graphics! The new graphics are 2 pixels wider in both width and height. Thanks in advance |
#131
|
|||
|
|||
Ok, pasting here in case somebody can help... :nervous:
I found out that you have to alter the line: PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|