UBB.Dev
ok guys,
i managed to make an addon for easy's ViewPmInfo hack called "Private message center" lol

its probably not the most decent hack,
but atleast it works!

what does it do?
it will show a pm center on the main page,
like the msn center hack.

** UPDATE: Now compatible with version 1.2
- sound added

for a demo go here:
Demo (demo url is updated to the new test board)

download it from here:
pm_center.zip

[ July 15, 2001 11:12 AM: Message edited by: Yunkie34 ]
Demo page not responding 8(
just tried it and it the link works fine.

try to copy the link and paste it in your browser
Triad to register at your testboard but got this errormessage:

FYI
Can not overwrite an existing profile number. Please notify the administration that their last_number.cgi file may be corrupt. Permissions on the Members directory must be reset, and the Member Stat files must be rebuilt afterwards. (00000017)
kakagaul, prob is fixed
Nice work. smile I will be sure to install it later.
Look's good laugh
Yes, that looks good laugh

Could it be a good idea to implement a link with direct access to your Buddy List, as an e@sy way to send PM? laugh
Quote
quote:
I also can't get to the Demo Page. Tried it in the afternoon and again just now.
Can't get to the Board or your home page even with copying the link.
Must have something to do with location...I am not able to look at the demo page either...Oh well maybe it will come back later.

RC
Does it work with viewpminfo 1.2 (the one with audio and immage notificatio) ?
Andromeda :
Please download the zip again.
i updated the instructions to make it compatible with version 1.2
it now supports sound. if you also want the
load image enabled than tell me please.
kaukagaul:

iadded a buddy link on my demo board,
tell me if that is what you wanted
thank you and yes i'd like to lad the immage to !!

thanks for helping
andromeda:

to add the image to the addon do the following:

open ubb_forum_summary.cgi

find:
Code
code:

replace with:

Code
code:

upload and clear your cache

[ July 15, 2001 04:15 PM: Message edited by: Yunkie34 ]
cheers your the man !!!
I added the hack, but how do I make it so there's access to the buddy list and such like it is in the demo board?

click here to see how it is on my board

[ July 16, 2001 05:11 AM: Message edited by: FrighT MasteR ]
open your public_forum_summary.pl

and find this:
Code
code:

remove the and tags


i made a type in the instructions.

the updated zip file has the right instructions.

[ July 16, 2001 05:09 AM: Message edited by: Yunkie34 ]
Thanks man. Now how do I add the send PM buddy list link and such?
Put somewhere in the HTML a href to $vars_config{CGIURL}/ultimatebb.cgi?ubb=buddy_list, like after
Quote
quote:
put
Quote
quote:
open public_forum_summary.pl
and find this:

Code
code:

add this under it:

Code
code:

if you guys have any suggestions for new stuff to add or about the looks, just tell me
I cant think of anything else that needs to be added.

[ July 16, 2001 07:08 AM: Message edited by: FrighT MasteR ]
Hi I have ViewPmInfo 1.2
Strange thing is that I hacked the files but nothing shows up on the Forum Summary
Did you clear your cache?
hehe yes I did, I checked it a couple of times, the code seems to be in place , I have the Chat and msn mods also , maybe it is because of that?
Can somebody tell me how to fix this error i got from this.

Example

Content-type: text/html
Software error:
open | -t -oi: No such file or directory at /www/gamenexus2k/cgi-bin/ubb_lib_mail.cgi line 39
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.
Why cant I find :

Code
code:

in my UBB_forum_summary.cgi ?

my board is at http://gamingrealm.co.uk/cgi-bin/ultimatebb.cgi

Please help. Thanks smile
Maurice:

nope, that has nothing to do with it,
if you followed the instructions and cleared you cache than it should work fine

[ July 16, 2001 04:02 PM: Message edited by: Yunkie34 ]
If you're talking to me, I'm saying that I can't find that code in ubb_forum_summary.cgi . Why ?
Zonex:
that message wasn't for you, but about your prob. Do you have the ViewPMinfo hack installed before adding this addon?

Phase Strike:
Check your mail
When I came home It worked I think it was a cache problem , Great Mod!!!! wink
Man thats nice didn't even acknowledge my post.
?? Maybe you can't read?

Quote
quote:
i contacted you by email

[ July 16, 2001 11:08 PM: Message edited by: Yunkie34 ]
What email did you use i didn't get anything?
i used this one: [email protected]
I installed this hack and it appears but it doesn't catch anything. It just says i have zero pm's. But on top of the forum it says i have 1. I go to look at them and nothing appears. You can take a look here to see what i mean http://gamenexus2k.com/cgi-bin/ultimatebb.cgi
Hrm.. I got the same error Phase-Strike got.. made a new account and sent messages back and forth fine...
Sending to an existing member produced that error.
Any help?

Quote
quote:
[ August 02, 2001: Message edited by: Soul ]
Hey, I have something to add:

I would like, in addition to the count of new messages, a count of total PM's for the user.

$pm_count is the right variable... can someone show me how to display it on the forum summary (in the private message center?)
Hi,

I have the same problem as Zonex! I also cann't find:

$howmuch='0';
if (-e "$vars_config{MembersPath}/pm_users/$user_number.pos") {
open (FILE, "<$vars_config{MembersPath}/pm_users/$user_number.pos");
&lock;
$in=;
$howmuch=$in;
&unlock;
close (FILE);
if ($howmuch eq "yes") {$howmuch = "a"};
$search="";
$replace='You have '.$howmuch.' new PM in your message inbox';
if ($howmuch ne "0") {
$ThisHTML =~ s/$search/$replace/gim;
}
else{
$ThisHTML =~ s/$search//gim;
}
}

on ubb_forum_summary.cgi!

I have never install the hack before.

I'm running ubb6.04d and have install this hacks:

Who's online hack 4.0.0
Last reply 2.01
Public Name Hack v. 1.0
Avatar v0.0007e FINAL
e-mail for reply 2.02
Start status 4.52 (home made fixed)
ULTIMATE EDIT HACK 4.1
Hit Hack 2.01
megamod (home made)
Preview Post 1.01
Stats Hack 1.02
Sticky threads for Ubb 6.XX ver 1.2
Rule Hack v0.2 (some home made rules)
Hide hack latest (some home made fixed)


Hope that you can help me. laugh wink

Greets
This is the addon to e@sy's ViewPMInfo hack , you have to have it.
Thanks you LK!
I want the hack to be above all my other forums. Where do i need to place the code to do that?
I would like, in addition to the count of new messages, a count of total PM's for the user, in the PM center on the forums summary page.

PLEASE HELP!
I love this hack, though I made a few changes to the placement it's a great add-on.
© UBB.Developers