vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vBpad - Your personal notepad! (v1.0) (https://vborg.vbsupport.ru/showthread.php?t=29760)

Justice 10-09-2001 06:29 PM

thanks again FireFly. I'm gonna install this when I get home and tell you how well it goes

I guess I'll have to install phpMyAdmin or whatever it's called first. I haven't needed it thus far. :(

Pingu 10-09-2001 08:43 PM

Quote:

Updated the installer, but if you already installed this then you should do this change yourself.
Which one? There's two installers posted: one in the first post and one a bit further on

And does the installer include the "only available to certain groups" thing?

Admin 10-10-2001 05:22 AM

There's only one installer, I'm just linking from the first post to the other.
And no, it doesn't have the usergroups thing.

magistr 10-10-2001 09:43 AM

I HAVE A PROBLEMS!

i tested installer in my local server for win2000 prof and installer not replace and changed fies!

what i do it incorrect?

installation script working, but not replace files

jamesdasher 10-10-2001 10:09 PM

Okay, these probably hook together...

1. Update it so that the submit system is a little more 'advanced' basically make it similar to the post form (with the vB code buttons, etc., and such) also add a "Subject Field" to it...

this would probably include changing the layout of the "vBPad" page some...

2. On the usercp page instead of listing the whole note list the titles, add a 'delete' button to each listing by the titles and an 'edit' button...

3. On the 'post' and the 'reply' forms add a link that says "save to vBPad" so in case they didn't have the time to finish it and all they would have to do would be click on that save it to it and then open it later on...

couple of suggestions these could be expanded a bit...hope you can do something with them, I would appreciate them a lot!

SirFaraz Khan 10-11-2001 12:47 AM

thanx tubdogg....i'll add my customer info in a sec.

How do i edit my usercp template?!

Admin 10-11-2001 06:07 AM

SirFaraz Khan, enter your license information and I'll tell you. :)

jamesdasher, these are really great ideas.
Specially like the third one!
I'll work on that when I get the time. :)

beatbox 10-12-2001 02:07 PM

I get a parse error on line 462 in my member2.php.

This is line 462:
if ($bbuserinfo[userid]==0) {

I'm stumped.

BradC 10-12-2001 02:56 PM

beatbox..

tell me the 3 lines above that and 2 lines down..

cause most likely it is not on that line but right before it..

maybe missing a ; or a "

hacker 10-12-2001 03:20 PM

Quote:

Originally posted by tubedogg
Keep in mind that $usercpnav is pretty wide as it is...Kier and I spent some time a few months back trying to fit a new link on it (and keep it fitting within 800x600) and it wasn't fun. :)
Side navigation is better, below buddy list...... and can add as many later for addons...

beatbox 10-12-2001 04:50 PM

Here is your info Brad C.

Code:

// ############################### start view vbpad ###############################
if ($action=="notepad") {
  $templatesused="usercp_notepad";
  include("./global.php");

if ($bbuserinfo[userid]==0) {
  show_nopermission();
}

?>


DarkReaper 10-13-2001 06:29 PM

Ah..the infampus "Unknown location" problem. Someone forgot to add support for this to online.php! Doh! :)

I'm workin on it, gimme a few minutes :P

DarkReaper 10-13-2001 06:35 PM

In online.php:

Find:

PHP Code:

      $userinfo[activity] = 'buddy'

Add below it:

PHP Code:

    } else if ($token1 == 'action=notepad') {
      
$userinfo[activity] = 'notepad'


Find:

PHP Code:

    case 'addprivateevent';
      
$userinfo[where] = "Adding Private Event to the <a href='calendar.php?s=$session[sessionhash]'>Calendar</a>";
      break; 

Add below it:

PHP Code:

    case 'notepad':
      
$userinfo[where] = "Editing their <a href='member2.php?s=$session[sessionhash]&action=notepad'>vBpad</a>";
      break; 

Just noticed a bug! In online.php, the line "case 'addprivateevent';" should be "case 'addprivateevent':"

beatbox 10-13-2001 09:03 PM

My problem still stands.

the_sisko 10-13-2001 11:20 PM

Great thing!!!

What about a javascript popup on the reply and post pages so the user can put in all their notes with just one click!? For this it would be great if the notes could become a subject field!

Admin 10-14-2001 11:19 AM

The_Sisko, I'm working on adding titles to the notes.
It shouldn't take too long, but I don't have much time recently.

After that's done, it shouldn't be a problem to add a "Save to vBpad" feature. Just give me time... :)

beatbox 10-14-2001 02:08 PM

I got my problem fixed.

the_sisko 10-14-2001 05:02 PM

@FireFly: take your time....I know how it is with time ;)

But I think you got me wrong, I don't ask for a "Save to vB Pad". I'm thinking about a feature to output all your vB Pad data!

Lets say I use sometimes the same sentences. So it would be great if near the smilie popup on the post and reply page would be a popup where I can select my notes and with javascript I can so to speak "copy paste" the notes back into my message. Wouldn't be so hard to do this on my own. But would be a nice feature from the beginning! :)
So if you have time, think about it!

jamesdasher 10-14-2001 09:05 PM

The_Sisko, that is a very good idea, I would like that to be fitted into the idea I had with saved posts so you could just just select an entry and it would be inserted into the post...good idea!

James

NYI Fan 10-14-2001 10:15 PM

....yet again!!!

This was very easy to install, and it works great!!

The ideas others had for enhancements sound pretty cool as well.

Valkyre 10-15-2001 03:10 PM

You rule FF :)

Valkyre 10-15-2001 03:28 PM

<tr class='
Fatal error: Call to undefined function: getrowbg() in /home/valkyrec/public_html/forums/admin/install_vbpad.php on line 171

EEK! :eek:

Admin 10-15-2001 04:27 PM

Valkyre, this hack is for version 2.0.3.

Also please enter your license info in your profile. :)

ray 10-16-2001 10:19 PM

Just wondering is there an unistall file or this hack? I installed it and had a few problems and want to take it off.

Thanks,
Ray

Steve_S 10-16-2001 11:39 PM

FireFly,

Outstanding hack :)

Iv'e never been a big fan of most hacks but yours makes a huge step in improving the functionaility of vB for certain types of Communities.

Your hack should clearly be part of v 3. I encourage you to continue it's development. Gosh, take your time.

Time and date stamp
Pop-up to save data in pad
Quick printer dump of each note

A marvelous idea

Silviu 10-19-2001 12:14 PM

I got this error:

Fatal error: Call to undefined function: show_nopermission() in ......\member2.php on line 452

Admin 10-19-2001 12:18 PM

What are you linking to that causes this error?

Make sure you link to member2.php?action=notepad and not ?action=vbpad.

Silviu 10-19-2001 12:25 PM

<td bgcolor="$cpnav[8]"><smallfont><b><a href="member2.php?s=$session[sessionhash]&action=notepad">My vBpad</a></b></smallfont></td>

That's in usercpnav template. Shud i redo the complete install?

Admin 10-19-2001 12:26 PM

Did you add the code to member2.php?
Looks like you didn't...

Silviu 10-19-2001 12:27 PM

Lemme adding it again, or at least check it :)

Silviu 10-19-2001 12:32 PM

Oh :P Used some terminal server session, dunno why that member2.php wasnt modified. weird.

All works now :) Thx for support.

Joe 10-21-2001 08:05 PM

Nice job! I'll add this one shortly! I can now remove that sug from my sig ;)

caphq 10-21-2001 10:38 PM

Please help, I get this error when in my usercp and attempt to access the myBpad

Fatal error: Call to undefined function: show_nopermission() in /home/verbalwa/public_html/forums/member2.php on line 558

caphq 10-22-2001 12:01 AM

Does anyone have the install info in a txt file or something.

SirFaraz Khan 10-24-2001 01:00 AM

A few things....

in member2.php, i could only find this: $cpnav[7]="#DFDFDF"; 2 times instead of 3 (Should i be worried?)

also, after i installed the pad, and click on my usercp, i get this error:

Database error in vBulletin: Invalid SQL: SELECT lastupdated FROM usernotepad WHERE userid='74'
mysql error: Table '411hype_vb.usernotepad' doesn't exist
mysql error number: 1146
Date: Tuesday 23rd of October 2001 06:41:22 PM
Script: /usercp.php?s=
Referer: http://forums.411hype.com/

What do i do?

SirFaraz Khan 10-24-2001 03:34 AM

so nobody gonna help me out eh?

Admin 10-24-2001 10:10 AM

Did you run the query to create the table?

SirSteve 10-24-2001 09:19 PM

This step:

member2.php

Find this code:
$cpnav[7]="{secondaltcolor}";

Replace it with this code:
(3 times)
$cpnav[7]="{secondaltcolor}";
$cpnav[8]="{secondaltcolor}";

I only had it twice. It's not there a 3rd time. ??

SirFaraz Khan 10-24-2001 10:18 PM

Sir Steve...Same here...

FireFly, Yes i ran the queries. I don't think it created anything though.

jamesdasher 10-24-2001 10:22 PM

well, just to add some variety, FireFly, I just wanted to say GREAT HACK, got it working, and boy is it cool, look forward to more features!


All times are GMT. The time now is 04:21 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.01556 seconds
  • Memory Usage 1,817KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete