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

Reply
 
Thread Tools
vBCMS Article Reporting Details »»
vBCMS Article Reporting
Version: 1.0.0, by King Kovifor King Kovifor is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.0.0 Rating:
Released: 12-27-2009 Last Update: 12-27-2009 Installs: 15
Template Edits
Additional Files Translations  
No support by the author.

Purpose

The purpose of this is to allow users to report vBCMS articles for review by staff. Created when I found out that it did not have this out of the box.

Limitations

Currently, the only way this product works is if you have reported posts being placed into a new thread in a forum. This modification does not work with emails at this time. A later update will include new settings to include this functionality.

Installation

Installation consists of upload 1 file, install 1 product (to add phrases and 1 template to mimic the default vBulletin post reporting form, with some changes), make 2 template changes to 1 template.
  1. Upload cms_report.php to your forum directory.
  2. Install product_kk_report_article.xml through ACP (ACP -> Plugins & Products -> Manage Products -> [Add/Import Product]
  3. Make Template Changes Listed Below
  4. Enjoy

Template Changes

Template: vbcms_content_article_page

Find:
HTML Code:
{vb:raw css}
Add Below (CSS below found in postbit.css - Didn't find a way to include that easily, next update will include it):
HTML Code:
<style>
a.report
{
	background: url({vb:stylevar imgdir_button}/report-40b.png) no-repeat transparent {vb:stylevar left};
	padding-{vb:stylevar left}: 20px;
}

a.report:hover
{
	background: url({vb:stylevar imgdir_button}/report-40b-hover.png) no-repeat transparent {vb:stylevar left};
	padding-{vb:stylevar left}: 20px;
}
</style>
Find:
HTML Code:
<div class="article_rating_container">
Add Below:
HTML Code:
<a class="report" href="cms_report.php?id={vb:raw node}&amp;title={vb:raw title}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!--<img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" />--></a>&nbsp;
Release History
v1.0.0 - December 12/27/2009

Download Now

File Type: zip vBCMS Article Reporting v1.zip (4.0 KB, 57 views)

Show Your Support

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

Comments
  #2  
Old 12-28-2009, 02:11 AM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved for Future Use
Reply With Quote
  #3  
Old 12-28-2009, 04:59 AM
Silencer Groans's Avatar
Silencer Groans Silencer Groans is offline
 
Join Date: Dec 2007
Location: k.s.a
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank you
Reply With Quote
  #4  
Old 12-28-2009, 09:26 AM
gyaronn's Avatar
gyaronn gyaronn is offline
 
Join Date: Dec 2009
Location: Poland
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice idea thanks
Reply With Quote
  #5  
Old 12-28-2009, 09:54 AM
smooth-c smooth-c is offline
 
Join Date: Jan 2008
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Screenshot/demo?
Reply With Quote
  #6  
Old 12-28-2009, 06:10 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smooth-c View Post
Screenshot/demo?
Works and looks just as reporting a post.
Reply With Quote
  #7  
Old 12-29-2009, 04:41 AM
ccjc ccjc is offline
 
Join Date: May 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm assuming that two appearances of
PHP Code:
<div class="article_rating_container"
is normal? So we do we replacements. Is that right?

Atm the moment I only see one report icon.
Reply With Quote
  #8  
Old 12-29-2009, 05:17 AM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So how exactly does the reporting work?
Reply With Quote
  #9  
Old 12-29-2009, 03:50 PM
King Kovifor's Avatar
King Kovifor King Kovifor is offline
 
Join Date: Nov 2004
Location: PA
Posts: 3,872
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ccjc View Post
I'm assuming that two appearances of
PHP Code:
<div class="article_rating_container"
is normal? So we do we replacements. Is that right?

Atm the moment I only see one report icon.
Two appearances? And there is only an icon and a change in color for hover. Same as default vB4 post reporting.

Quote:
Originally Posted by Bouncer222 View Post
So how exactly does the reporting work?
A user clicks on the report icon, fills in a message, clicks on submit report and the script creates a post in the specified forum (same as post reports). It does not work with emails at this time.
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 10:19 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.04167 seconds
  • Memory Usage 2,305KB
  • Queries Executed 23 (?)
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
  • (4)bbcode_html
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (1)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete