News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Feed Icon Board Index problem.

Started by rucanunes, February 18, 2008, 12:26:22 PM

Previous topic - Next topic

rucanunes

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 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
Sala dos Professores http://www.saladosprofessores.com

greyknight17

Hi Raul, was your forum just moved to a new server?

To show more posts, increase the number of recent posts (Admin->Current Theme).

rucanunes

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?
Sala dos Professores http://www.saladosprofessores.com

Kindred

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.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

rucanunes

Sala dos Professores http://www.saladosprofessores.com

rucanunes

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?...
Sala dos Professores http://www.saladosprofessores.com

rucanunes

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...
Sala dos Professores http://www.saladosprofessores.com

Orstio

QuoteJoomla Bridge by JoomlaHacks.com

You will find better support for that at joomlahacks.com.

rucanunes

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?
Sala dos Professores http://www.saladosprofessores.com

Advertisement: