Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
This sends a Private Message to any LOGIN name (not Publicly Displayed Name) that you type in. I disable the ability to use Publicly displayed names on my board.

Send PM to any login name

As it stands, this won't work for everyone because it depends on login names. However, it might provide the ispiration for someone to create a hack that will use Public names.

No demo is available because I run a private board with strict membership requirements. However, this is a screen shot of the entry form.

[Linked Image]

It adds this to the my_profile template. When the submit button is pushed, it calls

ultimatebb.cgi?ubb=private_message&u=xxxxxx

where xxxxx is the member number of the desired board member.

This runs very well on my board - 6.04d

Amy

p.s. A version is down below that will send a PM to any member number.

[ May 07, 2001 09:11 AM: Message edited by: amykhar ]

Sponsored Links
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Amykhar,

Nice work. Will it be possible to do it by membernumber as well? Thx.

q

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Yeah, nice work smile

Quote
quote:
I think it's imposible since more than 1 user can use the same public name, but maybe you can make a list of numbers/login names of the same public name, and then the user can choose which one is it.

[ April 26, 2001 02:18 PM: Message edited by: LK ]

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
qasiq,
Yes. I can hack it up for you in a jiffy.

Amy

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
(Deleted - get file below)

Amy

[ May 07, 2001 08:41 AM: Message edited by: amykhar ]

Sponsored Links
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
Great Job Amy. I'm using the Member Number one and there were quite a few bugs. I think I've found and fixed them all. I'll post by bugfixes here once I get them all doc'd.

qasic

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
Cool. I'll add your name to the zip file on that one once we get the bugs worked out. Thanks for helping out.

I hate releasing untested code, but oh well. smile

Amy

Joined: Nov 2000
Posts: 48
Member
Member
Offline
Joined: Nov 2000
Posts: 48
Just added the Member name hack and it works perfectly ! laugh Thanks ! wink


Burn
Joined: Jan 2001
Posts: 1,940
Developer
Developer
Offline
Joined: Jan 2001
Posts: 1,940
URL:

[edit] URL gone. Look below for Amy's version which has my fixes [/edit]

Fixes: * made templates comply with look UBB 6.04x template styles (choice of colours)
* fixed incorrect ultimatebb.cgi call
* made it so hack number #3 on ubb_sendpms.cgi is no longer required
* now checks if no member number was entered
* simplified redirect code

To Do: Comply with Wordlet module

q

[ May 07, 2001 10:52 AM: Message edited by: qasic ]

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
Qasic,
I'll try to get off my lazy rear this evening and do the wordlets.

You forgot to put your name in there as co-author.

Amy

Sponsored Links
Joined: Sep 2000
Posts: 101
Member
Member
Offline
Joined: Sep 2000
Posts: 101
another nice release amy!

I would REALLY love it if you would make the memberlist look pretty tho =)


kaak
[email protected]
icq# 4032410
Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
kaak, Leshrac would kick my butt. I'm too chicken. laugh

Amy

Joined: Mar 2001
Posts: 318
Member
Member
Offline
Joined: Mar 2001
Posts: 318
yo amykhar i noticed on your board when you pick a login name it makes it your public name also! how do i do that?

Joined: Nov 2000
Posts: 48
Member
Member
Offline
Joined: Nov 2000
Posts: 48
I have a small problem....I`ve combined both hacks and altered a bit of the scipt, but after it has sent a PM (either way) the redirect says :-
Quote
quote:
I then get 404 error because it trys to direct to www.quake3world.de/ultimateBB but should direct to www.quake3world.de/CopyKings/cgi-bin/UltimateBB.cgi !

Can anyone tell me where I add the missing bit of the URL ??

Many Thanks !

P.S. Great hacks ! laugh


Burn
Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
Quote
quote:

Mr. Clean, in the install file for the Login Name version of the hack, I explained how in step one. It's a 2 second hack.

Amy

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
Burn, I haven't had a chance to look at Qasic's improvements yet. In the original, it's just a matter of editing the URL in the file ubb_getnumber.cgi.

Amy

Joined: Sep 2000
Posts: 101
Member
Member
Offline
Joined: Sep 2000
Posts: 101
i'm sure leshrac wouldn't mind if you made a "temporary" one... =) Those impatient ones of us who are worthless and don't know how to code can't wait forever for such things!


also, i can't seem to find where to turn off the ability of users to change their PDN...

[ April 26, 2001 06:31 PM: Message edited by: kaak ]


kaak
[email protected]
icq# 4032410
Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
It's under misc. settings.

Amy

Joined: Sep 2000
Posts: 101
Member
Member
Offline
Joined: Sep 2000
Posts: 101
thankyaverymuch


kaak
[email protected]
icq# 4032410
Joined: Nov 2000
Posts: 48
Member
Member
Offline
Joined: Nov 2000
Posts: 48
Thanks Amy.....I`ll give it a go ! wink


Burn
Joined: Nov 2000
Posts: 48
Member
Member
Offline
Joined: Nov 2000
Posts: 48
Amy, it`s nothing I can change in Ubb_getnumber.cgi or Ubb_sendpm.cgi. (I think)

It`s to do with the Anchor.
i.e If you send a PM from a topic then it`ll take you back to that topic.

I`m lost on how to change it.....Please help !

Try it if you want to see....

I`ve provided some temp login details for my board....feel free to send any test PMs to myself !

Username : Guest
Password : Guest


Burn
Joined: Nov 2000
Posts: 48
Member
Member
Offline
Joined: Nov 2000
Posts: 48
Can anyone help me get my Anchor problem sorted please ?

[Linked Image]

[ April 27, 2001 12:10 PM: Message edited by: Burn ]


Burn
Joined: Apr 2001
Posts: 14
Junior Member
Junior Member
Offline
Joined: Apr 2001
Posts: 14
Has any written a script to make a linkable list of all the members registered on the board. What I would love to do is, Have a send Private Message link on my site that when you click on it, it displays a list of everyone's Login name. Then you could click on the persons Login name and it would take you to the Send Private Message page. It sounds easy to do (if you know perl). That way people don't need to find a post by the person that want to message and they don't need to know the exact login name of the person. They can just browse the list and click on the name. If it was sorted alphabetically that would be a plus. Basically it would be a front end for this mod.

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
Romulus, there is a quick and dirty memberlist generator script in the beta forum. You can adapt that.

Amy

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
Burn,
I don't know why it's doing that for you. Mine is working properly on my board. (But I only have my original version installed, not qasics yet.)

I am in the middle of hacking up my 6.04d. I will play with qasics and mine combined and see what happens.

Amy

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
I have added wordlets to the both versions and modified them so that they can be used in combination with no modifications necessary.

The member number hack was co-authored by qasic, and can be downloaded here:

http://www.epinionaddicts.com/hacks.html

[ May 07, 2001 09:13 AM: Message edited by: amykhar ]

Joined: Feb 2001
Posts: 7
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 7
http://www.epinionaddicts.com/hacks.html
This link is dead, permission denied.

It's OK now.

[ May 11, 2001 11:49 AM: Message edited by: wonderdog ]

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
amy: -- duzzis mean its ready for a "finished" voision?

Joined: Mar 2001
Posts: 117
Member
Member
Offline
Joined: Mar 2001
Posts: 117
Can anyone modify the hack to allow ppl send pm via publicname?

Thx! Nice Hack smile

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
My server is down for many people today. Should be back up tomorrow. (domain config. screw up)

Try this:

http://216.147.14.53/sendpm_1.zip (login name)

and

http://216.147.14.53/sendpm2_1.zip (member numver)

Is it ready for finished? I believe so, but I am waiting until a few people have run the latest versions on different platforms before I declare it gold.

Amy

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
There is a possible way to make a script to send to public name.

Thinking outloud, I would write a script that would go through the memberlist and get the public names. This script would create a hash table that would map public names to member numbers.

The board would also need to be hacked so that as new members join, they are mapped to the hash table, and if members change their public names, or if members are deleted, the hash table is updated.

Then, it's simply a matter of getting the member number from the hash, and calling the redirect.

It's more involved than I want to mess with at this point, but that's how I would do it.

Amy

Joined: Apr 2001
Posts: 39
Member
Member
Offline
Joined: Apr 2001
Posts: 39
amykhar, your hacks page don't work ( http://www.epinionaddicts.com/hacks.html )

Joined: Aug 2000
Posts: 226
Member
Member
Offline
Joined: Aug 2000
Posts: 226
Bumz, yes it does smile Some people are having domain problems cause of a recent move. of so, use the IP posted in the post above.

Amy

Joined: Nov 2000
Posts: 1,271
Kahuna
Kahuna
Joined: Nov 2000
Posts: 1,271
seems t'me like this is workin SUPER fine! (im lovin it!)

any chance of an auto-installer? (either "big name" -- shw, or mhx)

also... perhaps you and "freetv" could combine hacks, and make a "super" PM hack?

(i refer to this hack, here )

thanks!!


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)