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 |
#102
|
||||
|
||||
Quote:
The number one thing I've learned this summer is this: If you're getting married, hire a wedding planner! Doing the arrangements ourselves has ended up taking so much time away from us that nearly any time away from work, and even some time during, is taken up with working on the arrangements. Two more weeks and it'll all be over though. :lick: |
#103
|
|||
|
|||
Is there a way to change the background "outside" the banner to a colour other than white...? I notice the png files used are transparent initially in that spot
|
#104
|
|||
|
|||
The Mozilla Firefox browser does not recognise the smilies as images, IE does...I am using Mozilla FF 1.0.
Also: If someone knows the direct image link, they could keep visiting it, causing a load of work for the server, and possibly crashing it. People can ask directly link to the images putting them on their websites, and posting them to other boards, etc. Shouldn't this possibility be eliminated? While I have installed this, it is not currently under use. Mainly because of the FF issue, but also because of those other issues I mentioned. The image should be saved temporarily to the server, and a scheduled task should remove saved images. Now, a bonus would be for users to create their own selection of smilies, which they could use in postings. It would be wise, of course, to limit the amount of smilies a user can make. |
#105
|
|||
|
|||
How can I create a new Page for the Creator? I don´t want the Smilie Creator on the Portal Side!
|
#106
|
|||
|
|||
Can nobody help?
|
#107
|
||||
|
||||
Paulmjno: FF recognizes it fine for me and other sites that I've seen it on.
HarryBO: Do you mean a seperate page without using CMPS? |
#108
|
|||
|
|||
Does anyone know how I can add more color selections to the font color and sign background colors?
What code changes would I need to make (I have no clue even where to start). Thank you! |
#109
|
||||
|
||||
my guess would be to go into the fps_smilie_creator_template.html and then just add more colors after the white part before </select>
HTML Code:
<!-- START: Text color --> <tr> <td align="left" valign="top" class="alt1"> <smallfont><strong>Choose the sign's text color: </strong></smallfont> </td> <td align="left" class="alt1"> <select name="col"> <option value="0,0,0" selected style="background-color:#000000; color:#FFFFFF">Black</option> <option value="0,0,255" style="background-color:#0000FF">Blue</option> <option value="185,207,232" style="background-color:#B9CFE8">Softblue</option> <option value="255,153,0" style="background-color:#FF9900">Orange</option> <option value="255,210,0" style="background-color:#FFD200">Yellow</option> <option value="0,255,0" style="background-color:#00FF00">Green</option> <option value="197,248,163" style="background-color:#C5F8A3">Softgreen</option> <option value="13,105,3" style="background-color:#0D6900; color:#FFFFFF">Darkgreen</option> <option value="147,81,3" style="background-color:#935103; color:#FFFFFF">Brown</option> <option value="255,255,255">White</option> </select> </td> </tr> <!-- END: Text color --> |
#110
|
||||
|
||||
Quote:
In a line like.... PHP Code:
|
#111
|
|||
|
|||
Oh okay...that definitely seems easy enough! Thank you eva01 and KW802!!!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|