Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Report system enhancer Details »»
Report system enhancer
Version: 0.2.0, by itsid itsid is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.4 Rating:
Released: 01-11-2007 Last Update: 02-19-2007 Installs: 52
Uses Plugins
 
No support by the author.

Are you bothered by the look and functionality of your report system ?

Do you want to have radiobuttons instead of the the textfield ?

Well welcome to sids report enhancer

Now you can add the entries from your infractionsystem to be shown up at report.php,
you can add own custom report reasons,
you can even make the original textfield disappear.

Now it's all in your hands

To install: import xml via product manager nothing else!!

Hope you like it
two languages available english and deutsch

[Update v 0.1.5]
- radiobuttons now above the textfield
- improved javascript
- setable delimiter between radiobutton-message and textfield-message
- removed beta-bugs

[Update v 0.2.0]
- you now can enforce users to type a message if he chose your last own custom report reason (thanks to replay's idea)

'sid

ps thanks terminatoronly for the idea.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 02-21-2007, 03:16 PM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok Thanks
Reply With Quote
  #43  
Old 02-25-2007, 09:43 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

'sid
Reply With Quote
  #44  
Old 02-27-2007, 04:51 PM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks itsid for inform me
Reply With Quote
  #45  
Old 03-06-2007, 05:05 PM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #46  
Old 03-07-2007, 01:19 AM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #47  
Old 03-07-2007, 04:14 PM
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Posts: 3,832
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bah I have just un-installed this hack 'cause it's pretty messed up. Whatever.
Reply With Quote
  #48  
Old 03-07-2007, 08:42 PM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #49  
Old 03-08-2007, 11:09 AM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thanks anyway
Reply With Quote
  #50  
Old 03-08-2007, 11:18 AM
itsid itsid is offline
 
Join Date: Oct 2006
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

??? Okay, your question was:

Quote:
Originally Posted by Mecho View Post
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
Reply With Quote
  #51  
Old 03-08-2007, 11:23 AM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:09 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13740 seconds
  • Memory Usage 2,324KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete