Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 06:58 am EST

Geeklog Forums

Can forum plugin show titles?


Status: offline

chief123

Forum User
Chatty
Registered: 05/02/03
Posts: 58
Can the forum plugin be configured to show post titles where they belong for search engine purposes or no?

Thanks in advance.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
A quick hack (may not be terribly efficient ...):

In viewtopic.php, around line 64, you'll find:
Text Formatted Code
    echo COM_siteHeader();
    //Check is anonymous users can access
    forum_chkUsercanAccess();
    // Now display the forum header
    ForumHeader($forum,$showtopic);
 

Before the echo COM_siteHeader();, insert
Text Formatted Code
$_CONF['pagetitle'] = DB_getItem($_TABLES['gf_topic'],"subject","id=$showtopic");
 


bye, Dirk
 Quote

Status: offline

chief123

Forum User
Chatty
Registered: 05/02/03
Posts: 58
Thanks Dirk that seems to work.

Appreciate it!
 Quote

All times are EST. The time is now 06:58 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content