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 |
#22
|
||||
|
||||
yup, that would be nice
|
#23
|
||||
|
||||
Quote:
I put the message about no direct linking in there really for my benefit because I wouldn't want to kill my server. There is nothing stopping from you using the linked URL, but rather it's something you most likely wouldn't want to do. In regards to inserting it directly into the posts, check out the link I gave for the VBT.com thread. The same end effect could be achieved without having to create a new image on the fly or even using GD at all. If you guys/gals really want something that gets inserted directly into a post then let me know..... Romeo Tunes pointed me in the direction of something that most likely will be my next learning experiment that will do it but it will take a little bit of time for me to work on it. |
#24
|
|||
|
|||
Quote:
I would love to have the images be made and inserted on the fly while in posting mode :-D |
#25
|
||||
|
||||
Quote:
|
#26
|
|||
|
|||
Hi all, I followed the instructions but I don't know how to be able to choose this mod option....
If I was a visitor and wanted to use this module, how would I do it.. And yes...I am a real noobe. |
#27
|
|||
|
|||
yeahhhhh We want we want! lol...... This'll be great when you get that thing working......
|
#28
|
||||
|
||||
Quote:
For those not familiar with, or haven't come across it yet, the bitmap issue was.... Some people using IE were having problems when they went to right-click "Save Picture As..." on the new smilie. Instead of seeing the name "fps_smilie_creator" as the file name to be saved and PNG as the file type they would instead see "untitled" as the file name and "bitmap" as the file type. The file would still be saved and would work fine but by saving it as a bitmap instead of a PNG it wasn't saving the transparency of the graphic, instead the new smilie would appear with a white background. Because the file would still save some people didn't even realize that there was a problem and just assumed that the white background was normal. To confuse matters even more not all IE users were experiencing it. I finally tracked it down to the fact it would only happen if there were spaces placed into the smilie message. In other words, an IE user creating a smilie with the message of "Cool!" would see "fps_smilie_creator" / PNG but an IE user creating a smilie with the message of "This is cool!" would see "untitled" / bitmap. What was causing me frustration was the fact that only IE was experiencing the problem, Mozilla Firefox would always properly recognize both the file name and file type. For people who already have it installed changing the one line I gave earlier (the part about "+text+") will fix the IE problem. Changing the one line will have no impact on either the template or the new smilie image, it'll just take care of the IE right-mouse issue. I really do appreciate everybody's patience in dealing with the problem until I had a fix. Thanks, everybody! |
#29
|
||||
|
||||
Quote:
I think converting that UBB hack to be a VB hack would be another nice learning project so it's definitely something I'll be working on. I've looked at the code that you sent me and am currently seeing which code is for the actual function of the panel generator and which code is for the UBB functionality. Yeah, I'm a geek... I look at code for fun. |
#30
|
||||
|
||||
Quote:
Good morning. OK, first question.... did you implement it as a CMPS add-on or as a seperate VB item? Assuming that you did it through CMPS, how did you do it? Did you create a new module, did you create a new page, or some other method? Thanks, Kevin |
#31
|
|||
|
|||
I'm confused on the VBT hack...how do users know about the other faces they can use? please explain how that works.
thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|