vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Private Messages Enhancements - Quote Post in PM (https://vborg.vbsupport.ru/showthread.php?t=177502)

PoetJA-1975 07-14-2008 12:42 AM

Hey Makc666 - you may wanna add the following into your plugin as per THIS THREAD so the qpipm_menu template is cached.

Thanx again for sharing ;)

Jacquii.

Code:

<plugin active="1">
                        <title>Quote Post in PM (3)</title>
                        <hookname>cache_templates</hookname>
                        <phpcode><![CDATA[$globaltemplates[] = 'qpipm_menu';]]></phpcode>
                </plugin>


PoetJA-1975 07-14-2008 12:57 AM

Quote:

Originally Posted by blind-eddie (Post 1574463)
I am trying to add this option to my postbit & postbit_legacy templates.
Next to the https://vborg.vbsupport.ru/external/2008/07/14.gif https://vborg.vbsupport.ru/external/2008/07/15.gif https://vborg.vbsupport.ru/external/2008/07/16.gif buttons.

I tried a couple of things, but cant get it to show, Any suggestions?

Quote:

Originally Posted by harlita (Post 1574549)
I installed it, it works and I do like it.

It would be cool if you could set it to postbit/postbit_legacy so that you can select a button next to "multi-quote" and have it just open up the quote in a "send new message" box.


Um - You should be able to simply find in your postbit and/or postbit_legacy template(s):
Code:

$template_hook[postbit_controls]
And input directly after it the following from the newly-created qpipm_menu template:
Code:

<a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]&amp;postid=$post[postid]"><phrase 1="$post[username]">$vbphrase[qpipm_quote_post_in_pm]</phrase></a>
To use your sendpm.gif button - the code will look more like:
Code:

<a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]&amp;postid=$post[postid]"><img src="$stylevar[imgdir_button]/sendpm.gif"></a>
HTH,

Jacquii.

blind-eddie 07-14-2008 07:38 AM

Thanks Jacquii, That worked like a charm.

PoetJA-1975 07-14-2008 05:17 PM

Glad to help ;)

Jacquii.

MissKalunji 07-15-2008 10:13 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1574426)
I like this, but it interferer's with ZH's modification "Default PM Title". I would REALLY love this modification if you could get it to work with that mod.

I'm having the same problem anyone?

Brandon Sheley 07-15-2008 10:52 PM

oh, I was looking for this some time ago

I'll get it installed soon :) Thanks!

Artes_Marciales 07-16-2008 05:15 AM

Thanks!!!

**Installed**

Makc666 07-16-2008 07:35 PM

Quote:

Originally Posted by TheInsaneManiac (Post 1574426)
I like this, but it interferer's with ZH's modification "Default PM Title". I would REALLY love this modification if you could get it to work with that mod.

Quote:

Originally Posted by MissKalunji (Post 1576343)
I'm having the same problem anyone?

I think I will go in another way.
In the next version you will be able to set (turn on) any default title for quoated PMs :)

Quote:

Originally Posted by PoetJA-1975 (Post 1574647)
Hey Makc666 - you may wanna add the following into your plugin as per THIS THREAD so the qpipm_menu template is cached.

Thanks for the his PoetJA-1975!
I will make so in next version!

Quote:

Originally Posted by harlita (Post 1574549)
I installed it, it works and I do like it.

It would be cool if you could set it to postbit/postbit_legacy so that you can select a button next to "multi-quote" and have it just open up the quote in a "send new message" box.

harlita, saying the truth I really didn't want to add such option in the past.
But...
As there is really not hard to code I will think for this one!
And I think I will use some default vBulletin's button.

MissKalunji 07-16-2008 09:43 PM

Quote:

Originally Posted by Makc666 (Post 1577157)
I think I will go in another way.
In the next version you will be able to set (turn on) any default title for quoated PMs :)


Thanks for the his PoetJA-1975!
I will make so in next version!


harlita, saying the truth I really didn't want to add such option in the past.
But...
As there is really not hard to code I will think for this one!
And I think I will use some default vBulletin's button.

Thanks :)

TheInsaneManiac 07-18-2008 03:12 PM

Quote:

Originally Posted by Makc666 (Post 1577157)
I think I will go in another way.
In the next version you will be able to set (turn on) any default title for quoated PMs :)

Awesome can't wait!


All times are GMT. The time now is 11:19 PM.

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.01286 seconds
  • Memory Usage 1,749KB
  • 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
  • (4)bbcode_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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