Howto change the view of forum list?

phpBB SEO Premod for phpBB3 support forum.
This premodded version of phpBB3 includes the three different type of URL rewriting for phpBB3 by phpBB SEO. It comes with several other Search Engine Optimization mods installed.

Moderator: Moderators

Howto change the view of forum list?

Postby frold » Wed Dec 09, 2009 12:12 pm

Hey,

I would like to have
Studmed debat News Site map RSS Feed Sitemap

Subforum: Find læsemakker, Turnusbytte, Studenterorganisationer, Demokratiske Medicinere


Instead of:

Studmed debat

News Site map RSS Feed Sitemap
Subforum: Find læsemakker, Turnusbytte, Studenterorganisationer, Demokratiske Medicinere
frold
PR0
PR0
 
Posts: 95
Joined: Thu Apr 17, 2008 7:26 pm

Advertisement

Re: Howto change the view of forum list?

Postby austin881 » Wed Dec 09, 2009 4:11 pm

OPEN styles/prosilver/template/viewforum_body.html

Make the changes you want to this code...
Code: Select all
<h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>
<!-- IF GYM_LINKS_CAT --><h3>{GYM_HTML_FORUM_NEWS_LINK} {GYM_HTML_FORUM_MAP_LINK} {GYM_RSS_FORUM_LINK} {GYM_GOOGLE_FORUM_LINK}</h3><!-- ENDIF -->
My dev playground: ModernDignity.com
Appreciate my assistance? You can thank me by linking to Chevy Truck Forum or Gas Scooters.
User avatar
austin881
phpBB SEO Team
phpBB SEO Team
 
Posts: 248
Joined: Wed Oct 28, 2009 12:16 am
Location: Boise, Idaho USA

Re: Howto change the view of forum list?

Postby dcz » Sat Dec 19, 2009 11:55 am

I think he's talking about the forum index.
So, the forum index links are added in a different way (a bit hackish I mus admit, but works well and does not require template code change.
The piece of code you're looking for is :
Code: Select all
               if ($link) {
                  $template->_tpldata['forumrow'][$k]['FORUM_DESC'] .= "<br/>$link";
               }

in gym_sitemaps/includes/gym_common.php.
you can use :
Code: Select all
               if ($link) {
                  $template->_tpldata['forumrow'][$k]['FORUM_DESC'] .= "&nbsp;$link";
               }

To use a space and not a line break and see the links displayed in-line after the forum description. Though, it won't be displayed after the forum title.

++
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: 21219
Joined: Fri Apr 28, 2006 9:03 pm


Return to phpBB SEO Premod

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 6 guests