Re: Private Messaging (pun_pm)

The download links dont work sad

127

Re: Private Messaging (pun_pm)

http://punbb.informer.com/extensions/1. … pun_pm.zip

128 (edited by Duzu 2013-02-09 23:04)

Re: Private Messaging (pun_pm)

How do i add a direct PM link to a user under an avatar?

I installed this extension and i see the PM after Unanswered topics but i cant see it under an avatar in a thread after Email or if you visit some ones profile.

Re: Private Messaging (pun_pm)

link is dead......

130

Re: Private Messaging (pun_pm)

Read two posts above.

Re: Private Messaging (pun_pm)

Was there ever any more thought put into adding an email alert option for new pms?  I still have several people requesting it and it seems to have been dropped.    I see it was requested several times and several people asked for it and I've found some useful docs on how to make it work in punbb 1.2 but nothing for latest versions of punbb/pm

132

Re: Private Messaging (pun_pm)

.

133 (edited by grumpyfish 2014-05-12 16:21)

Re: Private Messaging (pun_pm)

Thanks KANekT.  Installed, working great.

134

Re: Private Messaging (pun_pm)

Thank you, KANekT. :-)

Re: Private Messaging (pun_pm)

Pun_PM does not show up correctly in mobile view -

http://s29.postimg.org/l4y9on6ir/Screenshot_4.jpg

You cannot click on the link to message.

Re: Private Messaging (pun_pm)

I have corrected this issue.

137 (edited by Chaosmaker 2016-01-03 11:49)

Re: Private Messaging (pun_pm)

I also ran into the problem on mobile devices and changed the css style Oxygen of the extension adding this:

.pun_pm_list .td4 {
    width:100%;
    min-width:10em;
}

.pun_pm_list td.td3  a {
    overflow:hidden;
}

@media screen and (max-width: 600px) {
    .pun_pm_list .td5 {
        display:none;
    }
    .pun_pm_list .td3 {
        width:8em;
    }
    .pun_pm_msg .td1 {
        width:auto;
    }
}

@media screen and (max-width: 460px) {
    .pun_pm_list .td3 {
        width:4em;
    }
}

Im not sure whether the first part - width for td4 - is really necessary, but it helped me whenever the other rules messed up, giving it at least some minimal width.
On smaller screens the column "Last edited" will be hidden and the "From" column gets narrower, giving the subject enough space.
The change for .pun_pm_msg .td1 on small screen is for the header (From / Sent / Subject) when reading a message, in the original style it would be too far on the right.

Another issue is that the collapsed menu on small screen gets the title "Profile Menu" although it's the "PM Menu" - however, at first sight it looks like a change for that might need some changes in the forum software itself. As it's not very important for me, I didn't look into it any further.

138 (edited by Chaosmaker 2016-01-03 12:27)

Re: Private Messaging (pun_pm)

Another thing that came to my mind: Even with the setting "Display 'New messages (N)' link at the top of every page." enabled, you don't really have a well visible indication for new messages (the "PM" is simply displayed bold then). As I don't like to change built-in extensions too much, I wrote my own little extension-extension for that purpose:
http://www.danielrathjen.de/punbb/pun_p … cation.zip

Preview:
http://www.danielrathjen.de/punbb/pm_notification.png
It's not the Oxygen style in that forum, but it should be clear enough to see how it works. Unfortunately only one link allowed in this post, so please copy&paste. smile

Any thoughts on that extension?

139 (edited by abdulhalim 2016-01-03 14:53)

Re: Private Messaging (pun_pm)

Thank you Chaosmaker

Get Persian PunBB @ www.getpunbb.ir

140

Re: Private Messaging (pun_pm)

Chaosmaker great thanks for that!

141

Re: Private Messaging (pun_pm)

After updating to punbb v1.4.4 I receive an error message with  Private Messaging 2.4.2 extension:

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ../extensions/pun_pm/functions.php on line 627
    $str1 = preg_replace('#^Re\[(\d{1,10})\]: #eu', '\'Re[\'.(\\1 + 1).\']: \'', $str);

Any idea how to fix it?

I'm using PunBB at Forex Forum since 2006.

142

Re: Private Messaging (pun_pm)

this error is due to outdated modifier...
See:
http://php.net/manual/en/migration55.deprecated.php
Solutions:
http://php.net/manual/en/function.preg- … llback.php

143 (edited by Popov 2016-03-02 06:47)

Re: Private Messaging (pun_pm)

PanBB.Ru you are very helpful  !!! how much time took you to post these links? And how mach time would take you to fix this official extension?  pun_pm is an official extension right?

I'm also developing and providing free software from 10 years. The fact PunBB is free and open source is not an excuse for unfinished work. PunBB 1.4.4 is online from 2 months. Why you don't take a look at the official extensions?

I would be more than happy if it was a commercial support for this software and there was a service for fixing such issues.

Maintaining a free and open source product is a responsibility to provide not worse but better quality than the commercial ones.

I'm using PunBB at Forex Forum since 2006.

144

Re: Private Messaging (pun_pm)

Unfortunately , I'll spend a little time on the computer. I mainly write from your smartphone.

For solutions , I can only give you direction.
But I'm sure that if you make an effort , you will find a solution  wink

At the moment, there is no ready-made solution. But you can continue to use the extension despite the fact that it gives a warning.

Pun_pm - is the official extension. I think that it is not fatal if you do it the better.

When I find a solution, then gladly share with you.

Good luck!

145

Re: Private Messaging (pun_pm)

Popov wrote:

After updating to punbb v1.4.4 I receive an error message with  Private Messaging 2.4.2 extension:

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in ../extensions/pun_pm/functions.php on line 627
    $str1 = preg_replace('#^Re\[(\d{1,10})\]: #eu', '\'Re[\'.(\\1 + 1).\']: \'', $str);

Any idea how to fix it?

If you are using a version of PunBB 1.4.4, replace the function expanding private messages. File functions.php

function pun_pm_next_reply($str)
{
  if (substr($str, 0, 4) == 'Re: ')
    return 'Re[2]: ' . substr($str, 4);
  $str1 = preg_replace_callback('#^Re\[(\d{1,10})\]: #', create_function('$next_reply', 'return "Re[".($next_reply[1] + 1)."]: ";'),$str);
  return $str == $str1 ? 'Re: ' . $str : $str1;
}

146

Re: Private Messaging (pun_pm)

Hi !
How can I have a tooltip with the lang string 'Private messages' over the link "PM" displayed at the top of each page ?
Thanks in advance

https://agora.chauvigne.info/
PunBB 1.4.6
PHP: 8.0.24
Base de données    SQLite3 3.27.2

147

Re: Private Messaging (pun_pm)

Нарисуйте как это должно работать.

http://punbb.informer.com/forums/topic/ … -notifier/

148

Re: Private Messaging (pun_pm)

Thanks for the answer, but it does not do what I need : I am looking only for a tooltip, when hover the PM link on top of the pages.

https://agora.chauvigne.info/
PunBB 1.4.6
PHP: 8.0.24
Base de données    SQLite3 3.27.2

149

Re: Private Messaging (pun_pm)

looking at the forum. Somewhere I have seen that.

150

Re: Private Messaging (pun_pm)

Chaosmaker wrote:

I also ran into the problem on mobile devices and changed the css style Oxygen of the extension adding this:

.pun_pm_list .td4 {
    width:100%;
    min-width:10em;
}

.pun_pm_list td.td3  a {
    overflow:hidden;
}

@media screen and (max-width: 600px) {
    .pun_pm_list .td5 {
        display:none;
    }
    .pun_pm_list .td3 {
        width:8em;
    }
    .pun_pm_msg .td1 {
        width:auto;
    }
}

@media screen and (max-width: 460px) {
    .pun_pm_list .td3 {
        width:4em;
    }
}

Im not sure whether the first part - width for td4 - is really necessary, but it helped me whenever the other rules messed up, giving it at least some minimal width.
On smaller screens the column "Last edited" will be hidden and the "From" column gets narrower, giving the subject enough space.
The change for .pun_pm_msg .td1 on small screen is for the header (From / Sent / Subject) when reading a message, in the original style it would be too far on the right.

Another issue is that the collapsed menu on small screen gets the title "Profile Menu" although it's the "PM Menu" - however, at first sight it looks like a change for that might need some changes in the forum software itself. As it's not very important for me, I didn't look into it any further.


Worked like a charm, excellent job!!