PDA

View Full Version : vBpad - Your personal notepad! (v1.0)


Pages : [1] 2

Admin
10-06-2001, 10:00 PM
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/attachment.php?s=&postid=182455
https://vborg.vbsupport.ru/attachment.php?s=&postid=182457
https://vborg.vbsupport.ru/attachment.php?s=&postid=182891

Read tubedogg's thread here (http://www.vbulletin.com/forum/showthread.php?s=&threadid=18558) for more info about running queries.

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

orca
10-07-2001, 11:05 AM
Wow, a great hack again. May I gonna try it later on my home PC since I don't need it on my server (yet).

Admin
10-07-2001, 11:32 AM
Thanks orca.

Here is a screen shot of the main thing - for now, the only thing.
But I'm already working on a little add-on... :)

Admin
10-07-2001, 11:56 AM
Figured it's a waste of time to navigate thru the User Control Panel just to read the notes, so I added this.
(screen shot attached)

Will update first post in a couple of minutes.

chrispadfield
10-07-2001, 12:15 PM
this is a great plan, until now i have sent pms to myself ;)

the next feature would be able to have more than one notepad per person and an admin option to set the limit.

cool hack :)

maverick1236
10-07-2001, 04:59 PM
WELL DONE FIREFLY!!!!!!!!!!

THANK YOU!!!:D

Admin
10-07-2001, 05:30 PM
Wait, it gets better.
I added a couple of new features:
Now with support for multiple notes.
Admin can set max number of notes a user can have, and max chars for each note.
I just need to fix a few things and I'll release it.

Until then I remove the code from my first post to avoid too many people installing an old version. :)

MarkB
10-07-2001, 11:15 PM
Brilliant! I look forward to the release :)

hacker
10-08-2001, 05:15 AM
GREAT HACK AGAIN FROM FIREFLY!!

Now, shouldn't it be just called vB Pad or My vB Pad instead of Your vBPad to be consistent :)?

Admin
10-08-2001, 07:23 AM
Thanks hacker, I'll edit the templates.
(the reason I added "Your" there is because just vBpad looked small :p)
So I'll make everything "My vB Pad". (can someone edit the thread title for me? thank you!)

tubedogg
10-08-2001, 07:54 AM
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. :)

Admin
10-08-2001, 08:01 AM
Then I think I'll remove the link from the navigation, and just link to that page from that box that shows the notes.
You don't happen to know if it's possible to add something like maxlength="xx" to <textarea>, do you?
I don't want to add Javascripts... ;(

kamrad.ru
10-08-2001, 08:54 AM
I`m I want it :D

Admin
10-08-2001, 09:04 AM
In a couple of minutes (really!).

Admin
10-08-2001, 09:15 AM
Ok, it's done.

I added a lot of stuff, you can see everything by the screenshots I posted:
Main thing - http://www.vbulletin.com/forum/attachment.php?s=&postid=182455
User control panel - http://www.vbulletin.com/forum/attachment.php?s=&postid=182457
Admin options - http://www.vbulletin.com/forum/attachment.php?s=&postid=182891

webhost
10-08-2001, 10:28 AM
All works but the box does not show up to place notes in, a box comes up that has the following information in it
"Your notes:
Last updated: 10-08-2001 06:15 AM
You are allowed to have 10 notes, each can contain 250 characters
IMG code is , vB code is , smilies are , HTML is "

and says update my pad at bottom. When you click on update pad it gives you this error and then automaically goes back to the user profile.
warning varaiable passed to each () is not a array or an object at home/blab/blab/blab
on line 536

line 536 is this


while (list($key,$val)=each($notes)) {


I have ran queries and they look correct in database, also went into control panel set all vb pad options to yes and saved, and also updated all counters/
Any Ideas?

kamrad.ru
10-08-2001, 10:37 AM
Database vbulletin
Error
SQL-query : [Edit]

INSERT INTO settinggroup (settinggroupid,title,displayorder) VALUES ('40','vBpad','32')

MySQL said: Duplicate entry '40' for key 1

Back

webhost
10-08-2001, 10:42 AM
Did you install his first version, if so that might already be installed in that table. That is the reason you are getting the error, I got that error also but when i looked in the table it was there, so i went on with the install.

Admin
10-08-2001, 11:43 AM
kamrad.ru, run this query and attach a screen shot of what you get (don't worry, no private info will be displayed):
SELECT * FROM settinggroup WHERE settinggroupid>'30'
OR PM me with access to phpMyAdmin and I will install this for you.

Webhost, very strange.
I thought it's a problem when the table is empty, but I already ruled that possibility out.
Are you sure you created the table?

Anyway, I updated the first post. Updated part is the code for member2.php.

shadowbreed
10-08-2001, 12:07 PM
The pad works fine now, but nothing shows up on the My Vb Home page

Admin
10-08-2001, 12:10 PM
Nothing at all?
Then you either didn't add the code to usercp.php, or didn't create the templates usercp_mininotepad and usercp_mininotepad_bit.

shadowbreed
10-08-2001, 12:15 PM
oops,
i actually did all the changes but somehow it kept the old usercp.php in stead of the changed one, sorry to waste your time

GREAT HACK!!!

hacker
10-08-2001, 12:29 PM
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. :)

Maybe that can be kept shorter: All the Edit xxx is really redundant. Edit is not really needed as it is understaood. If so, vB Pad is sufficient instead of My vB Pad.

Dontom
10-08-2001, 01:21 PM
Installation was easy - thank you for this great hack!!!
Tom

Admin
10-08-2001, 01:51 PM
Installer:

(couldn't post any more in my post because I was over the max-chars limit! :eek:)

BradC
10-08-2001, 02:00 PM
Great idea and great addon, I am going to install it on a dev board here in a bit before my college class :)

thanks FireFly :)

Steve Machol
10-08-2001, 03:06 PM
Another excellent hack FireFly! :)

I have one question. How difficult would this be to limit to specific user groups? For instance, I am going to create a 'Premier Member' program for those people who donate to my site and something like this would be perfect as an added-on benefit for contributors.

poil11
10-08-2001, 03:11 PM
i don't know if there is such a need for multiple notes fields. i think one semi large field would be fine. i don't know, because people can just add there notes into the one main one. either way i like the idea for notes. on newpost, or newreply or whatever, there should be a link directly to go to your notes. or an option in the cp to display your notes on those pages. i like how yu used my post for testing.

kamrad.ru
10-08-2001, 03:27 PM
All work`s it`s realy COOL, thanks :)

Justice
10-08-2001, 07:31 PM
great job FireFly

Also, I feel the same way as smachol, about the user groups...

SirFaraz Khan
10-08-2001, 09:07 PM
when i run install_vbpad.php, it gives me this message:

Fatal error: Call to undefined function: cpheader() in /home/411hype/public_html/forums/install_vbpad.php on line 15

MarkB
10-08-2001, 09:28 PM
Just installed it! Thanks, it went flawlessly :)

- although, in the installer, it's a little confusing when it comes to editing the usercp template, as you actually need to edit usercp_nav to add in

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

not usercp itself...

Mind you, I'm easily confused :p

SirFaraz Khan
10-08-2001, 11:43 PM
nobody can solve my problem?!
When i run the install file, the following error comes up!...

Fatal error: Call to undefined function: cpheader() in /home/411hype/public_html/forums/install_vbpad.php on line 15

tubedogg
10-09-2001, 12:40 AM
You need to put that file in your /admin directory to run it.

Also, please enter your license information in your profile (http://www.vbulletin.com/forum/member.php?action=editprofile). See the link in my sig for more info. Thanks!

Admin
10-09-2001, 08:12 AM
Yup, sorry I didn't write it in my post.

MarkB, thanks for that, I'll fix it right away. :)

Steve, yeah it's very possible. Give me a couple of hours and I'll get to it. :)

Admin
10-09-2001, 08:56 AM
Alright Steve, Justice, here it is.
Works great as far as I tested it.

(by default, all usergroups have this DISABLED!)

ADDON: Make vBpad available only to certain usergroups, based on settings in Admin CP

Run query:
ALTER TABLE usergroup ADD cannotepad SMALLINT(6) DEFAULT '0' not null AFTER canwhosonlineip

Changes to file usergroup.php (admin folder):
Add:
maketableheader("My vBpad Permissions");
makeyesnocode("Can Use vBpad","cannotepad",1);
right after:
makeyesnocode("Can View IP Addresses on Who's Online","canwhosonlineip",0);

Replace:
$DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,cancontrolpanel,canmo difyprofile,canviewmembers,canview,cansearch,canem ail,canpostnew,canmove,canopenclose,candeletethrea d,canreplyown,canreplyothers,canviewothers,canedit post,candeletepost,canusepm,canpostpoll,canvote,ca npostattachment,ismoderator,canpublicevent,canpubl icedit,canthreadrate,cantrackpm,candenypmreceipts, maxbuddypm,maxforwardpm,canwhosonline,canwhosonlin eip)
VALUES (NULL,'".addslashes($title)."','".addslashes($usertitle)."',$cancontrolpanel,$canmodifyprofile,$canviewmembe rs,$canview,$cansearch,$canemail,$canpostnew,$canm ove,$canopenclose,$candeletethread,$canreplyown,$c anreplyothers,$canviewothers,$caneditpost,$candele tepost,$canusepm,$canpostpoll,$canvote,$canpostatt achment,$ismoderator,$canpublicevent,$canpublicedi t,$canthreadrate,$cantrackpm,$candenypmreceipts,$m axbuddypm,$maxforwardpm,$canwhosonline,$canwhosonl ineip)");
with:
$DB_site->query("INSERT INTO usergroup (usergroupid,title,usertitle,cancontrolpanel,canmo difyprofile,canviewmembers,canview,cansearch,canem ail,canpostnew,canmove,canopenclose,candeletethrea d,canreplyown,canreplyothers,canviewothers,canedit post,candeletepost,canusepm,canpostpoll,canvote,ca npostattachment,ismoderator,canpublicevent,canpubl icedit,canthreadrate,cantrackpm,candenypmreceipts, maxbuddypm,maxforwardpm,canwhosonline,canwhosonlin eip,cannotepad)
VALUES (NULL,'".addslashes($title)."','".addslashes($usertitle)."',$cancontrolpanel,$canmodifyprofile,$canviewmembe rs,$canview,$cansearch,$canemail,$canpostnew,$canm ove,$canopenclose,$candeletethread,$canreplyown,$c anreplyothers,$canviewothers,$caneditpost,$candele tepost,$canusepm,$canpostpoll,$canvote,$canpostatt achment,$ismoderator,$canpublicevent,$canpublicedi t,$canthreadrate,$cantrackpm,$candenypmreceipts,$m axbuddypm,$maxforwardpm,$canwhosonline,$canwhosonl ineip,$cannotepad)");

Add:
maketableheader("My vBpad Permissions");
makeyesnocode("Can Use vBpad","cannotepad",$usergroup[cannotepad]);
right after:
makeyesnocode("Can View IP Addresses on Who's Online","canwhosonlineip",$usergroup[canwhosonlineip]);

Replace:
$DB_site->query("UPDATE usergroup SET title='".addslashes($title)."',usertitle='".addslashes($usertitle)."',cancontrolpanel=$cancontrolpanel,canmodifyprofil e=$canmodifyprofile,canviewmembers=$canviewmembers ,canview=$canview,cansearch=$cansearch,canemail=$c anemail,canpostnew=$canpostnew,canmove=$canmove,ca nopenclose=$canopenclose,candeletethread=$candelet ethread,canreplyown=$canreplyown,canreplyothers=$c anreplyothers,canviewothers=$canviewothers,canedit post=$caneditpost,candeletepost=$candeletepost,can usepm=$canusepm,canpostpoll=$canpostpoll,canvote=$ canvote,canpostattachment=$canpostattachment,ismod erator=$ismoderator,canpublicedit=$canpublicedit,c anpublicevent=$canpublicevent,canthreadrate=$canth readrate,cantrackpm=$cantrackpm,candenypmreceipts= $candenypmreceipts,maxbuddypm=$maxbuddypm,maxforwa rdpm=$maxforwardpm,canwhosonline=$canwhosonline,ca nwhosonlineip=$canwhosonlineip WHERE usergroupid=$usergroupid");
with:
$DB_site->query("UPDATE usergroup SET title='".addslashes($title)."',usertitle='".addslashes($usertitle)."',cancontrolpanel=$cancontrolpanel,canmodifyprofil e=$canmodifyprofile,canviewmembers=$canviewmembers ,canview=$canview,cansearch=$cansearch,canemail=$c anemail,canpostnew=$canpostnew,canmove=$canmove,ca nopenclose=$canopenclose,candeletethread=$candelet ethread,canreplyown=$canreplyown,canreplyothers=$c anreplyothers,canviewothers=$canviewothers,canedit post=$caneditpost,candeletepost=$candeletepost,can usepm=$canusepm,canpostpoll=$canpostpoll,canvote=$ canvote,canpostattachment=$canpostattachment,ismod erator=$ismoderator,canpublicedit=$canpublicedit,c anpublicevent=$canpublicevent,canthreadrate=$canth readrate,cantrackpm=$cantrackpm,candenypmreceipts= $candenypmreceipts,maxbuddypm=$maxbuddypm,maxforwa rdpm=$maxforwardpm,canwhosonline=$canwhosonline,ca nwhosonlineip=$canwhosonlineip,cannotepad=$cannote pad WHERE usergroupid=$usergroupid");

Changes to file member2.php (admin folder):
Add:
$usergroupdef = getpermissions(0,-1,$bbuserinfo['usergroupid']);
if (!$usergroupdef['cannotepad']) {
show_nopermission();
}
right before:
$allnotes="";
(two times)

Changes to file usercp.php (admin folder):
Replace:
$padbits="";
$counter=1;
with:
$usergroupdef = getpermissions(0,-1,$bbuserinfo['usergroupid']);
if ($usergroupdef['cannotepad']) {
$padbits="";
$counter=1;

Replace:
eval("\$vbpad = \"".gettemplate("usercp_mininotepad")."\";");
with:
eval("\$vbpad = \"".gettemplate("usercp_mininotepad")."\";");
} else {
$vbpad="";
}

certify
10-09-2001, 09:59 AM
Excellent hack, well done! :)

magistr
10-09-2001, 10:51 AM
very easy install
cool thanx

Admin
10-09-2001, 02:14 PM
magistr, glad you liked it! :)
Can you please enter your license information in your profile. See the link in my sig for more info. Thanks!

Admin
10-09-2001, 02:33 PM
Found a little (big) bug:
In member2.php, this code
if ($maxpadnum!=0 and $counter<=$maxpadnum) {
should be like this:
if ($maxpadnum==0 or $counter<=$maxpadnum) {

Updated the installer, but if you already installed this then you should do this change yourself. :)

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
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
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.

// ############################### 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:


$userinfo[activity] = 'buddy';


Add below it:


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



Find:


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


Add below it:


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!

SirFaraz Khan
10-24-2001, 11:32 PM
FireFly, please help me. I would love to install your hack. I have a hiphop site and no other forum has a better use for this.

SirSteve
10-25-2001, 02:28 AM
Mine seems to be working just fine with just replacing them twice instead of three times.

Admin
10-25-2001, 10:36 AM
I cannot help you SirFaraz Khan if you didn't add the table.

glenn001
10-28-2001, 02:24 AM
I noticed this problem in an ealier thread

Originally posted by webhost
All works but the box does not show up to place notes in, a box comes up that has the following information in it
"Your notes:
Last updated: 10-08-2001 06:15 AM
You are allowed to have 10 notes, each can contain 250 characters
IMG code is , vB code is , smilies are , HTML is "

and says update my pad at bottom. When you click on update pad it gives you this error and then automaically goes back to the user profile.
warning varaiable passed to each () is not a array or an object at home/blab/blab/blab
on line 536

line 536 is this


while (list($key,$val)=each($notes)) {


I have ran queries and they look correct in database, also went into control panel set all vb pad options to yes and saved, and also updated all counters/
Any Ideas?

As it happens I have encountered this problems also and was wondering if anyone could shed any light on the problem.

Thanks.

Syphin
10-28-2001, 02:40 AM
=( I hope this hack will work on 2.somthing... =/ I rather like it... lol

Arg! I forgot whatelse i was ganna say.. >_<

-Syphin

glenn001
10-28-2001, 02:42 AM
Originally posted by glenn001
I noticed this problem in an ealier thread



As it happens I have encountered this problems also and was wondering if anyone could shed any light on the problem.

Thanks.


Thanks to Webhost I have corrected the problem. Was missing a template...doh!! :-)

WEBDosser
10-31-2001, 08:23 AM
So where can i download this hack?.. i clicked on the link and just get told i am not logged in?..

silence
10-31-2001, 08:28 AM
You have to enter your customer info in the user cp, or in the members area at vBulletin to download files.

WEBDosser
10-31-2001, 08:29 AM
Sorry i have got it now.. just needed to change the vbulletin.com to vbulletin.org..

Thanx anyway..

JZarate
10-31-2001, 10:47 PM
There are a free adjustments you need to make to the installer. Like the usercp part. V2.2.0 now has its own template for the usercpnav, so you need to alter the one too. I was actually able to do it myself. :)

SWFans.net
11-01-2001, 02:01 PM
My customer info has been input at both vbulletin.com and vbulletin.org, yet I still get a permission error(standard vBulletin permission error like you get when trying to edit a post without appropriate rights) when trying to download the installer.

EDIT: Firefly and I have worked through the issue and my downloading problem has been resolved. Many thanks Firefly. :)

JZarate
11-01-2001, 08:22 PM
I believe that vpad installed is in the admin folder of v.2.2.0

mojotim
11-01-2001, 10:54 PM
Seamless install, nice job! :)

A question for you:
How would I got about adding fields into vbPad?

What I want to do is set up a ride log for users with it. It would have a field for time, distance...you get the idea.

fury
11-02-2001, 07:18 AM
ok, THIS HACK ROCKS!

You rule, d00d! :D

Do you think there is any way to, for instance, make the vBpad notes and last updated time appear on the forum home page?

Admin
11-02-2001, 11:16 AM
mojotim, I'm afraid it will be a bit hard considering the way it works now. :(

fury, I'll post the code here in a bit, ok? :)

epi
11-02-2001, 10:59 PM
how do i make the data base changes on the first page? is there a php file to edit or do i have to add it too the data base? If i have to add it to the database how do i do that?

DarkReaper
11-02-2001, 11:24 PM
Firefly: are there any differences in the code to be changed for 2.2.0? I went ahead and re-hacked it using the old install file, does the new one have anything different?

Admin
11-03-2001, 07:00 AM
epi, all database changes are done automatically.

DarkReaper, I'm almost sure this works on v2.2.0. :)

cyrus
11-05-2001, 03:34 PM
i installed this hack when i had 2.3.0 , worked GREAT ! had no problems what so ever.

no that i upgraded to 2.2.0, i get this error :-

Fatal error: Call to undefined function: show_nopermission() in /home/xxxxxx/public_html/member2.php on line 470

i dont know what to do now as I dont know how to uninstall it or fix it.

can you help me FF ?? thanks

mojotim
11-06-2001, 01:50 AM
I installed on 2.2, no problems :)

Admin
11-06-2001, 09:39 AM
cyrus, have you rehacked your member2.php file already?
You get that error when you go to member2.php?s=&action=undefined-action.

cyrus
11-06-2001, 11:03 AM
REhack ? I only modified member2.php when I first installed vbpad to my site when it was running on 2.0.3

I have done nothing to the vbpad side when I started using 2.2.0

It doesnt work in 2.2.0 if you installed it before on 2.0.3 and upgraded.

FF, do I need to change anything to make it work with 2.2 ?? I can send u the member2.php so you can have a look if you want ?

thanks FF !!!

Crinos
11-06-2001, 08:54 PM
Got an error :(

---------------------------
Database error in vBulletin 2.2.0:

Invalid SQL: SELECT lastupdated FROM usernotepad WHERE userid='3'
mysql error: Table 'opentech_forums.usernotepad' doesn't exist

mysql error number: 1146
---------------------------

Anything I did wrong along the way? Thanks.

DarkReaper
11-06-2001, 09:34 PM
Originally posted by cyrus
REhack ? I only modified member2.php when I first installed vbpad to my site when it was running on 2.0.3

I have done nothing to the vbpad side when I started using 2.2.0

It doesnt work in 2.2.0 if you installed it before on 2.0.3 and upgraded.

FF, do I need to change anything to make it work with 2.2 ?? I can send u the member2.php so you can have a look if you want ?

thanks FF !!!

That's because you overwrote the old, hacked file, with the new, unhacked file. You'll need to re-hack all the files :)

over
11-09-2001, 08:17 PM
nice hack :) used ur last ver b4 and it rocked thnx

bira
11-29-2001, 06:13 AM
FireFly, really nice addition - thank you!!!

One suggestion: it would be nice if I could set limit character and number of notes per usergroup. Eg, I'd give registered users only 5 notes each limited to 1000 characters, but I'd give my moderators more than that and the admins unlimited.

What I'm suggesting is moving the limitation from Options to the usergroup, like Private Messaging max buddies feature.

Scrooge
11-29-2001, 09:03 PM
This sounds great and I am trying to install it but am confused. This is my very first attempt at installing a hack and I am very new, so please bear with my ignorance.

Here is what I did so far. I ran the script and started following instructions using myphpadmin. I ran all the queries on the first page, successfully. Kinda proud I got that far :)

Now I'm stuck. Okay, so I didn't get very far after all. The next step is "New Templates to Add". How do I do this? I looked all over and am not sure what to do. I looked under "templates" in myphpadmin but don't see add templates. Please help a newbie if you can. Thanks in advance.

Scrooge
11-29-2001, 09:30 PM
doh! After spending two hours looking in the wrong place I think I found it :) This is done through the VB Admin CP right? Well, at least I got some reading in on phpadmin.

tbloom2002
11-30-2001, 02:06 PM
excellent.. first installed hack for me and i wish they could all be this easy!! ;):D

the_sisko
12-01-2001, 05:59 PM
Todays my hacking day so I put this one on my list and did it!

Users love it and I'm happy!
Well done!!!

Nam
12-02-2001, 01:26 AM
am I blind or something? I can't see any hack zip file to download :confused:

Hooper
12-02-2001, 01:50 AM
Hi All. Just reading through the thread. How well does this install into 2.2.1? Completely compatible?

Thanks.

FWC
12-02-2001, 03:19 AM
Originally posted by Hooper
Hi All. Just reading through the thread. How well does this install into 2.2.1? Completely compatible?

Thanks. Works great on 2.2.1. :)

FWC
12-02-2001, 03:20 AM
Originally posted by Nam
am I blind or something? I can't see any hack zip file to download :confused: There is a link to the installer in Post #1.

Hooper
12-02-2001, 03:22 AM
Well Thank you FWC for the fast response. Glad you were around this evening. ;)

I noticed in the install file there are a few queries to make. No problem to do them manually but I guess the install script doesn't make the queries for you by any chance? May sound like a silly question, but I was wondering why there is an install script if it doesn't set up the tables, run queries etc....




Oh, before I forget FWC. What hack does your rollover effect on threads?

Sinecure
12-08-2001, 12:08 AM
I installed this, but it doesn't even show up with anything in the admin panel, nore in the CP, weird :(

Crinos
12-08-2001, 06:02 AM
Originally posted by Hooper
I noticed in the install file there are a few queries to make. No problem to do them manually but I guess the install script doesn't make the queries for you by any chance? May sound like a silly question, but I was wondering why there is an install script if it doesn't set up the tables, run queries etc....Yeah, that's the exact gripe I had about this hack ... I ran the install file and made the changes to the PHP files yet I got the error (even posted (https://vborg.vbsupport.ru/showthread.php?postid=199144#post199144) about it in this thread, but no one bothered answering it).

Then I realized the install file wasn't actually "doing" anything, so I had to view the PHP file and run the queries one-by-one in phpMyAdmin ... it worked like a charm after that ... so I was kinda confused that the install file "worked" for everyone else but it didn't for me ...

exodus
12-08-2001, 11:12 PM
vBpad rocks.

Afterburner
12-16-2001, 08:49 AM
good work, its a great hack.

White Knight
12-25-2001, 06:18 PM
I installed this for 2.0.3. I upgraded to 2.2.1.

I would really like to reinstall this hack but I need to know the files i need to edit since i cant run the installer. Can someone please help?

bira
12-25-2001, 07:26 PM
run the installer and select "upgrade"

White Knight
12-26-2001, 03:53 AM
i tried that.. i get this error.

Warning: Failed opening '/usr/local/apache/htdocs/forums/admin/install_vbpad.php' for inclusion (include_path='') in Unknown on line 0

DelusionalMind
12-27-2001, 07:26 AM
SWEETNESS!!! installing this now!! :)

awesome job once again :)

Andrus
01-02-2002, 09:37 AM
Well, I must have done something wrong. Not getting any errors, but when I go into user cp and click on the myvBpad link all I get is a blank white page? Any idea where I might have screwed up along the way?

Andrus
http://atozconcepts.com/vBulletin/index.php

Andrus
01-02-2002, 09:51 AM
Nevermind! Doh! :rolleyes: Dummy here created a new template set rather than adding the new templates to the default.

Super Hack!

Andrus

Lucky
01-02-2002, 12:22 PM
Great hack!

Just wondering if it can at all be made possible for the Admins to view members vBpad?

Admin
01-02-2002, 12:34 PM
I wouldn't do that... but if you really want you can always check out the usernotepad table with phpMyAdmin.

bira
01-02-2002, 05:29 PM
first PMs, now notepads :rolleyes:

over
01-03-2002, 11:07 AM
excellent hack cheers :)

Shenlong
01-10-2002, 10:34 PM
Hack gets bad rating on my part, didn't work for me, heh. i got this error:

Database error in vBulletin 2.2.1:

Invalid SQL: SELECT lastupdated FROM usernotepad WHERE userid='1'
mysql error: Table 'teleblaze.usernotepad' doesn't exist

mysql error number: 1146

Date: Friday 11th of January 2002 12:35:56 AM
Script: http://www.teleblaze.com/phpforums/phpforums/usercp.php?
Referer: http://teleblaze.com/phpforums/


so, :(

Lucky
01-10-2002, 11:06 PM
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.

Shenlong
01-10-2002, 11:21 PM
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 :(

Stretchr
01-11-2002, 10:55 AM
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!

Admin
01-11-2002, 12:04 PM
Shenlong, you didn't run the queries you were told to run (CREATE TABLE and some more).

Xelation
01-23-2002, 08:24 PM
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.

Lucky
01-24-2002, 01:18 AM
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!

Sparkz
01-26-2002, 03:30 PM
I was looking through the code in the installscript, and I saw something that made me wonder a bit, namely:

INSERT INTO settinggroup (settinggroupid,title,displayorder) VALUES ('40','vBpad','32')
INSERT INTO setting (settingid,settinggroupid,title,varname,value,desc ription,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:

$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,desc ription,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)? :)

Sparkz
01-26-2002, 04:25 PM
...only now realising that you don't actually run the queries from your code *tired* :)

But my way would work pretty well, I think :p

PhotoGenie
01-31-2002, 01:08 PM
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!

Admin
01-31-2002, 01:16 PM
I hate this hack. :(

mondaynightmike
01-31-2002, 02:02 PM
So this does not run on 2.2.1 only 2.0.3?

PhotoGenie
01-31-2002, 07:21 PM
It runs on both 2.2.1 and 2.2.2..

Lucky
01-31-2002, 07:27 PM
Originally posted by FireFly
I hate this hack. :(

Why?

mondaynightmike
01-31-2002, 07:38 PM
Probably because of all the problems which has come with it!

Rose
01-31-2002, 07:41 PM
Awww, FireFly! Don't hate this hack - it's really good! Just maybe a bit confusing. I have it working great on v2.2.1

Lucky
01-31-2002, 10:24 PM
Me too.

Works great.

I hope it is incorporated in 3.0

X-Fan
02-01-2002, 05:13 AM
Okay, I followed the install instructions to a "T" through all of the steps on my v2.2.1 board (upgrading to 2.2.2 soon), and I'm getting the same error that others have gotten:

Fatal error: Call to undefined function: show_nopermission() in /home/virtual/site15/fst/var/www/html/xfan/forums/member2.php on line 577

The My vBpad link in the User CP of my board links to

http://x-mencomics.com/xfan/forums/member2.php?s=&action=notepad

So what could the problem be? For a news/articles heavy board like mine, this hack would be a dream come true. Someone please help!

White Knight
02-01-2002, 06:10 AM
i dont know how i did it.. but i got the stupid thing to work!

Admin
02-01-2002, 11:46 AM
X-Fan - You need to make the changes to member2.php and upload it as well. :)

This hack, is by far one of the dumbest, densest, stupidest, useless, pointless hack I ever wrote... I wouldn't install it for anything. Nor use it. I thought it would be a good idea but I soon understood it's worthless.
But, if you guys like it then my goal have been accomplished. :pleased:

Cloughie
02-02-2002, 08:25 AM
just want to say thanks for an excellent hack firefly. Its excellent!

X-Fan
02-02-2002, 11:59 AM
Originally posted by FireFly
X-Fan - You need to make the changes to member2.php and upload it as well. :)

I swear I did that, as I'm very meticulous when it comes to installing hacks, but it looks like I missed a step as it's working now. Thanks FireFly (and my apologies for the oversight)!

But, if you guys like it then my goal have been accomplished. :pleased:

Believe me, it is a very useful hack for such a news/articles focus heavy site such as mine. Thanks for your time and effort!!!

Edgar
02-13-2002, 10:23 AM
I added this hack,but somehow vbpad doesn't appear in the usercp.
Can anybody tell me what I did wrong.

I'm running 2.2.0 and haven't upgraded yet.

AndyTSJ
02-17-2002, 10:23 PM
Anyone know if this hack works with vb2.2.2 ?

FWC
02-17-2002, 11:01 PM
Originally posted by AndyTSJ
Anyone know if this hack works with vb2.2.2 ? Yes, it does.

Steph2k
02-19-2002, 06:43 AM
I ran the installer but nothing happened. Vbpad doesnt show up. And I dont see any changes in the database either.

Steph

Sidd
02-19-2002, 11:00 PM
Hi

I Uploaded the file and ran it, the installation went through pretty smoothly but I dont see any options for it in the admin control panel. I am running V2.2.2, Is there anything I am missing or need to do?

help!!!!

Omero
02-20-2002, 10:26 AM
I'd love to see a "Save post to Vbpad" button in new reply/new thread... its very useful if you don't have time to finish the post, and wanna finish it later.

Also a "Load note from vbPad" would rock :) Anyone can help me with that?

DiscussAnything
02-20-2002, 11:55 PM
Sorry if this has been asked or explained already, but im a bit new to the code munching...

I installed the script, got no errors, completed the install...

but no changes appear in my 'user cp' area.

What should I look into changing?

Admin
02-21-2002, 10:05 AM
Did you make all changes to the files? The installer doesn't do that by itself.

Xelation
02-24-2002, 09:51 PM
I just recently found this problem with mine, when ever I go to edit password, or edit options... my vbpad goes black, does anyone know what could be happening? look at this....

Lucky
02-26-2002, 05:24 AM
Originally posted by Xelation
I just recently found this problem with mine, when ever I go to edit password, or edit options... my vbpad goes black, does anyone know what could be happening? look at this....

You simply forgot to add the changes to the member.php

Do so and the black will disapear.

Xelation
02-26-2002, 02:53 PM
thanks!!!

Lucky
02-26-2002, 11:08 PM
no problem buddy. :)

Xelation
02-26-2002, 11:16 PM
didn't work, I tried earlier today... sigh, now what could be the prob?

Lucky
02-26-2002, 11:43 PM
the problem exists in your member.php

Send member.php to me and I will take a look at it.

pm me for email addy.

Lucky
02-27-2002, 02:18 AM
I have found your problem.

I sent your member.php back to you.

Let me know the outcome.

Xelation
02-27-2002, 02:33 AM
Thank you, It worked!!! thank you so much! :D :up:

Lucky
02-27-2002, 02:45 AM
No problem my friend. :)

Erwin
02-28-2002, 09:04 AM
Great hack! Easily installed! Thanks Chen! :)

Robert9
03-06-2002, 10:15 AM
great hack!

ExcErr
03-11-2002, 05:03 PM
ok, i have some idea!
let's make some COOL, very cool VBPAD:
1. user can add some settings to this vbpad:
a) how can see it(usergroups or usernames)
b) how can add comments to his vbpad
2. all vbpads of users can see other users. all vbpads are stored in vbpad top(store by number of comments)
3. user can choose his own vbpad style - color, text size...
sorry for my english

OpalCat
03-12-2002, 09:49 AM
I downloaded the hack, went along smoothly... downloaded and successfully installed phpMyAdmin ...

Got to the part where it asked me to edit the various php files for vbulletin and it went smoothly except that one of the instructions said to find a certain line and replace it 3 times in a file but it was only in there 2 times as far as I could find both using a Find command and looking manually...

...the settings show up in my admin area but when I go to the actual pad in my user cp... I get a big white blank nothing. :(

'elp?

the forum is at http://test.fathom.org

OpalCat
03-14-2002, 07:05 AM
can anyone help?

ZiRu$
03-19-2002, 03:50 AM
i get a error

Database error in vBulletin 2.2.0:

Invalid SQL: SELECT lastupdated FROM usernotepad WHERE userid='1'
mysql error: Table 'blazing_test.usernotepad' doesn't exist

mysql error number: 1146

Date: Tuesday 19th of March 2002 12:45:30 AM
Script: http://www.blazing-mic.com/member2.php?s=&action=notepad
Referer: http://test.blazing-mic.com/member.php?s=&action=editavatar

Admin
03-19-2002, 05:10 AM
You did not create the table, run the query as the install file tells you to.

OpalCat
03-19-2002, 10:35 AM
I've gotten mine working (somehow I must have clicked the "next" twice by mistake as the first time around I never even saw the part where you add templates... LOL!) but there is one part still not working, and that is on the main user cp page. It says I've never updated, and shows nothing. I have two notes currently.

My board (not the test one, now!) is at http://fff.fathom.org/forums

trainer
03-20-2002, 10:38 PM
does this work with 2.2.4?

UltimaKing
03-23-2002, 04:09 PM
I tried to install it..I followed all of the steps, but when I clicked user cp to see what it looked like I got this error...

Database error in vBulletin 2.2.4:

Invalid SQL: SELECT lastupdated FROM usernotepad WHERE userid='1'
mysql error: Table 'finalfantasycity_com.usernotepad' doesn't exist

mysql error number: 1146

Admin
03-23-2002, 04:52 PM
Run the queries, UltimaKing.

UltimaKing
03-23-2002, 07:25 PM
OHHH, duh! lol thanks

Ignite
03-31-2002, 07:37 PM
all i did was upload it into the amdin folder and i got nothing....

MarkG
04-12-2002, 06:37 AM
Originally posted by Ignite
all i did was upload it into the amdin folder and i got nothing.... check the file's permissions

Ordovicium
04-15-2002, 04:24 PM
Is there a way to copy a posting directly into the vbpad?? With a Link or something else.

sub
04-22-2002, 08:23 AM
Love this hack, really I do. Installed this for 2.2.5, went smoothly for me.

Elentari
05-14-2002, 01:11 PM
Hi :)

I uploaded this file and ran the install, but when I go into usercp, I dont see anything! What am I doing wrong??? :dead:

Jeremy W.
05-23-2002, 06:54 PM
I'm getting a generic "Parse Error" at the end of my file, in this case, line 577.

Help! :(

edit: whoops, sorry, member2.php
I ran all the queries, did all the file changes, add all the templates, modified all the templates.

Admin
05-23-2002, 07:15 PM
You probably forgot to close a bracket in your code, might have pased the new code in the wrong place.

Email me with your member2.php and I'll see what I can do.

Jeremy W.
05-23-2002, 07:27 PM
I was having some other problems so I took it back to the original member2.php file and then did the 2 minor changes as required in the install sequence.

I've emailed you the file, I'll try and work on stuff at my end as well.

Jeremy W.
05-23-2002, 07:30 PM
K, I added an extra bracket (though it wasn't in the install sequence) as suggested and now the rest of the features work, but vBpad doesn't.

The only alteration to the code I sent you should be an extra } at the end of the file before the ?>

edit: and the final result I have now is a white screen when I go to vbPad, but the rest of the site now works (:phew:) :)

Admin
05-24-2002, 06:23 AM
I sent you the updated file, you missed a bracket before the vBpad code.

asarian
05-24-2002, 07:23 AM
I must be doing something wrong. I ran the script, it said it installed just fine, never gave any error message, but it never actually added anything, nor created any new tables and such. :(

- Mark

Admin
05-24-2002, 07:39 AM
You need to do that yourself...

Jeremy W.
05-24-2002, 11:09 AM
Yeah, I simply installed FireFly's SQL tool and was away to the races. Truly sorry for the confusion FireFly... After doing it 5 times I thought it was just about impossible I had missed such a small thing.

Thanx for your help :)

pavilion
05-25-2002, 02:04 AM
Hi, I installed this on fresh installed copy of vB 2.2.5 and when it finished I got this error when viewing the main page:

Database error in vBulletin 2.2.5:

Invalid SQL: SELECT lastupdated FROM usernotepad WHERE userid='1'
mysql error: Table 'agvblegal1.usernotepad' doesn't exist

mysql error number: 1146

Date: Saturday 25th of May 2002 03:56:44 AM
Script: http://alternativegaming.megacoasters.com/forums/forums/usercp.php?
Referer: http://alternativegaming.megacoasters.com/forums/index.php?


I edited the files and uploaded them, but it seems it didn't create the needed dB.

any ideas? :ermm:

-pavilion


***edit
just noticed other posts having same problem, but i dont understand how to run "querys" ?

how do i do that?

***edit 2
also noticed that in pics, in the admin part, theres a vbpad part. But I cant seem to find this. Does it have to do with this db error?


thanks.


*** e d i t ***

i no longer need help. i installed another hack for running querys.
and now i have to reinstall my forums.

didn't know what to put so i just put

CREATE TABLE agvblegal1.usernotepad ()

and now i have tons of errors in the admin part and half of the areas on my forums no longer work and i'm getting e-mailed with tech crap.

never installing this again. poor lame ass readme.

Admin
05-25-2002, 04:55 AM
[QUOTE]Originally posted by pavilion
***edit
just noticed other posts having same problem, but i dont understand how to run "querys" ?

how do i do that?

*** e d i t ***

i no longer need help. i installed another hack for running querys.
and now i have to reinstall my forums.

didn't know what to put so i just put

CREATE TABLE agvblegal1.usernotepad ()

and now i have tons of errors in the admin part and half of the areas on my forums no longer work and i'm getting e-mailed with tech crap.

never installing this again. poor lame ass readme.

pavilion
05-25-2002, 11:53 AM
first, i've made my own fuctioning flatfile/php forum.
i however have no clue about mysql.

I only know how to create the db's, not "run querys".

and about: "If you with your "poor lame ass" reading skills can't read what the script says, don't even bother installing hacks. "

I've installed more then 300 Ultimate Bulletin Board hacks and they have all worked. And PLUS! their readme's were in detail so that even a n00b like me can install them.

You however, Just keep saying "Run the queries"

well, HOW?

-ag

Lorddraco98
06-13-2002, 02:06 AM
I got vBPad installed right, but does anyone know why when I click on the "subscribed threads" link in the User CP it now shows an empty vB Pad with no where to even input stuff for the vBPad. How do I get my subscribed threads view back?

Roxie
06-18-2002, 08:16 PM
When I click the link for my vbpad I get a blank page. :(

Roxie
06-18-2002, 08:18 PM
Originally posted by OpalCat
I downloaded the hack, went along smoothly... downloaded and successfully installed phpMyAdmin ...

Got to the part where it asked me to edit the various php files for vbulletin and it went smoothly except that one of the instructions said to find a certain line and replace it 3 times in a file but it was only in there 2 times as far as I could find both using a Find command and looking manually...

...the settings show up in my admin area but when I go to the actual pad in my user cp... I get a big white blank nothing. :(

'elp?

the forum is at http://test.fathom.org

This is the exact same problem I have.

Roxie
06-18-2002, 08:26 PM
nevermind. I forgot to upload my updated files. *smacks forehead*
Works great!

TalkHardRandy
06-24-2002, 04:28 AM
FF, I don't give two flips what anyone else says... this hack rocks. Especially with the add-on so that admins & mods can keep track of users & what not and the regular users can't use it.

Keta
06-24-2002, 07:32 PM
i installed this when i had 2.2.1 now i upgraded to 2.2.6 ...will this work with 2.2.6?

Admin
06-25-2002, 10:20 AM
Yes it will.

Keta
06-26-2002, 01:33 AM
thanks firefly :)

Boofo
06-26-2002, 05:14 AM
I just read through the whole thread and I don't think I missed anything. Chen, did you ever post the code to be able to post something directly to vbpad like from a message or link or something? :) If I missed it, I'm sorry.

Admin
06-26-2002, 05:33 AM
No I haven't.

Jared Press
07-03-2002, 02:08 AM
I would like to try out this hack but I dont understand how to do that? I see an install button and an unstall button but not sure what they are doing?

iblis
07-21-2002, 09:53 AM
hmm.. how do I un-install this script? :p

(nothing personal firefly, but I cant get it to work, and then I realise that I dont need it)

Boofo
07-21-2002, 09:58 AM
What addon is this? I must have missed it or already installed it. :)

Originally posted by TalkHardRandy
FF, I don't give two flips what anyone else says... this hack rocks. Especially with the add-on so that admins & mods can keep track of users & what not and the regular users can't use it.

Domenico
07-21-2002, 07:24 PM
EDIT:

Nevermind, I missed one line with copying :(

Great hack!

chr@nox
07-22-2002, 08:28 AM
very nice hack firefly (as usual)

can the admins also see what the users have in their vBpad?
or is that restricted info? :p

Darth Cow
07-22-2002, 08:48 PM
I seem to have gotten everything working, EXCEPT for member2.php - it's not loading up in vbpad mode :(. Can someone take a look and tell me what's wrong?

Thanks!

(running vBulletin 2.2.6 with several other hacks installed FYI)

proxyMX
07-28-2002, 01:35 AM
FIrefly, will you marry me? God i just love your hacks, you rock*hail hail*

NexDog
08-06-2002, 12:27 PM
Pretty outstanding. That installer is the best idea I've seen. Clicks Install twice cos I like it that much. ;)

DanIAm
08-19-2002, 09:53 PM
I promise that I have searched every thread in this topic and cannot find the answer to my problem.

I installed this hack on my 2.2.6 board. Everything appeared to go well. Before testing it out, I went into the admin controls and altered the settings to only allow one box with 1000 characters. I then went to the VBPad option in the UserCP, and I saw TWO boxes that said 'Welcome to your personal vBpad!'

I entered some test texted into one and clicked update my pad, and they it took me to the main userCP section.

I then clicked my vbPad again and now it still shows the 'Welcome to your personal vBpad!' twice, but now also the test test I had entered... but there are TWO boxes for that as well, as if I entered it in twice.

Why is this happening, I would appriciate any help.
Thanks in advance...
Dan

2 X Viverridae
08-19-2002, 11:26 PM
Wonderful hack - installed in 10 minutes, works like a charm!

Thanx much!

DanIAm
08-22-2002, 10:20 AM
Originally posted by DanIAm
I promise that I have searched every thread in this topic and cannot find the answer to my problem.

I installed this hack on my 2.2.6 board. Everything appeared to go well. Before testing it out, I went into the admin controls and altered the settings to only allow one box with 1000 characters. I then went to the VBPad option in the UserCP, and I saw TWO boxes that said 'Welcome to your personal vBpad!'

I entered some test texted into one and clicked update my pad, and they it took me to the main userCP section.

I then clicked my vbPad again and now it still shows the 'Welcome to your personal vBpad!' twice, but now also the test test I had entered... but there are TWO boxes for that as well, as if I entered it in twice.

Why is this happening, I would appriciate any help.
Thanks in advance...
Dan

BUMP!

2 X Viverridae
08-22-2002, 05:50 PM
@ DanIAm - I attempted to duplicate your problem on my test board, and came up with the following.

Check your usercp_notepad_bit template.

It should be...

<tr>
<td bgcolor="$bgcolor" nowrap><normalfont><textarea name="notes[]" rows="5" cols="62">$val</textarea></normalfont></td>
</tr>

If, you check, I think you will find you have the above entered 2 times in the template, and it should only be once.

Hope this helped.

2 X Viverridae
08-22-2002, 06:00 PM
@ Firefly - I just noticed that if you delete ALL your notes, the last updated says 'Never' as opposed to the time you last deleted all your notes. Not a big deal...:D

DanIAm
08-22-2002, 07:35 PM
Originally posted by 2 X Viverridae
@ DanIAm - I attempted to duplicate your problem on my test board, and came up with the following.

Check your usercp_notepad_bit template.

It should be...

<tr>
<td bgcolor="$bgcolor" nowrap><normalfont><textarea name="notes[]" rows="5" cols="62">$val</textarea></normalfont></td>
</tr>

If, you check, I think you will find you have the above entered 2 times in the template, and it should only be once.

Hope this helped.

Thank you very much! This indeed was the problem, and upon your suggested corrections, the issue has been resolved. Thanks again.

:D

2 X Viverridae
08-22-2002, 07:46 PM
Glad I could help! :D

DanIAm
09-02-2002, 01:26 AM
Any word on this and 2.2.7?

DanIAm
09-02-2002, 01:54 AM
I decided to go ahead and reinstall the hack on my 2.2.7 board.

The vBPad itself works fine and seems to be without error.

However in my admin control>vBulletin Options
panel> the vBPad section duplicates every option. I have included a pic for reference. <see below> It shows the default option settings, as well as the option setting I had configured when 2.2.6 was installed. What can I do to correct this?

https://vborg.vbsupport.ru/

Thanks in advance,
Dan

Gohan
09-02-2002, 02:12 AM
i've install on my forum 2.2.7 and work fine, great hack!

Boofo
09-02-2002, 02:46 AM
Did anyone ever come up with a way to have this have different option limits for different usergroups? Or even have an option to have the Admin and whoever else he wants to bypass the max notes and max character limits?

Boofo
09-02-2002, 04:26 AM
Does anyone know the queries I need to run to set the max number of notes allowed and the max characters allowed for each usergroup in the database for this? I can figure out the rest if I can get that part done.

Erwin
09-02-2002, 04:38 AM
There's no need for queries. If you install the hack correctly, you can set those options in your Admin CP under vBulletin Options, vBPad Options.

Boofo
09-02-2002, 05:01 AM
No...No...that's not what I mean. I want to be able to set the max notes and max characters for EACH usergroup, not just global, which is the way it does it now.

Originally posted by Erwin
There's no need for queries. If you install the hack correctly, you can set those options in your Admin CP under vBulletin Options, vBPad Options.

Rodney
09-05-2002, 08:44 PM
nice as allways

DanIAm
09-06-2002, 07:03 PM
Could anyone please tell me what I did wrong for my admin options to look like this only for vbPad:

http://www.mentalmingle.com/images/VBPAD.jpg

hypedave
09-23-2002, 12:03 AM
I got the following error

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/mindsigh/public_html/path/member2.php on line 148

Parse error: parse error in /home/mindsigh/public_html/path/member2.php on line 148

N9ne
09-29-2002, 06:56 PM
Does this work in 2.2.8?

How many queries per page does this add?

If it does add queries, which pages does it add and how many?

N9ne
09-30-2002, 05:41 PM
bump

Dark Shogun
10-03-2002, 05:08 PM
FireFly I keep getting an error when I try to run this:

INSERT INTO settinggroup (settinggroupid,title,displayorder) VALUES ('40','vBpad','32')

I think that 40 is being used for the g-forces warning hack and if it is the 32 that something is there also. Do you know what I can do?

Dark Shogun

Anitah
10-07-2002, 05:06 AM
I've meticulously followed all the directions in the install, checked and rechecked several times, and still get this error:

Parse error: parse error, unexpected $ in /home/mydomain/public_html/forum/member2.php on line 493

I don't see it.

I'm running vb version 2.2.6

What gives. Anybody know?

BigCheeze
10-19-2002, 03:47 AM
OK...I'm sorry... I guess I'm being stupid. (Like normal)

This Install PHP is an acutaly installer? Or a set of instructions. And I need to install phpMyAdmin prior to installing???

Sorry... for the stupidness.... And Thanks!!!

N9ne
10-19-2002, 10:47 PM
Bump, can anyone confirm this working with 2.2.8 without any bugs?

Also, Dark Shogun: I have the warning hack installed too, so I will encounter the same problem as you, can a whizz at PHP help us out please?

Data
10-19-2002, 11:46 PM
I installed the install_vbpad.php file correctly, but I don't know what to do now. What exactly do I have to edit, and what's this about the license information...

Data
10-19-2002, 11:57 PM
OH wait, I updated my profile info, I'm Redshifted. I just use Data too. What's more, I edited my usercpnav template to add the My vBpad cell, but when I click on the link, I get a blank page.

Data
10-21-2002, 05:34 PM
Well, I'm glad that no one wants to help me out. */sarcasm* :p

N9ne
10-21-2002, 05:38 PM
Hehe no one wants to help me out either, we're on the same boat and it's sinking ;)

Dean C
10-21-2002, 05:44 PM
Works fine for me on 2.2.8 :D

- miSt

N9ne
10-21-2002, 06:08 PM
Right, got it installed. For those of you who have the Warning System hack by g-force installed, in the queries you have to run, replace all instances of 40 with 41.

Is it possible so when someone is posting, they can "call" something from their vB pad? Ie. it could just include the code into their post...from their pad. Like maybe have it so when they add a note into their vB pad, a number or some sort of indentification is assigned to it and while posting [newthread, newreply, quickreply], they can simply type some variable in and it will be parsed?

Data
10-21-2002, 06:10 PM
Eh, I "installed" the file, but I get a blank page with the member2.php file ...that's when I click on the My vBpad link. What does that mean?

N9ne
10-21-2002, 06:20 PM
Did you create all templates correctly?

Data
10-21-2002, 06:30 PM
You say all......I edited one. Which are they, and what do I put?

N9ne
10-21-2002, 06:48 PM
Did you run install_vbpad.php in your admin directory? It gives full instructions, first it tells you which queries to run, then it tells you which templates to create and what to put in them and then it tells you file edits you need to make, then it tells you what template modifications you need to make...

Data
10-21-2002, 06:54 PM
Yeah, ugh. I need to double check things, but that's on Friday. The PC lab administrators at my university don't allow program installations, and I don't have one at my dorm. :(
...I'll get back to you on it, though.

BigCheeze
10-21-2002, 09:08 PM
Awesome hack!! I just got it installed. BTW.. Take a look at this hack: https://vborg.vbsupport.ru/showthread.php?s=&threadid=39663 to have an EASY way to run the SQL Querys!!

DanIAm
10-24-2002, 06:06 PM
Is anyone still providing support for this?