Report Listing Mod 2015-04-24

Allows registered users to report any item for inappropriate/misleading content on listings

  1. drakky20
    WeBid Version:
    • 1.0.3
    Mod Title: Report Listing Mod

    Version(s): tested on WeBid 1.0.3 only (default theme)

    Credits: pani100 (minor assistance drakky20)

    Install Time: 45 minutes

    Install Difficulty: Medium

    MOD Description: This mod :

    * Allows registered users to report any item for inappropriate/misleading content on listings
    * Reporters are required to fill in 2 fields report reason and a textbox to comment in on the report page
    * Report reasons is a drop down choice controlled/added in the admin panel
    * Allows Admin to contact both Seller and Reporter via email in Admin panel
    * Allows automatic suspension of listings via report type
    * Automatically can send email to seller and administrator upon report or just email the administrator
    * Only logged in users can report listings, seller cannot report their own listing



    Files To Edit:

    root/item.php
    root/themes/admin/sidebar-auctions.tpl
    root/admin/loggedin.inc.php
    root/themes/admin/header.tpl
    root/themes/default/item.tpl
    root/language/EN/messages.inc.php
    root/themes/default/style.css
    root/themes/admin/style.css
    root/themes/default/mail-send.tpl

    Files to add

    root/admin/contactusers.php
    root/admin/listreportedauctions.php
    root/admin/reportreasons.php
    root/admin/closereportedauctions.php

    root/themes/default/admin/listreportedauctions.tpl
    root/themes/default/admin/reportreasons.tpl
    root/themes/default/admin/contactusers.tpl
    root/themes/default/admin/closereportedauctions.tpl


    root/themes/default/report_listing.tpl
    root/report_listing.php

    root/language/EN/emails/html/report_listing_admin.inc.php
    root/language/EN/emails/html/report_listing_seller.inc.php
    root/language/EN/emails/html/report_listing_buyer.inc.php

    root/language/EN/emails/text/report_listing_admin.inc.php
    root/language/EN/emails/text/report_listing_seller.inc.php
    root/language/EN/emails/text/report_listing_buyer.inc.php


    ######if you already have item_condition_mod installed you don't need the following########
    root/themes/default/bubble/info_button_s.png
    root/themes/default/bubble/bubble.gif
    root/themes/default/bubble/bubble_filler.gif
    #################################################################

    Before Adding This MOD To Your Site, You Should Back Up All Files Related To This MOD
    and your Database !!!!!!



    addendum to this mod which isn't in zip file
    PHP:

    #-----[ SQL ]-------------------------------------------------

    ALTER TABLE `webid_messagesCHANGE `subject` `subjectVARCHAR85 CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '';



    #-----[ OPEN themes/default/mail-send.tpl]---------------------------------------------------------

    ## find
    <td><input name="subject" type="text" size="40" value="{REPLY_SUBJECT}" id="subject" maxlength="50"></td>
    ## replace with
    <td><input name="subject" type="text" size="85" value="{REPLY_SUBJECT}" id="subject" maxlength="85"></td>

    ##------------------------------------------------------------
    #-----[ SAVE/CLOSE themes/default/mail-send.tpl]------------------------------------------------------
    ##----------------------------------------------------------------

    Images

    1. Image5.jpg
    2. Image3.jpg
    3. Image2.jpg
    4. Image1.jpg