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.


All times are GMT. The time now is 08:51 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.01660 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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