hedgehog wrote:Hi DCZ,
I was wondering if there is anyway to select specific forums for the "Last 10 Active Topics" ?
Actually could be a cool feature to add for an update.
I have to think about a better way to do this but for now you can just do this :
Open :
- Code: Select all
includes/Sitemaps_Functions.php
Find :
- Code: Select all
$sql_auth = '(' . $sql_auth . ')';
After Add :
- Code: Select all
$sql_auth = ( strstr($sql_auth, ' ID') ) ? str_replace( ' ID', '', $sql_auth ) : $sql_auth;ID, ') ) ? str_replace( 'ID, ', '', $sql_auth ) : $sql_auth;
In which you have to change ID to the id of the specific forum you don't want to list. Be careful with spaces, they are important here. Two tests are needed cause the ID could be the last one of the list. I'll implement a
something to do this better in next version
You can as well repeat those two lines of code for any other forum that need to be viewable and readable but you don't want to see listed in the site maps.
hedgehog wrote:Also, after I added a few pics to the Sitemap Index, it broke the level of "Last 10 Active Topics" and "Sitemap Index"
Is this because the size of the image?
Thank you
Then you can either configure the site map to show more than ten topics in the site map index so that the list is longer.
And it's cool to do this here cause it's the most linked site map (thanks to the auto link add on) and it's one of the lightest, so adding a bit more topic listing here is a good occasion to show more links without consuming to much server resources.
But you can as well edit the template.
Open :
- Code: Select all
templates/subSilver/SitemapsIndex_body.tpl
Find :
- Code: Select all
<tr align="center">
<td align="center" class="row1" colspan="3" width="100%">
<table cellpadding="0" cellspacing="1" border="0" width="100%" align="center" class="bodyline">
Replace with :
- Code: Select all
<tr align="center">
<td align="center" class="row1" colspan="3" width="100%" valign="top">
<table cellpadding="0" cellspacing="1" border="0" width="100%" align="center" class="bodyline">
I think I will also implement this small one in next version.
++

English |
French


