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

My first bug is now fixed <3
@Oblivion: Thanks, I'll try that. I'll also try making it parse BB code/use smilies, if I have time.
And yes, you can modify the template code as you want, as long as you keep the basic stuff which is:
Code:
<form action="profile.php" method="POST">
<input type="hidden" name="userid" value="$bbuserinfo[userid]" />
<input type="hidden" name="do" value="pnotes" />
<textarea name="pnotes">$persnotes</textarea>
<input type="submit" />
Reply With Quote
  #13  
Old 04-13-2006, 06:04 PM
trainer trainer is offline
 
Join Date: Nov 2001
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

s this similar to this hack for vb2

https://vborg.vbsupport.ru/showthrea...ighlight=vbpad
Reply With Quote
  #14  
Old 04-13-2006, 06:15 PM
Aesma Deva Aesma Deva is offline
 
Join Date: Feb 2006
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With some work, I could turn it to something similar. Where was the result of the formatting displayed though? I don't own VB2 to try.
Edit ~ Or were they just saved and the code stayed unparsed? This way though I don't see the point of allowing/disallowing BB codes/html etc..
Reply With Quote
  #15  
Old 04-13-2006, 08:35 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

followed the instructions exactly imported the product then done the usercp edit, but not working, usercp has no notes box any idea's??

edit: hen the product is installed i get this error at the top of my page

Quote:
Parse error: parse error, unexpected '}' in /mounted-storage/home7/sub004/sc14626-UZRO/scottishwheelnut.co.uk/forum/profile.php(154) : eval()'d code on line 64
Reply With Quote
  #16  
Old 04-13-2006, 09:18 PM
Stangsta's Avatar
Stangsta Stangsta is offline
 
Join Date: Aug 2004
Location: Virginia
Posts: 440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm, it works just fine EXCEPT, it takes every page in the userCP (edit profile, edit signature, etc.) and replaces that page with the notes box.
Reply With Quote
  #17  
Old 04-13-2006, 09:19 PM
.Tim's Avatar
.Tim .Tim is offline
 
Join Date: Jan 2005
Location: Oklahoma City
Posts: 353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tipoboy
followed the instructions exactly imported the product then done the usercp edit, but not working, usercp has no notes box any idea's??

edit: hen the product is installed i get this error at the top of my page
Same error when submitting the note.
Reply With Quote
  #18  
Old 04-13-2006, 09:44 PM
apdcanari apdcanari is offline
 
Join Date: May 2005
Location: Belgique
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The bug is : header("Location:usercp.php")
Reply With Quote
  #19  
Old 04-14-2006, 02:40 AM
lordofgun lordofgun is offline
 
Join Date: Jan 2002
Posts: 285
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep...now none of my usercp links work.

uninstalling until a fix.
Reply With Quote
  #20  
Old 04-14-2006, 02:45 AM
SuperFly SuperFly is offline
 
Join Date: Feb 2005
Location: Mentor,Ohio
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice Asema

Now i know why your the master coder at my site
Reply With Quote
  #21  
Old 04-14-2006, 04:29 AM
BoYagoob BoYagoob is offline
 
Join Date: Jan 2005
Location: Doha
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

But there is a bug here:

Quote:
Originally Posted by tipoboy
followed the instructions exactly imported the product then done the usercp edit, but not working, usercp has no notes box any idea's??

edit: hen the product is installed i get this error at the top of my page

Parse error: parse error, unexpected '}' in /mounted-storage/home7/sub004/sc14626-UZRO/scottishwheelnut.co.uk/forum/profile.php(154) : eval()'d code on line 64
to fix that bug, just edit the xml file you download:

Find:
====

PHP Code:
header("Location:usercp.php")
};]] 
Replace it by:
===========

PHP Code:
header("Location:usercp.php")
;}]] 
( What I did is just reversing the }; to ;} )

Then, reimport it again. Remember to overwrite the old one.
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 01:18 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.04701 seconds
  • Memory Usage 2,308KB
  • 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
  • (5)bbcode_code
  • (2)bbcode_php
  • (3)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