![]() |
Quote:
When I try this, I get a parse error: PHP Code:
|
Exactly the same error I get if I adopt Erwins suggestion.
I'd like to get this sorted one way or other - either by finding the fix for Erwins method or getting help on making the email to mods work in Overgrows original set up. TIA |
With Erwins suggestion, the post that gets made, does it include the post they are reporting and their reason too? Also, does it only do the new thread thing, or can it post to an existing thread?
|
As it uses the existing report.php file, I would presume it works in the same way as the original vB reports, with the addition of a post into the admin/mods forum. I am not sure whether it allows you to choose between new thread per reported post or all reports into one thread, and I have yet to find out whether it includes a copy of the original post, as I cannot test it because of the parse error.
|
Yeah same here ... I cannot for the life of me figure out the parse error, I mean it seems there is an extra ) somewhere, but I tried removing some and still got the error, so I am not certain of what it is. It seems to be in the first line of code.
|
Hmm, just tried replying by email but it hasn't appeared. So apologies if this posts twice
Yes, I've tried that too. Not too hot on PHP, but I tried removing/replacing them one by one, adding an extra '(' here and there all without success. Seem to recall with some combinations the actual error message changed, but I could not get it to work no matter what I tried. |
Try this code:
Find: PHP Code:
PHP Code:
This is the code I am using. If you have the LAST TITLE ON FORUM HOME hack, use this code instead (which updates the forum title too). PHP Code:
|
Sorry to Overgrow for hijacking his thread, but I don't want to release a hack that does the same thing... unless you want me to do so. :)
|
I can't find this string:
$url = "\"", "", $url); All I have is this: $url = str_replace("\"", "", $url); When I add it above that, still get a parse error :( I am using 2.2.9 |
Ditto here, using 2.2.8
|
All times are GMT. The time now is 03:08 PM. |
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:
|