first please excuse my English (I'm German). Yesterday I downloaded pmBOX for my postnuke 0.75. Administration works fine and I imported native pn messages. I can see my own messages. But if I want to reply or write a new PM I always get the same error-message:
Fatal error: Call to undefined function: securehtml() in /www/htdocs/*******/html/modules/pmBOX/replypmsg.php on line 273
Could you please help me.
Argos
Posted: 26.01.2005, 06:53
rank:
Site Admin
registered:
December 2003
Status:
offline
last visit:
09.10.08
Posts:
266
Yes you are right there is a problem I suppressed securehtml because it was causing a conflict with xForum andwasn't really needed but I forgot that replypmsg was using it. I need to rewrite that file.
Posted: 27.01.2005, 20:08
Invité
rank:
1
registered:
December 2003
Status:
offline
last visit:
06.03.05
Posts:
0
Thank you for your answer. In the meantime I downloaded your modified version: http://www.vedr...rROCOAFZ.zip from pnforum.
This version works. But now pmBOX always wants a module named BuddyList. I looked 4 days for this module in the web but I couldn't find it. :? Do you have this module? Otherwise I'll try to delete all the functions with "buddylist".
Greetings
Argos
Posted: 27.01.2005, 22:08
Invité
rank:
1
registered:
December 2003
Status:
offline
last visit:
06.03.05
Posts:
0
Now there's another problem. :?: Only 1 message (the last one) is stored in the outbox although the limit of the outbox is 10 and the limitindicator shows 10 %.
Argos
Posted: 28.01.2005, 13:25
rank:
Site Admin
registered:
December 2003
Status:
offline
last visit:
09.10.08
Posts:
266
No, no, don't use this version, it is an old one and some bugs have been corrected since, using it you will have problems. I will remove it, but what you could do is use the regular version with just the modules/pmBOX/includes/bbcode.lib.php file extracted from the pmBOXforROCOAFZ version I think it will temporary solve your problem.
Posted: 28.01.2005, 18:39
Invité
rank:
1
registered:
December 2003
Status:
offline
last visit:
06.03.05
Posts:
0
Now the outbox seems to work fine. :D
If I click in the inbox on the little blue icon (with !) at the left side of the username who sent me a message there is a popup-window with the User Info. Under User Status - Last online it shows always the same date: 01.01.70 - 01:00. If the user is online it shows the right date, but only if the user is online. :?:
In the meantime is there a correction to replymsg.php yet. I just can't seem to get pmBox to work when installed as Messages.
Posted: 03.06.2005, 19:16
rank:
Site Admin
registered:
December 2003
Status:
offline
last visit:
09.10.08
Posts:
266
Hello,
As you know MagiX Buddy List is not GPL so I can't publish a new version.
Is your idea to make pmBOX compatible with your CS Buddies List 1.01 module ? If yes and if your module is GPL this is a very good idea. Let me know if you are interested.
For your problem with replypmsg.php I don't understand exactly what is not working :
Did you have an error message displayed ?
Can you explain more precisly your problem ?
Posted: 04.06.2005, 01:49
Invité
rank:
1
registered:
December 2003
Status:
offline
last visit:
06.03.05
Posts:
0
I use CS_Buddies from the link I posted above. I have been working on it to make it work with pmBOX. I'm gettin close to finishing up on pmBOX index.php where the changes are necessary and then have to tweat CS_Buddies. I'll post when I get it all working.
As for pmBOX, I have had to install it in the Messages directory as well as keep a pmBOX directory. Using it from the Messages directory works except for the Administration link which gives me this error:
ADD A BUDDY TO THE BUDDIES LIST
*/
function cs_buddies_user_addbuddy($args) {
// Get parameters from whatever input we need. All arguments to this
// function should be obtained from pnVarCleanFromInput(), getting them
// from other places such as the environment is not allowed, as that makes
// assumptions that will not hold in future versions of PostNuke
list($uid, $bid, $bname) = pnVarCleanFromInput('uid', 'bid', 'bname');
// User functions of this type can be called by other modules. If this
// happens then the calling module will be able to pass in arguments to
// this function through the $args parameter. Hence we extract these
// arguments *after* we have obtained any form-based input through
// pnVarCleanFromInput().
extract($args);
$output = new pnHTML();
if (!isset($bid)) {
$bid = 0;
}
if ($bid != 0) {
$bname = pnUserGetVar('uname', $bid);
}