Tyssen
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Can’t select templatesTurns out there was nothing wrong with my templates, but I had to deactivate the theme and then reactivate it again for WP to list the custom templates π
Forum: Fixing WordPress
In reply to: Links, html, images etc & external application problemI’m having the same problem – posting any sort of HTML (links, images, strong, em etc.) results in being forwarded to the front page of the site when submitting the edit form. This is with a new install of WP 2.6.2. The same happens whether the visual editor is on or not.
Forum: Plugins
In reply to: [Plugin: Bad Behavior] Comment errorsI had the same problem. Dropping back down to 2.0.20 until a newer, fixed version is released seems the best way to go.
Forum: Fixing WordPress
In reply to: Problems connecting to external databaseTurns out it was because I was missing the new_link being set to true from my mysql_connect function call.
Forum: Fixing WordPress
In reply to: 500 internal server error when posting/editingIt looks like each time I update my blog, it’s appending the WP .htaccess rules to the bottom of my file:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPressExcept that I’ve already included that at the top of the file. It didn’t used to do this so is it a recent change in WP that is causing this? Or is there any configuration option I can select to prevent it?
Forum: Fixing WordPress
In reply to: FIX: Live Comments Preview on WP2.3.1Any chance of fixing the plugin so that it’ll work if you’re logged in as admin too?
Forum: Fixing WordPress
In reply to: Warning messages when commentingHas anyone found a definitive solution for this problem with Spam Karma?
Forum: Plugins
In reply to: New Plugin seeks testers: WP-Sociable for Quick Social BookmarkingI realised I was trying to reinvent the wheel. I was trying to exclude categories from which commenting was turned off so just used if ((‘open’ == $post-> comment_status)… instead.
Forum: Plugins
In reply to: New Plugin seeks testers: WP-Sociable for Quick Social BookmarkingTo activate Technocrati, you’d add
'Technocrati' => Array(
'favicon' => 'technocrati.png',
'url' => 'http://www.technorati.com/cosmos/search.html?url=PERMALINK',
),to the array of allowed sites and then add:
'images/technocrati.png',to the socialable_files array (after you’ve copied the image into the images folder). You’ll then need to return to your admin page and restore defaults again to get the Technocratic checkbox to show up.
I have another question relating to this plugin:
I only want to show the blog links on certain categories. So I’ve done this so far:$allowed_cats = Array(4,5,9,10);global $wp_query;
$post = $wp_query->post;
$this_cat = $post->cat_ID; // bit I added
if (in_array($this_cat, $allowed_cats)) { // bit I added
$permalink = get_permalink($post->ID);but I get a Warning: in_array() [function.in-array]: Wrong datatype for second argument error message. What am I missing? :/
Forum: Fixing WordPress
In reply to: Questions about PHPSESSIDFor anyone else who needs to know, added this to my .htaccess: php_flag session.use_trans_sid off
Forum: Fixing WordPress
In reply to: Questions about PHPSESSIDYou said there ‘if you or your host have reasons to run sessions’ – well I do because I’ve got a stylesheet switcher and I also hope to use sessions for other reasons too, but I’d prefer not to have the session ID appended where it’s not needed (like on the button image).
Forum: Fixing WordPress
In reply to: Problem with 404 pages in non-IE browsersI’ve fixed the sessionID problem, but it’s made no change to the 404 problem.
Forum: Fixing WordPress
In reply to: Problem with 404 pages in non-IE browsersHow would sessionIDs have anything to do with it?
Forum: Plugins
In reply to: Using query_posts with monthly archivesThanks for that. I guess when I asked I wondered if there was some particular WP way of doing it by combining one of their in-built functions, but building your own SQL query works just as well, so I’ll go with that π
Forum: Plugins
In reply to: Using query_posts with monthly archivesCategory A – included
Category B – excludedJanuary – 1 post Cat A, 1 post Cat B, therefore January shows up as a link in the monthly archive because of the Cat A post.
February – 1 post Cat B – the only post is from the category to be excluded so the link to February isn’t shown.