vb.org Archive

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

ETDC 09-19-2007 09:55 PM

Quote:

Originally Posted by Makc666 (Post 1342680)
I suggest you to install 1.0.2 over 1.0.1.
If you use not only English on your forums you will have to update phrase "qpipm_quote_post_in_pm".

Thanks! :)

perfphysio 09-30-2007 06:23 PM

I have installed the mod and I see nothing for this in the drop down in 3.6.8. Does this require a new post to work? or will it begin working with all posts? I suspect the later. Perhaps I have an issue in one of the templates as another mod I have works on the user profile page but also not in this dropdown from the thread and username. I have no error showing though. p.s. my forum is www.physiobob.com/forum

Makc666 10-02-2007 01:27 PM

perfphysio your vB Version: VB 3.6.2 doesn't have Hook $template_hook[postbit_user_popup]
Use the manual steps described in Read_Me.txt

McMendo 10-19-2007 11:27 PM

Could this mod be in the form of a "Quote PM" button to the left of the "Quote" button, instead of the drop-down menu?

I think that I've seen it in some forum.

pxd 01-19-2008 02:43 AM

For those of you who feel like they have set everything up properly but it "does not work", I just tested with vB 3.7.0 beta3 and it worked after I adjusted the usergroup settings related to private message permissions. Make sure that "Maximum Stored Messages:" is set to a positive value, and that current usergroup is allowed to use the PM system.

Great hack!

Makc666 01-21-2008 09:58 AM

Quote:

Originally Posted by McMendo (Post 1364005)
Could this mod be in the form of a "Quote PM" button to the left of the "Quote" button, instead of the drop-down menu?

I think that I've seen it in some forum.

Yes, you can do so.
  1. Install the product only
  2. In product options set "Update popup menu automatically" to "No".
  3. Open template qpipm_menu
    Code:

            <if condition="$show['pmlink']">
                    <tr><td class="vbmenu_option"><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></td></tr>
            </if>

  4. Modify this part of template how you need it
    Code:

                    <tr><td class="vbmenu_option"><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></td></tr>
  5. Save the template
  6. Add $qpipm where you need to the left of the "Quote" button

In other words you have

To find in templates postbit && postbit_legacy the code:
Code:

        <if condition="$show['quickreply']">
            <a href="javascript:insertQuote('$post[usernamequick]', selection, '$post[postid]')" onMouseOver="catchSelection()" title="$vbphrase[select_and_click]" class="smallfont"><img src="$stylevar[imgdir_button]/quickquote.gif" alt="$vbphrase[select_quote]" border="0" /></a>
        </if>

Add before $qpipm

Change template qpipm_menu to something like this one:
Code:

        <if condition="$show['pmlink']">
                <a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]&amp;postid=$post[postid]"><phrase 1="$post[username]"><img src="$stylevar[imgdir_button]/your_new_button_here.gif" alt="$vbphrase[qpipm_quote_post_in_pm]" border="0" /></phrase></a>
        </if>

Don't forget to upload you new button and give it the proper name in code above.
I highlighted it above your_new_button_here.gif

Quote:

Originally Posted by pxd (Post 1424152)
For those of you who feel like they have set everything up properly but it "does not work", I just tested with vB 3.7.0 beta3 and it worked after I adjusted the usergroup settings related to private message permissions. Make sure that "Maximum Stored Messages:" is set to a positive value, and that current usergroup is allowed to use the PM system.

Great hack!

Thanks.

ArnyVee 03-22-2008 08:14 PM

Good stuff, works for me! :)

symptome 03-26-2008 10:20 AM

Quote:

Originally Posted by Makc666 (Post 1282584)
I don't see any reason for this one.
If user/group is allowed to send PM, he will be able to see/use that link.
If no - he will not be able to see/use that link.

This product is based on vBulletin's Private Message Permissions

Usergroups -> Usergroup Manager -> Edit Usergroup -> Private Message Permissions
Maximum Stored Messages:
If you set this to 0 users from this usergroup will not be able to use private messaging.

I understand why somebody wants to use that function only with stuff-usergroups. I have the same wish.
Stuff-Users need the possibility to send a pm to a member, perhaps because they will delete the post.
Non-stuff-users, in my eyes, shouldn't have more possibilities to communicate with pm's.
If they are able to use this hack, then they will correspond a lot of thing with pm's and not in the forums. And that's not what I want to push with such an elegant function to do so.

Makc666 03-29-2008 06:04 PM

Quote:

Originally Posted by symptome (Post 1474857)
If they are able to use this hack, then they will correspond a lot of thing with pm's and not in the forums. And that's not what I want to push with such an elegant function to do so.

Once again - this product is based on vBulletin's Private Message Permissions.

Ok. I will write an option that some Group with ID 7 will not see that link for "Quote Post in PM" and will not be able to use that link manually.

But that Group with ID 7 will be able to:
1. Copy that post in browser.
2. Start a New Private Message
3. Past the text in Private Message
4. And send it.

And what?

This product "Quote Post in PM" only helps to generate a New Private Message.
All other stuff is based on vBulletin's Private Message Permissions.

P.S. I will think on the option not to show that link for "Quote Post in PM" and will not be able for them to use that link manually.
But I really can't understand how this one will solve your problem.

Makc666 04-29-2008 02:46 PM

Quote:

Originally Posted by symptome (Post 1474857)
I understand why somebody wants to use that function only with stuff-usergroups. I have the same wish.
Stuff-Users need the possibility to send a pm to a member, perhaps because they will delete the post.
Non-stuff-users, in my eyes, shouldn't have more possibilities to communicate with pm's.
If they are able to use this hack, then they will correspond a lot of thing with pm's and not in the forums. And that's not what I want to push with such an elegant function to do so.

A separate thread/version for3.7.* branch:
https://vborg.vbsupport.ru/showthread.php?t=177502

New version:
v1.0.3 - 20.04.2008
- New options "USERGROUPS can use quote", "USERGROUPS not allowed to use quote", "USERS not allowed to use quote"
- New variable "$originalposterandpostid" introduced - it is returned with post number in it
- vBulletin function fetch_quote_username() is used now in generating user's name in variable "$originalposterandpostid"
- vBulletin function fetch_quote_username() is used now in generating user's name in variable "$originalposter"
- Variables "$originalposter" and "$originalpostid" was removed from template "qpipm_quote" but you can still use them there if you want


All times are GMT. The time now is 04:36 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.01110 seconds
  • Memory Usage 1,756KB
  • 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
  • (6)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