Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Personal Notepad Details »»
Personal Notepad
Version: 3.1, by antialiasis antialiasis is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.6.7 Rating:
Released: 11-02-2007 Last Update: 11-04-2007 Installs: 127
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-03-2007, 08:16 PM
Shazz's Avatar
Shazz Shazz is offline
 
Join Date: Jun 2006
Location: Utah
Posts: 4,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its been in the mod graveyard. Ill look into this one
Its like admin notes in the admincp
Reply With Quote
  #13  
Old 11-03-2007, 08:27 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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">
<thead>
<tr>
    <td class="thead">
        <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('MYBOX')"><img id="collapseimg_MYBOX" 

src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_MYBOX].gif" alt="" border="0" /></a>
        TITLE HERE
    </td>
</tr>
</thead>
<tbody id="collapseobj_MYBOX" style="$vbcollapse[collapseobj_MYBOX]">
<tr>
    <td class="alt1" nowrap="nowrap">CONTENTS HERE</td>
</tr>
</tbody>
</table>
see also
https://vborg.vbsupport.ru/showthread.php?t=119931
Reply With Quote
  #14  
Old 11-03-2007, 08:58 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #15  
Old 11-03-2007, 09:00 PM
asw asw is offline
 
Join Date: Jun 2007
Location: Boise, Idaho
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for this great hack!

Installed without issues!
Reply With Quote
  #16  
Old 11-03-2007, 09:03 PM
johnrizz's Avatar
johnrizz johnrizz is offline
 
Join Date: Apr 2006
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just uninstalled old notepad and installed new.... thanks
Reply With Quote
  #17  
Old 11-03-2007, 09:25 PM
Analogpoint's Avatar
Analogpoint Analogpoint is offline
 
Join Date: Feb 2007
Posts: 656
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Snake View Post
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?
I installed it on my 3.6.8 test forums with no problem.
Reply With Quote
  #18  
Old 11-03-2007, 09:25 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Shazz View Post
I reported that mod too a while ago, and nothing was done lol.
I would hardly call one day "a while ago"

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.
Reply With Quote
  #19  
Old 11-03-2007, 10:22 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Analogpoint View Post
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.
Ah, damn, I keep forgetting to cache templates. Actually, now that you mention it, I intended to make it collapsible long ago and actually thought I'd done so already, but apparently not...

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:
In this case there was no clear evidence that the author had not given permission, so we contacted him.
Her.
Reply With Quote
  #20  
Old 11-03-2007, 10:50 PM
yoyoyoyo's Avatar
yoyoyoyo yoyoyoyo is offline
 
Join Date: Dec 2004
Location: USA
Posts: 1,612
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #21  
Old 11-03-2007, 11:54 PM
htscpl's Avatar
htscpl htscpl is offline
 
Join Date: Sep 2003
Location: Houston
Posts: 151
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice! This will make a great addition for my members *** installs ***
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:41 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
  • Page Generation 0.04381 seconds
  • Memory Usage 2,312KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete