WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Can I edit the "spam/splogging" message? (4 posts)

  1. PetLvr
    Member
    Posted 4 years ago #

    When I have multisites mu 3.0 and mark a site as spam ... if you go to this site a message pops up on the screen.

    Which file is doing that? I would like to edit the message to include a personal message from admin for the spammer to contact me, if there are reasons it shouldn't be marked as spam, etc etc.

    Thanks in advance!
    HART (aka PetLvr)

    (Added:....)

    Or, maybe this isn't such a good idea? will future upgrades overwrite any changes I do? Maybe there is an alternative method. I just saw the "Anti-Splog" plugin page from wpMudev site, but .. i'm not a premium member.

  2. Yes, you can customize that screen without a hack.

    http://wpmututorials.com/how-to/customize-the-suspended-blog-page/

    No spam plugin I've known of does anything to change that message. Most people are unaware this customization exists. ;)

  3. PetLvr
    Member
    Posted 4 years ago #

    Thanks Andrea! I've added both of the mentioned files blog-suspended.php and blog-deleted.php in my wp-content folder and it worked great :)

    Here's how it looks when user deletes a blog:
    http://petlvr-blogs.com/walking/

    Here's how it looks when admin deletes a blog:
    http://petlvr-blogs.com/sandrasblog/

    I'll probably come back to this and add an image or list of other links a reader/user can browse to over time, but this is good enough for me :D

  4. PetLvr
    Member
    Posted 4 years ago #

    Just for benefit of other MU users .. here's the code I used for the admin message .. naturally you can customize it to your own use

    <?php
    /**
     * The main template file.
     *
     * This is the most generic template file in a WordPress theme
     * and one of the two required files for a theme (the other being style.css).
     * It is used to display a page when nothing more specific matches a query.
     * E.g., it puts together the home page when no home.php file exists.
     * Learn more: http://codex.wordpress.org/Template_Hierarchy
     *
     * @package WordPress
     * @subpackage Twenty_Ten
     * @since Twenty Ten 1.0
     */
    
    get_header(); ?>
    
    		<div id="container">
    			<div id="content" role="main">
    
    <strong>This PetLvr Blog Is No Longer Active ..</strong><br /><br />
    
    This blog has either been deactivated, deleted, or archived by the administrator.
    If you feel this was done in error, please contact admin via the Contact Form on the front page.
    <br /><br />
    Thank-You<br />
    PetLvr-Blogs.com
    
    			</div><!-- #content -->
    		</div><!-- #container -->
    
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>

    (i just modified one of the 2010 theme index.php file.)

Topic Closed

This topic has been closed to new replies.

About this Topic