Script URL:
Version of script: 1.7 (Paid for version)
Hosting company: Self
URL of phpinfo.php: 5
URL of session_test.php: 5
What terms did you try when SEARCHING for a solution: Post Approval
Write your message below:
Hello,
I am trying to set up my book for post approval but not having any luck. I submitted a test however I did not receive an approval message. Also, when I try to send another test it says "Error
You already have a message waiting approval!" I cannot find this message or a way to disapprove it. Also, we have quite a few people with the same IP and I need to remove that block as well.
Many Thanks!
Post Approval
Re: Post Approval
If you are not receiving notification emails then PHP mail() function is not sending out emails or they are being blocked by SPAM filters.
To delete existing post requests you will need to remove text files from the "apptmp" folder. Or you can generate approval/deletion links like this:
To approve a pending post:
To delete a pending post:
Replace ID_HERE with the temporary file name (without .txt). For example if you have a file called "20f05862a2fa4a40f27fb4479b975887.txt" inside the "apptmp" folder you would approve that post by opening this URL in your browser:
If you wish to allow multiple pending posts per IP, try changing this code inside gbook.php:
To something like this:
To delete existing post requests you will need to remove text files from the "apptmp" folder. Or you can generate approval/deletion links like this:
To approve a pending post:
Code: Select all
http://yourdomain.com/gbook/gbook.php?id=ID_HERE&a=approve&do=1
Code: Select all
http://yourdomain.com/gbook/gbook.php?id=ID_HERE&a=approve&do=0
Code: Select all
http://yourdomain.com/gbook/gbook.php?id=20f05862a2fa4a40f27fb4479b975887&a=approve&do=1
If you wish to allow multiple pending posts per IP, try changing this code inside gbook.php:
Code: Select all
$tmp = md5($_SERVER['REMOTE_ADDR'].$settings['filter_sum']);
Code: Select all
$tmp = md5($_SERVER['REMOTE_ADDR'].mt_rand(0,999999).$settings['filter_sum']);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
Re: Post Approval
Thank you worked perfectly,, have another issue but its related to email so I will search and start another post