ColdForged
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: $user_level variable puzzleMake certain to reference the global $user_level variable before accessing it. Right above that, try adding:
<?php global $user_level; ?>and see if it helps.
Forum: Fixing WordPress
In reply to: index.php references goneMine didnt come with a .htaccess file to upload when i first installed it.
WordPress will contruct it on-the-fly as needed.
I was adding a hack to my WP when i accidently uploaded the .htaccess for the hack into the main directory making it look for that scripts main page therefore not loading my index page giving me a DNS error
Yeah, borking an .htaccess file is the quick way to kill a site for certain.
Forum: Fixing WordPress
In reply to: index.php references goneOpen it up in a file editor or just delete it if you dont plan on using it.
WordPress uses .htaccess rewrites to make a lot of things happen, so deleting it is generally not the best solution. Use the DirectoryIndex directive to tell Apache which file to look for in the absence of a specific file request in the URL.
Forum: Fixing WordPress
In reply to: internal server error 500: RewriteEngine not allowed hereIt’s not WordPress that stubbornly trying to access your .htaccess file, it’s the Apache server. You’ll need to use the host admin interface to delete all of your WordPress redirect rules — everything between the comments with “# BEGIN WordPress” and “# END WordPress”, then get back in to the admin interface of WordPress and try again with the permalink structure.
Forum: Fixing WordPress
In reply to: index.php references goneMake sure you have an entry in your .htaccess file that says:
DirectoryIndex index.php
Forum: Everything else WordPress
In reply to: Problem with CodexWelcome to the joy that is Wiki and the juvenile occurences that result. People with low self-esteem find great humor in temporarily marring others’ works. It’ll be gone this morning.
Forum: Plugins
In reply to: WP1.5 PHP Exec – including a loop in a pageThe Loop requires setup that’s performed by the index.php and the wp-blog-header.php acting in concert to go from a query string to a set of posts. Just invoking a “have_posts()” kind of thing doesn’t provide all of this underpinning.
You might try one of the customizable post listing plugins like the coffe2code one. Google search for “coffee2code customizable post listing” and you should see something… I’m too tired to do it :).
Forum: Plugins
In reply to: image headlines plugin dateRunPHP will work fine just as I described. The problem is the “the_date()” function is set to echo its output by default, not return it. In order to have it return the output to the calling function for processing by the Image Headlines plugin, you’ll need to call it like so:
the_date('','<h2>','</h2>',false);Where the additional “false” tells WordPress not to echo the date. You should have better luck.
By the way, the best way to get answers on my plugins is to post on my site in the post concerning the plugin… I have over 200 comments in my spelling checker plugin and over 140 comments on this plugin from people asking questions and getting answers. Just FYI.
Forum: Fixing WordPress
In reply to: Strange Referral SiteAs well as those people who choose to display the “last X referrers” on their pages, like this guy.
Forum: Fixing WordPress
In reply to: Can PHP be used within a page?You wouldn’t happen to have the “WordPress should correct invalidly nested XHTML automatically” option enabled, would you? If so, disable it.
Forum: Fixing WordPress
In reply to: Can PHP be used within a page?Yes, it is possible. RunPHP is your friend.
Forum: Fixing WordPress
In reply to: Kicked off server – can anyone tell me what’s happening?That looks like the latest comments plugin, to me.
Forum: Everything else WordPress
In reply to: WP TshirtThanks RustIndy, I’ll take one. 😉
Worth a shot, man. That and perhaps run the upgrade.php script again for good measure.
Might they be trackbacks or pingbacks, by the way? If so, there was a bug recently reported and fixed for future versions.