Tommie Hansen
Forum Replies Created
-
Forum: Hacks
In reply to: change position of field label for comment form fieldsJust edit your comments template found under yoursite.com/wp-content/themes/YOUR-THEME/comments_template.php
..or what it is called. Been 5 months since i created a theme. ??
[signature removed per forum etiquette]
Forum: Fixing WordPress
In reply to: My wordpress website is slow as hellWordPress is simply slow and not that optimized. The crew mostly focuses on new cool stuff instead of making it work for everyone.
Forum: Plugins
In reply to: Forum Server development discontinued?Check the orginal WP-forum that “forum server” is a copy of. It was updated 14 dec 2009.
Forum: Requests and Feedback
In reply to: Version 3.0 FeaturesMaybe focus more on code optimization. Many use things such as /%postname%/ is widely used but causes huge lags and there are workarounds to make such things more efficient so.. why not work on that instead of the next unneeded feature?
Only catering to new features all the time will make WordPress quite useless and bloated in the end. Making WordPress an app that caters all needs will make it fail miserably.
Forum: Plugins
In reply to: [Plugin: WP-PostViews] Show most viewed post of a specified periodWhat you want is a custom database query to fetch posts from ie. THIS MONTH where THIS MONTH is lookup up via getting the current date and so on.
Forum: Requests and Feedback
In reply to: get_pages: exclude by slugBecause people wanting this type of special functionality often codes it themselves. ??
It is this way with MANY things that are in WordPress but the WP team seem to include more and more though.. (and making WP a bloated software :/)
Forum: Requests and Feedback
In reply to: New Default WordPress Theme?All of the people pumping eighteen sidebars, 9 on each side, you are out to lunch. One sidebar. Read, one sidebar.
+1 Lockheed
STOP BLOATING WORDPRESS AND FOCUS ON PERFORMANCE, PLEASE.
The default theme should be something that anyone can start writing stuff with (this completely excludes complex magazine layouts). Not something overly complex that try to satisfy everyone and suits every possible site.
Furthermore it would be quite stupid to have it showcase EVERYTHING WordPress can do as some people here suggest. A single theme can never showcase everything and be scalable enough to allow exactly everything yet be slim enough to not be over bloated with crap people actually won’t need. Or maybe the new theme should be created with the use of magic?
People that want something complex won’t use the default theme anyway.
To summarize. An updated version of Kubrick would be just fine. People that have a demand for more will surely find more themes anyway.
Forum: Fixing WordPress
In reply to: comment count zero after importI wonder this to. The problem is obviosly that some values are left out in the db. :f Got the same problems but with local avatars not being set to new ones for old users etc.
Some re-count feature would fix it.
Forum: Plugins
In reply to: [Plugin: Forum Server] Copy of wp-forumhttps://www.fahlstad.se/about/
He very clearly states that any type of redistribution, uploading etc. is prohibited without his consent and he isn’t in any way under the GPL if he doesn’t wish to be.
And no, his legal notice isn’t useless since he’s actually the orginal author and owns the right to do whatever he wishes with his creation and he obviously does not wish this.
Forum: Fixing WordPress
In reply to: User pages with user postsWordPress has very little community-like plugins and functions unfortunately.
Forum: Plugins
In reply to: Suggest any good post thumb plugins?Can’t really beat a good template + timthumb. Try locking that up! ??
Forum: Installing WordPress
In reply to: GoDaddy – Severe Performance Problems With Shared Linux ServersResorting to full site caching plugins as a “solution” is not the way to go for a dynamic blog. A caching plugin should make pages load faster if one wants to, not be essential to get under 200ms response times.
D’oh ……
Forum: Fixing WordPress
In reply to: Publish / Update button doesn’t do its job – doesn’t add tags.This is something that has happend since 2.7.1 … I still can’t understand why. After a while it seems to be just “working” again. Quite strange, my tip usually is to switch windows a bit and try again and eventually it simply works.
Awful JS-bug in the editor? Also affects the PUBLISH-button.
Forum: Everything else WordPress
In reply to: A gallery solution for everyone’s sake!!Nextgen isn’t simple and easy. It’s quite heavy.
Forum: Themes and Templates
In reply to: Exclude old posts before “TODAY”I solved it myself with a count-value! Now it works great and without any bloated plugin or something. ??
<?php $lastposts = get_posts('category_name=kalender&meta_key=kdatum&orderby=meta_value&order=asc'); $count = 0; foreach($lastposts as $post) : if ($count >= 3) { break; } setup_postdata($post); //check the dates $todays_date = date("Y-m-d", strtotime('-1 day')); $kdatum = get_post_meta($post->ID, 'kdatum', $single = true); if(strtotime($kdatum) > strtotime($todays_date)) { ?> <div class="newsitem" onclick="location.href='<?php the_permalink() ?>';"> <div class="overlay" title="Klicka f?r att l?sa mer"></div> <h3><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h3> <p>Datum: <?php $key="kdatum"; if(get_post_meta($post->ID, $key, true)){ echo get_post_meta($post->ID, $key, true); } ?><br />Plats: <?php $key="kplats"; if(get_post_meta($post->ID, $key, true)){ echo get_post_meta($post->ID, $key, true); } ?></p> </div> <?php $count += 1; } //end date check ?> <?php endforeach; ?>