Hello,
If you go to http://80.172.224.135/~salaprof/index.php?option=com_smf&Itemid=62
and click on a RSS feed icon (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.saladosprofessores.com%2Fforum%2FThemes%2Forange-lt114v1%2Fimages%2Frss.png&hash=6eb305c0eb50799d552d27b640fd1af0935b223e) everything works great!!
But once you're in this page: http://80.172.224.135/~salaprof/index.php?option=com_smf&Itemid=62&action=.xml&board=1&type=rss
and you click a topic you're redirected to the forum WITHOUT Joomla.
Is there a way to make this links redirect to the forum BUT bridged by Joomla?
Another question; is there a way to increase number of posts showed?
Thanks,
Raul Nunes
Hi Raul, was your forum just moved to a new server?
To show more posts, increase the number of recent posts (Admin->Current Theme).
Quote from: greyknight17 on February 18, 2008, 01:20:59 PM
Hi Raul, was your forum just moved to a new server?
To show more posts, increase the number of recent posts (Admin->Current Theme).
This is my test server.
Can you help me on the links?
just add the re-driect code into smf's index.php file so that people who try to access your standalone forum get automatically bounced to the bridged forum instead.
That code is in the combined readme post in the bridge specific board.
How do I do that?
Ok, I added this code to the index.php
// Redirect users who try to access /forum directly
if (strpos($_SERVER['QUERY_STRING'], 'dlattach') === false && strpos($_SERVER['QUERY_STRING'], 'verificationcode') === false)
{
if(!defined('_VALID_MOS')){ header("Location: /index.php?option=com_smf&Itemid=62&".$_SERVER['QUERY_STRING']); }
}
But when I click on a link at: http://80.172.224.135/~salaprof/index.php?option=com_smf&Itemid=62&action=.xml&board=1&type=rss
I get this link: http://80.172.224.135/~salaprof/index.php?option=com_smf&Itemid=62& (forum index, not the actual Post).
What am I doing wrong?...
Quote from: greyknight17 on February 18, 2008, 01:20:59 PM
Hi Raul, was your forum just moved to a new server?
To show more posts, increase the number of recent posts (Admin->Current Theme).
I have 10 there but it's only showing 5 in RSS.
On the forum, at the bottom, I have 10 recent posts...
QuoteJoomla Bridge by JoomlaHacks.com
You will find better support for that at joomlahacks.com.
Strange! When I add this code to the index.php:
// Redirect users who try to access /forum directly
if (strpos($_SERVER['QUERY_STRING'], 'dlattach') === false && strpos($_SERVER['QUERY_STRING'], 'verificationcode') === false)
{
if(!defined('_VALID_MOS')){ header("Location: /index.php?option=com_smf&Itemid=62&".$_SERVER['QUERY_STRING']); }
}
Preview stops working with this error:
getElementByTagName(...).0" is null or is not an object
Can someone please help me?