PDA

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


Pages : [1] 2

Chen
07 Oct 2001, 11:21
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:
http://www.vbulletin.org/forum/attachment.php?s=&postid=182455
http://www.vbulletin.org/forum/attachment.php?s=&postid=182457
http://www.vbulletin.org/forum/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)
http://www.vbulletin.org/forum/attachment.php?s=&postid=182964

orca
07 Oct 2001, 12:05
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).

Chen
07 Oct 2001, 12:32
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... :)

Chen
07 Oct 2001, 12:56
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
07 Oct 2001, 13:15
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
07 Oct 2001, 17:59
WELL DONE FIREFLY!!!!!!!!!!

THANK YOU!!!:D

Chen
07 Oct 2001, 18:30
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
08 Oct 2001, 00:15
Brilliant! I look forward to the release :)

hacker
08 Oct 2001, 06:15
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 :)?

Chen
08 Oct 2001, 08:23
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
08 Oct 2001, 08:54
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. :)

Chen
08 Oct 2001, 09:01
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
08 Oct 2001, 09:54
I`m I want it :D

Chen
08 Oct 2001, 10:04
In a couple of minutes (really!).

Chen
08 Oct 2001, 10:15
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
08 Oct 2001, 11:28
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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
08 Oct 2001, 11:37
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
08 Oct 2001, 11:42
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.

Chen
08 Oct 2001, 12:43
kamrad.ru, run this query and attach a screen shot of what you get (don't worry, no private info will be displayed):


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


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
08 Oct 2001, 13:07
The pad works fine now, but nothing shows up on the My Vb Home page

Chen
08 Oct 2001, 13:10
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
08 Oct 2001, 13:15
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
08 Oct 2001, 13:29
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
08 Oct 2001, 14:21
Installation was easy - thank you for this great hack!!!
Tom

Chen
08 Oct 2001, 14:51
Installer:

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

BradC
08 Oct 2001, 15:00
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
08 Oct 2001, 16:06
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
08 Oct 2001, 16:11
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
08 Oct 2001, 16:27
All work`s it`s realy COOL, thanks :)

Justice
08 Oct 2001, 20:31
great job FireFly

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

SirFaraz Khan
08 Oct 2001, 22:07
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
08 Oct 2001, 22:28
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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



not usercp itself...

Mind you, I'm easily confused :p

SirFaraz Khan
09 Oct 2001, 00:43
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
09 Oct 2001, 01:40
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!

Chen
09 Oct 2001, 09:12
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. :)

Chen
09 Oct 2001, 09:56
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:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Changes to file usergroup.php (admin folder):
Add:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


right after:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Add:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


right after:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Changes to file member2.php (admin folder):
Add:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


right before:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


(two times)

Changes to file usercp.php (admin folder):
Replace:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Replace:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


with:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

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

magistr
09 Oct 2001, 11:51
very easy install
cool thanx

Chen
09 Oct 2001, 15:14
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!

Chen
09 Oct 2001, 15:33
Found a little (big) bug:
In member2.php, this code


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


should be like this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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

Justice
09 Oct 2001, 19:29
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
09 Oct 2001, 21:43
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?

Chen
10 Oct 2001, 06:22
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 Oct 2001, 10:43
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 Oct 2001, 23:09
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
11 Oct 2001, 01:47
thanx tubdogg....i'll add my customer info in a sec.

How do i edit my usercp template?!

Chen
11 Oct 2001, 07:07
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
12 Oct 2001, 15:07
I get a parse error on line 462 in my member2.php.

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

I'm stumped.

BradC
12 Oct 2001, 15:56
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
12 Oct 2001, 16:20
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
12 Oct 2001, 17:50
Here is your info Brad C.



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------

DarkReaper
13 Oct 2001, 19:29
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
13 Oct 2001, 19:35
In online.php:

Find:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Add below it:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------




Find:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



Add below it:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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

beatbox
13 Oct 2001, 22:03
My problem still stands.

the_sisko
14 Oct 2001, 00:20
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!

Chen
14 Oct 2001, 12:19
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
14 Oct 2001, 15:08
I got my problem fixed.

the_sisko
14 Oct 2001, 18:02
@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
14 Oct 2001, 22:05
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
14 Oct 2001, 23:15
....yet again!!!

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

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

Valkyre
15 Oct 2001, 16:10
You rule FF :)

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

EEK! :eek:

Chen
15 Oct 2001, 17:27
Valkyre, this hack is for version 2.0.3.

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

ray
16 Oct 2001, 23:19
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
17 Oct 2001, 00:39
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
19 Oct 2001, 13:14
I got this error:

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

Chen
19 Oct 2001, 13:18
What are you linking to that causes this error?

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

Silviu
19 Oct 2001, 13:25
<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?

Chen
19 Oct 2001, 13:26
Did you add the code to member2.php?
Looks like you didn't...

Silviu
19 Oct 2001, 13:27
Lemme adding it again, or at least check it :)

Silviu
19 Oct 2001, 13:32
Oh :P Used some terminal server session, dunno why that member2.php wasnt modified. weird.

All works now :) Thx for support.

Joe
21 Oct 2001, 21:05
Nice job! I'll add this one shortly! I can now remove that sug from my sig ;)

caphq
21 Oct 2001, 23:38
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
22 Oct 2001, 01:01
Does anyone have the install info in a txt file or something.

SirFaraz Khan
24 Oct 2001, 02:00
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
24 Oct 2001, 04:34
so nobody gonna help me out eh?

Chen
24 Oct 2001, 11:10
Did you run the query to create the table?

SirSteve
24 Oct 2001, 22:19
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
24 Oct 2001, 23:18
Sir Steve...Same here...

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

jamesdasher
24 Oct 2001, 23:22
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
25 Oct 2001, 00:32
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
25 Oct 2001, 03:28
Mine seems to be working just fine with just replacing them twice instead of three times.

Chen
25 Oct 2001, 11:36
I cannot help you SirFaraz Khan if you didn't add the table.

glenn001
28 Oct 2001, 02:24
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



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
28 Oct 2001, 02:40
=( I hope this hack will work on 2.somthing... =/ I rather like it... lol

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


-Syphin

glenn001
28 Oct 2001, 02:42
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
31 Oct 2001, 09:23
So where can i download this hack?.. i clicked on the link and just get told i am not logged in?..

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

WEBDosser
31 Oct 2001, 09:29
Sorry i have got it now.. just needed to change the vbulletin.com to vbulletin.org..

Thanx anyway..

JZarate
31 Oct 2001, 23:47
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
01 Nov 2001, 15:01
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
01 Nov 2001, 21:22
I believe that vpad installed is in the admin folder of v.2.2.0

mojotim
01 Nov 2001, 23:54
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
02 Nov 2001, 08:18
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?

Chen
02 Nov 2001, 12:16
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
02 Nov 2001, 23:59
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
03 Nov 2001, 00:24
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?

Chen
03 Nov 2001, 08:00
epi, all database changes are done automatically.

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

cyrus
05 Nov 2001, 16:34
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
06 Nov 2001, 02:50
I installed on 2.2, no problems :)

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

cyrus
06 Nov 2001, 12:03
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
06 Nov 2001, 21:54
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
06 Nov 2001, 22:34
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
09 Nov 2001, 21:17
nice hack :) used ur last ver b4 and it rocked thnx

bira
29 Nov 2001, 07:13
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
29 Nov 2001, 22:03
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
29 Nov 2001, 22:30
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
30 Nov 2001, 15:06
excellent.. first installed hack for me and i wish they could all be this easy!! ;):D

the_sisko
01 Dec 2001, 18:59
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
02 Dec 2001, 02:26
am I blind or something? I can't see any hack zip file to download :confused:

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

Thanks.

FWC
02 Dec 2001, 04:19
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
02 Dec 2001, 04:20
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
02 Dec 2001, 04:22
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
08 Dec 2001, 01:08
I installed this, but it doesn't even show up with anything in the admin panel, nore in the CP, weird :(

Crinos
08 Dec 2001, 07:02
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 (http://www.vbulletin.org/forum/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
09 Dec 2001, 00:12
vBpad rocks.

Afterburner
16 Dec 2001, 09:49
good work, its a great hack.

White Knight
25 Dec 2001, 19:18
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
25 Dec 2001, 20:26
run the installer and select "upgrade"

White Knight
26 Dec 2001, 04:53
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
27 Dec 2001, 08:26
SWEETNESS!!! installing this now!! :)

awesome job once again :)

Andrus
02 Jan 2002, 10:37
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
02 Jan 2002, 10:51
Nevermind! Doh! :rolleyes: Dummy here created a new template set rather than adding the new templates to the default.

Super Hack!

Andrus

Lucky
02 Jan 2002, 13:22
Great hack!

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

Chen
02 Jan 2002, 13:34
I wouldn't do that... but if you really want you can always check out the usernotepad table with phpMyAdmin.

bira
02 Jan 2002, 18:29
first PMs, now notepads :rolleyes:

over
03 Jan 2002, 12:07
excellent hack cheers :)

Shenlong
10 Jan 2002, 23:34
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
11 Jan 2002, 00:06
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
11 Jan 2002, 00:21
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
11 Jan 2002, 11:55
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!

Chen
11 Jan 2002, 13:04
Shenlong, you didn't run the queries you were told to run (CREATE TABLE and some more).

Xelation
23 Jan 2002, 21:24
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
24 Jan 2002, 02:18
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
26 Jan 2002, 16:30
I was looking through the code in the installscript, and I saw something that made me wonder a bit, namely:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



For actions like this wouldn't it be wiser to do something like this:


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
26 Jan 2002, 17:25
...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
31 Jan 2002, 14:08
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!

Chen
31 Jan 2002, 14:16
I hate this hack. :(

mondaynightmike
31 Jan 2002, 15:02
So this does not run on 2.2.1 only 2.0.3?

PhotoGenie
31 Jan 2002, 20:21
It runs on both 2.2.1 and 2.2.2..

Lucky
31 Jan 2002, 20:27
Originally posted by FireFly
I hate this hack. :(

Why?

mondaynightmike
31 Jan 2002, 20:38
Probably because of all the problems which has come with it!

Rose
31 Jan 2002, 20:41
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
31 Jan 2002, 23:24
Me too.

Works great.

I hope it is incorporated in 3.0

X-Fan
01 Feb 2002, 06:13
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
01 Feb 2002, 07:10
i dont know how i did it.. but i got the stupid thing to work!

Chen
01 Feb 2002, 12:46
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 Feb 2002, 09:25
just want to say thanks for an excellent hack firefly. Its excellent!

X-Fan
02 Feb 2002, 12:59
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
13 Feb 2002, 11:23
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
17 Feb 2002, 23:23
Anyone know if this hack works with vb2.2.2 ?

FWC
18 Feb 2002, 00:01
Originally posted by AndyTSJ
Anyone know if this hack works with vb2.2.2 ? Yes, it does.

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

Steph

Sidd
20 Feb 2002, 00:00
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
20 Feb 2002, 11:26
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
21 Feb 2002, 00:55
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?

Chen
21 Feb 2002, 11:05
Did you make all changes to the files? The installer doesn't do that by itself.

Xelation
24 Feb 2002, 22:51
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
26 Feb 2002, 06:24
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
26 Feb 2002, 15:53
thanks!!!

Lucky
27 Feb 2002, 00:08
no problem buddy. :)

Xelation
27 Feb 2002, 00:16
didn't work, I tried earlier today... sigh, now what could be the prob?

Lucky
27 Feb 2002, 00:43
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
27 Feb 2002, 03:18
I have found your problem.

I sent your member.php back to you.

Let me know the outcome.

Xelation
27 Feb 2002, 03:33
Thank you, It worked!!! thank you so much! :D :up:

Lucky
27 Feb 2002, 03:45
No problem my friend. :)

Erwin
28 Feb 2002, 10:04
Great hack! Easily installed! Thanks Chen! :)

Robert9
06 Mar 2002, 11:15
great hack!

ExcErr
11 Mar 2002, 18:03
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
12 Mar 2002, 10:49
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
14 Mar 2002, 08:05
can anyone help?

ZiRu$
19 Mar 2002, 04:50
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

Chen
19 Mar 2002, 06:10
You did not create the table, run the query as the install file tells you to.

OpalCat
19 Mar 2002, 11:35
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
20 Mar 2002, 23:38
does this work with 2.2.4?

UltimaKing
23 Mar 2002, 17:09
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

Chen
23 Mar 2002, 17:52
Run the queries, UltimaKing.

UltimaKing
23 Mar 2002, 20:25
OHHH, duh! lol thanks

Ignite
31 Mar 2002, 20:37
all i did was upload it into the amdin folder and i got nothing....

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

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

sub
22 Apr 2002, 09:23
Love this hack, really I do. Installed this for 2.2.5, went smoothly for me.

Elentari
14 May 2002, 14:11
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.
23 May 2002, 19:54
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.

Chen
23 May 2002, 20:15
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.
23 May 2002, 20:27
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.
23 May 2002, 20:30
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:) :)

Chen
24 May 2002, 07:23
I sent you the updated file, you missed a bracket before the vBpad code.

asarian
24 May 2002, 08:23
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

Chen
24 May 2002, 08:39
You need to do that yourself...

Jeremy W.
24 May 2002, 12:09
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
25 May 2002, 03:04
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.

Chen
25 May 2002, 05:55
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.

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

Why would you enter:
CREATE TABLE agvblegal1.usernotepad ()
Anyway? If you don't know what you're doing, don't do anything. Have fun reinstalling the board.

pavilion
25 May 2002, 12:53
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
13 Jun 2002, 03:06
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
18 Jun 2002, 21:16
When I click the link for my vbpad I get a blank page. :(

Roxie
18 Jun 2002, 21:18
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
18 Jun 2002, 21:26
nevermind. I forgot to upload my updated files. *smacks forehead*
Works great!

TalkHardRandy
24 Jun 2002, 05:28
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
24 Jun 2002, 20:32
i installed this when i had 2.2.1 now i upgraded to 2.2.6 ...will this work with 2.2.6?

Chen
25 Jun 2002, 11:20
Yes it will.

Keta
26 Jun 2002, 02:33
thanks firefly :)

Boofo
26 Jun 2002, 06:14
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.

Chen
26 Jun 2002, 06:33
No I haven't.

Jared Press
03 Jul 2002, 03:08
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
21 Jul 2002, 10:53
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
21 Jul 2002, 10:58
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
21 Jul 2002, 20:24
EDIT:

Nevermind, I missed one line with copying :(

Great hack!

chr@nox
22 Jul 2002, 09:28
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
22 Jul 2002, 21:48
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
28 Jul 2002, 02:35
FIrefly, will you marry me? God i just love your hacks, you rock*hail hail*

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

DanIAm
19 Aug 2002, 22:53
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
20 Aug 2002, 00:26
Wonderful hack - installed in 10 minutes, works like a charm!

Thanx much!

DanIAm
22 Aug 2002, 11:20
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
22 Aug 2002, 18:50
@ 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
22 Aug 2002, 19:00
@ 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
22 Aug 2002, 20:35
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
22 Aug 2002, 20:46
Glad I could help! :D

DanIAm
02 Sep 2002, 02:26
Any word on this and 2.2.7?

DanIAm
02 Sep 2002, 02:54
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?

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

Thanks in advance,
Dan

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

Boofo
02 Sep 2002, 03:46
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
02 Sep 2002, 05:26
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
02 Sep 2002, 05:38
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
02 Sep 2002, 06:01
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
05 Sep 2002, 21:44
nice as allways

DanIAm
06 Sep 2002, 20:03
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
23 Sep 2002, 01:03
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
29 Sep 2002, 19:56
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
30 Sep 2002, 18:41
bump

Dark Shogun
03 Oct 2002, 18:08
FireFly I keep getting an error when I try to run this:



Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
07 Oct 2002, 06:06
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
19 Oct 2002, 04:47
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
19 Oct 2002, 23:47
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
20 Oct 2002, 00:46
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
20 Oct 2002, 00:57
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
21 Oct 2002, 18:34
Well, I'm glad that no one wants to help me out. */sarcasm* :p

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

Dean C
21 Oct 2002, 18:44
Works fine for me on 2.2.8 :D

- miSt

N9ne
21 Oct 2002, 19:08
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
21 Oct 2002, 19:10
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
21 Oct 2002, 19:20
Did you create all templates correctly?

Data
21 Oct 2002, 19:30
You say all......I edited one. Which are they, and what do I put?

N9ne
21 Oct 2002, 19:48
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
21 Oct 2002, 19:54
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
21 Oct 2002, 22:08
Awesome hack!! I just got it installed. BTW.. Take a look at this hack: http://www.vbulletin.org/forum/showthread.php?s=&threadid=39663 to have an EASY way to run the SQL Querys!!

DanIAm
24 Oct 2002, 19:06
Is anyone still providing support for this?