![]() |
ok hmmm did this hack in 3.0.3,, seems to have gone in fine EXCEPT one little thing.. now the report post icon / link is gone.... any ideas??
linkage: http://pokecommunity.com/showthread....ewpost&t=23623 edit: Nevermind.. seems I can't report my own posts, lol *clicks install* |
I too would be interested in this ONLY creating the thread, and NOT sending out a PM or email!
-Michael |
Has anyone been able to make this ONLY create a thread in a certain forum?
-Michael |
Quote:
|
Update Version 2.0
1. Added Admin CP support - choose to switch on and off each notification method. Also specify your Staff Forum ID in Admin CP. 2. Added more info to the THREAD TITLE - now with NAME OF FORUM, USERNAME OF POSTER, AND DATE/ TIME OF REPORT! To upgrade, it's easiest just to reinstall this hack over a CLEAN REPORT.PHP file. Admin CP installer and install instructions in HTML file in ZIP in 1st post. Screenshots attached. :) Enjoy! |
Erwin - great hack! However, as soon as I installed this hack I get the error:
Parse error: parse error, unexpected $ in /home/fhco/public_html/boardvb2/report.php on line 246 Any ideas? |
Quote:
|
Hi I got that error to on line 246
Code:
vbmail_end(); ?> |
Same thing here... error on line 246 is ?>
Wierd... |
Strange posting times... it's out of order...
|
Hi I got a simular error when reporting posts: error to on line 247
Parse error: parse error, unexpected $ in /home/username/public_html/community/report.php on line 247 Code:
vbmail_end(); ?> Sorry for the two the server was not being found |
I've changed the install instructions. It's because I cut and paste wrongly:
In the report.php file, Change: }// Erwin's Report Hack To: } // Erwin's Report Hack |
Hi I went through it all again and still get the error
Parse error: parse error, unexpected $ in /home/username/public_html/community/report.php on line 249 I have included my report.php file, it has no mods I don't think except your one, can you see what the problem is :ermm: Many thanks |
Quote:
This is what happens when you change your original install file... and the instructions have changed. The last code change, instead of adding the code below, REPLACE the code. So, step (e) should REPLACE the code, not add below. Sorry about this - the install file has been edited. It should work now. I've deleted the report.php file from your post anyway as that is against our rules. :) But it helped me identify the problem which was my instructions! :) |
I repeat, if you downloaded the old ZIP for version 2 and get an error, in step (e), you REPLACE the old code with new, you do NOT add below (which just creates a repeat of the code). :)
The ZIP has been updated. |
im still getting the error even with the latest update :\
|
Quote:
|
here you go
|
I'm missing a closing tag it seems - must have missed it since I coded this off the top of my head.
Above the LAST: // Erwin's Report Hack Add another: } See if that fixes it. |
still nothing
|
Quote:
Add 2 } So above the LAST: // Erwin's Report Hack Add 2 closing tags: } } In total there should be 3 closing tags above the comment. See if that works. :) |
that fixed it.. :)
|
Quote:
I've fixed the install.html file. NOTE: If you installed the hack and get an error - what I would do is to start with a FRESH report.php file, and redo the code changes AGAIN. This is because in step (e) I told you to find the wrong code - I have removed the vbmail function which should not be removed. So if you downloaded the install.html file BEFORE this post, I suggest doing it again, and then reinstalling with a fresh REPORT.PHP file. No need to run the installer again though or do the phrase changes. |
I repeat, even if adding the 3 closing tags fixes your problem, your report.php may be missing 1 line that ends the vbmail function. :) So I suggest re-downloading the updated install.html and redoing just the code changes to a fresh report.php just to be safe. :)
|
Hi it works but when you receive a PM its just blank...
The emails send ok, and the forum posts fine too :squareeyed: :nervous: :nervous: |
Quote:
To fix this, 1.In report.php find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
I've updated the ZIP file. |
As far as I can tell, the current ZIP file has all the bug fixes. :) Sorry about the bugs - I added the new features quickly and didn't have time to test them out out extensively.
Things should work properly now. |
Thanks for all the help its working now :)
|
Quote:
I installed the one before you updated it, and am somehwhat of an amature at the moment. |
Quote:
|
Thanx a lot ..
i've a problem in PM's when there is NO moderator the admin get the report >> That's OK BUT when there is a moderator NO report in PM's at all! >> here the PROBLEM |
Quote:
|
Quote:
Can you give us "report.php" after edited ? note : delete Licence Number for security :o |
it's OK Now
thanx a lot :) |
Erwin;
I wondered if you would be so kind to show me what to do when I want to use this hack without running the install_vbreport.php file. I don't want to add hacks that alters my database at all, in case I need official support later. I had it working before I had to upgrade to vB 3.0.5, but you have now updated your original thread with the new system. Thanks in advance, it's a great hack! |
Sweet, installed
|
Quote:
In any case, adding new option settings can be done through your Admin CP in debug mode, so it's not like it's doing anything that vB is not set out to do. If I have time I can give you code to bypass the options - it's quite simple. |
Quote:
Quote:
|
Quote:
Ie: Please respond to this post as applicable. The Report Thread in the Staff Forum is here: http://forums.nzboards.com/showthread.php?t= |
Quote:
|
All times are GMT. The time now is 01:19 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|