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)

Makc666 04-30-2008 10:46 PM

New version:
v1.0.4 - 01.05.2008
- New option "Automatically Add Title" allowes you to switch quoted PM's title at all
- New option "Always Use Thread's Title"
- Option "Automatically Add Prefix To Title" was separated
- Template "qpipm_menu" is more orderly nore without any changes in it's code
- From this version the product doesn't use some Boofo's copyrighted code without his permission

Boofo 04-30-2008 11:05 PM

You are still using code from my hack in there. The permissions for starters.

Makc666 04-30-2008 11:40 PM

Quote:

Originally Posted by Boofo (Post 1503965)
You are still using code from my hack in there. The permissions for starters.

Post that code here on forum. You just says "You use my code" but never says which one.

Boofo 05-01-2008 12:01 AM

"The permissions for starters".

But no matter. My hack has been removed so you can go on stealing code and get caught by someone else.

Makc666 05-01-2008 12:28 AM

Quote:

Originally Posted by Boofo (Post 1503999)
"The permissions for starters".

You mean this one?
Code:

                // We get a post id. Now we have to make some permissions checks
                if (!$postinfo['postid'])
                {
                        eval(standard_error(fetch_error('invalidid', $vbphrase['post'], $vbulletin->options['contactuslink'])));
                }

                if ((!$postinfo['visible'] OR $postinfo ['isdeleted']) AND !can_moderate($threadinfo['forumid']))
                {
                        eval(standard_error(fetch_error('invalidid', $vbphrase['post'], $vbulletin->options['contactuslink'])));
                }

                if ((!$threadinfo['visible'] OR $threadinfo['isdeleted']) AND !can_moderate($threadinfo['forumid']))
                {
                        eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink'])));
                }
 
                $forumperms = fetch_permissions($threadinfo['forumid']);
                if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']))
                {
                        print_no_permission();
                }
                if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND ($threadinfo['postuserid'] != $vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] == 0))
                {
                        print_no_permission();
                }
 
                // check if there is a forum password and if so, ensure the user has it set
                verify_forum_password($foruminfo['forumid'], $foruminfo['password']);

Open the file showpost.php from vBulletin's folder.
And look around lines 88-108.
You will find this one there:
Code:

// #######################################################################
// ############################# SHOW POST ###############################
// #######################################################################

if (!$postinfo['postid'])
{
        eval(standard_error(fetch_error('invalidid', $vbphrase['post'], $vbulletin->options['contactuslink'])));
}

if ((!$postinfo['visible'] OR $postinfo ['isdeleted']) AND !can_moderate($threadinfo['forumid']))
{
        eval(standard_error(fetch_error('invalidid', $vbphrase['post'], $vbulletin->options['contactuslink'])));
}

if ((!$threadinfo['visible'] OR $threadinfo['isdeleted']) AND !can_moderate($threadinfo['forumid']))
{
        eval(standard_error(fetch_error('invalidid', $vbphrase['thread'], $vbulletin->options['contactuslink'])));
}

$forumperms = fetch_permissions($threadinfo['forumid']);
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']))
{
        print_no_permission();
}
if (!($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewothers']) AND ($threadinfo['postuserid'] != $vbulletin->userinfo['userid'] OR $vbulletin->userinfo['userid'] == 0))
{
        print_no_permission();
}

// check if there is a forum password and if so, ensure the user has it set
verify_forum_password($foruminfo['forumid'], $foruminfo['password']);

Believe me, if you will compare these two one you will not find any difference.

Quote:

Originally Posted by Boofo (Post 1503999)
But no matter. My hack has been removed so you can go on stealing code and get caught by someone else.

Me trembles from your lies, Boofo!
You can't prove your words - you just gab!

Boofo 05-01-2008 12:34 AM

As is evident from your profile, you have not had an original hack idea yet so you are of no worry to me if I no longer release any hacks for you to rename variables and steal code from. I'll let the next person you steal from deal with you.

Makc666 05-01-2008 12:48 AM

Quote:

Originally Posted by Boofo (Post 1504019)
As is evident from your profile, you have not had an original hack idea yet so you are of no worry to me if I no longer release any hacks for you to rename variables and steal code from. I'll let the next person you steal from deal with you.

Last time you spoke about some code I steal with out any proof.
Now you speak about some idea I steal.
And even more that I renamed some variables what you again can't prove and will never be able. You are so funny, really.

Fungsten 05-01-2008 04:42 PM

Getting the message that the product is not compatibe with VB 3.7. Uninstalled.

Makc666 05-01-2008 09:17 PM

Quote:

Originally Posted by Fungsten (Post 1504763)
Getting the message that the product is not compatibe with VB 3.7. Uninstalled.

Look at the top of the page first:
Quote:

vBulletin.org Forum / vBulletin Modifications / vBulletin 3.6 Modifications / vBulletin 3.6 Add-ons / Private Messages Enhancements
After that go to this thread:
https://vborg.vbsupport.ru/showthread.php?t=177502

And for your future notes.
If you are looking for some product's update just go to his author's profile:
https://vborg.vbsupport.ru/member.php?u=26144

Fungsten 05-01-2008 09:39 PM

Quote:

Originally Posted by Makc666 (Post 1505038)
Look at the top of the page first:


After that go to this thread:
https://vborg.vbsupport.ru/showthread.php?t=177502

And for your future notes.
If you are looking for some product's update just go to his author's profile:
https://vborg.vbsupport.ru/member.php?u=26144


I didn't see that in your profile. I'll try it though.

Makc666 05-02-2008 06:39 PM

Quote:

Originally Posted by Fungsten (Post 1505057)
I didn't see that in your profile. I'll try it though.

It was partly my remiss that I did not put in the first post the link to the 3.7 version. Now I fixed that one.
Quote:

Originally Posted by Fungsten (Post 1505057)
I'll try it though.

I hope that you will do so and will be satisfied! :)

Konstantinos 06-29-2008 09:10 AM

seems this doesnt work for usergroups which are set to moderate their posts. is this how it is supposed to be ? cause my usergroup id 2 is set to be moderated and cant use the hack while in settings usegroup id 2 is allowed to do so

or i guess for usergroups that are not allowed to pm got it

Makc666 06-29-2008 07:42 PM

Quote:

Originally Posted by Konstantinos (Post 1561887)
seems this doesnt work for usergroups which are set to moderate their posts. is this how it is supposed to be ? cause my usergroup id 2 is set to be moderated and cant use the hack while in settings usegroup id 2 is allowed to do so

or i guess for usergroups that are not allowed to pm got it

Konstantinos, am I right that you solved your question/problem?

Usergroups that are not allowed to send PM can't use this products function :)

VADOS 07-21-2008 04:07 PM

For those who want to remove Re: from thread quoted title
Quote:

In Reply to your post: Re: Quoted PM
Open product (.xml), find there
PHP Code:

// Constructing PM message
        
$pm['message'] = construct_phrase($vbphrase['qpipm_in_reply_to_your_post_x'], $postinfo['postid'], ($postinfo['title'] ? $postinfo['title'] : $postinfo['postid'])) . "\n" $pm['message']; 

and replace with this:
PHP Code:

// Constructing PM message
        
$pm['message'] = construct_phrase($vbphrase['qpipm_in_reply_to_your_post_x'], $postinfo['postid'], ($postinfo['title'] ? $threadinfo['title'] : $postinfo['postid'])) . "\n" $pm['message']; 

Then save and upload this product to your webserver, don't forget to check "Allow rewrite".

vithorius 01-15-2009 12:53 PM

Great hack! :up: :up: :up:


https://vborg.vbsupport.ru/external/2010/11/2.gif I would like to know if there would be a possibility to do something like this, but instead of putting the "Quote in PM" option in the 'Username-Menu', I would like to have it in a button next to the "Reply" or "Quote" buttons... Would that be possible? :confused:
(that button would be called "Quote with PM")


https://vborg.vbsupport.ru/external/2010/11/2.gif Also, would be possible to define which forums would have this hack enabled and which would not? :confused:



:up: Thank you so very much for your hard work, and please excuse my poor english... :o

Makc666 01-15-2009 01:02 PM

Quote:

Originally Posted by vithorius (Post 1713345)
Great hack! :up: :up: :up:


https://vborg.vbsupport.ru/external/2010/11/2.gif I would like to know if there would be a possibility to do something like this, but instead of putting the "Quote in PM" option in the 'Username-Menu', I would like to have it in a button next to the "Reply" or "Quote" buttons... Would that be possible? :confused:
(that button would be called "Quote with PM")


https://vborg.vbsupport.ru/external/2010/11/2.gif Also, would be possible to define which forums would have this hack enabled and which would not? :confused:



:up: Thank you so very much for your hard work, and please excuse my poor english... :o

You can find who to do this one here:
https://vborg.vbsupport.ru/showpost....3&postcount=22

vithorius 01-16-2009 03:21 PM

Quote:

Originally Posted by Makc666 (Post 1713350)
You can find who to do this one here:
https://vborg.vbsupport.ru/showpost....3&postcount=22

Ok Thank you so very much for your help Makc666! :up: (although it is a bit difficult for my skills, but I will give it a good look...)


https://vborg.vbsupport.ru/external/2010/11/2.gif Another thing: Is it possible to enable this hack in selected sub-forums only? :confused:


Thanks once again! :up:

Makc666 03-09-2009 01:04 AM

Quote Post in PM Version: 3.8.105 has been released for vBulletin 3.8.x
You can find update by these links:
https://vborg.vbsupport.ru/misc.php?...help&pid=qpipm
https://vborg.vbsupport.ru/showthread.php?t=207751

=================
History:
=================

v3.8.105 - 08.03.2009
- Compatible with vBulletin 3.8 Gold (may not work with Beta/RC releases)
- All Templates are cached now
- The image-link can be inserted in postbit and postbit_legacy templates automatically
- You can use your own titles for threads' and posts' PMs
- You can set your own PM's title for both threads' and posts' PMs
- New option "Use Post's Number in PM's Title"
- New option "Use Thread's Title even if there is Post's Title"

TTayfun 01-16-2016 02:34 PM

how can i disable this text in pm:

Code:

In Reply to your post....

blind-eddie 01-16-2016 06:20 PM

Quote:

Originally Posted by TTayfun (Post 2562741)
how can i disable this text in pm:

Code:

In Reply to your post....

You can't disable it per se, but, you can edit the phrase qpipm_in_reply_to_your_post_x
to show what ever you want it to say or nothing at all.

Makc666 01-26-2016 04:44 PM

Quote:

Originally Posted by blind-eddie (Post 2562757)
You can't disable it per se, but, you can edit the phrase qpipm_in_reply_to_your_post_x
to show what ever you want it to say or nothing at all.

blind-eddie, thank you for your cooperation! This is a nice catch!


All times are GMT. The time now is 01:11 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.01409 seconds
  • Memory Usage 1,817KB
  • 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
  • (2)bbcode_php_printable
  • (15)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
  • (21)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