[MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Misc MOD Downloads for phpBB3 -- Any MOD that does not fit into any other category
Forum rules
Image Please feel free to download any MOD's here, support for each MOD is located it's own thread.

To post your own MOD, please first read the MOD Guidelines

How would you rate this mod?

Excellent!
46
65%
Very good
10
14%
Good
7
10%
Fair
2
3%
Poor
6
8%
 
Total votes : 71

Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby fantasticboy301 » 26 Nov 2008, 23:10

there needs to be a comma after "phpbb_posts p"


Handy man, Can you tell me how to fix it. How can i add a comma?
Give me instruction. Thanks :amen:
fantasticboy301    
Crewman
Crewman
 
Posts: 2
Joined: 13 Nov 2008, 04:19
Gender: Male
phpBB Knowledge: 3


Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby topdown » 27 Nov 2008, 00:12

Try this,
OPEN includes/functions_seo.php should be about line 158

FIND
Code: Select all
            FROM ' . POSTS_TABLE . ' p


REPLACE WITH
Code: Select all
            FROM ' . POSTS_TABLE . ' p,
Do not PM me for Support unless I give permission in a post......PM's only help one, posts help everyone !
User avatar
topdown    
STG Styles Leader
STG Styles Leader
 
Posts: 3021
Joined: 01 Oct 2007, 22:56
Location: Handyman's harddrive
Favorite Team: STG Teams
Gender: Male
phpBB Knowledge: 9

Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby cyba » 01 Dec 2008, 06:24

I have an issue with the latest phpbb update.

On all styles i have this issue.

The pageheader Link in topics and thread view is broken with a '-' at the end of the URL.
Also, the "Mark Forums Read" is broken in the latest version, it shows confirmation screen but nothing happens.
My cookie configs are correct and i've tried a few fixes... what can you tell me?
cyba
Crewman
Crewman
 
Posts: 2
Joined: 01 Dec 2008, 05:59
Gender: Male

Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby cyba » 01 Dec 2008, 07:40

Discovered the issues and made these fixes.

Don't fully understand why it decides to add an extra '-' at the end of the link, but hey, heres how to get rid of it.
Open includes/functions_seo.php

Find:
Code: Select all
return $url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id);

Replace With:
Code: Select all
return trim($url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id), '-');


A hash has been added (for security) when marking topics read, here is a fix for the "mark topics read bug":

Open viewforum.php:

Find:
Code: Select all
'U_MARK_TOPICS'      => ($user->data['is_registered'] || $config['load_anon_lastread']) ? format_url($forum_name, "f$forum_id", 0, 'mark=topics') : '',

Replace With:
Code: Select all
'U_MARK_TOPICS'      => ($user->data['is_registered'] || $config['load_anon_lastread']) ? format_url($forum_name, "f$forum_id", 0, 'mark=topics&hash=' . generate_link_hash('global')) : '',


Problem solved!
The official developers of the mod may not be happy with these fixes, so please check back to see what they say.
cyba
Crewman
Crewman
 
Posts: 2
Joined: 01 Dec 2008, 05:59
Gender: Male

Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby idontwantausername » 10 Dec 2008, 17:12

just a quick bug report

on the view topic page, if you click a page number, (bottom right corner in the topic name field), it will take you to the SEO URL, but instead of having .html on the end it has .php
idontwantausername
Cadet I
Cadet I
 
Posts: 11
Joined: 15 Nov 2008, 09:53
Gender: Male

Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby lks45 » 06 Jan 2009, 12:18

[b]BUG REPORT[/b]

http://img300.imageshack.us/img300/2860 ... ortlf6.jpg

:write: :write: :write:

What is the solution to have all links in dot html (not php!!)
lks45
Crewman
Crewman
 
Posts: 1
Joined: 06 Jan 2009, 12:10
Gender: Male
phpBB Knowledge: 6

Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby phreakwars » 09 Jan 2009, 06:20

cyba wrote:Discovered the issues and made these fixes.

Don't fully understand why it decides to add an extra '-' at the end of the link, but hey, heres how to get rid of it.
Open includes/functions_seo.php

Find:
Code: Select all
return $url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id);

Replace With:
Code: Select all
return trim($url . (($append_url) ? $url_delim . $append_url . $amp_delim : $url_delim) . $params . ((!$session_id) ? '' : $amp_delim . 'sid=' . $session_id), '-');


A hash has been added (for security) when marking topics read, here is a fix for the "mark topics read bug":

Open viewforum.php:

Find:
Code: Select all
'U_MARK_TOPICS'      => ($user->data['is_registered'] || $config['load_anon_lastread']) ? format_url($forum_name, "f$forum_id", 0, 'mark=topics') : '',

Replace With:
Code: Select all
'U_MARK_TOPICS'      => ($user->data['is_registered'] || $config['load_anon_lastread']) ? format_url($forum_name, "f$forum_id", 0, 'mark=topics&hash=' . generate_link_hash('global')) : '',


Problem solved!
The official developers of the mod may not be happy with these fixes, so please check back to see what they say.

I was running into the same 2 problems and that fixed it, but I did notice another bug when I click the "MARK FORUMS READ" link still.
Image
MODS by me: Default Topic Icon
User avatar
phreakwars    
Cadet I
Cadet I
 
Posts: 12
Joined: 02 Dec 2008, 01:37
Location: The Suckage
Favorite Team: Nebraska Cornhuskers
Gender: Male
phpBB Knowledge: 6

Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby phreakwars » 15 Jan 2009, 12:36

One more glitch I notice is when you go to bump a topic, I get the following
Image
Followed by a 404 not found page.

Otherwise, I love this MOD.

Edit: I feel kinda dumb here, I just checked this MOD topic on PhPBB's website and found answers I was looking for. Keep up the good work :thumbsup:
.
.
Image
MODS by me: Default Topic Icon
User avatar
phreakwars    
Cadet I
Cadet I
 
Posts: 12
Joined: 02 Dec 2008, 01:37
Location: The Suckage
Favorite Team: Nebraska Cornhuskers
Gender: Male
phpBB Knowledge: 6

Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby rosdi » 21 Jan 2009, 08:25

Hi all,

1. In my forum: http://www.bettasocietymalaysia.com.my, the footer still displaying not in center:

[
SEO MOD © 2007 StarTrekGuide ]


How to overcome it.

2. If we click/view the topic from:
- View unanswered posts: http://www.bettasocietymalaysia.com.my/ ... unanswered
- View active topics: http://www.bettasocietymalaysia.com.my/ ... ive_topics
- View new posts: http://www.bettasocietymalaysia.com.my/ ... d=newposts
- View your posts: http://www.bettasocietymalaysia.com.my/ ... =egosearch

It will display in php, not html. Is it normal?

Thanks.
rosdi    
Crewman
Crewman
 
Posts: 4
Joined: 08 Jan 2009, 07:01
Gender: Male
phpBB Knowledge: 3

Re: [MOD] Search Engine Friendly (SEO) URLs 1.0.0 RC4

Postby rosdi » 21 Jan 2009, 08:48

Sorry Sir,

Another thing is about the topic reply email notification. Will it give to html address when somebody reply in the topic after the mod been taken place?

Clicking the php address will give 404 error.

This is an example of the address link in the email: http://www.bettasocietymalaysia.com.my/ ... 01&e=36301

When you click it, it become: http://www.bettasocietymalaysia.com.my/ ... 301#p36301 - giving 404 error.

Where it should be: http://www.bettasocietymalaysia.com.my/ ... tml#p36301 for working address.

Thanks.
rosdi    
Crewman
Crewman
 
Posts: 4
Joined: 08 Jan 2009, 07:01
Gender: Male
phpBB Knowledge: 3

PreviousNext

Return to Miscellaneous MODs, Hacks and Downloads

Who is online

Users browsing this forum: JikeSpider and 11 guests