![]() |
Personal Notepad
This is a port of my previous Personal Notepad hack for vBulletin 3.5, with some added features and modifications that had been requested. It now makes use of template hooks and is placed in a more convenient location for users.
This hack will add a personal notepad for your members - a feature you may know from for example Invision Power Board. For short, members will be able to edit the content of their own notepad as they want, storing in it whatever they might feel like. 1 automatic template edit 1 product to install FEATURES - A notepad in members' main user CP area where they can type in whatever notes they may want to take down and save them - Notepad can be resized - Javascript for allowing users to see when they have exceeded the character limit - Admin CP options (turn on/off, maximum input length, liquid/fixed width, width of fixed-width notepad, usergroups allowed to use notepad) - No manual template edits - Fully phrased for easy translation INSTALLATION 1. Import product-personal_notepad.xml through the Admin CP. 2. Edit the Personal Notepad options in the vBulletin options if desired. (It is automatically turned on upon installation, so if you want to start using it right away without worrying about the options, you can.) 3. There is no 3. You're done. Go inform your members of the addition. VERSION HISTORY 3.1: Saved space in liquid-width notepad by putting character counter and textbox size changers in the same line, phrased some stuff that was forgotten and added usergroup limitations in the admin options. 3.0: Tweaks for fitting better with the look of vBulletin, cached template, Javascript counter for character limit, made notepad collapsible, added version history. 2.0: Ported to 3.6, added resizing function and admin CP options. 1.0: Initial release. |
Could You Please Add Some Images To See How This Hack Looks?? :confused:
:) |
Is it alike this?
https://vborg.vbsupport.ru/showthread.php?t=150223 |
Quote:
Oh, yeah, forgot screenshots. I always forget something. EDIT: Screenshots added. |
Thank you
|
this error happen
Database error in vBulletin 3.6.8: Quote:
|
Did you already install the hack that Shazz linked to or something like that? If so, you need to uninstall it first.
|
Quote:
|
Great idea, just like the ACP.
|
cool - now I can uninstall that other one :)
|
Its been in the mod graveyard. Ill look into this one :)
Its like admin notes in the admincp |
You've done a good job on this mod. Here's my personal wish list, if you're going to keep developing.
1. Left-align the title by default, so it matches the rest of the User CP, if someone wants it centered, they can edit the template. 2. Use the "raised" panel around the textarea, with the "save" button below the panel, so it better matches the User CP. 3. With the fluid width setting, make the textarea 95% wide instead of 100%, to give a bit of a margin on the sides. 4. At the bottom (beside the increase/decrease size links-- so it doesn't take more space), tell the user the max # of characters allowed in the notepad. 5. Add an onchange javascript handler to the textarea, and show the user how many characters are in the textarea, while they're typing. You can also stop accepting input when the limit is reached. Drop me a PM if you want the JS code for this. 6. Make the whole "personal notepad" block collapsible. See below. 7. Cache the template. Add $globaltemplates[] = 'personal_notepad'; to a plugin on the cache_templates hook. That's all for now :) And thanks again for your work. :) Make a collapsible box: Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="180"> https://vborg.vbsupport.ru/showthread.php?t=119931 |
Whoa! I'm always a big fan of those notepad hacks. Thanks for your release! It's much better than the other released ones.
By the way, you sure this is gonna work just fine on v3.6.8? |
Thank you for this great hack!
Installed without issues! |
just uninstalled old notepad and installed new.... thanks
|
Quote:
|
Quote:
In this case there was no clear evidence that the author had not given permission, so we contacted him. The post above (previous page) clearly demonstrates permission was not given, so it was removed this afternoon. |
Quote:
Anyway, they were good suggestions, so... I went and implemented all of them in some fit of workaholism. I've never liked textareas that make you stop typing when you exceed a character limit, so now it just gives a visual reminder that you've exceeded the limit and need to shorten the input (and, of course, still gives an error if the user submits the form when it's still too long). Enjoy version 3.0... Quote:
|
I love the new update! I especially like the character counter :) I have been requesting that as a mod for all of the text boxes for awhile now! Is there anyway you can pull just that part of your code out and make it a product to add to all of the other text boxes on vb?
|
Very nice! This will make a great addition for my members *** installs ***
|
Quote:
I updated the notepad screenshot to show 3.0, by the way. |
Quote:
|
Great job, thanks for the hard work & quick improvements! Just one little bug with the collapsible box, the collapse state is not restored when returning to the User CP. The fix is easy, it's just missing this:
Code:
<tbody id="collapseobj_notepad" style="$vbcollapse[collapseobj_notepad]"> |
Thank you
|
Nice thing, thanks!
|
/me clicks install
|
Quote:
|
Quote:
|
Did you go to the Product Manager and search for "uVB - Personal Notepad"?
|
Quote:
Quote:
|
It's work now ..
|
Thanks for the update! :)
|
thanks installed... ;)
|
I've installed it.
The only complaint I have is that the text under the box (Increase size / Decrease size / You have used...) is not phrased, so can't be translated that easily. |
Nice touch, thanks!!
|
Quote:
For what it's worth, I changed the template a bit to put the "characters left" message on the left side, and the increase/decrease size links on the right, but on the same line, so they take less space. If that wants to work it's way into the next version, that's fine with me :) Also this might seem obsessive/compulsive, but I'd change the text of the save button from "Save notepad" to "Save Notepad", just so it looks more like default vB stuff. |
How difficult would it be to make this usergroup specific?
|
Quote:
|
Also, the character limit message should turn red when the contents exceeds the allowed limit, not when it matches it.
You have used 99/100 characters. You have used 100/100 characters. <- it turns red here, but they're still within the limit You have used 101/100 characters. <- it should turn red when it exceeds the limit. |
It was more thought of as a reminder that now they can't type more, but I guess it makes more sense the other way around.
Augh, forgot to phrase that thing. Will do. As for usergroup specific, that shouldn't be hard at all either. I'll go work on that stuff. :) Quote:
EDIT: Okay, got that done. |
All times are GMT. The time now is 02:54 AM. |
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:
|