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 |
#12
|
||||
|
||||
Sorry, the page is here
http://www.synergyforums.com/index.php?page=smilie I can see it, some of my users can see it but others cant, dont know why |
#13
|
||||
|
||||
Quote:
Thanks, Kevin |
#14
|
|||
|
|||
Sounds good..... I think you'll like that thing alot..... Prolly be easy for someone like you to port it to VB....
Quote:
|
#15
|
|||
|
|||
Will this hack work without CMPS?
|
#16
|
|||
|
|||
Any fix for the .bmp problem!!
|
#17
|
||||
|
||||
ranger2kxlt: It's just a generic HTML template that calls the PHP file so you should have no problems getting it working from any page. If you use it on a non-vBulletin page then you'll have to change the template for your colors, etcetra. The reason why I geared it towards CMPS was because it would allow you to take advantage of CMPS features like security control.
xug: I'm working on it. I haven't been around much this weekend because I'm working on stuff with the fiance (wedding in less than 90 days) but I'll have it resolved shortly. Please bear with me just a little bit longer (I'm hoping to have some time tonight to work on it; if not tonight my next time 'window' is Thursday night). |
#18
|
||||
|
||||
I am really starting to HATE Microsoft Internet Explorer!
The problem with the right-mouse "save picture as..." option in IE only occured if the text had spaces in it; if there was no spaces then it worked fine. Mozilla Firefox worked perfectly, it's only IE that was acting up. To fix the problem find this code (line #23 in the original template).... Code:
var command = '$vboptions[bburl]/modules/fps_smilie_creator.php?text=%20'+text+'%20&typ='+smilie_type+'&col='+font_text_color+'&shcol='+font_background_color; I've also tweaked the code a bit so that the <div> tags are no longer required. I'll be repackaging the zip shortly with the above fix and the tweaks (the tweaks won't affect nothing, it's just to reduce some HTML code in the template). Remember to click "Install" to be kept up-to-date on future fixes & updates. |
#19
|
||||
|
||||
Thank you. The fix worked nicely.
|
#20
|
||||
|
||||
can i use this on my forums or do i need to have vba CMPS installed?
|
#21
|
|||
|
|||
Works like a charm :-D love the hack...
question, why can't we link directly to the image? is there a way to do that? also what about making an add-on, so we can create images within our posts :-D Thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|