View Thread
Post your improvements and modifications to forum index.php here.
 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:
]."</span></td>\n";
Parsed in 0.021 seconds, using GeSHi 1.0.8.10


And replace with:
]."</span></td>\n";
Parsed in 0.008 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.008 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
Gebruik BBcode of HTML om naar; '[Mod] Better inernal linking, improved breadcrumbs.', te verwijzen!
BBcode:
HTML:
Vergelijkbare onderwerpen
Subject Discussion Forum         Last Post
Improved Last seen users panel Panels/infusions (add ons) : 3 17-12-2013