Your ultimate PunBB resource!
You are not logged in.
Connorhd wrote:
if you install the mod properly there is one, it should says Messages
do'h. Everything is working right except seeing "Messages" in my top menu. do you know where I messed up? what file?
Offline
I'm pretty sure you have 1.2.1 and up.
In admin options you can edit your links
x = <a href="message_list.php">Messages</a>
Offline
Goatie wrote:
Everything seems to work fine.. except the deleting of multiple messages. As x3dt says it only deletes the first message, not all of them. I hope somebody can find the "bug" and correct it.
has anyone found a fix for this yet?
Offline
Offline
Offline
Just wanted to say thanks for this awesome mod. I just installed it on my punBB 1.2.6 board and everything works perfect. Thanks again...
Offline
Same as freak2532, it rules !! Good job !
Offline
propheçy wrote:
Goatie wrote:
Everything seems to work fine.. except the deleting of multiple messages. As x3dt says it only deletes the first message, not all of them. I hope somebody can find the "bug" and correct it.
has anyone found a fix for this yet?
Just change (line 66 in my script)
// Delete messages
$db->query('DELETE FROM '.$db->prefix.'messages WHERE id IN('.intval($_POST['messages']).') AND owner=\''.$pun_user['id'].'\'') or error('Unable to delete messages.', __FILE__, __LINE__, $db->error());with :
// Delete messages
$db->query('DELETE FROM '.$db->prefix.'messages WHERE id IN('.$_POST['messages'].') AND owner=\''.$pun_user['id'].'\'') or error('Unable to delete messages.', __FILE__, __LINE__, $db->error());![]()
Offline
Hi,
i've got two problems after installing the mod ... (using punbb-1.2.7):
1) patch has one failing line (header.php)
2) after doing 'patch -p2 < /path/to/diff' there's debugging enabled... How to disable it, again? (normally via include/common.php - but doesn't work)
BTW, i've an existing DB and still don't know how to upgrade correctly... Normally the 'install_mod.php' must be run, but not, if the DB-entries already exist, or am i wrong?
Greets,
owl
Offline
does it works well with 1.2.7???
other peoples had the same problems than owl666?
Thanks!
..should be great to implement it by default in punbb?
Offline
This is the error that I recieved....
File: /var/www/html/forum/install_mod.php
Line: 61
PunBB reported: Unable to create table messages.
Database reported: Table 'messages' already exists (Errno: 1050)
I would also be interested in anyone has implemeted this mod successfully to 1.2.7. Will keep an eye on the Topic... and have a go myself when I have time.
Offline
great I will try to install it so...
thx!
Offline
owl666 wrote:
Hi,
i've got two problems after installing the mod ... (using punbb-1.2.7):
1) patch has one failing line (header.php)
2) after doing 'patch -p2 < /path/to/diff' there's debugging enabled... How to disable it, again? (normally via include/common.php - but doesn't work)
BTW, i've an existing DB and still don't know how to upgrade correctly... Normally the 'install_mod.php' must be run, but not, if the DB-entries already exist, or am i wrong?
Greets,
owl
do that:
//define('PUN_SHOW_QUERIES', 1);in common.php
I had the same problem, but now all seems to work properly.
Offline
Some of the members of my board (and I mean some, cause most still can do itm right) get this messages when tryimg to delete multiple messages:
Bad HTTP_REFERER. You were referred to this page from an unauthorized source. If the problem persists please make sure that 'Base URL' is correctly set in Admin/Options and that you are visiting the forum by navigating to that URL. More information regarding the referrer check can be found in the PunBB documentation.
Any suggestions?
Offline
MAJOR SECURITY PROBLEM : Anyone can read other's PMs by simply changing the id after ""e=" in the adress bar..
To fix this problem, we have to change the mysql request and check if the quoted message is owned by the logged user :
OPEN message_send.php
LINE 67, FIND :
$result = $db->query('SELECT * FROM '.$db->prefix.'messages WHERE id='.$id) or error('Unable to fetch message info', __FILE__, __LINE__, $db->error());REPLACE WITH :
$result = $db->query('SELECT * FROM '.$db->prefix.'messages WHERE id='.$id.' AND owner='.$pun_user['id']) or error('Unable to fetch message info', __FILE__, __LINE__, $db->error());Last edited by Keulig (2005-09-27 10:29:00)
Offline
Keulig wrote:
MAJOR SECURITY PROBLEM : Anyone can read other's PMs by simply changing the id after ""e=" in the adress bar..
To fix this problem, we have to change the mysql request and check if the quoted message is owned by the logged user :
OPEN message_send.php
LINE 67, FIND :Code:
$result = $db->query('SELECT * FROM '.$db->prefix.'messages WHERE id='.$id) or error('Unable to fetch message info', __FILE__, __LINE__, $db->error());REPLACE WITH :
Code:
$result = $db->query('SELECT * FROM '.$db->prefix.'messages WHERE id='.$id.' AND owner='.$pun_user['id']) or error('Unable to fetch message info', __FILE__, __LINE__, $db->error());
Very good catch! You should make it clearer that you mean after clicking quote on a PM (although how else would "e= get in the url). I'm going to patch this up right now.
Offline
Any plans for adding the ability for users to be notified by email when they receive a PM? Has anyone modded this mod to do that?
Offline
I'm stuck, been trying to get this sorted for ages, but every time i goto install this mod, i get the main installation bit and then i click on install and get this error
An error was encountered
File: C:\apache2triad\htdocs\forum\install_mod.php
Line: 61
PunBB reported: Unable to create table messages.
Database reported: SQL logic error or missing database (Errno: 1)
Offline
i need it for system 1.2.8
please
it say me i cant mod installed
Offline
b4lz0r wrote:
i need it for system 1.2.8
please
it say me i cant mod installed
1. Open Install_mod.php
2. Find :
$punbb_versions = array('1.2.3', '1.2.4', '1.2.5');3. Replace with :
$punbb_versions = array('1.2.8');Offline
I have 2 questions regarding the usage of this mod. I have installed it but members are still to attached to the way things worked with phpBB PM system.
Is there any way to know if a sent message has been read by the destiny member?
What happens if you send a message to someone whose inbox is full?
Thanks.
Offline
are there any bugs with version 1.2.8 ???
thx
Offline
pogenwurst wrote:
http://forums.punbb.org/viewtopic.php?id=6372
If you have trouble, you might refer to this post:
http://forums.punbb.org/viewtopic.php?pid=50955#p50955
Also be aware of this security notice:
http://punres.org/viewtopic.php?id=710
Offline