obey-robots.txt
July 22 2017 21:35:39
Navigation
Your ad can be here below
Facebook Like
Portfolio
BetterClimate.Net
ComplaintSupport.Com
Daily-Breaking-News.Com
Kidiot.Org
Php-Fusion.Asia
Php-Fusion.Cn
Php-Fusion.Fr
Php-Fusion.In
Php-Fusion.Start-Pages.Com
Rain-Radar.Com
Speed-Testing.Net
Start-Pages.Com
WebhostingTrouble.Com
WebmasterTrouble.Com
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:
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.025 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.026 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']." &raquo; <a href='viewforum.php?forum_id=".$fdata['forum_id']."' title='".$fdata['forum_name']."'>".$fdata['forum_name']."</a>";
Parsed in 0.027 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> &raquo; <a href='viewforum.php?forum_id=".$fdata['forum_id']."' title='".$fdata['forum_name']."'>".$fdata['forum_name']."</a>";
Parsed in 0.030 seconds, using GeSHi 1.0.8.10


Attached are some pictures from before and after the mod.

Fusioneer attached the following file:
Please login or register 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
Thread Forum Replies Last Post
Improved Last seen users panel Panels/infusions (add ons) 3 17-12-2013 05:47
Users Online
Guests Online: 1

Members Online: 0

Total Members: 51
Newest Member: SprDave
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Last Seen Users
Fusioneer 1 day
Language Switcher
Theme Switcher
Shoutbox
You must login to post a message.

No messages have been posted.
Member Poll
PHP-Fusion, I might try it.

Yes
Member Poll: PHP-Fusion, I might try it. Yes 100% [5 Votes]
100% [5 Votes]

No
Member Poll: PHP-Fusion, I might try it. No 0% [0 Votes]
0% [0 Votes]

Maybe
Member Poll: PHP-Fusion, I might try it. Maybe 0% [0 Votes]
0% [0 Votes]

Votes: 5
You must login to vote.
Started: 20-10-2011
Latest Articles
No Articles available
673,050 unique visits