vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Discourage Report Abuse (https://vborg.vbsupport.ru/showthread.php?t=318874)

RSprinkel 09-13-2015 04:26 AM

Good Morning,

Just installed this mod as it looks like a great feature as well as your other mods I have installed. However when I do a test report of a post, and go back to it to check to see if the red Icon is showing and place mouse cursor over it to see if the message pops up, first off I don't see the red icon as it still appears to be black and no pop up box displays that it has already been reported. Also I noticed on that thread only at the top of the page I am getting this error message - Warning: mysql_num_rows() expects parameter 1 to be resource, object given in ..../includes/class_postbit.php(345) : eval()'d code on line 87

If I disable the mod and hit refresh on same thread that error message goes away.

Thanks for your help on resolving this issue in advance.

MarkFL 09-13-2015 04:56 AM

Quote:

Originally Posted by RSprinkel (Post 2554950)
Good Morning,

Just installed this mod as it looks like a great feature as well as your other mods I have installed. However when I do a test report of a post, and go back to it to check to see if the red Icon is showing and place mouse cursor over it to see if the message pops up, first off I don't see the red icon as it still appears to be black and no pop up box displays that it has already been reported. Also I noticed on that thread only at the top of the page I am getting this error message - Warning: mysql_num_rows() expects parameter 1 to be resource, object given in ..../includes/class_postbit.php(345) : eval()'d code on line 87

If I disable the mod and hit refresh on same thread that error message goes away.

Thanks for your help on resolving this issue in advance.

Hello,

For some reason it appears the db query has failed. What versions of PHP and MySQL are you using?

RSprinkel 09-13-2015 05:08 AM

Hmm well PHP is 5.3.3, not sure about mySQL version. As my site is being hosted on a friends server I went into phpmyadmin and clicked on Documentation and it took me to the MySQL 5.5 Reference Manual, so I am guessing it is 5.5

MarkFL 09-13-2015 05:40 AM

Hmmm...it all sounds reasonably up to date. i have no idea why that method is not working for you. I have personally installed this on 4 different sites, and none had this problem.

If you want to PM admin login credentials to me, I would be glad to see if I can fix it.

RSprinkel 09-13-2015 10:23 AM

Thanks MarkFL. PM sent. ;)

Actually my mySQL is 5.1.73 not 5.5. Sorry

akz645 12-26-2015 08:27 PM

Suggestions for this Mod:
- Exclude Usergroups From Reporting Posts Already Reported.
- Exclude Usergroups From Reporting At All.
- Users are Immune from having their posts be reported.
- Usergroups are Immune from having their posts be reported.
------------------------------------------------------------------------------------------------------------------------------------------------------

Suggestions for this Mod/another Mod:

Currently this is the default for 'User Infractions & Post Reporting Options' in vBulletin
If somebody reports a post, a thread is (automatically) created in X forum (multiple not allowed).
If somebody else reports the same post afterwards, then they will (automatically) create a post in the same thread the first reporter created.
The user who reported/or the userID selected from the settings will be shown as creating the thread/post.


Change these three settings:
- Change: 'User Infraction Discussion Forum' TO: Allow multiple forums to be selected.
- Change: 'Post Reporting Discussion Forum' TO: Allow multiple forums to be selected.
- - Change: 'Post Reporting User' TO: Allow the admin to select different userID per ForumID.
Example: [ForumIDs|UserID; ForumIDs|UserID ..etc ] [3,6,7|1; 4,8,12|2;]
Note: You don't have to edit these locations, if you just re-create these settings into the AdminCP for a Mod which overwrites vBulletin default settings.

Additional settings:
- Report Forum(s): Multiple ForumID selector
- - If users report in the forum ID you select in this setting, in the Report Forum(s) which you selected above, it (reports) will display this UserID instead.
Example: [ForumIDs|UserID; ForumIDs|UserID ..etc ] [3,6,7|1; 4,8,12|2;]
Note: This should overwrite the 'Post Reporting Discussion Forum' if the selected forum(s) overlap.
Note 2: This is different to this. Yes both of them create report forum destinations, but how/which userID are displayed is different.


- Allow the admin to select certain usergroups/users, those usergroups/users will have their post reports all go into X thread ID.
Example: [ThreadID|UsergroupIDs; ThreadID|UsergroupIDs etc...] [4|2; 8|6,4,3;]
AND [ThreadID|UserIDs; ThreadID|UserIDs etc...] [12|56; 13|62,14,23;]
Note: If a report is going into X threadID then it should should show the original userID creating the post (report).

- - Should a report be created in other places too? [Yes or No]
Note: If No selected, other report thread/posts will not be created in other destination forums (ignores settings above). Hence the reports from those usergroups/users will only be created inside the thread ID the admin chose above.

MarkFL 04-29-2016 04:25 PM

Update - Version 2.1:
  • Added support for the reporting of PMs.
  • Individual user restrictions are done by username rather than userid.
  • All messages to user now fully phrased.


All times are GMT. The time now is 08:09 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
  • Page Generation 0.01061 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete