The Arcive of vBulletin Modifications Site. |
|
Personal Notepad Details »»
|
|||||||||||||||||||||||||
This hack will add a personal notepad for your members - a feature you may know from for example Invision Power Board, and which existed for vBulletin 2 as vBPad. For short, members will be able to edit the content of their notepad as they want, storing in it whatever they might feel like.
1 template edit 1 product to install Time to install: 1-2 minutes, depending on how fast you can install one product, copy-paste and find something in a template after being tipped about where in the template it is FEATURES - Not much in the way of features for something like this... it's just a little personal notepad in the form of a textarea that people can type things into which is shown below all the information about new PMs/subscriptions/etc. in the User CP main page. INSTALLATION 1. Import product-personal_notepad.xml through the Admin CP. 2. Make one template edit: In template USERCP FIND near the bottom of the template Code:
<!-- ############## END NEW REPUTATION ############## --> </if> 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">
<tr>
<td class="tcat" align="center">$vbphrase[personal_notepad]</td>
</tr>
<tr>
<td class="alt1" align="center">
<textarea name="notepad" rows="7" cols="45">{$vbulletin->userinfo['notepad']}</textarea>
<input type="hidden" name="do" value="savenotepad" /></td>
</tr>
<tr>
<td class="alt2" align="center"><input type="submit" value="$vbphrase[save_notepad]" /></td>
</tr>
</table>
</form>
VERSION HISTORY Version 1.1: Fixed small mistake that made the notepad get run twice through htmlspecialchars_uni (basically turning all HTML codes into a garble of < and > ). Version 1.0: Initial release. Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Screens?
|
|
#3
|
||||
|
||||
|
EDIT:OK I can tell it works fine
|
|
#4
|
|||
|
|||
|
will try it. Thanks.
|
|
#5
|
||||
|
||||
|
I didn't think I'd really need screens for this, since what it does is extremely straightforward, but I'll put one up if you want.
|
|
#6
|
|||
|
|||
|
I like this! However, I am going to wait until vB 3.6 is released
|
|
#7
|
|||
|
|||
|
nice hack i click install ^^
the product are cancel?? |
|
#8
|
||||
|
||||
|
Small fix to let users store HTML codes without them getting messed up. Sorry about the product disappearing for a second.
|
|
#9
|
||||
|
||||
|
any way to spiff it up a little? like how to make it match the width of the box it is in?
|
|
#10
|
||||
|
||||
|
There doesn't appear to be any way to make a textarea match the width of the box around it exactly. width="100%" doesn't do anything. So I'm afraid that's not possible.
|
![]() |
|
|