PDA

View Full Version : Forward a post to another member, via PM!


Velocd
28 Oct 2002, 02:38
Forward a post to another member, via PM!
2.2.x | by Velocd

This hack, as well all my other vB2 hacks, I no longer provide support for (being I run vB3 and it's too much hassel to debug vB2). When vB3 Release Candidate comes out, by request I might convert some of my hacks.


Template edits: 1 (postbit)
New templates: 3 (forwardpost, priv_forwardpost, redirect_postforward)
New files: 2 (forwardpost.php, forwardpost.gif)


What is it?
Well, it's been since summer when I released a hack, and today I decided it was long enough.

This hack will allow you to quickly forward a post within a thread to another member via PM, by just filling in some quick fields (such as the username, and PM subject).

I've been wanting to do this hack for some time, as I'm such a lazy person when it comes to using PM to notify members of certain posts. This hack helps a bunch, believe me ;)


Screenshots? Demo?
No demo, but you can find a screenshots in the next post.


Instructions?
See install.txt, inside the zip.


If you use this hack, please remember to click install! :p
Suggestions and comments are always welcomed.

I have one suggestion myself, for vBulletin.org to install this hack!
Or even a variation of it ;)

Velocd
28 Oct 2002, 02:40
Screen from the posbit (sorry it's my postbit, so it does look a bit different)

Velocd
28 Oct 2002, 02:40
Screen from the main interface.

Velocd
28 Oct 2002, 02:41
Screen when viewing the PM.

DrkFusion
28 Oct 2002, 02:50
Works great, let me go test it out with some members :)

/me clicks install

ZiRu$
28 Oct 2002, 02:56
i like it.....i'll install later too!

EDIT: forwardpost.php is NOT in the zip

Erwin
28 Oct 2002, 03:03
Interesting. :) Well done!

Velocd
28 Oct 2002, 03:07
Originally posted by ZiRu$
i like it.....i'll install later too!

EDIT: forwardpost.php is NOT in the zip

Hah ha, lol.. =falls over= This is what happens when you've been hacking too long.

Updated in just a sec.. (clear your cache and try again)

lordofgun
28 Oct 2002, 03:07
no forwardpost.php???

*runs to the corner to cry*

lordofgun
28 Oct 2002, 03:08
VERY NICE!

This should work ok on 2.2.6 yes?

Velocd
28 Oct 2002, 03:10
It should work on all versions of 2.2.x ;)

ethics
28 Oct 2002, 10:08
Anyway we can flex this in such a way, that when I click on user's PM in a post, the post url will be quoted in the PM?

I know I am being a little picky but worth asking since I've been looking for that forever.

Great stuff nevertheless. :)

Floris
28 Oct 2002, 11:08
Velocd!
Nice to see you active again and great work done here!
I like the idea and I am thinking, is it possible for a follow up version (or some addon) to let the admin (through acp) set to allow forward to everybody, or only to buddy's? And when it is set to only buddy's, maybe make a drop down list of the buddylist to avoid typo's, etc. Would be great! I understand though, if you don't want to expand it like that :) Just thinking outloud here!

bluecat
28 Oct 2002, 12:07
Hi, great hack. I'm just wondering if I did something wrong, or is this normal? When I tested it, it didn't come back as a clickable link...

Chris M
28 Oct 2002, 12:23
Make sure your "priv_forwardpost" template contains :

This user would like you to check out the following post:
$bburl/showthread.php?s=$session[sessionhash]&postid=$postid#post$postid

If it does, make sure your vBulletin Options have your Board Url as "http://" on the front...

Satan

bluecat
28 Oct 2002, 12:27
Thanks, that solved it (my options) :)

Chris M
28 Oct 2002, 13:02
Ok coolies:)

Satan

Velocd
28 Oct 2002, 13:57
Originally posted by xiphoid

I like the idea and I am thinking, is it possible for a follow up version (or some addon) to let the admin (through acp) set to allow forward to everybody, or only to buddy's? And when it is set to only buddy's, maybe make a drop down list of the buddylist to avoid typo's, etc. Would be great! I understand though, if you don't want to expand it like that :) Just thinking outloud here!

Sure, it sounds possible. ;)
I'll see what I can do about an updated version maybe in the next few days.

Chris M
28 Oct 2002, 14:11
Cool:) Sounds good;)

Satan

Buddha
28 Oct 2002, 14:11
installed.
works like a charm.
thanks.

Chris M
28 Oct 2002, 14:19
It does yes...

I would like to know :

If I added ",anotherusername" after the first username, would it send to multiple users?

Satan

Velocd
28 Oct 2002, 17:06
No, but I could also implement that function Hellsatan. The only thing this hack could produce is spam. Say, for example, on your forum you have a advertisement section, where people can post threads about their website. Well, they could just send a PM through this hack to every member about that thread.

Although I might also think about an option via the User CP to not recieve forwarded posts...I'm not sure. Any suggestions you think would work good, let me know. ;)

Chris M
28 Oct 2002, 17:38
Yeh...

Or perhaps put a limit of 3 users to Forward it to, as well as an option in their "Options" screen not to recieve forwarded posts...

Or better still - They could have a third option on it, like with IP address in the Admin CP - They can select :

Yes
Only from buddies
No

:)

That could be cool:)

@The Spam thing - Luckily, I have the "Warnings Level Hack" by g-force installed, so my Mods could handle it once they recieved the message:)

Satan

Brad
28 Oct 2002, 17:58
Originally posted by Velocd
No, but I could also implement that function Hellsatan. The only thing this hack could produce is spam. Say, for example, on your forum you have a advertisement section, where people can post threads about their website. Well, they could just send a PM through this hack to every member about that thread.

Although I might also think about an option via the User CP to not recieve forwarded posts...I'm not sure. Any suggestions you think would work good, let me know. ;)


I like the idea of a User cp option, i sure wouldent want all the forwarded post to fill up my pm box while i was away or soemthing. I think anthor good idea would be having it truned on or off per forum, that way if you had a Advertisement forum you could trun it off in there so no one could spam your members. That would also be good for private forums.

Prankster
30 Oct 2002, 08:10
edit my probs have i fixed.

greets by Prankster

Prankster
30 Oct 2002, 09:26
Hier the hack for german users.


In the German "Hinweis PN" called. ;)
im deutschen "Hinweis PN" genannt.

new addons to this hack i do fill into the .zip

sorry for my bad english

greets by Prankster

subu1
09 Nov 2002, 19:26
thxx olli

greetz subu1

Silenced Soul
12 Dec 2002, 17:55
Great hack man :)

Big J
12 Dec 2002, 18:22
Cool hack!

*installs*

Exo
13 Dec 2002, 17:25
when i klick on the image i get a white screen? :ermm:

subu1
15 Dec 2002, 10:05
me too, whats going on??

greetz subu1

ethics
28 Dec 2002, 21:25
Make sure all of your templates are there with the right text.

ethics
28 Dec 2002, 21:42
Also, folks,

I tried to have the reciepient the default $username. But obviously my coding is not up to snuff.

Anyone have any ideas how this would be done? A straight:

<tr>
<td bgcolor="{firstaltcolor}">
<normalfont><b>Recipient:</b></normalfont><br><smallfont>Enter a valid username of the person who shall recieve this.</smallfont></td>
<td bgcolor="{firstaltcolor}"><input type="text" size="25" maxlength="15" name=($username)></td>
</tr>


Just doesn't crack it. :(

Logik
09 Jan 2003, 03:49
This hack is interesting. Im pondering on a hack i can make.. ::checks the requested forums::

NuclioN
19 Jan 2003, 17:07
How to prevent guests to do this?

Overgrow
04 Feb 2003, 13:57
Nice Hack!

I've upgraded it to include an "Alert Moderators" checkbox. I hate how the normal Alert system works by sending emails out. Now when people Alert the Mods through this system, it writes a post into a thread in the mod/admin room.

Other than that, I've added more post checking so that it retrieves the username and post title from the post table instead of relying on the name to be passed via the link.

/me clicks install

subu1
13 Jun 2003, 15:52
hallo olli, Dein Übersetzter Text hat einen kleinen Fehler in der Url.

Es muß so heißen:

Dieser User möchte Dich auf das folgende post hinweisen:
$bburl/showthread.php?s=$session[sessionhash]&postid=$postid#post$postid

anstatt so:
Dieser User möchte Dich auf das folgende post hinweisen:
$bburl=/showthread.php?s=$session[sessionhash]&postid=$postid#post$postid

habs mal gefixt und hänge es wieder dran

grüße subu1

Boofo
13 Jun 2003, 16:08
02-04-03 at 09:57 AM Overgrow said this in Post #36 (http://www.vbulletin.org/forum/showthread.php?postid=350345#post350345)
Nice Hack!

I've upgraded it to include an "Alert Moderators" checkbox. I hate how the normal Alert system works by sending emails out. Now when people Alert the Mods through this system, it writes a post into a thread in the mod/admin room.

Other than that, I've added more post checking so that it retrieves the username and post title from the post table instead of relying on the name to be passed via the link.

* Overgrow clicks install

Bernard, can you share your updates with us, sir? ;)