Log in

View Full Version : Personal Notepad


antialiasis
06-01-2006, 10:00 PM
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

<!-- ############## END NEW REPUTATION ############## -->
</if>

BELOW it add

<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>

3. There is no 3. You're done. Go edit your personal notepad. And inform your members what this strange box that just appeared in their user CP is.


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 &lt; and &gt; ).
Version 1.0: Initial release.

Ziki
06-02-2006, 05:07 PM
Screens?

Ziki
06-02-2006, 05:16 PM
EDIT:OK I can tell it works fine

Stop
06-02-2006, 05:20 PM
will try it. Thanks.

antialiasis
06-02-2006, 05:48 PM
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.

Ohiosweetheart
06-02-2006, 05:50 PM
I like this! However, I am going to wait until vB 3.6 is released

lolo?
06-02-2006, 05:53 PM
nice hack i click install ^^
the product are cancel??

antialiasis
06-02-2006, 05:57 PM
Small fix to let users store HTML codes without them getting messed up. Sorry about the product disappearing for a second.

GrCh_Jeff
06-02-2006, 06:19 PM
any way to spiff it up a little? like how to make it match the width of the box it is in?

antialiasis
06-02-2006, 06:29 PM
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.

rmxs
06-02-2006, 06:48 PM
Cool Installed..

Atakan KOC
06-02-2006, 07:17 PM
Nice :)

Boofo
06-02-2006, 07:25 PM
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. ;)

antialiasis
06-02-2006, 08:32 PM
Zip file done and attached.

username12
06-02-2006, 08:42 PM
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.

We need screens. And pictures of puppies.

TTG
06-02-2006, 08:51 PM
We need screens. And pictures of puppies.

Puppies :- :D

bubble-gum
06-02-2006, 11:34 PM
Thanks for the Plugin :)

antialiasis
06-03-2006, 12:03 AM
Fine. :P

*adds screenshot*

I've got a kitty pic too, if you want to be really picky.

Stop
06-03-2006, 12:22 AM
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.

GrCh_Jeff
06-03-2006, 02:02 AM
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.

I found this:
<td class="alt1" align="center">
<textarea name="notepad" rows="7" cols="45">{$vbulletin->userinfo['notepad']}</textarea>
<input type="hidden" name="do" value="savenotepad" /></td>

And changed it to this:
<textarea name="notepad" rows="12" cols="80">{$vbulletin->userinfo['notepad']}</textarea>


Here is a screenshot and no the forum width isn't messed up :

Cedric_FP
06-03-2006, 03:12 AM
Installed. Great hack - should be extremely useful on my writing forum.

antialiasis
06-03-2006, 04:30 AM
I found this:
<td class="alt1" align="center">
<textarea name="notepad" rows="7" cols="45">{$vbulletin->userinfo['notepad']}</textarea>
<input type="hidden" name="do" value="savenotepad" /></td>

And changed it to this:
<textarea name="notepad" rows="12" cols="80">{$vbulletin->userinfo['notepad']}</textarea>


Here is a screenshot and no the forum width isn't messed up :
Interesting. It doesn't stretch the table cell around it at all, you say?

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

<textarea name="notepad" rows="7" cols="45">{$vbulletin->userinfo['notepad']}</textarea>

in the template and adding above it something in the direction of

<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>

That's just a description made-up on the spot, so by all means edit it (if you have a board in multiple languages, by all means phrase it too), but that's all you'd have to do. Might add it as a hack feature, but this will have to do for now.

FunaGuy
06-03-2006, 06:42 AM
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

antialiasis
06-03-2006, 02:09 PM
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:

<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ############## -->

to this

<!-- ############## END NEW REPUTATION ############## -->
</if>

and move it to the top of it, placing the personal notepad below what I just moved. But that's just what I would do - I just think new subscriptions and PMs belong in a more prominent place than at the very bottom of that very large template.

GrCh_Jeff
06-03-2006, 02:29 PM
Interesting. It doesn't stretch the table cell around it at all, you say?

Hmm, never knew that. *mental note*

Not on my forum.Now if I put this above 80 It will stretch the page out.
cols="80">

carrie31
06-03-2006, 04:15 PM
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 ?

FunaGuy
06-03-2006, 06:27 PM
Thanks
its working now

antialiasis
06-04-2006, 12:53 AM
Not on my forum.Now if I put this above 80 It will stretch the page out.
cols="80">
Ah, then you probably just hit the right number of cols. You can't make any assumptions about all forums out there, so I'm not going to put that into the hack by default...

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

Stop
06-05-2006, 12:17 AM
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.
Quoting my self !!!

evesve
06-05-2006, 08:20 AM
Isn?t this better to use the collapse funktion?
<!-- ############## START NOTEPAD ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<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]<span class="normal"></span>
</td>
</tr>
</thead>
<tbody id="collapseobj_notepad" style="$vbcollapse[collapseobj_notepad]">
<tr>
<td class="alt1" align="center" colspan="7">
<form name="personalnotepad" method="post" action="usercp.php$session[sessionurl_q]">
<textarea name="notepad" rows="7" cols="75">{$vbulletin->userinfo['notepad']}</textarea>
<input type="hidden" name="do" value="savenotepad" /></td>
</tr>
<tr>
<td class="alt2" align="center" colspan="7"><input type="submit" value="$vbphrase[save_notepad]" /></td>
</tr>
</form>
</tbody>
</table>
<br />
<!-- ############## END NOTEPAD ############## -->


for me it look nice!

antialiasis
06-05-2006, 06:29 PM
Stop, you can add a description if you want just above the textarea or something. Try something like finding

<textarea name="notepad" rows="7" cols="45">{$vbulletin->userinfo['notepad']}</textarea>

in the template and adding above it something in the direction of

<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>

That's just a description made-up on the spot, so by all means edit it (if you have a board in multiple languages, by all means phrase it too), but that's all you'd have to do. Might add it as a hack feature, but this will have to do for now.
Quoting myself, too. :p

evesve, good idea. I'll add collapsing to the next version of this.

Stop
06-06-2006, 08:00 AM
<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>

antialiasis
06-07-2006, 11:14 PM
Yeah, I probably will add it. I think I have a thing for releasing hacks with no user instructions included...

GrCh_Jeff
06-09-2006, 03:01 PM
Ah, then you probably just hit the right number of cols. You can't make any assumptions about all forums out there, so I'm not going to put that into the hack by default
I agree.I have another vB which I just set up and added it to it.It worked the same way with or without forum width code for me.Well, It's here in this thread if they want to try it.Thank you again.This hack is useful.I have already had 4 or 5 members tell me how glad they are that I added it.
INSTALLED!!!

Chadi
06-09-2006, 06:51 PM
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


<if condition="$show['privatemessages']">
<!-- ############## PRIVATE MESSAGES ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_pms')"><img id="collapseimg_usercp_pms" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_pms].gif" alt="" border="0" /></a>
<a href="private.php$session[sessionurl_q]">$vbphrase[new_private_messages]</a><span class="normal">: ($numpms)</span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_pms" style="$vbcollapse[collapseobj_usercp_pms]">
$messagelistbits
</tbody>
</table>
<br />
<!-- ############## END PRIVATE MESSAGES ############## -->
</if>

<!-- ############## START REFERRER BY ADAM GESSEL #################### -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a>
<a href="register.php?referrerid=$bbuserinfo[userid]">Refer Friends URL</a><span class="normal"></span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
<tr>
<td class="alt1" align="center" colspan="7"><b>Invite your friends to join our forum by linking them here via the following link:</b> <br /><a href="register.php?referrerid=$bbuserinfo[userid]">$vboptions[bburl]/register.php?referrerid=$bbuserinfo[userid]</a></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END REFERRER BY ADAM GESSEL #################### -->

<!-- ############## START ABUSE REPORT #################### -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_reflink')"><img id="collapseimg_usercp_reflink" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reflink].gif" alt="" border="0" /></a>
<font color="#FF0000">Abuse Report</font></td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reflink" style="$vbcollapse[collapseobj_usercp_reflink]">
<tr>
<td class="alt1" align="center" colspan="7"><b>Did you receive an abusive pm or
spam? Someone soliciting you?<br>
</b><a href="http://www.talkjesus.com/sendmessage.php">Click here to report
immediately. Please provide all proof possible</a></td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END START ABUSE REPORT #################### -->

<!-- ############## SUBSCRIBED THREADS ############## -->

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="7">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_subthreads')"><img id="collapseimg_usercp_subthreads" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_subthreads].gif" alt="" border="0" /></a>
<a href="subscription.php?$session[sessionurl]do=viewsubscription">$vbphrase[new_subscribed_threads]</a><span class="normal">: ($numthreads)</span>
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_subthreads" style="$vbcollapse[collapseobj_usercp_subthreads]">
<if condition="$show['threads']">
<tr class="thead">

<if condition="$show['threadicons']">
<td class="thead" colspan="2">&nbsp;</td>
<else />
<td class="thead">&nbsp;</td>
</if>

<td class="thead" width="100%">$vbphrase[thread] / $vbphrase[thread_starter]</td>
<td class="thead" width="150" align="center" nowrap="nowrap">$vbphrase[last_post]</td>
<td class="thead" align="center">$vbphrase[replies]</td>
<td class="thead" align="center">$vbphrase[views]</td>
</tr>
$threadbits
<else />
<tr>
<td class="alt1" align="center" colspan="7"><strong>$vbphrase[no_subscribed_threads_to_display]</strong></td>
</tr>
</if>
<tr>
<td align="$stylevar[right]" colspan="7" class="tfoot">
<span class="smallfont"><a href="subscription.php?$session[sessionurl]do=viewsubscription&amp;folderid=all">$vbphrase[view_all_subscribed_threads]</a></span>
</td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED THREADS ############## -->

<if condition="$show['favoritethreads']">
<form action="usercp.php" method="post">
<input type="hidden" name="entry_type" value="thread" />
<!-- ############## FAVORITE THREADS ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
$vbphrase[vbfavorites_favthreads]
</td>
</tr>
</thead>
<tbody>
$favoritethreadbits
<tr>
<td class="tcat" colspan="2">
<center><input type="submit" name="deletefavorites" class="button" value="$vbphrase[vbfavorites_deleteselected]" /></center>
</td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END FAVORITE THREADS ############## -->
</form>
</if>

<if condition="$show['favoriteposts']">
<form action="usercp.php" method="post">
<input type="hidden" name="entry_type" value="post" />
<!-- ############## FAVORITE POSTS ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
$vbphrase[vbfavorites_favposts]
</td>
</tr>
</thead>
<tbody>
$favoritepostbits
<tr>
<td class="tcat" colspan="2">
<center><input type="submit" name="deletefavorites" class="button" value="$vbphrase[vbfavorites_deleteselected]" /></center>
</td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END FAVORITE POSTS ############## -->
</form>
</if>

<if condition="$show['favoriteusers']">
<form action="usercp.php" method="post">
<input type="hidden" name="entry_type" value="user" />
<!-- ############## FAVORITE USERS ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="2">
$vbphrase[vbfavorites_favusers]
</td>
</tr>
</thead>
<tbody>
$favoriteuserbits
<tr>
<td class="tcat" colspan="2">
<center><input type="submit" name="deletefavorites" class="button" value="$vbphrase[vbfavorites_deleteselected]" /></center>
</td>
</tr>
</tbody>
</table>
<br />
<!-- ############## END FAVORITE USERS ############## -->
</form>
</if>


<if condition="$show['forums']">
<!-- ############## SUBSCRIBED FORUMS ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('usercp_forums')"><img id="collapseimg_usercp_forums" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_forums].gif" alt="" border="0" /></a>
$vbphrase[subscribed_forums]
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_forums" style="$vbcollapse[collapseobj_usercp_forums]">
<tr align="center" valign="bottom">
<td class="thead" width="2%">&nbsp;</td>
<td class="thead" align="$stylevar[left]" width="80%">$vbphrase[forum]</td>
<td class="thead">$vbphrase[last_post]</td>
<td class="thead">$vbphrase[threads]</td>
<td class="thead">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="20%">$vbphrase[moderator]</td>
</if>
</tr>
$forumbits
</tbody>
</table>
<br />
<!-- ############## END SUBSCRIBED FORUMS ############## -->
</if>


<if condition="$show['reputation']">
<!-- ############## NEW REPUTATION ############## -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="$reputationcolspan">
<span class="smallfont" style="float:$stylevar[right]">
<phrase 1="$bbuserinfo[reputation]">$vbphrase[x_points_total]</phrase>
&nbsp; &nbsp;
<a href="#top" onclick="return toggle_collapse('usercp_reputation')"><img id="collapseimg_usercp_reputation" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_reputation].gif" alt="" border="0" /></a>
</span>
$vbphrase[latest_reputation_received]
</td>
</tr>
</thead>
<tbody id="collapseobj_usercp_reputation" style="$vbcollapse[collapseobj_usercp_reputation]">
<tr>
<td class="thead" colspan="2">&nbsp; &nbsp; $vbphrase[thread]</td>
<td class="thead">$vbphrase[date]</td>
<if condition="$vboptions['showuserraters']">
<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
</if>
<td class="thead">$vbphrase[comment]</td>
</tr>
$reputationcommentbits
</tbody>
</table>
<br />
<!-- ############## END NEW REPUTATION ############## -->
</if>
<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>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="100%">&nbsp;</td>
<td align="$stylevar[right]">$forumjump</td>
</tr>
</table>

antialiasis
06-09-2006, 10:48 PM
Are you sure you edited it in all your styles?

Chadi
06-09-2006, 10:50 PM
Actually I found it. I was subscribed to about 300 threads and the notepad was burried under the big list :)

Thanks

Snake
07-19-2006, 09:46 AM
Thank you very much!

Also is it possible to change the content message size to "smallfont"?

X Quiz
07-21-2006, 08:17 AM
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!

Muellmann
08-01-2006, 05:06 PM
I like this! I always lost so many in my Clipboard with copy and re-copy.
Now I save temporary in this cool notepad :)

murrtex
08-03-2006, 06:36 AM
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!


yes , is it possible??

X Quiz
08-04-2006, 09:20 AM
And is this hack work with vB 3.6 ?

baby9x
08-05-2006, 11:50 PM
Wow! IPB has this mod! Now VBB too! :)

antialiasis
08-14-2006, 10:02 PM
Dark Blade, you should be able to add class="smallfont" to the textarea in the template, yes.

As for limiting the content of the notepad, as far as I know the technical restrictions on the database field will simply lead to it being cut off if it's too long without causing anybody any harm - at least that's my experience with my adotables hack when entering an excessively long name for the adoptable. It can store some fairly gargantuan amounts of text, though, so I don't think it should be a problem.

As for 3.6... *installs on test forum* Yup, appears to work perfectly the way it is.

jgrakowski
08-15-2006, 09:53 PM
I remade the download/installation file and attached it to this post.
I only changed the installation instructions, and heavily altered the template code.

I added the code to make it in a collapsable box
It now has + and - buttons to enlarge and shrink notepad veiwing area
and the notepad is now fluid and resizes with window
I also changed the position of the notepad, for better use.


THIS HACK WORKS IN 3.6 PERFECTLY

Craigex
08-16-2006, 06:59 PM
I remade the download/installation file and attached it to this post.
I only changed the installation instructions, and heavily altered the template code.

I added the code to make it in a collapsable box
It now has + and - buttons to enlarge and shrink notepad veiwing area
and the notepad is now fluid and resizes with window
I also changed the position of the notepad, for better use.


THIS HACK WORKS IN 3.6 PERFECTLY

Looks good, I am installing this. :)

Ipuck
08-16-2006, 08:35 PM
Note to myself:

Install Personal Notepad Mod -Done- ;)

ChopBam
08-17-2006, 03:12 AM
I was waiting for this update! Many thanks!

hcmagix
08-17-2006, 10:22 AM
works fine in 3.6

apokphp
08-18-2006, 06:05 PM
any way to make it a "pop up" from an existing thread? Most of my members would be using this to take notes on something they were reading in a thread or that they wanted to post in it. It's a debate site, so going to a separate usercp page to create the note, doesn't really do much goof for them.

I realize they can have 2 pages open, but it would be much more efficient and aesthetically pleasing to have it be a pop up, perhaps with AJAX or something (like the Reputation Ratings).

antialiasis
08-20-2006, 10:20 PM
Admittedly I've never used AJAX before, but hey, I'm good at messing around and making stuff work and the reputation giving thing should be a good reference, so I could probably do it if you give me a little bit of time to get it right.

Where would you like the link to pop up the box to be if I were to do that? Just on every post?

(As a side note, I'm right now in the process of upgrading my own forums to 3.6.0, so the 3.5 version will most likely not be updated anymore and I may be unable to support you in the unlikely case that your problem is something 3.5-exclusive. However, I will be re-releasing the hack in the 3.6 forum soon with some of jgrakowski's changes.)

ChopBam
08-29-2006, 04:25 AM
I realize they can have 2 pages open, but it would be much more efficient and aesthetically pleasing to have it be a pop up, perhaps with AJAX or something (like the Reputation Ratings).
Firefox --> Google Notebook.
'Nuff said. :)

vBulletin THEN DAYLIGHT
10-06-2006, 10:02 PM
Hi,

I have put the notepad in a drop down box on the Nav Bar (see attachment) so it is more accessible, however, I would like it to work so that when the user saves the notepad from that drop down box, it just refreshes the page they were on and not redirect them to the User CP.

Any help would be much appreciated.

Regards,
Rob

vBulletin THEN DAYLIGHT
10-10-2006, 05:40 PM
Please, can anybody help me with this?

vBulletin THEN DAYLIGHT
10-12-2006, 09:21 PM
bump

adwade
10-12-2006, 10:53 PM
(As a side note, I'm right now in the process of upgrading my own forums to 3.6.0, so the 3.5 version will most likely not be updated anymore and I may be unable to support you in the unlikely case that your problem is something 3.5-exclusive. However, I will be re-releasing the hack in the 3.6 forum soon with some of jgrakowski's changes.)

Notice you're running vB v3.6.1 now, any word as to when you might be re-releasing the hack w/some of jgrakowski's changes incorporated into it?

antialiasis
10-22-2006, 08:57 PM
I was going to, yes. I just got a bit stuck with the AJAX thing I was going to incorporate. (This one does work fine with 3.6, though, if you don't want to wait.)

Eq4bits
01-18-2007, 10:28 PM
how about 3.6.4?

antialiasis
01-21-2007, 04:50 PM
I use 3.6.4 myself and it works fine.

I should get around to updating this hack already, I know. I've been rather busy with other things.

Snake
01-27-2007, 12:48 PM
No updates yet? :)

rjmjr69
01-28-2007, 08:02 AM
Couldnt get it to display with 3.6.4

Black Widow
02-08-2007, 07:21 PM
Great hack.
installed...

Maksa
03-26-2007, 01:51 PM
will it work on 3.6.5 ? i want to install please reply

rjmjr69
03-26-2007, 11:36 PM
Works fine in 3.6.5

Maksa
03-27-2007, 03:17 AM
let me try then :)

Maksa
03-27-2007, 03:58 AM
wow it's working fine... beautiful hack :)

ssandgirls
05-26-2007, 08:36 PM
Thankyou for such a useful addition , working perfectly on 3.6.7PLI :)

theFAILURE
05-26-2007, 09:01 PM
For what we do on my forum, this is an excellent simple addition!

TY!

dope15gd
06-19-2007, 09:00 PM
I had a question about using the notepad in a different template.

I have it running in my memberinfo template to run in tandem with Psionic Storms VS- Interactive Profiles (https://vborg.vbsupport.ru/showthread.php?threadid=150028) Mod. It is installed and working fine. I got rid of the usercp redirect and it seems to be going well. the problem I have is this:
Whatever I type into the notepad is the same for every user. I am not sure if it is because I am using a different template or what. I looked around the code and didn't see anything obvious, but I really don't know what I'm doing.

could you perhaps point me in the right direction on this?

Thanks

Roi Danton
06-21-2007, 11:38 AM
Maybe the Add-On could be updated to take advantage of the new hook in template USERCP:

$template_hook[usercp_main_pos6]

I don't know how to write an AddOn which uses template hooks so I ask here if someone is capable of doing this.

kanxue
07-06-2007, 07:41 AM
Good works!
Who can use AJAX when save the content in the personal notepad ?

jambo_1969
09-18-2007, 05:39 AM
Installed and working on 3.5.3

Nice :D

Kaelon
09-23-2007, 04:26 AM
Works great with 3.6.8. You may need to tinker with the template a bit, but otherwise, flawless.

jgrakowski
02-09-2008, 04:41 AM
what ever happened to the fluid width/height?

TosaInu
06-02-2008, 11:41 AM
Trying to save notepad in 3.7.1:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.

Mike-D
06-02-2008, 08:36 PM
Trying to save notepad in 3.7.1:

Your submission could not be processed because a security token was missing or mismatched.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.You're in the wrong Forum!!! As suggested in that Thread Personal Notepad (https://vborg.vbsupport.ru/showthread.php?t=161834) for VB 3.67...

Find:
<input type="hidden" name="do" value="savenotepad" />


Add below:
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />


That will fix the Security Token Error :)