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

Reply
 
Thread Tools
V3 Pad Details »»
V3 Pad
Version: 2.00, by Aesma Deva Aesma Deva is offline
Developer Last Online: Aug 2009 Show Printable Version Email this Page

Version: 3.5.4 Rating:
Released: 04-12-2006 Last Update: 04-26-2006 Installs: 19
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

Credit for the idea goes to Chen and his VBPad for VB 2.2.
Basically, this hack does the same. You can save a certain number of notes, with a certain number of characters each. HTML, BB code, the IMG tag and smilies can be used, everything set in the Admin CP.
The only feature missing (comparing to Chen's hack) that I know of is the date when the notes were last updated, which I'll probably be adding soon.
Installation:
1. Update the product-vbpad.xml from your admin CP
2. In the USERCP template find:
Code:
<!-- ############## END NEW REPUTATION ##############  -->
</if>
Add below:
Code:
<if condition="$padactivated">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
	<tr>
		<td class="tcat" colspan="5">
			My VB Pad Notes
		</td>
	</tr>
</thead>
<tbody>
$padoutput
</tbody>
</table>
</if>
3. In the USERCP_SHELL template find:
Code:
<tr>
	<td class="$navclass[options]" nowrap="nowrap"><a class="smallfont" href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td>
</tr>
Add below:
Code:
<tr>
	<td class="$navclass[v3pad]" nowrap="nowrap"><a class="smallfont" href="profile.php?do=editpad">Edit VB Pad</a></td>
</tr>
4. Make any changes you want in the VBPad options, in VBulletin options, and you're over

Screenshots:

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 04-13-2006, 03:23 PM
rareclownfish rareclownfish is offline
 
Join Date: Mar 2006
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screen shot
Reply With Quote
  #3  
Old 04-13-2006, 03:37 PM
dsotmoon dsotmoon is offline
 
Join Date: Jun 2003
Location: VA - USA
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sounds good, can you make it usergroup based?
Reply With Quote
  #4  
Old 04-13-2006, 03:39 PM
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Location: Virginia
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsotmoon
sounds good, can you make it usergroup based?
Just add a usergroup based conditional to the template edit.

Use this for reference: https://vborg.vbsupport.ru/showthread.php?t=109279
Reply With Quote
  #5  
Old 04-13-2006, 03:45 PM
Aesma Deva Aesma Deva is offline
 
Join Date: Feb 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot added (you can of course change the text field's width/height by changing the cols/rows attributes of the textarea tag).
Reply With Quote
  #6  
Old 04-13-2006, 03:50 PM
The Chief's Avatar
The Chief The Chief is offline
 
Join Date: Aug 2005
Location: Montreal
Posts: 1,037
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

looks interesting...
Reply With Quote
  #7  
Old 04-13-2006, 04:03 PM
trainer trainer is offline
 
Join Date: Nov 2001
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can you save more than i message? do you have a screen shot of mltiple messages?
Reply With Quote
  #8  
Old 04-13-2006, 04:08 PM
Aesma Deva Aesma Deva is offline
 
Join Date: Feb 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can save anything that you write in there, in as many lines as you want, if that's what you mean.
Edit ~ New screenshot attached to this post.
I'm open to suggestions by the way.
Reply With Quote
  #9  
Old 04-13-2006, 04:48 PM
Oblivion Knight's Avatar
Oblivion Knight Oblivion Knight is offline
 
Join Date: May 2002
Location: Sheffield, UK
Posts: 1,757
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Suggestion:

Try to use vB's editor rather than a textarea. Not that it would offer many improvements, but at least user's would be able to Increase/Decrease the editor size as they please, and if they use the WYSIWIG editor they could have quite a nicely formatted Notepad area.
Reply With Quote
  #10  
Old 04-13-2006, 04:49 PM
apdcanari apdcanari is offline
 
Join Date: May 2005
Location: Belgique
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My code :

Code:
<!-- ############## BLOC NOTES ##############  -->

<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_blocnotes')"><img id="collapseimg_usercp_blocnotes" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_usercp_blocnotes].gif" alt="" border="0" /></a>
			Notepad
		</td>
	</tr>
</thead>
<tbody id="collapseobj_usercp_blocnotes" style="$vbcollapse[collapseobj_usercp_blocnotes]">
		<tr class="thead">	
		<td class="alt1">
				<form action="profile.php" method="POST">
				<input type="hidden" name="userid" value="$bbuserinfo[userid]" />
				<input type="hidden" name="do" value="pnotes" />
				<p align="center">
				<textarea name="pnotes" rows="7" style="font-family:'courier new'" cols="80">$persnotes</textarea><br />
				<input type="submit" value="Save" />
				</p>
				</form>
		</td>
		</tr>
</tbody>
</table>
<br />
<!-- ############## END BLOC NOTES ##############  -->
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 12:06 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.06168 seconds
  • Memory Usage 2,296KB
  • Queries Executed 24 (?)
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
  • (5)bbcode_code
  • (1)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
  • (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