Search Engine Optimization For Your Archive
Mod Version: 0.9.2, by Milad
This modification is in the archives.
vB Version: 3.5.4 |
Rating: (0 vote - 0 average) |
Installs: 26 |
Released: 20 Mar 2006 |
Last Update: 27 Mar 2006 |
Downloads: 38 |
Not Supported
Uses Plugins
Code Changes
Is in Beta Stage
|
Description: Add keywords to your archive URLs
BETA HACK
Features:- Add keywords to your archive URLs.
Planed Features:- Google/Yahoo sitemap generator for new URLs style.
Installation:- Install Latest Product
- In /archive/global.php
- Find: (about line 153)
PHP Code:
$output .= "$indent <li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "f-$forumid.html\">$forum[title_clean]</a></li>\n";
And Replcae with:
PHP Code:
$output .= "$indent <li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "f-$forumid" . parse_title($forum['title_clean']) . ".html\">$forum[title_clean]</a></li>\n";
- Find: (about line 193)
PHP Code:
$navarray[] = "<a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "f-$forumid.html\">" . $vbulletin->forumcache["$forumid"]['title_clean'] . "</a>";
Replace with:
PHP Code:
$navarray[] = "<a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "f-$forumid" . parse_title($vbulletin->forumcache["$forumid"]['title_clean']) . ".html\">" . $vbulletin->forumcache["$forumid"]['title_clean'] . "</a>";
- In /archive/index.php
- Find (about line 299)
PHP Code:
$output .= print_archive_page_navigation($foruminfo['threadcount'], $vbulletin->options['archive_threadsperpage'], "f-$foruminfo[forumid]");
Replace with:
PHP Code:
$output .= print_archive_page_navigation($foruminfo['threadcount'], $vbulletin->options['archive_threadsperpage'], "f-$foruminfo[forumid]" . parse_title($foruminfo['title']));
- Find (about line 374):
PHP Code:
$output .= print_archive_page_navigation($threadinfo['replycount'] + 1, $vbulletin->options['archive_postsperpage'], "t-$threadinfo[threadid]");
Replace With:
PHP Code:
$output .= print_archive_page_navigation($threadinfo['replycount'] + 1, $vbulletin->options['archive_postsperpage'], "t-$threadinfo[threadid]" . parse_title($threadinfo['title']));
- Find:
PHP Code:
$output .= "\t<li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "t-$thread[threadid].html\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";
Replace with:
PHP Code:
$output .= "\t<li><a href=\"" . (!SLASH_METHOD ? 'index.php?' : '') . "t-$thread[threadid]" . parse_title($thread['title']) . ".html\">$thread[title]</a>" . iif($pda, " <i>(" . construct_phrase($vbphrase['x_replies'], $thread['replycount']) . ")</i>") . "</li>\n";
- Of course Upload your modified files
- test your archive and enjoy.
- Click to receive updates.
ChangeLog:- 0.9.0 20th, Mar 2006
- 0.9.1 27th, Mar 2006
- 0.9.2 27th, Mar 2006
- 0.9.1 re-uploaded as 0.9.2 , minor change.
Download
This modification is archived and cannot be downloaded.
|