Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter flameash

    (@flameash)

    err… got it working by following another thread in this forum.

    If you have this problemm, check out the parse error post. 🙂

    Thread Starter flameash

    (@flameash)

    thx a lot for helping me here. i got it 5 mins ago

    it’s because this part

    <?php
    /**
     * @package WordPress
     * @subpackage Motion
     */
    /*Template Name: Subscribers Only */
    ?>

    this is wrong.

    see below is the correct one:

    <?php
    /**
     * @package WordPress
     * @subpackage Motion
     */
    /*Template Name: Subscribers Only */
    get_header(); ?>

    that’s why the whole background is messed up

    Thread Starter flameash

    (@flameash)

    thx for helping out.

    I tried your code, but still the same thing.

    Other pages like about, contact us are all fine except this one requires login.the backgrounds, headers are like aligning left. so weird…><

    Thread Starter flameash

    (@flameash)

    thx for responding.

    the following code is page-requirelogin.php file

    <?php
    /**
     * @package WordPress
     * @subpackage Motion
     */
    /*Template Name: Subscribers Only */
    ?>
    
    <div id="main">
    	<div id="content" class="full">
    
                    <?php if(is_user_logged_in()): ?>
                    <?php else:
    wp_die('Sorry, you must first <a href="/blogs/wp-login.php">log in</a> to request a sample. You can <a href="/blogs/wp-login.php?action=register">register free here</a>.');
    endif; ?>
    
                    <?php get_header(); ?>
    		<?php if ( have_posts() ) : ?>
    
    		<?php while ( have_posts() ) : the_post(); ?>
    
    		<?php if ( function_exists( 'wp_list_comments' ) ) : ?>
    		<div <?php post_class(); ?> id="post-<?php the_ID(); ?>">
    		<?php else : ?>
    		<div class="post" id="post-<?php the_ID(); ?>">
    		<?php endif; ?>
    
    			<div class="posttop">
    				<h2 class="posttitle"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
    			</div>
    
    			<div class="postcontent">
    				<?php the_content( 'Read more »' ); ?>
    				<div class="linkpages"><?php wp_link_pages( 'link_before=<span>&link_after=</span>' ); ?></div>
    			</div>
    			<small><?php edit_post_link( 'Admin: Edit this entry' , '' , '' ); ?></small>
    		</div><!-- /post -->
    
    		<div id="comments">
    		<?php if ( function_exists( 'wp_list_comments' ) ) : ?>
    		<!-- WP 2.7 and above -->
    		<?php comments_template( '', true ); ?>
    		<?php else : ?>
    		<!-- WP 2.6 and below -->
    		<?php comments_template(); ?>
    		<?php endif; ?>
    		</div><!-- /comments -->
    
    		<?php endwhile; ?>
    
    		<?php else : ?>
    
    		<div class="post">
    			<div class="posttop">
    				<h2 class="posttitle"><a href="#">Oops!</a></h2>
    			</div>
    			<div class="postcontent">
    				<p>What you are looking for doesn't seem to be on this page...</p>
    			</div>
    		</div><!-- /post -->
    		<?php endif; ?>
    
    	</div><!-- /content -->
    
    </div><!-- /main -->
    
    <?php get_footer(); ?>

    This is a new php file i added into my motion theme as the Subscriber Only template.

    Forum: Fixing WordPress
    In reply to: Dashboard gone
    Thread Starter flameash

    (@flameash)

    thx for your help.

    Fortunately I backed up everything.

    the URL you provided is really helpful, still reading it.

    Thread Starter flameash

    (@flameash)

    Thx for responde.

    I was just uploading for testing.

    Because he’s more experienced with designing. So what he’s done is he modified css file on his machine and tried to upload via filezilla.

    Thread Starter flameash

    (@flameash)

    thx for your reply. really appreciated.

    it worked!

    thx so much for helping a newbie xD

Viewing 7 replies - 1 through 7 (of 7 total)