Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools
Details »»

Version: , by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 10-06-2001 Last Update: Never Installs: 125
 
No support by the author.

This will add a speical section to the User CP, called "My vBpad".

Started a reply but don't have time to finish it?
Need to save a certain sentence you use a lot? (*cough*)
Just put it there, and hit save!

Each pad can store multiple notes. Maximum number of notes can be set in the Admin CP.
You can also allow/disallow use of IMG code, vB code, smilies and HTML in notes.
Also storing the last time the pad was changed.

I was hoping that I could get fedback from you guys, and maybe turn this into something a lot better
So if you got any ideas, how this can be used to make life easier on a forum, please do not hesitate.

Screen shots:
https://vborg.vbsupport.ru/attachmen...&postid=182455
https://vborg.vbsupport.ru/attachmen...&postid=182457
https://vborg.vbsupport.ru/attachmen...&postid=182891

Read tubedogg's thread here for more info about running queries.

Installer: (upload to your admin folder and run)
https://vborg.vbsupport.ru/attachmen...&postid=182964

Show Your Support

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

Comments
  #132  
Old 01-10-2002, 11:06 PM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack works perfect for me on 2.2.1.

Just follow the directions to a T.

I found this hack extremely easy to install.
Reply With Quote
  #133  
Old 01-10-2002, 11:21 PM
Shenlong's Avatar
Shenlong Shenlong is offline
 
Join Date: Nov 2001
Location: Manhattan, New York
Posts: 167
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I am glad you think so, but it wouldn't work for me, I don't know why that error just kept coming up, I wanted this to work but I guess it won't oh well, 1 hack i cant install
Reply With Quote
  #134  
Old 01-11-2002, 10:55 AM
Stretchr's Avatar
Stretchr Stretchr is offline
 
Join Date: Dec 2001
Location: Georgia, USA
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've done quite a few hacks on our boards and initially had a problem with this one. Not saying it's the same for you but I found that, somehow, I'd missed a step. Even though I thought I'd gone over everything, still had made a mistake. With so many steps on the one page, I'd just skipped one. Once I corrected my error, the hack works great! Thanks!
Reply With Quote
  #135  
Old 01-11-2002, 12:04 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Shenlong, you didn't run the queries you were told to run (CREATE TABLE and some more).
Reply With Quote
  #136  
Old 01-23-2002, 08:24 PM
Xelation's Avatar
Xelation Xelation is offline
 
Join Date: Jan 2002
Location: Buffalo, New York
Posts: 457
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed it with no problems.... I have a question though... Is it possible to have admins and moderators to have a different ammount of characters than members? I want my mods and admins to have a 2000 character limit.
Reply With Quote
  #137  
Old 01-24-2002, 01:18 AM
Lucky Lucky is offline
 
Join Date: Dec 2001
Posts: 234
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Xelation
Just installed it with no problems.... I have a question though... Is it possible to have admins and moderators to have a different ammount of characters than members? I want my mods and admins to have a 2000 character limit.
That is a good idea!
Reply With Quote
  #138  
Old 01-26-2002, 03:30 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was looking through the code in the installscript, and I saw something that made me wonder a bit, namely:
Code:
INSERT INTO settinggroup (settinggroupid,title,displayorder) VALUES ('40','vBpad','32')
INSERT INTO setting (settingid,settinggroupid,title,varname,value,description,optioncode,displayorder) VALUES (NULL,'40','Maximum Characters per note','maxpadsize','250','The maximum number of characters that you want to allow per note. Set this to 0 to disable it.','','1')
For actions like this wouldn't it be wiser to do something like this:
PHP Code:
$DB_site->query_first ("INSERT INTO settinggroup (title,displayorder) VALUES ('vBpad','32')");
$settinggroupid $DB_site->insert_id ();
$DB_site->query_first("INSERT INTO setting (settingid,settinggroupid,title,varname,value,description,optioncode,displayorder) VALUES (NULL,$settinggroupid,'Maximum Characters per note','maxpadsize','250','The maximum number of characters that you want to allow per note. Set this to 0 to disable it.','','1')"); 
That way you should (in theory) be sure that you don't try to use some settinggroupid that is already in use.

Sure, it might be easy to edit the install file if this happens, but isn't my way much cleaner (again, in theory)?
Reply With Quote
  #139  
Old 01-26-2002, 04:25 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

...only now realising that you don't actually run the queries from your code *tired*

But my way would work pretty well, I think
Reply With Quote
  #140  
Old 01-31-2002, 01:08 PM
PhotoGenie PhotoGenie is offline
 
Join Date: Jan 2002
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed this hack on 2.2.2 .. This hack was a brilliant idea in my opinion. Only thing i ran into during the install was in /root/members2.php where it tells you

Find this code:

$cpnav[7]="{secondaltcolor}";

Replace it with this code:
(3 times)

$cpnav[7]="{secondaltcolor}";
$cpnav[8]="{secondaltcolor}";

I only found it twice so I only made 2 of the changes. I had it installed on 2.2.1 and its working just as well now as then. Colors are alternating right and everything. My personal rating on this hack is a 10!
Reply With Quote
  #141  
Old 01-31-2002, 01:16 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I hate this hack.
Reply With Quote
 


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 04:57 AM.


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.06180 seconds
  • Memory Usage 2,307KB
  • 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
  • (1)bbcode_php
  • (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
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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