May 17 2012 12:05:32
Navigation
Last Seen Users
J_K_NIELSEN00:42:06
volt12301:10:20
darans01:10:37
Acert01:44:29
michi02:07:59
LukeWarm02:12:01
Dave9202:50:05
KasteR02:53:55
colber03:11:33
rubberdark04:18:34

Members: 25,040
Newest: Dave92
Downloads v7
Currently popular Downloads

FusionBoard 4 6351
Video Gallery 4524
Video Infusion 4019
Photoalbum Mass U... 3499
Professional Down... 3403
Avatar Studio 3338
XHTML mod for mod... 3186
Button panel 2703
60 Animated smileys 2610
VArcade 2.1 2532

Latest Downloads


Code Snippets v1.10 8
Video Infusion Pro 84
Who Is Where 16
Facebook Login/Register 62
Yolks Smiley Pack 56
SWTOR Recruiting Panel 25
NeoBlog Theme 28
Code Snippets 9
FAQ Panel 15
Download Plus Panel 32

Latest 100
Downloads v6
Currently popular Downloads

Banner System v2.0.4 2269
Video Gallery 1560
Extreme Theme Editor 1257
Fuzed Shoutbox 1066
Seoname.php 1016
Icon Package 2.0 879
Extended Profile ... 782
News.php 699
Tabbed welcome panel 646
EXTboard 583

Latest Downloads


Banner System v2.0.4 2269
Last comments 102
Language switcher panel 319
Admin Submission Panel 130
Admin private messag... 253
Google Sitemap Fast 144
ExtBoard 1.2 430
EXTboard 583
v6.01.18 - v6.01.19 74
v6.01.19 FULL 240

Latest 100
Latest Articles
Patch Re-captcha PHP...
A tour through the n...
Protect your Fusion ...
Change your database...
Admin Control Panel ...
How to Secure Your I...
Show Content by Defa...
v7 | Add social book...
v7 | Custom MySQL er...
How To: A PM after r...
v7 | SEO friendly UR...
v7 | SEO friendly UR...
Comments Advanced Vi...
Auto-redirect to the...
A tour through PHP-F...

View all articles
v7 | SEO friendly URL's for PHPfusion v7 Member Lookup
This tutorial, written by wadday, will modify your members lookup URL's of PHP-Fusion so it's more Search Engine Friendly (SEO).

MAKE SURE YOU BACKUP THE FILES YOU MODIFY!

1. Download the code for seoname.php from Len Johnson's http://www.web-bu...?folder=15 CVS Browser (click the disk). If you expect unusual characters in article titles you can edit this.
2. Upload seoname.php to the includes directory of your PHP Fusion installation.
3. Make a backup copy of maincore.php.
4. Open maincore.php and find: which is at the bottom of the page

4. Open maincore.php and find: which is at the bottom of the page


?>


5. And add this code above the ?>


// Search engine friendly URLs
// http://www.web-bu...cms-c1.htm
require_once INCLUDES."seoname.php";


Note: If you already added this for the photogallery SEO mod then you don't need to add it again!




Here is the lookup url re-write for SEO. I have done it so you don't have to worry about the coding just have to make a back up of the online_user_panel.

Create a .htaccess file or modify your already existing .htaccess. Add the code below:



RewriteEngine On
##Profile
RewriteRule ^(.*)-profile-([0-9]*).php$ profile.php?lookup=$2 [L]



I also modified the user_online_panel so it's SEO friendly.

Open the user_online_panel.php file and search for the following code:

Around line 46:

echo "<a href='".BASEDIR."profile.php?lookup=".$member[0]."' class='side'>".$member[1]."</a>";

and replace with:

echo "<a href='".BASEDIR."".seoname($member[1])."-profile-".$member[0].".php' class='side'>".$member[1]."</a>";

And search for (around line 57:

<a href='".BASEDIR."profile.php?lookup=".$data['user_id'].".php' class='side'>

And replace with:

<a href='".BASEDIR."".seoname($data['user_name'])."-profile-".$data['user_id'].".php' class='side'>

When done, save and re-upload.


SEO FOR FUSION v7 BY WADDAY:
http://www.wadday.com/blog/forum/viewthread.php?thread_id=35
Comments
#1Zachary on September 24 2008 01:58:06
Zachary
Where can I find user_online_panel ?
#2Zachary on September 24 2008 02:21:57
Zachary
Okay, Found it!
#3wadday on September 24 2008 07:41:57
wadday
sorry Zachary i was away from office... any way.. glad you made it..
#4chatlaq on February 26 2009 07:44:43
chatlaq
added code to have a problem maincore.php prevent the appearance of pictures photogallery.php (require_once INCLUDES. "seoname.php"Wink
img22.imageshack.us/img22/4633/nofoto.png

img27.imageshack.us/img27/3276/adszkpe.png
#5Comy on July 29 2009 01:19:53
Comy
we have an complete PHP-Fusion modded to SEO URL see at www.2good4name.de

it includes also many Infusions
#6Ground_Zero on September 04 2009 04:19:22
Ground_Zero
The Webmaster's Bureau is currently offline.
Please check back again soon.


Confused

BTW: Where can I find a download/tut for renaming news and articles?
Post Comment
Please Login to Post a Comment.
Ratings
Rating is available to Members only.

Please login or register to vote.

Awesome! Awesome! 0% [No Votes]
Very Good Very Good 0% [No Votes]
Good Good 0% [No Votes]
Average Average 0% [No Votes]
Poor Poor 100% [1 Vote]
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Our Coders
Netrix
Smokeman
Elyn @ MrRusty
Diemux
Donate
Shoutbox
You must login to post a message.

17/05/2012 00:59
spam cleaned up

16/05/2012 05:55
I deleted forum posts but I don't have user banning or shoutbox editing permission or I would take care of those too...

15/05/2012 02:33
andredrake , Silvie Spam!! Confused perde

03/05/2012 22:00
El-nino.ugu.pl <---- Fanpage Fernando Torres PL / ENG

03/05/2012 21:34
Hi, everybody, it's been a while, since I was here...

01/05/2012 06:13
Bye!hi

28/04/2012 08:35
tomeck there is one in the downloads here check it out

23/04/2012 07:03
This is the theme of the site joga the theme of perde perde

22/04/2012 16:12
Hello, i need facebook login for fusion 7.01.5 can you help me ? Thumb Up!

21/04/2012 11:05
How i can disable the right click option in all pages over the site?

Member Poll
Which version of PHP-Fusion are you using?









You must login to vote.
Advertiser
One-click Translation
Translate This Site

Online Stats
Guests online: 5
Members online:
no members online


registered members: 25040
newest member: Dave92

user today: 3728
user online: 5
Max. onlinerecord: 86
Max. per day: 32490
user yesterday: 4992
user month: 137557
Entire users: 3839440

last 24h:
























In memoriam

Nick Jones
1973-2011
Render time: 3.67 seconds - 89 Queries 17,998,855 unique visits