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

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

Version: 3.5.4 Rating:
Released: 06-01-2006 Last Update: 06-01-2006 Installs: 90
DB Changes Uses Plugins Template Edits
 
No support by the author.

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>
BELOW it add

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

Show Your Support

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

Comments
  #2  
Old 06-02-2006, 05:07 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screens?
Reply With Quote
  #3  
Old 06-02-2006, 05:16 PM
Ziki's Avatar
Ziki Ziki is offline
 
Join Date: Nov 2005
Posts: 2,704
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT:OK I can tell it works fine
Reply With Quote
  #4  
Old 06-02-2006, 05:20 PM
Stop Stop is offline
 
Join Date: Oct 2005
Location: Riyadh
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will try it. Thanks.
Reply With Quote
  #5  
Old 06-02-2006, 05:48 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 06-02-2006, 05:50 PM
Ohiosweetheart Ohiosweetheart is offline
 
Join Date: Dec 2005
Location: N.E. Ohio
Posts: 2,291
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this! However, I am going to wait until vB 3.6 is released
Reply With Quote
  #7  
Old 06-02-2006, 05:53 PM
lolo? lolo? is offline
 
Join Date: Jun 2005
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice hack i click install ^^
the product are cancel??
Reply With Quote
  #8  
Old 06-02-2006, 05:57 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small fix to let users store HTML codes without them getting messed up. Sorry about the product disappearing for a second.
Reply With Quote
  #9  
Old 06-02-2006, 06:19 PM
GrCh_Jeff's Avatar
GrCh_Jeff GrCh_Jeff is offline
 
Join Date: Dec 2005
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any way to spiff it up a little? like how to make it match the width of the box it is in?
Reply With Quote
  #10  
Old 06-02-2006, 06:29 PM
antialiasis's Avatar
antialiasis antialiasis is offline
 
Join Date: Jan 2006
Location: Iceland
Posts: 346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 06:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05014 seconds
  • Memory Usage 2,285KB
  • Queries Executed 23 (?)
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
  • (2)bbcode_code
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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