shadycraig
Forum Replies Created
-
Forum: Plugins
In reply to: AJAX Banner RotatorHi keydin,
Did you find something that fits your needs? I’m looking for something similar.
Did you get anywhere with SmoothGallery??Shady
Forum: Installing WordPress
In reply to: Yet another AwardSpace problem…Yep I just installed on awardspace too, and yes it’s telling me two different sql servers. I tried both and got nowhere.
It turned out that a port number was also required! I found it at http://www.awardspace.com/web_hosting_faq.html
Anyway the port is 3306 (and it did work), as it’s in the public help section it seems to be for all users.
Forum: Installing WordPress
In reply to: Can we just get rid of TinyMCE?Just updated to 2.0.2 myself and wondered what was taking so long. podz is right though, ftp’ing shouldn’t be a problem so long as you have a reasonable connection.
Personally I’ll be disabling TinyMCE.
Forum: Fixing WordPress
In reply to: Troubleshooting “Kramer” and Technorati PluginsHi nik, I take it then you need the most recent version of wordpress then??
Forum: Themes and Templates
In reply to: CSS layout problem, 3 column layout heightahhh!
it took a while but in the end adding
<br class=”clear” />
just inside the </div> for “all” did the trick
Now to find out why!Thanks very much for you help!
Forum: Themes and Templates
In reply to: CSS layout problem, 3 column layout heightHi Fishcake and thanks for the reply 😉
I’ve copied my basic structure below, and all 3 columns are already inside one main div “all”:
<body>
<div id=”all”>
<div id=”header”></div>
<div id=”blackrule”></div>
<div id=”lh-col”> </div>
<div id=”main”></div>
<div id=”rh-col”></div>
</div>
</body>Is that what you mean?
I’m not sure about how all the ‘float’ things work yet, so I’ll read up and check back here before commenting.
Cheers,
ShadyForum: Themes and Templates
In reply to: Sort category list by dateCheers KafkaesquÃÂ,
I’ll check that out!
Forum: Themes and Templates
In reply to: Sort category list by dateWell I managed to get something working.
The concept is that the category with the newest post will be show first, with it’s 4/5 newest posts, aftter that the category with the next newest post will be shown with it’s newest posts … and etc
See the results here: http://www.devineprojects.org/news/
<?php
$thiscat='';
$newestcat[3];
$i=0;
$j=0;
?>
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?><?php
if (is_home()) {if ($i<3) {
foreach((get_the_category()) as $cat) {
}
$thiscat=$cat;
for ($j=0;$j<=$i;$j++){
if ($thiscat->cat_ID!=$newestcat[i])
{
$newestcat[i] = $thiscat->cat_ID;
echo "$thiscat->cat_name<br/>";
c2c_get_recent_posts(
4, "
<li>%post_URL% @%post_date% (%comments_count%)<br>%post_excerpt_short%</br></li>
", $i, 'date', 'DESC', 0, 'd/m/Y'
);
$i++;
$j++;
}
}
}} else {
?>Forum: Themes and Templates
In reply to: Sort category list by dateOk I suppose not!
Well I’ll post on here any solution I find…
see ya
ShadyCraigForum: Fixing WordPress
In reply to: Sorting on Main PageYes, try the following plugin http://www.coffee2code.com/archives/2004/08/27/plugin-customizable-post-listings/
in particular the function c2c_get_recent_posts(), set $orderby = ‘date’.Forum: Fixing WordPress
In reply to: 1.5 Strayhorn security re. recent new releaseCheers skippy
Forum: Themes and Templates
In reply to: Successful in using diff tempalte for cat?Hi Jinsan,
I think I’ve been down this path before, and I struggled to get the answers. Luckily for you I did document a part of it on my blog at http://www.devineprojects.org/blog/index.php/archives/2005/03/wordpress-category-styles/
The file you listed above is index.php (?) but the one you need is category.php. Copy the file and rename it to category-1.php (where 1 is your category id in the admin panel). Now that file will be used instead of index.php when that category is viewed.
To change what’s shown on the page you can add/remove the relevant parts in the category-x.php file, however it will still obey the same CSS as the rest of your blog. To change that styling copy and rename the style.css to category-1.css, maybe those names aren’t quite right but you get the idea.
You then need to find(in category-x.php)
<style type=”text/css” media=”screen”>
@import url<?php bloginfo(‘stylesheet_url’); ?> );
</style>
and change that to
<style type=”text/css” media=”screen”>
@import url(<?php bloginfo(‘stylesheet_directory’); ?>/category-1.css );
</style>Forum: Fixing WordPress
In reply to: How to integrate Adsense?I used the moosecany plugin and this sorted out all my adsense problems.