Re: Private Messaging (pun_pm)
The download links dont work
You are not logged in. Please login or register.
PunBB Forums → Supported extensions → Private Messaging (pun_pm)
The download links dont work
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.
link is dead......
Read two posts above.
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
.
Thanks KANekT. Installed, working great.
Thank you, KANekT. :-)
I have corrected this issue.
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.
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.
Any thoughts on that extension?
Thank you Chaosmaker
Chaosmaker great thanks for that!
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?
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
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.
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
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!
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;
}
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
Нарисуйте как это должно работать.
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.
looking at the forum. Somewhere I have seen that.
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!!
PunBB Forums → Supported extensions → Private Messaging (pun_pm)
Powered by PunBB, supported by Informer Technologies, Inc.