![]() |
Personal Notepad
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 ############## --> Code:
<form name="personalnotepad" method="post" action="usercp.php$session[sessionurl_q]"> 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. |
Screens?
|
EDIT:OK I can tell it works fine
|
will try it. Thanks.
|
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.
|
I like this! However, I am going to wait until vB 3.6 is released
|
nice hack i click install ^^
the product are cancel?? |
Small fix to let users store HTML codes without them getting messed up. Sorry about the product disappearing for a second.
|
any way to spiff it up a little? like how to make it match the width of the box it is in?
|
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.
|
Cool Installed..
|
Nice :)
|
Please add the instructions from the first post into a text file and ZIP it up with the XML for those that may need to re-install sometime. ;)
|
Zip file done and attached.
|
Quote:
|
Quote:
|
Thanks for the Plugin :)
|
Fine. :P
*adds screenshot* I've got a kitty pic too, if you want to be really picky. |
The members may not know what to do with this or how to get benefit, so maybe you can add a little description text to it appears when they hover on Personal Notepad.
|
Quote:
Code:
<td class="alt1" align="center"> Code:
<textarea name="notepad" rows="12" cols="80">{$vbulletin->userinfo['notepad']}</textarea> |
Installed. Great hack - should be extremely useful on my writing forum.
|
Quote:
Hmm, never knew that. *mental note* Stop, you can add a description if you want just above the textarea or something. Try something like finding Code:
<textarea name="notepad" rows="7" cols="45">{$vbulletin->userinfo['notepad']}</textarea> Code:
<div class="smallfont">Your personal notepad can store anything you can think of: notes, memos, half-finished posts, image URLs, quotes you like... Just type it in, save, and access it again here anytime you want.</div> |
Installed
Working Properly but sir i have problem i also installed this hack too [https://vborg.vbsupport.ru/showthread.php?t=112594] when i turn on Member Profile in UserCP Home hack personal notepad goes off when i turn off Member Profile in UserCP Home its showing up please solve this problem |
That hack replaces the USERCP template (which is what you edited for this hack) with another template, USERCP_PLUS, so the problem is simply that USERCP_PLUS is what you should be editing instead of USERCP. :) Admittedly, this makes your User CP home page so big that if I were you, I'd probably put the personal notepad at the top of the page instead of at the bottom - in fact, I'd take the whole thing from this:
Code:
<if condition="$show['privatemessages']"> Code:
<!-- ############## END NEW REPUTATION ############## --> |
Quote:
Code:
cols="80"> |
very nice hack ! installed ! thank you ^^
just wonder... is it possible to use AJAX when save the content in the personal notepad ? moreover, are there words limited ? |
Thanks
its working now |
Quote:
carrie31, there is no word limit - well, perhaps the sky-high one set by the database, but that's barely a limit. As for AJAX, yes, it almost definitely is possible, but the problem is that I don't know AJAX, at least not at the moment. Might start messing around with it soon, though. :p |
Quote:
|
Isn?t this better to use the collapse funktion?
Code:
<!-- ############## START NOTEPAD ############## --> |
Quote:
evesve, good idea. I'll add collapsing to the next version of this. |
<div align="center">:surprised:
Sorry but I didn't see it though I checked the thread 4 times. Anyway,I would love to see this added to the next version. Thanks.</div> |
Yeah, I probably will add it. I think I have a thing for releasing hacks with no user instructions included...
|
Quote:
INSTALLED!!! |
Odd. I edited usercp with the added code, saved and plugin uploaded/enabled yet I see nothing in the user area.
This is my usercp Code:
<if condition="$show['privatemessages']"> |
Are you sure you edited it in all your styles?
|
Actually I found it. I was subscribed to about 300 threads and the notepad was burried under the big list :)
Thanks |
Thank you very much!
Also is it possible to change the content message size to "smallfont"? |
Thanks a lot!
Is it possible to set a limit for the contents of this Notepad? Example: 1,000 words. Because, someone may write lots of words which may damage the SQL! |
I like this! I always lost so many in my Clipboard with copy and re-copy.
Now I save temporary in this cool notepad :) |
All times are GMT. The time now is 12:50 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|