The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Smiliecreator v1.1 Details »» | |||||||||||||||||||||||||
Hello Hackers!
Ok this is my first release here, so be gentle with me! Ok, what does this hack do? With this hack you can easy generate your own custom Sign-Smilies. Credits to: tkeil69575 It should work with any vBVersions 2.x.x. Files to modify: 2 (vbcode.js, misc.php) Templates to add: 1 (vbcode_popup_smiliecreator) Templates to edit: 1 (vbcode_smilies_getmore) Installtime: 5 - 10 min [high]NOTE: This hack uses the PHP-GD Function, so be shure you have this enabled on your server. If you don?t be shure about this, ask your host or look in your PHP-Info. Also you must have Dynamic URL for [img] tags enabled in your Posting Code Settings.[/high] Changelog: - v1.0 First Release - v1.1 Fixed Quotes-bug; credits to Slynderdale and FlyingDutchman Update Information: from v1.0 to v1.1 / only replace the old text2schild.php with the new one Screenshots in the next Posts. Have Fun and please click install if you use this hack! Kars Show Your Support
|
Comments |
#112
|
|||
|
|||
Hallo, kann mir jemand dabei helfen? ich sehe gerade das der bug hier schoneinmal in der selben form wie bei mir vorkam... aber es wurd per PN nicht ?ffentlich geregelt... somit kann ich auch nicht viel machen...
|
#113
|
||||
|
||||
wow, fantastic little hack, adding just that personal touch, love it (and i'm sure my members will to).
one thing, can i suggest that you make the smile box close once it's been submitted to the form? I'm sure this is easy to do, but as I don't know JS i personally can't do it. again thank you |
#114
|
|||
|
|||
kann mir hier keiner helfen?
|
#115
|
||||
|
||||
For people annoyed at the smile box staying open after adding the smile, you can make the box close automaticly after clicking the button:
Open: vbcode_popup_smiliecreator (template) Find: Quote:
Quote:
|
#116
|
||||
|
||||
I keep getting 'document.schild.typ' is not an object" When opening the smily creator window.
Im not sure what the problem is, I followed instructions. Also they do not work with the [IMG] tags (And yes I did enable "Allow Dynamic URL for [img] tags" ). It works fine if I use HTML to link the image. What am I doing wrong? Running vb2.3.0 |
#117
|
|||
|
|||
i have almost this bug....
|
#118
|
||||
|
||||
*Bump* Still need help on this :/
|
#119
|
|||
|
|||
Sorry, my English is not the very Best and I could not understand all from the Posters before me.
The Hack works fine, but in the finaly Posting I get the f... red x. Can anybody explain me where my Problem could be? -------------------------------------------------------------------------- Hallo zusammen, habe versucht diesen Hack einzubauen, es funktioniert auch soweit alles. Wenn ich jedoch abschliessend zu meinem Posting gehe wird nur das rote x angezeigt. Hat jemand eine Idee, da ich die englischen Postings nicht in allen Einzelheiten verstehe. Gruss Uwe |
#120
|
|||
|
|||
I get the same error "'document.schild.typ' is not an object etc."
I delete the line below from the template "vbcode_popup_smiliecreator": var vtyp = findtyp(); and then all works fine. I'm not expert in Javascript and I don't understand wich is the scope for this line. In anyway thanks to Kars10 for this great Hack! |
#121
|
|||
|
|||
i?ve done it... bug ist already existing...
can i have your hack files? or make an example at this here: Code:
<html>
<head>
<title>$bbtitle Smiliecreator</title>
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
<script>
function findtyp() {
var szReturn;
for (var i=0;i<document.schild.typ.length;i++) {
if (document.schild.typ[i].checked) {
szReturn = document.schild.typ[i].value;
break;
}
}
return szReturn;
}
var vtyp = findtyp();
</script>
$headinclude
</head>
<body>
<br>
<center>
<form name="schild"><table width="90%" border="0" cellpadding="4" cellspacing="1" bgcolor="{tablebordercolor}">
<tr>
<td align="center" bgcolor="{categorybackcolor}"><normalfont color="{categoryfontcolor}"><strong>$bbtitle
Smiliecreator</strong></normalfont></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}"><table bgcolor="" width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td width="99%" valign="top">
<table width="100%" border="0" cellpadding="1" cellspacing="1">
<tr>
<td width="33%" bgcolor="{firstaltcolor}"> <input name="typ" type="radio" value="1" checked>
<img src="images/smilies/schilde/vorlage1.png" alt="" width="29" height="22" border="0"></td>
<td width="33%" bgcolor="{firstaltcolor}"> <input type="radio" name="typ" value="6">
<img src="images/smilies/schilde/vorlage6.png" alt="" width="29" height="22" border="0"></td>
<td width="33%" bgcolor="{firstaltcolor}"> <input type="radio" name="typ" value="11">
<img src="images/smilies/schilde/vorlage11.png" alt="" width="29" height="22" border="0"></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="2">
<img src="images/smilies/schilde/vorlage2.png" alt="" width="29" height="22" border="0"></td>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="7">
<img src="images/smilies/schilde/vorlage7.png" alt="" width="29" height="22" border="0"></td>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="12">
<img src="images/smilies/schilde/vorlage12.png" alt="" width="29" height="22" border="0"></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="3">
<img src="images/smilies/schilde/vorlage3.png" alt="" width="29" height="22" border="0"></td>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="8">
<img src="images/smilies/schilde/vorlage8.png" alt="" width="29" height="22" border="0"></td>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="13">
<img src="images/smilies/schilde/vorlage13.png" alt="" width="29" height="22" border="0"></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="4">
<img src="images/smilies/schilde/vorlage4.png" alt="" width="29" height="22" border="0"></td>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="9">
<img src="images/smilies/schilde/vorlage9.png" alt="" width="29" height="22" border="0"></td>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="14">
<img src="images/smilies/schilde/vorlage14.png" alt="" width="29" height="22" border="0"></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="5">
<img src="images/smilies/schilde/vorlage5.png" alt="" width="29" height="22" border="0"></td>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="10">
<img src="images/smilies/schilde/vorlage10.png" alt="" width="29" height="22" border="0"></td>
<td bgcolor="{firstaltcolor}"><input type="radio" name="typ" value="15">
<img src="images/smilies/schilde/vorlage15.png" alt="" width="29" height="22" border="0"></td>
</tr>
</table>
<br> <table border="0" width="100%" cellpadding="3" cellspacing="1">
<tr>
<td colspan="2" bgcolor="{firstaltcolor}"><smallfont><strong>Your Text:</strong></smallfont></td>
</tr>
<tr>
<td colspan="2" bgcolor="{firstaltcolor}" align="center"><input name="text" type="text" onFocus="this.value='';" onBlur="if (this.value=='') {this.value='Enter your Text...';}" value="Enter your Text" size="35" maxlength="50"></td>
</tr>
<tr>
<td bgcolor="{firstaltcolor}"><smallfont><strong>Fontcolor:</strong></smallfont></td>
<td bgcolor="{firstaltcolor}"><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>
<tr>
<td bgcolor="{firstaltcolor}"><smallfont><strong>Background:</strong></smallfont></td>
<td bgcolor="{firstaltcolor}"><select name="shcol">
<option value="255,255,255" selected>White</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="248,241,163" style="background-color:#F8F1A3">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="248,203,251" style="background-color:#F8CBFB">Pink</option>
<option value="228,195,164" style="background-color:#E4C3A4">Brown</option>
<option value="0,0,0" style="background-color:#000000; color=#FFFFFF">Black</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center" height="30" valign="bottom"><input type="button" value="Ok, generate Smilie!" onclick="opener.smilie('[img]$bburl/text2schild.php?text='+document.schild.text.value+'&typ='+findtyp()+'&col='+document.schild.col.value+'&shcol='+document.schild.shcol.value+'[/img]');">
<br>
<br>
<smallfont><a href="javascript:self.close()">Close Window</a></smallfont></td>
</tr>
</table>
</td>
</table></td>
</tr>
</table></form></td>
</center>
</body>
</html>
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|