How to display only RSS link on the index page?

The GYM Sitemaps & RSS module for phpBB. Sitemaps and RSS feeds for Google Yahoo! and MSN Live, support, add ons etc ...

Moderator: Moderators

How to display only RSS link on the index page?

Postby pnenquiry » Tue Oct 27, 2009 7:12 pm

Hello Friends. I know I can set to display RSS, Sitemap etc from the Main Configuration Link on GYM Sitemaps and RSS link.

Links on index:
Display or not links to the available GYM pages for each forum on the forum index. These links are added below the forum descritpions.

But Can I display only RSS and not anything else? Can you please let me know where I need to tweak the code or make changes please?

TIA
pnenquiry
 
Posts: 28
Joined: Tue Jun 09, 2009 1:38 pm

Advertisement

Re: How to display only RSS link on the index page?

Postby userkiller » Tue Oct 27, 2009 9:43 pm

Am asking my self the same question, i always wanted to know that
userkiller
PR0
PR0
 
Posts: 80
Joined: Fri Jan 23, 2009 10:57 pm
Location: http://www.gamehaxerz.com

Re: How to display only RSS link on the index page?

Postby dcz » Sat Oct 31, 2009 12:09 pm

It would be more convenient to be able to chose this in acp, but so far, you should delete or comment :
Code: Select all
               if (isset($html_setup['auth_guest'][$forum_id]) || (!empty($html_setup['forum_allow_auth']) && !isset($html_setup['forum_exclude'][$forum_id]))) {
                  if ($html_setup['forum_allow_cat_news']) {
                     $url = sprintf($html_setup['forum_cat_news'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id );
                     $link .= sprintf($gym_link_tpl, $url, 'html_news.gif', sprintf($html_setup['l_html_news_of'], $forum_name), $html_setup['l_html_news']);
                  }
                  if ($html_setup['forum_allow_cat_map']) {
                     $url = sprintf($html_setup['forum_cat_map'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id );
                     $link .= ' ' . sprintf($gym_link_tpl, $url, 'maps-icon.gif', sprintf($html_setup['l_html_map_of'], $forum_name), $html_setup['l_html_map']);
                  }
               }

and :
Code: Select all
               if (!empty($google_setup['forum_google']) && isset($google_setup['auth_guest'][$forum_id]) && ($num_topics > $google_setup['threshold'])) {
                     $url = sprintf($google_setup['forum_cat_google'], $_phpbb_seo ? str_replace($_f_sep . $forum_id, '', $phpbb_seo->seo_url['forum'][$forum_id]) . $_f_sep . $forum_id : '', $forum_id );
                     $link .= ' ' . sprintf($gym_link_tpl, $url, 'sitemap-icon.gif', sprintf($google_setup['l_google_sitemap_of'], $forum_name), $google_setup['l_google_sitemap']);
               }

and :
Code: Select all
            if (isset($html_setup['auth_guest'][$forum_id]) || (!empty($html_setup['forum_allow_auth']) && !isset($html_setup['forum_exclude'][$forum_id])) ) {
               if ($html_setup['forum_allow_cat_news']) {
                  $url = sprintf($html_setup['forum_cat_news'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id);
                  $title = sprintf($html_setup['l_html_news_of'], $forum_name);
                  $links['main']['GYM_HTML_FORUM_NEWS_LINK'] = sprintf($gym_link_tpl, $url, 'html_news.gif', $title, $html_setup['l_html_news']);
                  $do_display = true;
               }
               if ($html_setup['forum_allow_cat_map']) {
                  $url = sprintf($html_setup['forum_cat_map'], $_phpbb_seo ? $phpbb_seo->seo_url['forum'][$forum_id] : '', $forum_id );
                  $title = sprintf($html_setup['l_html_map_of'], $forum_name);
                  $links['main']['GYM_HTML_FORUM_MAP_LINK'] = sprintf($gym_link_tpl, $url, 'maps-icon.gif', $title, $html_setup['l_html_map']);
                  $do_display = true;
               }
            }

and :
Code: Select all
            if (!empty($google_setup['forum_google']) && isset($google_setup['auth_guest'][$forum_id])) {
               $url = sprintf($google_setup['forum_cat_google'], $_phpbb_seo ? str_replace($_f_sep . $forum_id, '', $phpbb_seo->seo_url['forum'][$forum_id]) . $_f_sep . $forum_id : '', $forum_id );
               $title = sprintf($google_setup['l_google_sitemap_of'], $forum_name);
               $links['main']['GYM_GOOGLE_FORUM_LINK'] = sprintf($gym_link_tpl, $url, 'sitemap-icon.gif', $title, $google_setup['l_google_sitemap']);
               $do_display = true;
            }

in gym_sitemaps/includes/gym_common.php,
as well as :
Code: Select all
      $links['main'] = array_merge( $links['main'],
         array(
            'GYM_LINKS' => (int) $gym_config['gym_link_main'],
            'GYM_LINKS_CAT' => (int) $gym_config['gym_link_cat'],
            'GYM_GOOGLE_TITLE' => $user->lang['GOOGLE_SITEMAPINDEX'],
            'GYM_GOOGLE_URL' => $sitemap_url,
            'GYM_GOOGLE_LINK' => sprintf($gym_link_tpl, $sitemap_url, 'sitemap-icon.gif', $user->lang['GOOGLE_SITEMAPINDEX']),
            'GYM_GOOGLE_THRESOLD' => (int) $links['setup']['google']['threshold'],
         )
      );

and :
Code: Select all
      $links['main'] = array_merge( $links['main'],
         array(
            'GYM_HTML_NEWS_TITLE' => $user->lang['HTML_NEWS'],
            'GYM_HTML_NEWS_URL' => $html_news_url,
            'GYM_HTML_NEWS_LINK' => sprintf($gym_link_tpl, $html_news_url, 'html_news.gif', $user->lang['HTML_NEWS']),
            'GYM_HTML_MAP_TITLE' => $user->lang['HTML_MAP'],
            'GYM_HTML_MAP_URL' => $html_map_url,
            'GYM_HTML_MAP_LINK' => sprintf($gym_link_tpl, $html_map_url, 'maps-icon.gif', $user->lang['HTML_MAP']),
            'GYM_HTML_THEFORUM_NEWS_TITLE' => $user->lang['HTML_FORUM_NEWS'],
            'GYM_HTML_THEFORUM_NEWS_URL' => $links['setup']['html']['forum_news_url'],
            'GYM_HTML_THEFORUM_NEWS_LINK' => sprintf($gym_link_tpl, $links['setup']['html']['forum_news_url'], 'html_news.gif', $user->lang['HTML_FORUM_NEWS']),
            'GYM_HTML_THEFORUM_MAP_TITLE' => $user->lang['HTML_FORUM_MAP'],
            'GYM_HTML_THEFORUM_MAP_URL' => $links['setup']['html']['forum_map_url'],
            'GYM_HTML_THEFORUM_MAP_LINK' => sprintf($gym_link_tpl, $links['setup']['html']['forum_map_url'], 'maps-icon.gif', $user->lang['HTML_FORUM_MAP']),
         )
      );

In gym_sitemaps/includes/gym_rss_functions.php if you as well want to only keep the rss links in footer.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21428
Joined: Fri Apr 28, 2006 9:03 pm

Re: How to display only RSS link on the index page?

Postby pnenquiry » Sun Nov 01, 2009 10:11 pm

Thanks so much dcz,

Can you please tell me the filename for the first set of file edits please? Thanks
pnenquiry
 
Posts: 28
Joined: Tue Jun 09, 2009 1:38 pm

Re: How to display only RSS link on the index page?

Postby dcz » Sat Nov 07, 2009 3:31 pm

dcz wrote:in gym_sitemaps/includes/gym_common.php,


And there will be option for this in next version ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21428
Joined: Fri Apr 28, 2006 9:03 pm

Re: How to display only RSS link on the index page?

Postby pnenquiry » Sat Nov 07, 2009 9:12 pm

Awesome - thanks so much for the file name and will sure look forward to the next version.

I am bit nervous on the upgrade thou. But there would be help around as always - I believe
pnenquiry
 
Posts: 28
Joined: Tue Jun 09, 2009 1:38 pm

Re: How to display only RSS link on the index page?

Postby dcz » Mon Nov 16, 2009 3:18 pm

For gym sitemap only, it's very easy to update ;)
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21428
Joined: Fri Apr 28, 2006 9:03 pm

Re: How to display only RSS link on the index page?

Postby pnenquiry » Mon Nov 16, 2009 6:49 pm

I meant the 3.0.6 upgrade of Phpbb3. Looks there is whole lot of change thats coming around.
pnenquiry
 
Posts: 28
Joined: Tue Jun 09, 2009 1:38 pm

Re: How to display only RSS link on the index page?

Postby dcz » Tue Nov 17, 2009 9:07 am

Well, as always updating is some work. The difficulty mainly depends on how many mods are installed. Of course, updating our seo premod is a lot easier than updating phpBB plus all the standalone mods.

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21428
Joined: Fri Apr 28, 2006 9:03 pm

Re: How to display only RSS link on the index page?

Postby pnenquiry » Tue Nov 17, 2009 12:55 pm

Yes anyday. Phpbb-seo Premod is the best that we have. Though there are many out there, phpbb-seo premod has the absolute and best mix of technology and market/user sensibilities.
pnenquiry
 
Posts: 28
Joined: Tue Jun 09, 2009 1:38 pm

Re: How to display only RSS link on the index page?

Postby dcz » Tue Nov 17, 2009 1:05 pm

I'm glad you appreciate our efforts ;)

And I'm sure you'll love the upcoming 3.0.6 :D
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21428
Joined: Fri Apr 28, 2006 9:03 pm


Return to GYM Sitemaps & RSS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 4 guests