#1
|
||||
|
||||
PM Report Button
What does it actually do?
From what I can tell all its doing is sending a copy of the reported message to the admin. It doesn't say who sent the spam to the person reporting it and appears in the admin's inbox as being sent from the person who reported it. And though asked to supply a reason for the report, that information is also not included in the report I get in my inbox. So basically it just looks like the person trying to report spam is spamming the the the admin. Or worse, if they're reporting harassment or begging, then it looks like the victim is doing that to the admin! What on earth? I'm working on a rewrite of this, presently... but was this feature just up and forgotten about halfway through development? . Alright, I'm back with some edits I've made to get this system working nicely. Replace the report() function inside classes/class_privatemessage.php: PHP Code:
PHP Code:
Offender: SomePerson12
__________________
Please do not contact me directly outside of Mysidia.
I also cannot troubleshoot code more than two years old - I legit don't remember it. Last edited by Kyttias; 12-23-2015 at 12:13 AM. |
#2
|
||||
|
||||
I see, good question. Well the report button was an afterthought, or more precisely, it was never designed to be a part of core script in the first place. years ago a user called Bloodrun designed a PM box mod with the layout, it looked nice and I took the idea to the core script. This is the page of the original PMBox mod, and as you can see the attachments dont exist anymore, since all attachments were lost as the forum was upgraded from MyBB to VBulletin.
http://mysidiaadoptables.com/forum/showthread.php?t=837 Since his mod's has lost all attachments, I had to simply re-create the PMBox based on the idea from his thread from a screenshot(which you should be able to see from the url above). The PM reporting feature was not in the core script yet, and and I didnt bother making it. At that time, it simply led to a non-existent link that shows 404 not found error page, it caused a lot of confusion back then. Some time later, I decided to add this basic feature, just so that the button would work. However, it was of the least priority and I didnt want to spend much time on it, so it was done the way it currently is now. I guess this answers your question why the PM reporting feature works strangely, although it does work. I like your idea for its improvement though, it looks really nice. Maybe I will take your idea for Mys v1.4.0's PM reporting system.
__________________
Mysidia Adoptables, a free and ever-improving script for aspiring adoptables/pets site. |
|
|
What's New? |
What's Hot? |
What's Popular? |