obey-robots.txt
View Thread
 Print Thread
[Mod] Better inernal linking, improved breadcrumbs.
Fusioneer
This mod is for php-fusion v7.02.07. Not sure if this would be needed for v9.

What will it do?
Make link in breadcrumbs in /forum/viewforum.php and /forum/viewthread.php (where there was no link before) so you can go directly to the right section in /forum/index.php.

Files to mod: /forum/index.php, /forum/viewforum.php and /forum/viewthread.php


Open /forum/index.php
Find:
Download source  GeSHi: PHP
  1. echo "<tr>\n<td colspan='2' class='forum-caption forum_cat_name'><!--forum_cat_name-->".$data['forum_cat_name']."\n<span class='small'>&nbsp;".$data['forum_cat_description']."</span></td>\n";
Parsed in 0.010 seconds, using GeSHi 1.0.8.10


And replace with:
Download source  GeSHi: PHP
  1. echo "<tr>\n<td colspan='2' class='forum-caption forum_cat_name'><!--forum_cat_name--><h2 style='display:inline;font-size:15px;' />
  2. <a id='".str_replace(array(" ",",",".","--"), "-", strtolower($data['forum_cat_name']))."' >".$data['forum_cat_name']."</a>\n<span class='small'>&nbsp;".$data['forum_cat_description']."</span></td>\n";
Parsed in 0.009 seconds, using GeSHi 1.0.8.10



Open /forum/viewforum.php and /forum/viewthread.php for both
Find:
Download source  GeSHi: PHP
  1. $caption = $fdata['forum_cat_name']." » <a href='viewforum.php?forum_id=".$fdata['forum_id']."' title='".$fdata['forum_name']."'>".$fdata['forum_name']."</a>";
Parsed in 0.009 seconds, using GeSHi 1.0.8.10


And replace with:
Download source  GeSHi: PHP
  1. $caption = "<a href='/forum/index.php#".str_replace(array(" ",",",".","--"), "-", strtolower($fdata['forum_cat_name']))."'>".$fdata['forum_cat_name']."</a> » <a href='viewforum.php?forum_id=".$fdata['forum_id']."' title='".$fdata['forum_name']."'>".$fdata['forum_name']."</a>";
Parsed in 0.009 seconds, using GeSHi 1.0.8.10


Attached are some pictures from before and after the mod.
Fusioneer attached the following file:
You are not allowed to see attachments in this thread.

Warning about ParkingCrew.com! Case: ParkingCrew.com acquires NameDrive.com but earnings are not transferred despite assurances and promises. Inquiries about this are ignored! It's just a con compagny. Don't do business with them!
 
Jump to Forum
New Thread Post Reply
Use BBcode or HTML to refer to; '[Mod] Better inernal linking, improved breadcrumbs.'
BBcode:
HTML:
Simular threads
Subject Discussion Forum         Last Post
Improved Last seen users panel Panels/infusions (add ons) : 3 17-12-2013