Laughinglizard
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Comments off errorSG,
I dont think it would be related. Could you please explain how it was linked or maybe turn the comments off for the day?Forum: Fixing WordPress
In reply to: post_per_page for the index page…You should not have to mess with anything to get the posts per page to work. You could type in something like
echo “posts_per_page = “.$posts_per_page;
somewhere inside your blog.header.php and it will tell you the value it should be using. It is stored in the database and retrieved by blog.header.phpForum: Fixing WordPress
In reply to: Custom “not found” pages?After you reset the category with $cat=” (and page variables in your case), another access is made from the database. blog.header.php sets up the Mysql queries for the database access and then creates the list of posts for the index.php. As long as you are wanting to create a page inside WP (a single post, category, date, search form etc) you will have to call blog.header.php again or make the MySql queries yourself.
Forum: Fixing WordPress
In reply to: Custom “not found” pages?Here is something you could try.
In your blog.header.php (in the root of your WordPress folder) find the line below:
$posts = $wpdb->get_results($request);
Add this just below that line:
if ($posts == ”) {
$cat = ”;
include($abspath . ‘blog.header.php’);
}
This way, every errant request coming to your blog will be greeted with the default blog template with all posts from all categories.You could modify this to get other output.
PS: Those are two single quotes, not a double quote.Forum: Requests and Feedback
In reply to: Development Culture at WPVery touchy subject, this is…yes.
Come back to this, we will…after release of 1.0
May the Force with the dev team.
Peace 😛Forum: Plugins
In reply to: WordPress One Click BackupThat directory does not have view permissions. When you changed the permissions of the backup folder, did you also assign read permissions to it? I would think that is the problem.
Forum: Requests and Feedback
In reply to: Rename “Hacks” for WPLOL…i am starting to love this thread and the people contributing to it. All of our discussion is worth nothing without some input from the dev team. Would allusion, Mike, Mike, Alex or any of the others like to provide some input?
Forum: Plugins
In reply to: WordPress One Click BackupI will be working on the restore script as soon as I get my workstation upgrade done. 😛
I am also thinking of writing another script which backs up the wordpress folder and provides a link for download of the zipped file for local backup.Forum: Requests and Feedback
In reply to: Suggestions for Hacks, Ad-Ons or Improvements?@zeno: I (somewhat) see what you mean. There is a lot of legacy code in the commenting system from the old b2 (and much of it is being weeded out as new features such as moderation is added to the system) and much of the redundancy is due to the ability of the blog to have comment pop-ups as well as comments on the main blog. The comments are pre-processed as you already figured out. I am still confused about how you thought that they were post-processed in your first comment.
There are a couple of threads on getting more developmental feedback from the user community as well as further code sharing mechanisms among would-be developers. Yours best bet is the dev blog to be found at http://wordpress.org/development/
I personally have never been approached with any access or role in development activity so I really could not answer you with any confidence.Forum: Plugins
In reply to: Threaded comments hack – 0.72Look at my website. I have the alternating colors somewhat implemented. If you like it I could share the code changes. I have left it up to the person using this hack to make those changes
Forum: Requests and Feedback
In reply to: Rename “Hacks” for WP@gfmorris:
I spend enough time on promoting WP that I would help in any way for the wp-mods effort. I dont think I am good enough to be a developer, but I do hack away a lot! 😛
PeaceForum: Requests and Feedback
In reply to: Rename “Hacks” for WPDanielle,
In all the cases that you have mentioned above, albeit even for MT, plug-ins are additions (or modules like the NetFlix Plug-in which shows a persons’ rental cue) to the final html file that is rendered. In the case of WP, hacks are changes to the code base which can not only add features, but can also change the output of the base template. I believe that this was the reason that they were called “hacks” in the first place. The ability of a programmer to change even the nitty gritty details of the final blog page is very useful and is not provided by the plug-in system. So if WordPress hacks were completely limited to being implemented through a unified system of folders or a single file, it could lead to one of two problems:
1) If the system allowed for the kind of hacks we have seen so far, it would be slow to render because of the parsing taking place
2) The system would not allow some of the hacks we have for WP already.
If I misunderstood your point, please correct me. I vote for ‘mods’. I dont know if any discussion in this forum is going to change the minds of the developers, but I do think that the hack terminology could be a hinderance to the growing popularity of WP.Forum: Requests and Feedback
In reply to: Rename “Hacks” for WPVery sweet! Thanks sisob, good job!
I have a somewhat comprehensive list of all hacks I know about on my weblog tools collection blog. I will try to collate the information to the best of my knowledge.Forum: Plugins
In reply to: WordPress One Click BackupThat looks perfect. All you really need is the wp-config.php. I have added the others in case people want to configure it to their blog template. You said that it does not work for you in 0.72 either, which is really strange. Does anyone else have this problem? Cena, could you please email me the source of dump.php?
Thanks for playing along!Forum: Plugins
In reply to: Threaded comments hack – 0.72Look at the CSS modification towards the end of the tutorial. It reads:
#commentswithin {
min-width: 100px;
margin-left: 10px;
}
Increase the margin-left to anything you think is fit. And thanks again for your positive feedback!