The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#22
|
||||
|
||||
The textarea resizing bug has been fixed. As only the template has been changed, you do not need to download the new version; you can just replace the contents of your personal_notepad template with this:
Code:
<form name="personalnotepad" method="post" action="usercp.php$session[sessionurl_q]"> <table class="tborder" width="100%" cellspacing="$stylevar[cellspacing]" cellpadding="$stylevar[cellpadding]" align="center"> <thead> <tr> <td class="tcat"><a style="float:$stylevar[right];" href="#top" onclick="return toggle_collapse('notepad');"><img id="collapseimg_notepad" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_notepad].gif" alt="" border="0"></a> $vbphrase[personal_notepad]</td> </tr> </thead> <tbody id="collapseobj_notepad" style="$vbcollapse[collapseobj_notepad]"> <tr> <td class="panelsurround" align="center"> <div class="panel"> <textarea name="notepad" id="notepad" rows="7" cols="$vboptions[personal_notepad_cols]"<if condition="$vbulletin->options['personal_notepad_liquid']"> style="width:95%"</if>><if condition="$vbulletin->userinfo['notepad']">{$vbulletin->userinfo['notepad']}<else />$vbphrase[personal_notepad_explanation]</if></textarea> <div class="smallfont" style="<if condition="$vbulletin->options['personal_notepad_liquid']">text-align:left;</if>width:95%;margin:auto"><if condition="$vbulletin->options['personal_notepad_liquid']"><span style="float:$stylevar[right]"><phrase 1="$notepadlength" 2="$vboptions[personal_notepad_maxlength]">$vbphrase[you_have_used_x_y_characters]</phrase></span></if> <a href="#" onclick="return resize_notepad(true)">$vbphrase[increase_size]</a> <a href="#" onclick="return resize_notepad(false)">$vbphrase[decrease_size]</a><if condition="!$vbulletin->options['personal_notepad_liquid']"><br /><phrase 1="$notepadlength" 2="$vboptions[personal_notepad_maxlength]">$vbphrase[you_have_used_x_y_characters]</phrase></if> </div> </div> <div style="margin-top:$stylevar[cellpadding]px"> <input type="hidden" name="do" value="savenotepad" /> <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" /> <input type="submit" value="$vbphrase[save_notepad]" /> </div> </td> </tr> </tbody> </table> </form> <script type="text/javascript"> var notepad = fetch_object('notepad'); var counter = fetch_object('notepad_charcounter'); function checklength() { if (notepad.value.length > {$vbulletin->options['personal_notepad_maxlength']}) { counter.className = "highlight"; } else { counter.className = ""; } counter.innerHTML = notepad.value.length; } function resize_notepad (add) { if (add) { notepad.rows += 5; } else { notepad.rows -= 5; } return false; } notepad.onkeyup = checklength; <if condition="!$vbulletin->userinfo['notepad']">notepad.onfocus = function() { notepad.innerHTML = ""; notepad.onfocus = ""; };</if> checklength(); </script> <br /> |
#23
|
|||
|
|||
Updated, works great now, thank you!
|
#24
|
|||
|
|||
where stores the datas ?
|
#25
|
|||
|
|||
Can you also update the download? It shows as 4.0 still.
|
#26
|
||||
|
||||
Any News about 4.1??
@antialiasis - can you please use the Mailingfunction on vbulletin.org if you release Updates to your Hack? Thank you! |
#27
|
|||
|
|||
Datas are stored inside the Table of the current DB thru the <installcode>....</installcode> Code as below...
HTML Code:
<installcode><![CDATA[$db->query_write("ALTER TABLE " . TABLE_PREFIX . "usertextfield ADD notepad TEXT");]]></installcode> The following Code removes the DB Table if you decide to remove that hack... HTML Code:
<uninstallcode><![CDATA[$db->query_write("ALTER TABLE " . TABLE_PREFIX . "usertextfield DROP notepad");]]></uninstallcode> |
#28
|
|||
|
|||
Thanks for info
Installed ! |
#29
|
||||
|
||||
Thanks for the update Works great now.
|
#30
|
||||
|
||||
|
#31
|
|||
|
|||
I was thinking about how great this would be as a feature.. Then I find it here. Thanks!
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|