UBB.Dev
Posted By: freeTV [6.1x] PMLink 6.1 Release - 10/23/2001 8:48 PM
The purpose of this hack is to divorce the Private Message page from the "my profile" page. It will also create a PM link in the header.

The hack can be downloaded from HERE .

To download, move your cursor to the word HERE above, click on the RIGHT mouse button, and Save Target As.

Update:
- Includes send PM button which allows PM Submit to any Member Name directly from the PM page (credit is given to AmyKhar).
- Works with Jordo's PmSys Hack
- Tested on UBB 6.1.0.2 release
- Fixed reload-page and invalid member-output, 11/3/01 by XChrome

[ 10-31-2001: Message edited by: freeTV ]

[ 11-01-2001: Message edited by: freeTV ]

[ 11-04-2001: Message edited by: freeTV ]
Posted By: maurice Re: [6.1x] PMLink 6.1 Release - 10/23/2001 8:53 PM
Do you have a demo, this Pm things confuses me, I have the Syspm installed from Jordo
Posted By: freeTV Re: [6.1x] PMLink 6.1 Release - 10/23/2001 9:09 PM
No demo is needed. It's very self-explainatory. Let me elaborate here: The UBB "My profile" consists of 2 parts: "my profile" on top, and "Private Message" at the bottom. Most of the time, when you access the PMs, you don't need to load the top part; it's taking up space and bandwidth. This hack will separate the 2 parts. In addition, it adds a "PM Submit" button, so that you can send PM to any member name directly from the PM Link.

Hope it helps!
Posted By: maurice Re: [6.1x] PMLink 6.1 Release - 10/23/2001 11:52 PM
Aha I got it now, Thanks for clearing it up!!
Posted By: Raichu Babai Re: [6.1x] PMLink 6.1 Release - 10/25/2001 12:20 PM
Hrmmm link dont work
Posted By: Outback2K1 Re: [6.1x] PMLink 6.1 Release - 10/25/2001 6:12 PM
my Send PM buttom is nowhere to be found...
Posted By: freeTV Re: [6.1x] PMLink 6.1 Release - 10/25/2001 10:14 PM
Outback: sorry, file has been updated! Try it now.
maurice: Try HERE .
Posted By: Mitchel Re: [6.1x] PMLink 6.1 Release - 10/31/2001 3:48 PM
Hi !

My board shows following error-message:

Can't find string terminator "send_pms" anywhere before EOF at /../Templates/public_my_pm.pl line 46.

Mitchel
Posted By: freeTV Re: [6.1x] PMLink 6.1 Release - 10/31/2001 4:15 PM
Your ultimatebb.cgi was not hacked correctly or you might have the old hack. Re-download the zip file and re-hack.
Posted By: Mitchel Re: [6.1x] PMLink 6.1 Release - 10/31/2001 5:27 PM
I have just re-hacked my files and I have used the files from the first posting in this thread.

I recieve the same error message again!
Posted By: freeTV Re: [6.1x] PMLink 6.1 Release - 10/31/2001 5:37 PM
That file was updated this morning. Have you re-downloaded it?
Posted By: Mitchel Re: [6.1x] PMLink 6.1 Release - 10/31/2001 6:30 PM
My download was just one hour ago.
Posted By: freeTV Re: [6.1x] PMLink 6.1 Release - 10/31/2001 7:22 PM
Check your PM
Posted By: DJSharp Re: [6.1x] PMLink 6.1 Release - 11/01/2001 10:11 AM
im getting the same type of message as Mitchel...

An error has occured:

Can't find string terminator "send_pms" anywhere before EOF at /.../web/ubb/Templates/public_my_pm.pl line 46.


i have the newest files too...

[ 11-01-2001: Message edited by: DJSharp ]
Posted By: freeTV Re: [6.1x] PMLink 6.1 Release - 11/01/2001 6:10 PM
The file "public_my_pm.pl" was bad. My apology.

Please re-download the zipped file HERE .

If you have already hacked it before and got the error, all you need to do now is to replace the file public_my_pm.pl.

[ 11-01-2001: Message edited by: freeTV ]
Posted By: DJSharp Re: [6.1x] PMLink 6.1 Release - 11/02/2001 12:13 AM
freeTV, that fixed the error, but is my page supposed to look like this...?

[Linked Image]

isnt there supposed to be wording above the Text/Submit line?
Posted By: freeTV Re: [6.1x] PMLink 6.1 Release - 11/02/2001 12:28 AM
DJSharp, that's it. You got it.
To send PM, just fill in the text box with member name (not number) and click submit.

I guess I can put in some wordings later.
Posted By: DJSharp Re: [6.1x] PMLink 6.1 Release - 11/02/2001 12:48 AM
ok. ya, i suggest putting a title above the text box/submit cuz i dont think people will know it does. frown

but anywayz, good hack wink
Posted By: freeTV Re: [6.1x] PMLink 6.1 Release - 11/02/2001 6:42 PM
Put this line in your vars_wordlets.cgi

q~send_pm_send_to~ => q~Send Private Message To:~,
Posted By: Sammie Re: [6.1x] PMLink 6.1 Release - 11/03/2001 8:00 PM
Hi, nice hack, but the reload in ubb_getnumber.cgi is bad. My suggestion (after installing the hack):

Fixing:
reload-page
invalid member-output

(backup your files before hacking!)

Code
code:

With this fix, the PM form needs no reload-page to appear.
Posted By: freeTV Re: [6.1x] PMLink 6.1 Release - 11/03/2001 11:53 PM
Thanks Sammie,
I agree. Will update the hack with your fix. Proper credit will be given wink
Posted By: Sammie Re: [6.1x] PMLink 6.1 Release - 11/04/2001 5:50 AM
Thanks. But give the Credit to my friend XChrome please. I'm only his forum beta-tester and should post this fix. wink
Posted By: Variables Re: [6.1x] PMLink 6.1 Release - 12/11/2001 5:04 PM
Does this works with ubb 6.1.0.3? I can't find
"unless ($ubb eq 'my_profile') {
$new_pms = &CheckForNewPMs($user_number);"
in ultimatebb.cgi
© UBB.Developers