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
  #32  
Old 04-19-2006, 03:27 PM
Aesma Deva Aesma Deva is offline
 
Join Date: Feb 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

~ Update ~
Most of this has been recoded. And yes, it now is like the VB Pad for VB 2.0.
Reply With Quote
  #33  
Old 04-19-2006, 03:59 PM
Allan's Avatar
Allan Allan is offline
 
Join Date: Jun 2003
Location: France
Posts: 1,513
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I like this hack, thanks

Click Install
Reply With Quote
  #34  
Old 04-19-2006, 04:25 PM
Aesma Deva Aesma Deva is offline
 
Join Date: Feb 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, though I forgot the textareas' cols and rows attributes, so you'll have to edit the VB Pad plugin at profile_start and change
Code:
$notetextfields.='<textarea name="padfield' . $pad_l . '" onblur="this.value=this.value.substring(0,' . $charsnum . ')">' . $txtfieldscont[$pad_l-1] . '</textarea><br />'
To
Code:
$notetextfields.='<textarea name="padfield' . $pad_l . '" rows="8" cols="60" onblur="this.value=this.value.substring(0,' . $charsnum . ')">' . $txtfieldscont[$pad_l-1] . '</textarea><br />'
Or download the product again and reinstall it, I've fixed it now.
Reply With Quote
  #35  
Old 04-19-2006, 05:29 PM
Throtex's Avatar
Throtex Throtex is offline
 
Join Date: Apr 2005
Location: Washington, D.C.
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is very useful! However, a few problems:
  • Your install code doesn't test to see if the field already exists ... it gives a database error if you try to create the field and it already exists (upgrading)
  • Something is fubared with using bbcode (user can't select the option, even if allowed by the admin)
  • The CP menu doesn't follow the format of the other links

That's all I have for now ... thanks.
Reply With Quote
  #36  
Old 04-27-2006, 02:10 AM
Alien's Avatar
Alien Alien is offline
 
Join Date: Oct 2001
Posts: 827
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is awesome and will be quite useful..

Once the 3 above problems are fixed I'd love to re-install this..

I look forward to it! Nice job!
Reply With Quote
  #37  
Old 04-27-2006, 10:40 AM
Aesma Deva Aesma Deva is offline
 
Join Date: Feb 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The BB code issue has been fixed.
Edit ~ The user CP nav must be also fixed now, though I can't find a solution to the database errors, unless if I make a seperate product for updating and a seperate one for installation.
Reply With Quote
  #38  
Old 05-06-2006, 12:05 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Aesma Deva
I can't find a solution to the database errors
Oh darn, database error eh? And I was so looking forward to install this too :surprised: Oh well, guess I'll hold off for now until everything works correctly...
Reply With Quote
  #39  
Old 05-06-2006, 07:51 AM
Aesma Deva Aesma Deva is offline
 
Join Date: Feb 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only database error happens when updating from a previous version of this to the current one, so if you haven't installed the previous one, you won't get any errors.
Reply With Quote
  #40  
Old 05-06-2006, 04:49 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK great! In that case we'll install it later today :bunny:
Reply With Quote
  #41  
Old 05-11-2006, 12:59 AM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure who wrote the HTML for this but it's incredibly sloppy

As a general rule <tr>'s need to be closed at the end of each row. <td>'s also need to be closed and fieldsets need to be inside a table, not outside of a table...
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 03:58 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.06639 seconds
  • Memory Usage 2,303KB
  • Queries Executed 26 (?)
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
  • (6)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
  • (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