vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Private Messages Enhancements - Quote Post in PM (https://vborg.vbsupport.ru/showthread.php?t=115315)

Wired1 06-10-2006 03:21 PM

Quote:

Originally Posted by Boofo
I will look into this and see what I can come up with. ;)

kewl, thanks!

Mysticales 07-11-2006 04:45 AM

Hey nice hack indeed.

Would be fine for my 3.5 forum I work on.. but had a question.

Is there some sorta method to have on 3.0.9 that could be a button for instead of in the SHOWTHREAD template where is has the "Email page to user" type of thing.. could it be rigged somehow to be a "PM Page to User" Where all you would need to do is type in the username? Maybe it could auto import the threadid, insert it to the body or something..

The trickier part is.. could that be done without uploading anything via FTP and just edit within the adminCP? Like if somehow you can send a variable. Not sure... just trying to figure out ways to do things on 3.0.9 without ftp access. (The one forum I dont have ftp access too.. but I do everything else.. sigh.)

Tralala 07-13-2006 10:09 PM

Quote:

Originally Posted by Boofo
Ok, let me get this straight. You want a link AND the quoted message in the PM?

Quote:

Originally Posted by Boofo
Well, since you have been a decent adversary on a few debates, I'll see what I can come up with for you in the next day or two. But attacking the Boofo MUST stop now. ;)

Anything new on this front?

Does this mean attacking the Boofo can commence now? :)

gbechtel 07-19-2006 10:04 PM

hmmm... it's quoting the post but it does not pass on the username, any ideas?

Snake 07-24-2006 04:46 PM

Thanks, just installed it! :)

Chris Blount 08-07-2006 12:01 PM

Just tried it and this hack seems to work fine in VB 3.6.

realraptor 08-10-2006 10:40 PM

yup, works fine in 3.6.0 here too.

Protonus 08-19-2006 07:59 AM

I can't wait to install this and... I'd love to see Tralala's enhancement for the included link be done.

PoetJA-1975 10-08-2006 08:29 AM

Quote:

Originally Posted by Protonus
I can't wait to install this and... I'd love to see Tralala's enhancement for the included link be done.

couldn't have said it better!
Great mod BOOFO - thanx very much for your sharing ;)

Jacquii.

McMendo 11-05-2006 10:58 PM

I've installed it on 3.6.2 but can't see a thing.. ?

Snake 11-06-2006 09:56 AM

Seems to work fine here. :)

AWJunkies 11-30-2006 07:41 PM

Can you get this to work with 3.6.4 ? It does not transfer over a PM title or post quote. It does go to start a new PM with autofilling in the username of that post which is still a nice feature.

G_Man 12-13-2006 03:28 AM

Quote:

Originally Posted by Tralala (Post 972339)

Is there any way to have it the PM also include a link back to the original post, so the recipient could read the referring thread in context? That would be a "best of all worlds" solution, please.

Thanks again...

Quote:

Originally Posted by Boofo (Post 972348)
That is something that we meant to do before we released it, but must have forgotten. I will add that in the next day or so. ;)

Also, I have both the icon AND the drop down link as there are users that usually use one or the other most of the time. ;)

Installed, but I also think this would take this Mod to the next level. :)

stomph 01-26-2007 02:07 AM

I got the link to the original post added in the PM by copying one line and phrase over from Andreas' hack:

1. Modify Plugin
In the plugin Quote Post in PM, find:
Code:

eval('$pm[message] = "' . fetch_template('newpost_quote', 1, 0) . '";');
After, add:
Code:

$pm['message'] = construct_phrase($vbphrase['in_reply_to_your_post_x'], $postinfo['postid'], ($postinfo['title'] ? $postinfo['title'] : $postinfo['postid'])) . "\n" . $pm['message'];
2. Add a new Phrase:
Variablename: in_reply_to_your_post_x
Text: In Reply to your Post [post={1}]{2}[/post]:

That's it!

Tralala 02-01-2007 08:48 AM

Awesome, stomph, thanks so much. Been wanting this for awhile. Seems to be working fine. This is exactly how it should work, it should be part of the core vBulletin install!

I imagine if they add it, they'll use the "Back-Link for Quoted Posts" arrow/icon that we got with 3.6 instead though.

In the meantime, thanks for share. Much appreciated.

PoetJA-1975 03-22-2007 02:18 PM

Quote:

Originally Posted by stomph (Post 1167451)
I got the link to the original post added in the PM by copying one line and phrase over from Andreas' hack:

1. Modify Plugin
In the plugin Quote Post in PM, find:
Code:

eval('$pm[message] = "' . fetch_template('newpost_quote', 1, 0) . '";');
After, add:
Code:

$pm['message'] = construct_phrase($vbphrase['in_reply_to_your_post_x'], $postinfo['postid'], ($postinfo['title'] ? $postinfo['title'] : $postinfo['postid'])) . "\n" . $pm['message'];
2. Add a new Phrase:
Variablename: in_reply_to_your_post_x
Text: In Reply to your Post [post={1}]{2}[/post]:

That's it!

AWESOME share STOMPH - Thanx very much ;)

Jacquii.

criscokid 09-13-2007 05:29 PM

Does this mod work on vb3.6.8?

AWJunkies 10-15-2007 10:53 PM

Quote:

Originally Posted by stomph (Post 1167451)
I got the link to the original post added in the PM by copying one line and phrase over from Andreas' hack:

1. Modify Plugin
In the plugin Quote Post in PM, find:
Code:

eval('$pm[message] = "' . fetch_template('newpost_quote', 1, 0) . '";');
After, add:
Code:

$pm['message'] = construct_phrase($vbphrase['in_reply_to_your_post_x'], $postinfo['postid'], ($postinfo['title'] ? $postinfo['title'] : $postinfo['postid'])) . "\n" . $pm['message'];
2. Add a new Phrase:
Variablename: in_reply_to_your_post_x
Text: In Reply to your Post [post={1}]{2}[/post]:


Works perfect after this!

One exception you need to add this code to the link with the image in your postbit or postbit_legacy

u=$post[userid]

She forgot to put this in her instructions for edits.

Here is her code:

Quote:

<if condition="!$post['forwardlink']"><a href="private.php?do=newpm&postid=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/pmquote.gif" alt="Quote this post in a PM" border="0" /></a></if>
Here is what it should be:

Quote:

<if condition="!$post['forwardlink']"><a href="private.php?do=newpm&u=$post[userid]&postid=$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/pmquote.gif" alt="Quote this post in a PM" border="0" /></a></if>
That's it!

Thanks for everyone who made this mod work been waiting on it for LONG time.

rnixon 03-02-2008 11:12 AM

Many thanks amykhar for the original work and Boofo for keeping it alive.

Thanks AWJunkies for your bits as well.

Boofo 03-02-2008 11:23 AM

Quote:

Originally Posted by rnixon (Post 1455081)
Many thanks amykhar for the original work and Boofo for keeping it alive.

Thanks AWJunkies for your bits as well.

For my part, I can't think of a reason not to add ;$postid to the
newpost_quote template, for a link back to the original post:

I changed this:


To this:


... for better or for worse ...

You know there is a 3.7 version of this hack out, right?

rnixon 03-02-2008 03:22 PM

Quote:

Originally Posted by Boofo (Post 1455084)
You know there is a 3.7 version of this hack out, right?

Now I do! ;)

ArnyVee 06-12-2008 03:54 PM

Is this the 3.7 version?

https://vborg.vbsupport.ru/showthread.php?t=177502

Boofo 06-12-2008 06:18 PM

No, that is not my official 3.7 version. I removed mine after the author of that version ripped code from it, as he couldn't come up with this own, and claimed it as his own.

PoetJA-1975 07-04-2008 11:01 AM

So childish :(
Thanx for no longer sharing.
[high]* PoetJA-1975 marks as UNINSTALLED
[/high]

Jacquii.


All times are GMT. The time now is 04:39 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.01288 seconds
  • Memory Usage 1,775KB
  • 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
  • (6)bbcode_code_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (24)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete