Cannot Delete Messages

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
jayersgould

Cannot Delete Messages

Post by jayersgould »

Script URL: http://onyx-ii.com/birthsong/oce/board/mboard.php
Version of script: 1.21
Version of PHP: 5.0.4
Hosting company: onyx-ii (Windows IIS 5.1)
Have you searched THIS FORUM for your problem: YES
(if not please do before posting)
If so, what terms did you try:

Write your message below:

The script is awesome except that I cannot delete messages. When I click on the red "X" icon, I am taken to a page where I am prompted for my password, and then I click on "YES, delete this entry..." and then I am returned to the main message board page where the message is still there. Even if I don't enter a password, it does the same thing. I do not get an error message of any kind and no action is taken. Posting messages and replies and even adding smilies works fine; it's just deleting messages that is the problem.

Thank you for your help.

~Jennifer~
jayersgould

can't reply either...

Post by jayersgould »

I thought the reply function was working, but it is not. Can only post new topics and read them; cannot delete nor reply and I do NOT have a trailing "/" at the end of the $settings['mboard_url'] variable.

I set the permissions using Windows NTFS Security settings to read-write-execute for the threads.txt, count.txt files and msg folder.

Help?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

You seem to have some strange server setup. Try removing www. from the $settings['mboard_url'] variable and see if that helps.

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
jayersgould

Thank You

Post by jayersgould »

Simple enough solution, but I probably wouldn't have thought of it myself. It now works! The delete and reply functions work well. I can't thank you enough for your script and your fast response as well as providing a quick & easy solution!

Thank You!

~Jennifer~
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You're welcome!

You can consider rating MBoard or even writing a review at
http://www.hotscripts.com/Detailed/37193.html

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Sergei, Russia

Board dont't delete html files of replies

Post by Sergei, Russia »

Hi,
In setting I've made it to delete old files.
When i delete message - it's deleted from board and from msg folder. But replies to deteted topic are deleted only from board, not from msg folder. So - in msg folder saved a lot of files, that really don't work. How make script to delete html'files of all messages of the topic?

With respect, Sergei
Sergei S.
Posts: 1
Joined: Wed Jul 27, 2005 8:04 am

Post by Sergei S. »

It's me - the previos post.
Now I'm trying PHPMessBoard at local server. And it's exiting for little talks - I've rated it 5. The only problem that i find about it - above. I'm just afraid of 1) expanding hosting space for idle (actually lost) files - for two years it may be 1000 files, and even more - for the order at site, that I like: (that there was no unnassesary things, script and files :-) ...
Please, if it's not very difficult, help. If tryes a lot of work - don't do - let it be as it is. Thanks for a beautiful and gratious script.

Sergei, Russia
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Make sure you have
$settings['keepoldmsg']=0;
in settings.php and Mboard will clean old files from now on.

Regards
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Guest

Post by Guest »

I've checked - the thing is:

Code: Select all

// Keep or delete old posts? 1 = KEEP, 0 = DELETE
$settings['keepoldmsg']=0;
What "old posts" means - the posts to the deleted topics?

I've found the way - it's needed to delete each post, not the first, that is "topic". For small forum it's not hard. May there be another problem?

Regards
Locked