Seikilos
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Languages Folder causes Fatal ErrorWell nothing of that helped, i can narrow the scope to find the problem, i guess my provider changed sth but i wrote him and ask and he replied that nothing has changed there
Forum: Fixing WordPress
In reply to: How to check if user is logged in?All problems solved.
I made a simple function.
Just use it wherever you like.function userlogged(){
global $user_ID;
get_currentuserinfo();
if ( $user_ID==” ){
return false; //user not logged in
} else {
return true; //user logged in
}
}Use this function like:
if (userlogged()){
//logged true, proceed
} else{
//logged false, do what ever, maybe nothing?
}Forum: Fixing WordPress
In reply to: How can i know if the comment is the last comment of post?I dont need an achor tot he footer, i need sth before the last comment, so i can jump to it, not to the footer or the leave-a-comment div
Forum: Fixing WordPress
In reply to: Any way to make some categories invisible?Here am i. I took a minute to modify the things.
To exclude a cat from being viewed just simply search at the index.php of YOUR THEME the line
<?php while (have_posts()) : the_post(); ?>
add below it the line
<?php if (!in_category(‘NUMBER’) ): ?> <- Number is the number of the excluded cat of your choice.
Then you should see a <div> Tag, usually with the class=”post”
The script uses whitespaces to split the different tags, so go a little bit down and at the same height with the <div> you should find the </div> Tag for the same div.
Add BELOW it the line
<?php endif; ?>
and be happy ??Warning: I modified the trackback and rss feed tags, being precisely i removed them, so proceed with caution, the version above works for me, but be carefull if you place the rss feed below the endif line, an rss feed is generated for the invisible post.
There is no posibility to make a plugin for it, except rewriting some functions of WP and this is diffucult because all of you want other categories invisible, im sure ??
Forum: Fixing WordPress
In reply to: Any way to make some categories invisible?Well, i could fix my problem by writing a plugin or rather a modification, but i hoped someone knew a better way
Forum: Fixing WordPress
In reply to: Any way to make some categories invisible?But how could i exclude the posts in the category?
Example, i make a cat “About me” that includes all users of a blog and their about me info.
Nice to read but not important for the main Blog list, and im searching a way to exclude them from main listing.
At the sidebar About me is still klickable and you can see the pagesForum: Fixing WordPress
In reply to: WordPress caches way to muchWell, but WP can influence the caching behavior, i found that on bug tracker
https://mosquito.www.ads-software.com/view.php?id=721
But my account is not on a ‘dreamhost’ serverLooking further for the wp-header.php
Forum: Fixing WordPress
In reply to: WordPress caches way to muchI traced my IP, my ISP ist not routing my adress, and i have never experienced such behavior at forums or other login masks.
Only here
Forum: Fixing WordPress
In reply to: Moderation bug for some users?Yes, i found the problem, i had a blacklist, it had just about 20-30 linebreaks at the beginning, and the list contains “freenet” but its an mail provider.
Stupid black list, where do the linebreaks come from….But thx anyway
Forum: Fixing WordPress
In reply to: Moderation bug for some users?Not possible, a common human name. I check, thx for it, but im pretty sure, its not the problem
Forum: Fixing WordPress
In reply to: WordPress caches way to muchSoory, stupid me.
Im on Firefox 1.0.3, have no caching plugins nor any plugins to generate static pages, The WP is running onto a PHP 5 Server