Problems with pmBOX
-
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
Hello,
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 -
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
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. -
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
Thank you for your answer. In the meantime I downloaded your modified version: http://www.vedrine.net/downloads/pmBOXforROCOAFZ.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 -
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
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 -
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
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. -
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
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. :?:
Do you have the module BuddyList. -
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
You can get Buddy List here
http://rafaellop.republika.pl/
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. -
- Rang : Site Admin
- Inscrit en : 06.12.03
- Dernière visite : 25.02.10
- Messages : 274
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 ? -
- Inscrit en : 06.12.03
- Dernière visite : 15.08.09
- Messages : 4294967292
vedrine
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 ?
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:
error : admin_execute(modules/Messages/admin.php,Messages_admin_main)
If I delete the pmBOX files then the side block doesn't work. But if I can finish hacking CS_Buddies it won't matter.
Any help on the above error would be appreciated. -
- Inscrit en : 04.06.05
- Dernière visite : 04.06.05
- Messages : 1
Invité
vedrine
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 ?
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:
error : admin_execute(modules/Messages/admin.php,Messages_admin_main)
If I delete the pmBOX files then the side block doesn't work. But if I can finish hacking CS_Buddies it won't matter.
Any help on the above error would be appreciated.
This is where I am so far:
In index.php of Messages (which has all the files from pmBOX)
I changed most instances of "BuddyList" to "CS_Buddies" down to where in your inbox you have the icon for adding a buddy when you have a message.
That icon needs to have a link like this:
Citation
a href=\"" .pnModURL('CS_Buddies', 'user','addbuddy', array( "uid" => $uid, "bid" => $userid, "bname" => $username)). "\">
That was taken from pnuserapi.php of CS_Buddies
The function in pnuser.php is:
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);
}
So we need to get this link filled in:
Citation
[a href=\"".pnGetBaseUrl()."index.php?module=CS_Buddies&func=addbuddy&uid=&userid=&username=\"][img src=\"modules/".$GLOBALS['ModName']."/pnimages/global/add_buddy.gif\" border=\"0\"]
The link source is this:
[mysite.net/index.php?module=CS_Buddies&func=addbuddy&uid=2&bid=3&bname=Wendell]
modifié par : f1peace, 03 Juin 2005 à 22:20
Utilisateurs en ligne
- 7 visiteurs
Données pour les 15 dernières minutes








