![]() |
Thank you very much! This is going to be a beautiful addition for my mods! <3
|
Will this be converted so it is compatible with vBulletin 3.5?
Thanks. |
Hi,
Thank you for the wounderfull job there is a small problem.. All the modeaters and admins view all the reports and can update and change the status of the report. In other words, the moderator should view only the rports that belongs to his forum.. Regards. |
up :disappointed:
|
Another up but with request..
Each time I have to log to CP to chk if there is any report.. Could you do somthing to show number of reports say in the welcome panel under the private message numbers. Ex: Welcome, unicorn. You last visited: Today at 01:25 Private Messages: 0 Unread, Total 2 Post Reports : 2 new, 3 pinding Regards, Ghanem. |
This would be useful... Going to bring it up to the "master"
|
Quote:
1) All moderators can see and edit all reports 2) All moderators can see all reports, but can only edit reports in their forums 3) Moderators can only see and edit reports in their forums Quote:
If you want to add it now, you can do this (but it only shows open reports not pending, but you could easily modify that). This is a bit hacky, but it works and it's been used on a site I admin for months: In global.php find: Code:
$vbphrase['total_x_nav_compiled'] = construct_phrase($vbphrase['total_x_nav'], $bbuserinfo['pmtotal']); Code:
$reportcount = 0; In navbar template, find: Code:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if> Code:
<if condition="can_moderate()"> |
Quote:
Thanks a million, very nice neat jop. Kindest Regards. |
Is there any way that I can substitute the Modification for the standard VB email for certain usergroups?
Basically, we have the hack installed and the Moderators can use it, however our forum Vip's get their own subforum which they moderate but I would rather them being sent the standard Vbulletin email rather then them using the Modcp? Also when is the new version coming out it sounds great! |
If anyone is interested, in my development version I have replaced, in report.php
Code:
$mods = array(); Code:
$mods = array(); Quote:
Quote:
|
Quote:
|
I'm getting this error in the AdminCP Installer...help :speechless:
Database error in vBulletin 3.0.7: Invalid SQL: CREATE TABLE vb3_postreport (reportid INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY, postid INTEGER NOT NULL, userid INTEGER NOT NULL, reporttext MEDIUMTEXT, status INTEGER, modid INTEGER, dateline INTEGER, updatetime INTEGER, modtext MEDIUMTEXT); mysql error: Table 'vb3_postreport' already exists mysql error number: 1050 |
Looks like you tried to run the installer twice.
|
So if I drop the table I should have no problems then?
Edit: OK...I dropped the table...and have a new error: Database error in vBulletin 3.0.7: Invalid SQL: INSERT INTO vb3_phrasetype (phrasetypeid, fieldname, title, editrows) VALUES (183, 'postreports', 'Post Reports', 3); mysql error: Duplicate entry '183' for key 1 mysql error number: 1062 |
Quote:
|
When can we see this for 3.5 as a plugin or extension??
|
Here is a really noobish question (I am new to vB) but how do I install the templates?
It says here: 3) Add the templates found in the templates folder. postreports.txt -> postreports postreportbits.txt -> postreportbits How do I do this? I think that I know where but I just dont know how, it it under Style Manager -> Edit templte -> Postbit Templates and after here I am lost... can anyone help? |
Quote:
|
Hi..
Not yet for 3.5 :rolleyes: |
hi people,
i like this hack and i modified this hack so it would work with vbulletin 3.5x so far so good.The MySQL stuff is done the "look" from the hack is there and so far it's working just getting a few syntax error but i will try to sort it out here's a little "preview" ignore that empty empty fields it's just an INSERT query i did to testto see if it's working |
Quote:
I was waiting for it |
hi,
Just cleared out some dirty MySQL errors.There is still a problem with the script in the modcp for some reason it says it can't find the phrases used but they are there.I'm guessing it's because the 3.xx script uses some old vb function not supported in 3.5.x anymore when i got the time i will check the api docs at members.vbulletin.com. A thing new to this hack is an automated uninstaller.Just hit the unintall button and all database modifications used are deleted (you get no warnings so think twice before hitting delete) the problem with script in the modcp is solved.No unsupported functions but for some reason jelsoft moved the control panel stop message phrases to the error messages phraseid group two thing to test out the cron script and the report.php modification after that ..... done (well as a beta to testdrive) update report.php modification done seems to be ok (no error messages or MySQL errors) but some things aren't set as they should be like for example the timestamp... i'm checking this.Also finische the cron script no problems with that |
hi,
Well i don't get it where the hell is my dateline ?????? it's in the database show ...... PHP Code:
problem with timestamps solved all is working except for the thing "user comment" for some reason i didn't found yet that is staying empty PHP Code:
|
hi,
Problem solved the user comment filed is properly filled in now PHP Code:
|
Quote:
|
hi,
redirection trouble solved to.I'm gonna put it on my live site and let it run for a while if now new problems show up .... i can share it with others |
congratulation :)
shouldn't you post it now in vb35x forum :cheeky: |
Quote:
|
Quote:
|
hi,
Everything is ready for release but i need to wait for the original author permission before that i'm not allowed to release anything yeah the rules of the opensource playground |
Quote:
|
i was bored.... and i ported this to the vb plugin system so no file modifications are needed.The only thing that refuses to work is to also email when the custom reporting system is active.But i can't take accept a non working function i will find what's wrong .... the good news is the the product xml installs and uninstalls fine ....
|
Quote:
|
Here is a beta of this hack ported to 3.5.x. It should function similarly to the 3.0.x hack, with a couple of exceptions listed below. I have not included instructions on how to add a link to the user post report page (for example in the quick links menu). The installer does however add the links to the modcp index/navigation page.
Install from the product manager in admincp. If you already have the database table the 3.0.x version added (postreport) the installer will cope and the product will use the existing data. If you uninstall, the postreport table will be dropped. The beta does not feature the options page that the 3.0.x version did - if you install it, it is 'on' and there is no option to optionally email the moderators as in the previous version - the email is sent always. The product adds two hooks: one in report_send_process and the other in mod_index_navigation; two templates 'postreports' and 'postreportbits'; several phrases and a phrase group. Two files need to be uploaded: postreports.php in the forum root directory and a different postreports.php to the modcp directory. Issues: some of the phrases in the modcp page do not work. They will be included in the final version. I have posted this here because I can't see a beta section in the 3.5 forum, and the people reading this are the people most likely to want to beta test this. |
|
is this hack coming for 3.7 version
|
All times are GMT. The time now is 07:56 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:
|