vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Forward a post to another member, via PM! (https://vborg.vbsupport.ru/showthread.php?t=45090)

Velocd 10-27-2002 10:00 PM

Forward a post to another member, via PM!
 
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 10-28-2002 01:40 AM

Screen from the posbit (sorry it's my postbit, so it does look a bit different)

Velocd 10-28-2002 01:40 AM

Screen from the main interface.

Velocd 10-28-2002 01:41 AM

Screen when viewing the PM.

DrkFusion 10-28-2002 01:50 AM

Works great, let me go test it out with some members :)

[high]* DrkFusion clicks install[/high]

ZiRu$ 10-28-2002 01:56 AM

i like it.....i'll install later too!

EDIT: forwardpost.php is NOT in the zip

Erwin 10-28-2002 02:03 AM

Interesting. :) Well done!

Velocd 10-28-2002 02:07 AM

Quote:

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 10-28-2002 02:07 AM

no forwardpost.php???

*runs to the corner to cry*

lordofgun 10-28-2002 02:08 AM

VERY NICE!

This should work ok on 2.2.6 yes?

Velocd 10-28-2002 02:10 AM

It should work on all versions of 2.2.x ;)

ethics 10-28-2002 09:08 AM

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 10-28-2002 10:08 AM

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 10-28-2002 11:07 AM

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 10-28-2002 11:23 AM

Make sure your "priv_forwardpost" template contains :

Code:

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 10-28-2002 11:27 AM

Thanks, that solved it (my options) :)

Chris M 10-28-2002 12:02 PM

Ok coolies:)

Satan

Velocd 10-28-2002 12:57 PM

Quote:

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 10-28-2002 01:11 PM

Cool:) Sounds good;)

Satan

Buddha 10-28-2002 01:11 PM

installed.
works like a charm.
thanks.

Chris M 10-28-2002 01:19 PM

It does yes...

I would like to know :

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

Satan

Velocd 10-28-2002 04:06 PM

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 10-28-2002 04:38 PM

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 10-28-2002 04:58 PM

Quote:

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 10-30-2002 07:10 AM

edit my probs have i fixed.

greets by Prankster

Prankster 10-30-2002 08:26 AM

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 11-09-2002 06:26 PM

thxx olli

greetz subu1

Silenced Soul 12-12-2002 04:55 PM

Great hack man :)

Big J 12-12-2002 05:22 PM

Cool hack!

*installs*

Exo 12-13-2002 04:25 PM

when i klick on the image i get a white screen? :ermm:

subu1 12-15-2002 09:05 AM

me too, whats going on??

greetz subu1

ethics 12-28-2002 08:25 PM

Make sure all of your templates are there with the right text.

ethics 12-28-2002 08:42 PM

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:

PHP Code:

<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 01-09-2003 02:49 AM

This hack is interesting. Im pondering on a hack i can make.. ::checks the requested forums::

NuclioN 01-19-2003 04:07 PM

How to prevent guests to do this?

Overgrow 02-04-2003 12:57 PM

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 06-13-2003 02:52 PM

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 06-13-2003 03:08 PM

Quote:

02-04-03 at 09:57 AM Overgrow said this in Post #36
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? ;)


All times are GMT. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01952 seconds
  • Memory Usage 1,808KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (38)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete