Well Iktib is up and almost 100% complete.
After a few tweaks here and there, I hope that it'll be to everyone's liking!
Well Iktib is up and almost 100% complete.
After a few tweaks here and there, I hope that it'll be to everyone's liking!
It looks great! Nicely done.
amnesiak: quite a few people (myself included) are looking to produce a layout showing 'latest blogs', 'recently updated' etc.. Could you share a few pointers? Maybe the construction of your 'home.php' (or your theme?)?
Thanks,
for this, go to http://wpmudevorg.wordpress.com/
thanks neurone
thanks for the kind comment.
I'm sorry for not responding earlier.
If you have any specific questions I'll be happy to answer them.
To be more specific about displaying the latest blogs on the main page.
go to
http://wpmudevorg.wordpress.com/project/List-All
you will notice that there is a small tag that you need to place and with one word that needs to be changed in order to display what you want.
I use that plugin on my site as well...its a very nice plugin to have. It's been around for a while, I figured most everyone knew about it by now.
Hey Andrew,
thanks for you plugin 'list-all'!
I had to fix something to get it work with a WPMU-installation without vhost enabled.
The problem was that the code assumed the use of vhost. So the links to the blogs were in form of blogname.domain.com
while a non-vhost installation would have urls in form of domain.com/blogname
.
Basically i just introduced a switch on the 2 code lines where the link is build. There might be a nicer way to do this, but at least it works ;-)
Simply replace (line 29)
tmp_domain = $wpdb->get_var("SELECT domain FROM " . $wpdb->blogs . " WHERE blog_id = '" . $bid . "'");
by
if( defined( "VHOST" ) && constant( "VHOST" ) == 'yes' )
$tmp_domain = $wpdb->get_var("SELECT domain FROM " . $wpdb->blogs . " WHERE blog_id = '" . $bid . "'");
else
$tmp_domain = get_blog_option( $bid, "siteurl");
and (line 36)
echo $begin_wrap . "<a href='httpREMOVE_ME://" . $tmp_domain . $tmp_path . "'>" . $tmp_display . "</a>" . $end_wrap;
by
if( defined( "VHOST" ) && constant( "VHOST" ) == 'yes' )
echo $begin_wrap . "<a href='httpREMOVE_ME://" . $tmp_domain . $tmp_path . "'>" . $tmp_display . "</a>" . $end_wrap;
else
echo $begin_wrap . "<a href='" . $tmp_domain . "'>" . $tmp_display . "</a>" . $end_wrap;
I hope you can use this! Let me know ;-)
PS: any clue how to put code with the http:slash-slash in this forum?
debrouille,
I just sent you an email :)