vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Report system enhancer (https://vborg.vbsupport.ru/showthread.php?t=136288)

Mecho 02-21-2007 03:16 PM

Ok Thanks :D

itsid 02-25-2007 09:43 PM

Hi Mecho;
just to let you know:
Still no elegant way to solve your request :(

'sid

Mecho 02-27-2007 04:51 PM

Thanks itsid for inform me :)

Nathan2006 03-06-2007 05:05 PM

Thank you for the update itsid :)

Is there anyway to have a confirm message such as "Thank you for your report" or something?

Just so members know that its submitted :)

Thanks again :)

itsid 03-07-2007 01:19 AM

So,
Mecho...
change template sid_report_form to
PHP Code:

<script type="text/javascript">
                function 
rep_combine(){
                    for(var 
x=0;x<$report_count;x++){
                        if(
document.getElementsByName("rep_box")[x].checked == true){
                            if(
== $report_count-1){
                                
alert("$vbphrase[sid_report_alert]");
                            }
                            var 
rep_out document.getElementsByName("rep_box")[x].value;
                            break;
                        }
                    }
                    
window.document.rep_form.reason.value rep_out +' $vboptions[sid_report_delimiter] 'window.document.rep_form.rep_text.value;
                }
                </
script><fieldset class="fieldset">
                <
legend>$vbphrase[sid_report_reason]</legend>
                    <
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0" width="90%" align="center">
                        
$sid_report_reasonbits
                    
</table>
            </
fieldset

and create a new GLOBAL Phrase named sid_report_alert with
PHP Code:

Remember to note down a reason 

or whatever you find suitable.

Nathan, well yes there is a way,
there are hacks that do just that by sending a PM to the "reporter" for example,
but in fact I consider that less useful, because of the feedback of vbulletin itself.
see report.php:
PHP Code:

eval(print_standard_redirect('redirect_reportthanks')); 

that'll showup the "redirect_reportthanks"-phrase already if report was send.

'sid

Snake 03-07-2007 04:14 PM

Bah I have just un-installed this hack 'cause it's pretty messed up. Whatever.

itsid 03-07-2007 08:42 PM

Well snake...

I'm unhappy to hear, but if you do a clean install and stop messing up the templates it'll surely do as normal ;)

'sid

Mecho 03-08-2007 11:09 AM

appreciate sid for help but nothing changed .. still redirect to other page ..

Thanks anyway

itsid 03-08-2007 11:18 AM

??? Okay, your question was:

Quote:

Originally Posted by Mecho (Post 1186807)
is it possible that user get one small popup if they select last option and they didnt write any message ? i think it will be faster

You now have your popup,
what redirect are you talking about?

All redirects are from report.php itself btw.

'sid

Mecho 03-08-2007 11:23 AM

i mean no popup shows up .. if users didnt select anything or select last option without comments it will redirect to another page ( /report.php?do=sendemail&hint=reportbadpost ) and c this

vBulletin Message :
Quote:

Please enter a reason for reporting this post.

itsid 03-08-2007 02:48 PM

If you changed the template as in post #45
there will be a popup if LAST option is selected as a reminder
If your users STILL don't enter any reason
or if they don't select any option,
the redirect is the best way to check report-reason.
(because it is already implemented)
Any javascript userside-realtime checking will only inflate sourcecode,
and won't help if javascript is disabled (what's still possible ;))

But I don't think that you have that 'not-so-smart' users on your board... or at least I hope so ;)

[offtopic]
maybe a sticker from sarah utter (buyolympia.com):
http://buyoly.com/i/readingissticker_lg.gif
will help users to know what to do :D :D[/offtopic]

cheers
*grinning*
'sid

Mecho 03-08-2007 03:55 PM

I sent to my sexy site link . u can check it urself :D

Mecho 03-12-2007 03:03 PM

Sid i have problem now ...

each options for report that u select u get this : Please enter a reason for reporting this post. !!!

i Select " NO " to this option : Require textfield for last option
but still i get this : Please enter a reason for reporting this post.

i disable mod for now until u help me to resolve it .

p.s. i uninstall and reinstall it but still has a problem ....

Thanks in Advance

itsid 03-12-2007 04:08 PM

You're the lucky one... :D
I was just checking my postbit to see if my "i'm on vacation" hint was there.

Now, let's see:
You have to delete the sid_report templates manually if you have edited them,
otherwise they will stay altered if you reinstall.
So, go to your acp -> template management and revert all red marked "sid_report *" templates and uninstall the hack afterwards.
Now they should be deleted... check out.

Now if you reinstall the hack all should work as before.

If you still get that error, disable the plugin called:
report enhancer - textfield required from plugin-management,

I'll return next week ..

'sid

Mecho 03-12-2007 09:41 PM

Thanks sid :D

pollon 03-26-2007 10:54 AM

I've installed and it works wonderfully but I have just a little issue. Sending a report I get this:

http://immagini.p2pforum.it/out.php/...osrtsystem.png

but I would like to have the "check box" below the text (message) box:

http://immagini.p2pforum.it/out.php/...reportenh2.jpg

How can I do it?

Terminatoronly 03-26-2007 11:19 AM

hi itsid,
its a really nice hack that u made :).
i wish that u make it look like this:
http://www.vbulletin.com/forum/attac...7&d=1174736763

I Mean Let The Check Box Appear Next To The Comment Box Or Message.

And I Would Like from you to check my suggestion for the report i posted it in vbulletin.com i think its a great suggestion since all of us need this feature in our boards check it here:
http://www.vbulletin.com/forum/showthread.php?t=224536

Maybe You decide To Upgrade Your Mod To Let It Look Same Thing As That One :D or maybe vbulletin team will make it in the next release :D

itsid 03-28-2007 11:16 AM

Pollon, very easy to swap position..

edit the plugin called report enhancer - edit reportbadpost template (thanks to ZIKI)
change just the following lines from
PHP Code:

$ara '<!-- report field -->';
//$ara = '<!-- / report field -->'; 

to
PHP Code:

//$ara = '<!-- report field -->';
$ara '<!-- / report field -->'

and you're done

terminatoronly,
as I said you earlier, I'd like to keep things small and easy to install,
and withou any template edits if possible.
What you ask for requires template edits of existing templates, I refuse to do so!
And I also refuse to copy or transcript another hack (at least without authors permission)
So forget about it ;)

'sid

Terminatoronly 03-28-2007 11:35 AM

yeah i know this but i just asked you not for making same mod atleast ideas from it ;)

pollon 03-28-2007 11:56 AM

thank you sid :)

ymy 03-28-2007 12:43 PM

Great idea

Installed and translet to arabic , working nice with VB 3.6.5

Ymy click install

.

princeedward 03-29-2007 05:17 PM

work fine to my vB 3.6.5.
thanks for this wonderful mod....clicked install... ;)

Muellmann 03-29-2007 08:01 PM

It works very well, thanks for this useful addition!

uhh_nonsense 04-18-2007 06:29 PM

Is this mod compatible with the Advanced Report Post Management System?

pollon 04-18-2007 07:27 PM

Quote:

Originally Posted by uhh_nonsense (Post 1230615)
Is this mod compatible with the Advanced Report Post Management System?


yes it is :D
i'm on 3.6.5

itsid 04-18-2007 09:04 PM

Thanks pollon,
I didn't tried ;)

'sid

Eagle Creek 05-13-2007 01:36 AM

Can you post a screenshot of how the reported post will appear in the E-mail (//thread) when u filled in a reason?

itsid 05-13-2007 07:14 AM

Sorry I can't, I don't receive any emails from vbulletin (deactivated)

maybe someone else...

threads appear as before.
given reason is simply quoted!
depending on delimiter between radiobutton and input text you'll have a new line, that's it.
Sorry, I can't provide a screenshot at this time...

'sid

Legende 05-19-2008 08:06 PM

Is there an Update for 3.7.0?

Mecho 06-01-2008 09:19 PM

yea , any chance to have this working on 3.7.X ?

ThE LeAdEr 06-10-2008 07:20 PM

Not work in 3.7.1

ThE LeAdEr 06-10-2008 08:52 PM

it is possible to modify this hack to allow configure permissions for each user group?

I need a group of users can use this hack, but not other user groups

==========================
Spanish version
es posible modificar este hack para que permita configurar los permisos por cada grupo de usuarios?

yo necesito que un grupo de usuario pueda usar este hack, pero los otros grupos de usuario no

Rogier21 07-07-2008 07:17 PM

No chance of updating this one?

Mecho 07-25-2008 04:40 PM

Still waiting for update :)

Alfa1 07-25-2008 06:25 PM

Does this work in vb 3.7.2 ?

Mecho 08-03-2008 11:53 AM

Quote:

Originally Posted by Alfa1 (Post 1584069)
Does this work in vb 3.7.2 ?

Nope , just 3.6.*

Hope he will update it soon !

students_forum 09-02-2008 10:49 PM

me too

Alfa1 09-03-2008 11:48 PM

A 3.7.3 version would be a very welcome update.

kud0gfx 09-21-2008 09:19 PM

Quote:

Originally Posted by Alfa1 (Post 1614012)
A 3.7.3 version would be a very welcome update.

+1
This is an interesting mod!

Mecho 05-01-2009 07:19 AM

Any Update or any Similar Plugin ?


All times are GMT. The time now is 01:05 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
  • Page Generation 0.02641 seconds
  • Memory Usage 1,834KB
  • 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
  • (5)bbcode_php_printable
  • (5)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
  • (40)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