PDA

View Full Version : Administrative and Maintenance Tools - ZH - Report PM


Ziki
12-23-2006, 10:00 PM
This modification was brought to you by
KXDesign
http://www.kxdesign.com/


~Hack name
Report PM

~Hack description
When a user reports a post this hack sends out pm's to staff members :)

~Hack options

On/Off
Receipt Name


~Hack info
File uploads: 0
Template edits: 0
Templates: 0
File edits: 0
Plugins: 1
SQL Queries: 0
Phrases: 9
Settings: 2

Install time: 3 sec
Install level: Easy

~Hack installation

Step 1: Import Product



~Hack screenshots
None


~Hack copyright
This may not be distributed,released or claimed as your work without author's permission.

Ziki
12-24-2006, 12:46 PM
Reserved

YeşiLMeN
12-24-2006, 01:06 PM
Thanks Very Nice..!

Installed ;)

Ziki
12-24-2006, 01:06 PM
No problem.This was requested many times now :)

MrPHD
12-24-2006, 01:07 PM
Hi when i try to install gives this: XML Error: not well-formed (invalid token) at Line 8 hehehe not installed. Regards

Ziki
12-24-2006, 01:15 PM
1.0.1 released

Fixed now

YeşiLMeN
12-24-2006, 01:19 PM
Again Thx..

Ziki
12-24-2006, 01:44 PM
I had to remove the version check because for some reason it was causing an error :-/

Distance
12-24-2006, 01:54 PM
Thanks so much!

Distance
12-24-2006, 02:05 PM
Its just not sending Pms :s

ecansel
12-24-2006, 02:43 PM
Thanks... Installed

Ziki
12-24-2006, 03:05 PM
Are sure Distance?Check again.It works great for me

MrPHD
12-24-2006, 04:08 PM
Thanks Ziki, Installed and Working nice. Xmas to all

Ziki
12-24-2006, 05:20 PM
Merry X-mas

YeşiLMeN
12-24-2006, 06:43 PM
Ziki Where's Report This PM Text (or) Image ??

UltimateOreo!
12-24-2006, 07:32 PM
This is very nice, good job.

Ziki
12-24-2006, 07:37 PM
Ziki Where's Report This PM Text (or) Image ??


When reporting a post, vb sends out emails.This hack sends out PM's ;)

letsjoy
12-24-2006, 07:54 PM
thanks ;)

Ziki
12-24-2006, 08:03 PM
Please click install :)

Snake
12-24-2006, 09:33 PM
Thanks! :)

Ziki
12-24-2006, 10:05 PM
Yes this was specially made for you Snake :)

sebbe
12-24-2006, 10:22 PM
I assume it will send the PM only to the mods of the forum in which the post is reported? And if there are none, it will send it to the admins?

Ziki
12-24-2006, 10:29 PM
Exactly

Discussions
12-25-2006, 01:39 AM
Ok, maybe you should change the title a bit. From reading the title as is, I believed it to be a report system for the private messaging system. That would have been useful.

UaeStar
12-25-2006, 03:31 AM
man this hack work with all vbulletin 3.5.x or 3.6.x ???

jacki
12-25-2006, 06:15 AM
thanx :)

BoYagoob
12-25-2006, 12:36 PM
installed ..

Thanks .. :)

aveon
12-25-2006, 01:02 PM
thnx installed

Ziki
12-25-2006, 07:25 PM
thanx :)
thnx installed

Please click install :)


man this hack work with all vbulletin 3.5.x or 3.6.x ???

Yes but you have to remove the executionorder="5" from plugin code.

bada_bing
12-25-2006, 07:33 PM
I have a couple questions.

1. I have a hack installed that will post the reported thread in a deisgned forum
can I use this hack in conjunction of that hack?

2. Also will this work with vb 3.5.3 ?

Ziki
12-25-2006, 09:50 PM
bada_bing this is for 3.6

for 3.5 use this (https://vborg.vbsupport.ru/showthread.php?t=128998)

Eric
12-26-2006, 10:18 AM
Nice hack.

a report system for the private messaging system. That would have been useful.
;)

Terminatoronly
12-26-2006, 04:44 PM
very nice hack thanks alot ziki for your hard work and merry x-mass

UaeStar
12-26-2006, 05:06 PM
Please click install :)




Yes but you have to remove the executionorder="5" from plugin code.

can you expounding plz

thanks

Ziki
12-27-2006, 07:58 AM
Open the xml file and look up this code <plugin executionorder="5"> and change it to <plugin>

UaeStar
12-27-2006, 08:53 AM
Open the xml file and look up this code <plugin executionorder="5"> and change it to <plugin>
ok I understood but you want me change it only if i want it work with old Version vBulletin 3.5.x right or with all Version ??

Ziki
12-27-2006, 01:34 PM
Only with 3.5.But I suggest you use the hack I specified in post 31

StrifeX
01-18-2007, 11:41 PM
What do i edit in the xml to make it so that admins will recieve the pms as well?

Salvar
01-19-2007, 12:08 AM
I get:

XML Error: not well-formed (invalid token) at Line 1

Whats the problem

Ziki
01-20-2007, 01:34 PM
I get:

XML Error: not well-formed (invalid token) at Line 1

Whats the problem

Are you importing as product?

Snake
01-20-2007, 05:44 PM
This is gay. The hack's doesn't work for me AT ALL!

Ziki
01-20-2007, 06:11 PM
Are you sure?Have you modified the settings?

MThornback
01-20-2007, 06:34 PM
I have to admit its not working for me either...are there any known conflicts with other products?

StrifeX
01-20-2007, 07:09 PM
It's not that it doesn't work, it's just that you aren't getting the pms, one of your moderators are. That is why i am asking for a way to make it so that admins will recieve the emails as well / instead of the mods.

MThornback
01-20-2007, 07:14 PM
I don't even see a link to report the posts though...as much as that makes sense in a way....I have no way to test if its working without using a bogus account and sending it a PM

Ziki
01-20-2007, 07:14 PM
Yes I will make a fix or something.Seems like it really does not work properly

Snake
01-20-2007, 09:11 PM
Yeah, I told you already, didn't I? :D

MThornback
01-20-2007, 11:18 PM
Well from what I see the plugin to SEND the e-mail is ok....but the plugin to report the PM itself is not.....I don't see any plugin on the PM System hooks at all for this product

tank14
01-21-2007, 03:43 AM
Doesnt Work =(

Ziki
01-21-2007, 02:47 PM
1.0.2 released

Fix provided

StrifeX
01-21-2007, 06:33 PM
It's still messed up severely...

It claims the array in includes/class_dm.php isn't empty and the Report PM needs a title when there is no inputbox for a title.

More specifically:

Fatal error:

* Please complete both the subject and message fields.
* Please complete both the subject and message fields.

Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 763

Ziki
01-21-2007, 06:48 PM
I will get into fixing it tommorow.

Snake
01-23-2007, 08:37 AM
I'm having the same problem as well.

StrifeX
01-26-2007, 07:31 PM
Any luck yet Ziki?

Ziki
01-26-2007, 07:43 PM
No luck yet.

kontrabass
02-05-2007, 04:55 PM
Umm... I think some users (mthornback etc) in this thread are confused.

This hack enables *post reports* to be sent as PM's, right?

I think some think that this somehow allows users to report PM's to moderators.

Cyricx
02-08-2007, 07:28 PM
The problem is that the code is in the wrong hook.

The hook for the plugin needs to be changed to report_send_complete

It's trying to send the PM before the code has defined what $message and $subject is!

Keep in mind, changing it to this hook location will send the PM correctly, however, it will also send an email.

Unsure if the desire is to remove the reporting emails or not.

Great hack though!! Installed!!! :)

EDIT - ah bugger... my fix works to send the pm... but the email is all screwy because it has bbcode in it :)
I'll keep fiddling with it and see if I can help out ziki :)

Ziki
02-08-2007, 07:59 PM
Thank you very much because I really don't have much time fixing it.I still have more things on my head.

RFViet
02-08-2007, 08:12 PM
Good idea, hope you can fix it !!

Cyricx
02-08-2007, 08:26 PM
Ziki, may I have your permission to post a fix? This will send a PM and an email.

The biggest problem people will have in switchin is that instead of creating new phrases... you overwrote default phrases. So when people uninstall your product, they will LOSE the phrases that enable the email report system.

The zip I'll upload will readd the default phrases as well as add new phrases for your code.

Ziki
02-08-2007, 08:43 PM
Don't worry post the fix.Don't worry about the phrases.I know how to avoid sending emails.

Cyricx
02-08-2007, 08:45 PM
Yeah..

The only way I can figure out how to stop the email from sending is with a code edit.

Do you know how to do it with a plugin?


Here's an updated zip that works without bugs, just sends an email AND a pm.


I updated the version in the xml to 1.0.3 too, so as to avoid confusion :)

Ziki
02-08-2007, 09:27 PM
1.0.3 released

Thanks to Cyricx this hack has been fixed.Email sending is now also disabled as it was reported that bbcode breaks the email

Cyricx
02-08-2007, 10:02 PM
Great job Ziki! :)

Note to others - if you want to have both emails AND pm's sent just disable the hook for the "report_send_email" location :)

Ziki
02-09-2007, 09:37 AM
Well most credit goes to you in this release

TheFrienzNet
02-09-2007, 01:47 PM
Installed, thanks.

kontrabass
02-09-2007, 02:49 PM
Installed. Thanks for fixing. I've disabled the no-email plugin as my some of my mods still want the email reports :)

StrifeX
02-09-2007, 03:20 PM
Great job on update. :)

kontrabass
02-11-2007, 04:50 PM
In forums in which I have more than one moderator, it appears only one mod gets a PM (the rest get emails, as I have the no-email hook disabled). :(

Ziki
02-11-2007, 05:41 PM
Yes it should only send to one mod.I think you want it to send to all mods right?

kontrabass
02-11-2007, 09:10 PM
Yes it should only send to one mod.I think you want it to send to all mods right?

That would be ideal for me... :)

And I think it'd be best for this hack - to duplicate the behavior of the email reports, but send via PM instead...

Ziki
02-12-2007, 07:14 PM
Ok I cannot do it today or tommorow but maybe the day after tommorow :)

kontrabass
03-05-2007, 05:50 PM
After I uninstalled this hack, my post report emails only contain the error:

Could not find phrase 'reportbadpost_nodiscuss'

Any ideas?

Ziki
03-06-2007, 01:49 PM
Yes because this hack rewrites the original report phrases so they have to be added manually.There is nothing I can do about that.

DiSpy
03-25-2007, 12:01 AM
That would be ideal for me... :)

And I think it'd be best for this hack - to duplicate the behavior of the email reports, but send via PM instead...

Or better the admin & mods.

THANKS! :up:

nokalexander
07-17-2007, 11:41 PM
Installed. However, since I follow the plugin from its early state it just won't send a PM. Good thing is that Cyricx's xml in the zip file fixed the way emails were sent since it got messed up in the early state (it was using BB Code).
I hope in a new release of that plugin, it'd be really good to see.

intricatic
07-19-2007, 03:06 AM
I haven't been able to get this working on 3.6.7, even on a fresh install. Has anyone else had any problems with it?

Ziki
07-19-2007, 07:51 AM
Try installing the Cyrics version

Silver Boy
11-05-2007, 08:10 PM
please HELP ME

i installed this hack but this hack not work correctly
so I uninstalled this hack ;

after uninstalling all post report mail just contain
Could not find phrase 'reportbadpost_nodiscuss'


please sombody help me !
what should i do ????????? :mad:

Ziki
11-06-2007, 03:55 AM
Add those phrases back because the hack removed them by uninstalling.

Silver Boy
11-06-2007, 06:52 AM
you mean

Admin CP > Phrase Manager > Add New Phrases

then add 'reportbadpost_nodiscuss' phrase ?

Ziki
11-06-2007, 06:16 PM
Yup

Silver Boy
11-06-2007, 06:27 PM
thanks Ziki :)

I will check it ;)

Silver Boy
11-08-2007, 01:22 PM
not fixed
again send this mail "Could not find phrase 'reportbadpost_nodiscuss'."

could you exactly explain to me that how to fix it ?

Ziki
11-08-2007, 04:16 PM
Ok so install it again and disable the plugin

Silver Boy
11-08-2007, 09:24 PM
Dear Ziki

I found othere things

in local server this hack work perfectly

but in my site not work correctly;
in fact when I enter "Username" (If there is no moderator in that forum it will send to this user.Enter here the username) username:x then change user name to y
not effect; in othere words send again to x username
something like cache

I reinstalled the hack again but not effect

do you have any idea

Ziki
11-08-2007, 09:39 PM
Do you have the plugin accelerator installed?

Silver Boy
11-08-2007, 09:46 PM
Do you have the plugin accelerator installed?

No !

Ziki
11-09-2007, 09:59 AM
Anything else that affects plugins

Carlos2
12-04-2007, 06:24 PM
Thanks Cyrics, now works...

ViViD
12-24-2007, 08:10 AM
Hi ,
Just I installed this hack on 3.6.7 and there is not any report button in a received PM . Where can I find it ?

Electric-Shadow
12-24-2007, 11:22 AM
Installed - just what i was looking for

A very handy feature to have, you could perhaps add a feature for the next version where the reported pm gets posted in a specified forum, IE a staff forum, would be usefull also.

great mod

EDIT: just realised I dont have the report button either, I'll have a dig and see what i can find. if it helps ViViD the mod has to be enabled in the vbulletin options menu and ZH - Report PM

Silver Boy
12-31-2007, 12:32 PM
Merry Christmas and Happy New Year

please somebody Explain me that how to removing this addon and restoring original features.

I want to set default Post Reporting Email.

Fırtına
03-17-2008, 04:24 AM
Thanks,

Teşekk?rler, umarım 3.6.8 S?r?m? ile uyum sağlar ve rahat?a kullanırım:)

AriaPDA
03-17-2008, 08:52 AM
installed !
and not reporting to my Username !!!!
for what not work ????