i now get this error when activating the new version
rror Message
An error occurred while retrieving Discussion information.
Affected Elements
PrivateMessages.GetDiscussionCount();
The error occurred on or near: Table 'copsandrobbers.LUM_UserDiscussionHide' doesn't exist
Did you create the "LUM_UserDiscussionHide" table using the sql.sql I've included and mentioned to you above? The error message you're getting tells you that you have not create the "LUM_UserDiscussionHide" table yet. Simply insert this table into your forum database:
CREATE TABLE `LUM_UserDiscussionHide` (
`UserID` int(10) NOT NULL default '0',
`DiscussionID` int(8) NOT NULL default '0',
PRIMARY KEY (`UserID`,`DiscussionID`)
);
sorry, i didn't see any instructions to create that.
now when trying to delete i get this error:
Fatal error: Using $this when not in object context in /home/.lock/circuitron2/www.copsandrobbers.net/messageboard/extensions/PrivateMessages/default.php on line 724
Sorry, I forgot to mention that I've modified that add-on to better suit my needs. So I've moved the "Send Private Message" from the "Accounts Options" which didn't make sense to me to under "Private Messages". My apology and try to download this version and see if it's any good.
i meant the link in the sidebar of the account profile page. it used to send a PM to that user. now the link doesn't feature the username, so you have to type it in yourself, which is obviously less convenient.
i can change this in the file myself, but it would be nice to have it included in the code so i don't have to do it when i upgrade.
i am still getting the error described above, by the way: Private Messages 1.1 # 131... although delete DOES seem to work anyway...
I'm not sure why you're getting that error, the only thing I can tell you is to disable it and delete the "LUM_UserDiscussionHide" table then create it again and enable the add-on. Also, try to change the permission to 777.
hi!
has anybody an idea how to stop the private messages extension from increasing the "Discussions Started" and "Comments Added" values from the profile page?
thanks :)
I'm getting a "Optionen" below "Sent Mail" on the sidebar..... when clicked, takes me to "account.php?PostBackAction=Functionality"
Any assistance with this?
Comments
The delete function was added by jehul and you can download it here
P.S.
Included the sql file (sql.sql)
does this include all of bshultze's fixes too?
rror Message An error occurred while retrieving Discussion information. Affected Elements PrivateMessages.GetDiscussionCount(); The error occurred on or near: Table 'copsandrobbers.LUM_UserDiscussionHide' doesn't exist
The error message you're getting tells you that you have not create the "LUM_UserDiscussionHide" table yet.
Simply insert this table into your forum database:
CREATE TABLE `LUM_UserDiscussionHide` ( `UserID` int(10) NOT NULL default '0', `DiscussionID` int(8) NOT NULL default '0', PRIMARY KEY (`UserID`,`DiscussionID`) );
now when trying to delete i get this error:
Fatal error: Using $this when not in object context in /home/.lock/circuitron2/www.copsandrobbers.net/messageboard/extensions/PrivateMessages/default.php on line 724
in the user profile, the send message link has changed from this
/extension.php?PostBackAction=PrivateMessages&View=SendMessage&SendTo={username}
to
/extension.php?PostBackAction=PrivateMessages&View=SendMessage
which is obviously not as useful
My apology and try to download this version and see if it's any good.
i meant the link in the sidebar of the account profile page. it used to send a PM to that user. now the link doesn't feature the username, so you have to type it in yourself, which is obviously less convenient.
i can change this in the file myself, but it would be nice to have it included in the code so i don't have to do it when i upgrade.
i am still getting the error described above, by the way: Private Messages 1.1 # 131... although delete DOES seem to work anyway...
edit: not very au fait with PHP, but does this help? http://www.webmaster-talk.com/php-forum/43174-fatal-error-using-when-not-object.html