vangrog
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Ozh’ Admin Drop Down Menu] No menu bar; just lots of vertical textIf you use htaccess protection rules, one of them could be the reason; most likely, wp-content protection rules can break lastest versions of OZH menu plugin (as well as many other plugins). Rename you htaccess file to anything else and then try you admin section, see if the plugin works.
If it doesnt, you might want to add an exception on your wp-content protection rule, something like:
RewriteCond %{REQUEST_FILENAME} !^.+(wp_ozh_adminmenu|adminmenu.css)\.php$
cheers
Forum: Plugins
In reply to: [Plugin: Contact Form 7] The spinning arrow is loading, and loading…Same thing for me, but only when using Firefox (lastest version). If I use IE, it works ok.
I installed a fresh new WP blog to test it. The only things I had installed were WP itself and Contact Form 7 plugin. CF7 couldn’t work on Firefox the same way. So it seems to me the issue is on CF7.
Forum: Fixing WordPress
In reply to: I need help moving wordpress to a new domain that I bought..You have to wait for DNS to be spread around. It may vary between 24 and 72 hours.
Forum: Plugins
In reply to: Help- No access to ADmin and the Site isn’t upYour blog loads normally to me
Forum: Fixing WordPress
In reply to: Embedding Flash Video PlayerForum: Fixing WordPress
In reply to: permalinks problem!If it does not work, sounds like your host does not allow it. So you would have to go for “almost pretty links”, as explained above.
Cheers
Forum: Fixing WordPress
In reply to: permalinks problem!It’s on the same host?
Check the .htaccess file on the blog directory of the host you’ve been experiencing problems with. It should have this code written:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
(“RewriteBase /” and if you are using it the blog in the root of the website; if it is a folder inside the website, write its path there, as “/blog/”, if the folder is named “blog”; in this case, change also: “RewriteRule . /blog/index.php”).
If you dont see that code in the file, insert it manually and upload the file back to your blog directory. If you dont find any .htaccess file at all, create a text file, add the code above, upload to your blog directory and rename the file to “.htaccess”.
If your host doesnt allow you to add .htaccess files, you’d have to use “almost pretty links” instead of real pretty ones.
Example of an almost pretty link setting:
/index.php/%post_id%/%postname%/
(it should start with “/index.php/”, the rest is up to you).Cheers
Forum: Fixing WordPress
In reply to: Why is border doubled in IE?Well, I can tell ya to me it looks OK. I get the same size border on your page, with both Firefox and IE8.
Forum: Fixing WordPress
In reply to: permalinks problem!Are you refering to pages or posts? Do you have problems with both or just one of them?
Posts should not start with post name, you should pick a number before post name, as date or post id. Doing otherwise will slow down things and possibly create db issues, not recommended. On the other hand, pages start with their names. That’s how WP figures quickly which one is a post and which one is a page.
Cheers
Forum: Fixing WordPress
In reply to: Why is border doubled in IE?You are using IE7, right? IE7 has issues with thin borders. It doesnt happen on IE8.
Cheers
Forum: Fixing WordPress
In reply to: Displaying Something on Certain PagesUsing as example the pages.php file from the default theme (your code is between
<!-- YOUR HACK STARTS HERE -->
and<!-- YOUR HACK ENDS HERE -->
):<?php /** * @package WordPress * @subpackage Default_Theme */ get_header(); ?> <!-- YOUR HACK STARTS HERE --> <?php if ( is_page('84') ) { ?> <div class="intro"> <h3> Welcome </h3> <p> <?php $wel = get_option('spl_welcome'); echo stripslashes($wel); ?></p> </div> <div class="logtab"> <?php global $user_ID, $user_identity, $user_level ?> <?php if ( !$user_ID ) : ?> <h2>User Login</h2> <ul> <li> <form action="<?php bloginfo('url') ?>/wp-login.php" method="post"> <div class="form-item"> <label> USERNAME</label><br /> <input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="22" /> </div> <div class="form-item"> <label> PASSWORD</label><br /> <input type="password" name="pwd" id="pwd" size="22" /> </div> <input type="submit" name="submit" value="" class="logsub" /> <label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label> <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/> </form> </li> <li><a href="<?php bloginfo('url') ?>/wp-register.php">Create new account</a> — <a href="<?php bloginfo('url') ?>/wp-login.php?action=lostpassword">Forgot your password?</a></li> </ul> <?php else : ?> <h2>Admin panel</h2> <ul class="board"> <li>Welcome <strong><?php echo $user_identity ?></strong>. </li> <li><a href="<?php bloginfo('url') ?>/wp-admin/">Go to dashboard</a></li> <?php if ( $user_level >= 1 ) : ?> <li><a href="<?php bloginfo('url') ?>/wp-admin/post-new.php">Make new post</a></li> <li><a href="<?php bloginfo('url') ?>/wp-admin/page-new.php">Make new page</a></li> <?php endif // $user_level >= 1 ?> <li><a href="<?php bloginfo('url') ?>/wp-admin/profile.php">View profile</a></li> <li><a href="<?php bloginfo('url') ?>/wp-login.php?action=logout&redirect_to=<?php echo urlencode($_SERVER['REQUEST_URI']) ?>">Logout</a></li> </ul> <?php endif; ?> </div> <?php } ?> <!-- YOUR HACK ENDS HERE --> <div id="content" class="narrowcolumn" role="main"> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> <div class="entry"> <?php the_content('<p class="serif">' . __('Read the rest of this page »', 'kubrick') . '</p>'); ?> <?php wp_link_pages(array('before' => '<p><strong>' . __('Pages:', 'kubrick') . '</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?> </div> </div> <?php endwhile; endif; ?> <?php edit_post_link(__('Edit this entry.', 'kubrick'), '<p>', '</p>'); ?> <?php comments_template(); ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
P.s.: I showed you how to add that code into specific pages, tho it doesnt mean it’ll run smoothly (it depends on your code, if it’s been written correctly; otherwise it’ll cause errors).
Forum: Fixing WordPress
In reply to: Displaying Something on Certain PagesIs 84 a page or a single post? If it’s a single post, adapt it below (“is_single”):
<?php if ( is_page('84') ) { ?> <div class="intro"> <h3> Welcome </h3> <p> <?php $wel = get_option('spl_welcome'); echo stripslashes($wel); ?></p> </div> <div class="logtab"> <?php global $user_ID, $user_identity, $user_level ?> <?php if ( !$user_ID ) : ?> <h2>User Login</h2> <ul> <li> <form action="<?php bloginfo('url') ?>/wp-login.php" method="post"> <div class="form-item"> <label> USERNAME</label><br /> <input type="text" name="log" id="log" value="<?php echo wp_specialchars(stripslashes($user_login), 1) ?>" size="22" /> </div> <div class="form-item"> <label> PASSWORD</label><br /> <input type="password" name="pwd" id="pwd" size="22" /> </div> <input type="submit" name="submit" value="" class="logsub" /> <label for="rememberme"><input name="rememberme" id="rememberme" type="checkbox" checked="checked" value="forever" /> Remember me</label> <input type="hidden" name="redirect_to" value="<?php echo $_SERVER['REQUEST_URI']; ?>"/> </form> </li> <li><a href="<?php bloginfo('url') ?>/wp-register.php">Create new account</a> — <a href="<?php bloginfo('url') ?>/wp-login.php?action=lostpassword">Forgot your password?</a></li> </ul> <?php else : ?> <h2>Admin panel</h2> <ul class="board"> <li>Welcome <strong><?php echo $user_identity ?></strong>. </li> <li><a href="<?php bloginfo('url') ?>/wp-admin/">Go to dashboard</a></li> <?php if ( $user_level >= 1 ) : ?> <li><a href="<?php bloginfo('url') ?>/wp-admin/post-new.php">Make new post</a></li> <li><a href="<?php bloginfo('url') ?>/wp-admin/page-new.php">Make new page</a></li> <?php endif // $user_level >= 1 ?> <li><a href="<?php bloginfo('url') ?>/wp-admin/profile.php">View profile</a></li> <li><a href="<?php bloginfo('url') ?>/wp-login.php?action=logout&redirect_to=<?php echo urlencode($_SERVER['REQUEST_URI']) ?>">Logout</a></li> </ul> <?php endif; ?> </div> <?php } ?>
Forum: Fixing WordPress
In reply to: Displaying Something on Certain PagesYou can use conditionals to display whatever you want on certain pages (editing pages.php), on certain single posts (editing single.php) and so on. Example:
<?php if ( is_page(array(2,3,8)) ) { ?> <div class="box"><div class="featured"> <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?> </div></div> <?php } ?>
That’s the call for featured content gallery. I did set it to load only on pages 2, 3 and 8 (ID numbers), on other pages it will not load (in the example, it’d be written on pages.php).
Another example, editing index.php:
<?php if ( !is_404() ) { ?> <div class="box"><div class="featured"> <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?> </div></div> <?php } ?>
In here I did set it to display on index.php, except if it is a 404 error page.
You can read more about conditionals here:
https://codex.www.ads-software.com/Conditional_TagsCheers
Forum: Fixing WordPress
In reply to: Missing large portions of post content after import using MySQLGet sure you database is set to use UTF-8, and that your back-up is saved as UTF-8 as well (paste is in a notepad and save as UTF-8; then import it on phpMyAdmin and see if it works; ziping the file you’ll export can help your database server to process it more quickly and, thus, avoid errors).
Forum: Plugins
In reply to: [Plugin: Shadowbox JS] Where is the usage guide ?It’s an easy-to-use plugin. I think pretty much all is said on their “readme” text file. What’s your doubt about the plugin usage?