[ABD] Report Posts (2.1.5)

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
Locked
chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Fri Sep 30, 2005 7:41 pm

Version 2.1.3 is out:

Code: Select all

##	2005-09-30 - Version 2.1.3 (alpha)
##	- Optimized code in report.php
##	- Optimized code in viewpost_reports.php
##	- Optimized code in admin_report_posts.php
##	- Added many checks when reporting
##	- Added option for admins to set time (+ enable/disable) for flood control when reporting
##	- Added option for admins to set number of reports per page when viewing reports
##	- Added display of topic title when reporting
##	- Added pagination when viewing reports
##	- Added Cancel button when adding/editing reasons & actions in Admin CP
##	- Changed some config parameter names
##	- Fixed bug when acting on many reports and none of the report/post panels was active
##	- Fixed bug in rp_get_template_name function (Thanks arkange_17)
##	- Fixed bug when sending pm with single quotes in subject/message (Thanks arkange_17)
##	- Many small fixes
See 1st post for download link and details...

To update from the previous version (2.1.2d) :
- copy over all files
- run the sql queries referring to phpbb_reports_config table (you have to delete all the old table entries before)
- make the changes referring to page_tail.php

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

da_badtz_one
Registered User
Posts: 376
Joined: Thu Jan 29, 2004 8:25 pm

Post by da_badtz_one » Fri Sep 30, 2005 10:41 pm

You should add a pagnation to this. The last version of this mod query count went to hundreds on my board. I had to install a pagnation to make it lower.

User avatar
James78
Registered User
Posts: 811
Joined: Sat Jul 30, 2005 4:54 pm
Location: Washington, USA
Contact:

Post by James78 » Sat Oct 01, 2005 12:30 am

chatasos wrote: James78, one more time.... :?

Please download the following file, rename it report.php and use it (overwrite) instead of your own.
report.txt
Then grab another screenshot and post it here.

Image

User avatar
James78
Registered User
Posts: 811
Joined: Sat Jul 30, 2005 4:54 pm
Location: Washington, USA
Contact:

Post by James78 » Sat Oct 01, 2005 4:20 am

Hey, a feature request. It'd be awesome if you (both admin and mods) could have a option in your profile (profile edit) that'd make is so all reports can be pm'ed to you (both admin and mods can toggle it on or off, by default, the option is set to off)

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Sat Oct 01, 2005 7:25 am

da_badtz_one wrote: You should add a pagnation to this. The last version of this mod query count went to hundreds on my board. I had to install a pagnation to make it lower.

Code: Select all

##   2005-09-30 - Version 2.1.3 (alpha)
...
##   - Added option for admins to set number of reports per page when viewing reports
##   - Added pagination when viewing reports
...
:wink:

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Sat Oct 01, 2005 7:30 am

James78, i'm starting to believe that there is something going wrong with your language and/or template files.

Can you please make sure you have the latest language file in the appropriate (lang_english/) directory and that you have copied all template files in all your active template directories?

Also, can i have a link to your site?

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Sat Oct 01, 2005 7:40 am

James78 wrote: Hey, a feature request. It'd be awesome if you (both admin and mods) could have a option in your profile (profile edit) that'd make is so all reports can be pm'ed to you (both admin and mods can toggle it on or off, by default, the option is set to off)


As i have said before to phantomk (here), i'm trying to avoid changing many phpbb files in order to make installation of mod as easy/quick as possible. If i want to add something to the profile, the whole installation process will take +30 mins and EasyMOD is quite "picky" about changes in the profile phpbb files.

Maybe i'll provide all these profile changes as extra (into contrib directory), so everyone who doesn't want them, doesn't need to spend too much time when installing the mod.

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

thunder88
Registered User
Posts: 158
Joined: Wed Dec 03, 2003 7:38 am

Post by thunder88 » Sat Oct 01, 2005 3:43 pm

How can I add an alt tag so my members will know what the button is for?

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Sat Oct 01, 2005 9:22 pm

thunder88 wrote: How can I add an alt tag so my members will know what the button is for?


Hi thunder88,

There is already one included. :wink:
Maybe you are referring to something else?

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

thunder88
Registered User
Posts: 158
Joined: Wed Dec 03, 2003 7:38 am

Post by thunder88 » Sat Oct 01, 2005 9:39 pm

chatasos wrote:
thunder88 wrote:How can I add an alt tag so my members will know what the button is for?


Hi thunder88,

There is already one included. :wink:
Maybe you are referring to something else?

When you hover the mouse over the button no text comes up like on the rest of the forum buttons. :?:

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Sat Oct 01, 2005 11:15 pm

Oh yes, you're right....:wink:

Please do the following in file viewtopic.php:

[FIND]

Code: Select all

	include_once($phpbb_root_path . 'includes/functions_report_global.'.$phpEx);
	$reports_config = get_reports_config();

[REPLACE WITH]

Code: Select all

	include_once($phpbb_root_path . 'includes/functions_report_global.'.$phpEx);
	include_once($phpbb_root_path . 'language/lang_'.$board_config['default_lang'].'/lang_report_posts.'.$phpEx);
	$reports_config = get_reports_config();

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

thunder88
Registered User
Posts: 158
Joined: Wed Dec 03, 2003 7:38 am

Post by thunder88 » Sat Oct 01, 2005 11:50 pm

Worked like a charm. :) Thanks.

User avatar
James78
Registered User
Posts: 811
Joined: Sat Jul 30, 2005 4:54 pm
Location: Washington, USA
Contact:

Post by James78 » Sun Oct 02, 2005 5:08 am

chatasos wrote: James78, i'm starting to believe that there is something going wrong with your language and/or template files.

Can you please make sure you have the latest language file in the appropriate (lang_english/) directory and that you have copied all template files in all your active template directories?

Also, can i have a link to your site?

Site

chatasos
Registered User
Posts: 748
Joined: Wed May 15, 2002 1:16 pm
Location: Paralia

Post by chatasos » Sun Oct 02, 2005 2:46 pm

James78, i finally managed to reproduce your problem on my site too. :)
I'll try to have a fix ready until tomorrow. :wink:

Thanks for all your help.

Just one last question : Are you using extreme styles mod?

Report Posts 1.2.3c (MODDB) - Report Posts 2.1.5 (ALPHA)
Rebuild Search 2.4.0 (MODDB)
MOD Version Checker 1.2.0 (MODDB)
Mega Mail System 0.9.8 (ALPHA)
Pagination Select List & Input Box (MODDB)

User avatar
James78
Registered User
Posts: 811
Joined: Sat Jul 30, 2005 4:54 pm
Location: Washington, USA
Contact:

Post by James78 » Sun Oct 02, 2005 4:01 pm

chatasos wrote: James78, i finally managed to reproduce your problem on my site too. :)
I'll try to have a fix ready until tomorrow. :wink:

Thanks for all your help.

Just one last question : Are you using extreme styles mod?


Yes, I have and am using the extreme syles mod.

Locked

Return to “[2.0.x] MODs in Development”