phpbb3 Title SEO

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
Locked
yakusha
Registered User
Posts: 71
Joined: Mon Apr 03, 2006 8:30 pm

phpbb3 Title SEO

Post by yakusha »

MOD Title: phpbb3 Title SEO
MOD Description: this mod change board title's more seo friendy
MOD Version: Beta: 1.0.0

MOD Download: files in topic

developed on: http://www.phpbbturkiye.net/viewtopic.php?f=17&t=176

Code: Select all

##############################################################
## MOD Title: phpbb3 title seo
## MOD Author: angelside < n/a > (Sevdin Filiz) http://www.phpbbturkiye.net
## MOD Author: yakusha < n/a > (Sevdin Filiz) http://www.phpbbturkiye.net
## MOD Description: this mod change board title's more seo friendy
## MOD Version: Beta: 1.0.0
##
## Installation Level: Easy
## Installation Time: 5 minutes
## Files To Edit: index.php
## viewforum.php
## viewtopic.php
## styles/subSilver/template/overall_header.html
## Included Files:
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
##
## if you want, use page_header($config['site_desc']); to index.php replacement
##
##############################################################
## MOD History:
##
## 2007-02-21 - Version 1.0.0
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#

index.php

#
#-----[ FIND ]------------------------------------------
#

page_header($user->lang['INDEX']);

#
#-----[ REPLACE WITH ]------------------------------------------
#

page_header($config['sitename']);

#
#-----[ OPEN ]------------------------------------------
#

viewforum.php

#
#-----[ FIND ]------------------------------------------
#

page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name']);

#
#-----[ REPLACE WITH ]------------------------------------------
#

page_header($forum_data['forum_name']);

#
#-----[ OPEN ]------------------------------------------
#

viewtopic.php

#
#-----[ FIND ]------------------------------------------
#

page_header($user->lang['VIEW_TOPIC'] .' - ' . $topic_data['topic_title']);

#
#-----[ REPLACE WITH ]------------------------------------------
#

page_header($topic_data['topic_title']);

#
#-----[ OPEN ]------------------------------------------
#

styles/subSilver/template/overall_header.html

#
#-----[ FIND ]------------------------------------------
#

<title>{SITENAME} &bull; {PAGE_TITLE}</title>

#
#-----[ REPLACE WITH ]------------------------------------------
#

<title>{PAGE_TITLE}</title>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
Last edited by yakusha on Wed May 23, 2007 11:39 pm, edited 2 times in total.
antonio_424
Registered User
Posts: 129
Joined: Tue Feb 28, 2006 4:15 am

Re: [beta] - phpbb3 title seo

Post by antonio_424 »

Would this need .htaccess to be able to run? (I'm asking this because almost all the damn mods that are for SEO need it, so yeah :P)
yakusha
Registered User
Posts: 71
Joined: Mon Apr 03, 2006 8:30 pm

Re: [beta] - phpbb3 title seo

Post by yakusha »

no, but seo actions designing two part...

a part: optimal desing
a part: seo frendly url

this for optimal design
User avatar
ac_roma
Registered User
Posts: 318
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [beta] - phpbb3 title seo

Post by ac_roma »

great :)
User avatar
IPB_Refugee
Registered User
Posts: 1290
Joined: Fri Jul 07, 2006 2:25 pm
Location: Austria
Name: Wolfgang Weber

Re: [beta] - phpbb3 title seo

Post by IPB_Refugee »

Thank you, yakusha!

As you are interested in SEO I advise you to delete the hidden text which is produced by phpBB3 per default at least in viewforum_body.html and viewtopic_body.html (look for display:none).

Regards
Wolfgang
User avatar
ac_roma
Registered User
Posts: 318
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [beta] - phpbb3 title seo

Post by ac_roma »

do u have any mod to add no follow to links in the topics
yakusha
Registered User
Posts: 71
Joined: Mon Apr 03, 2006 8:30 pm

Re: [beta] - phpbb3 title seo

Post by yakusha »

this for only title :)

if you are searching

Code: Select all


open

styles/yourtema/templates/bbcode.html

find

<!-- BEGIN url --><a href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->

replace

<!-- BEGIN url --><a rel="nofollow" href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->

save and close
its very easy :)
User avatar
ac_roma
Registered User
Posts: 318
Joined: Thu Mar 08, 2007 2:48 pm
Location: egypt,alexandria
Contact:

Re: [beta] - phpbb3 title seo

Post by ac_roma »

yakusha wrote:this for only title :)

if you are searching

Code: Select all


open

styles/yourtema/templates/bbcode.html

find

<!-- BEGIN url --><a href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->

replace

<!-- BEGIN url --><a rel="nofollow" href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->

save and close
its very easy :)
nice :)

thank you ;)
User avatar
3Di
Former Team Member
Posts: 16096
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Name: Marco
Contact:

Re: [beta] - phpbb3 title seo

Post by 3Di »

Hello,

We see that you've posted your MOD's contents in your topic starter. Please instead offer your MOD as a textfile download (uploading your MOD's install textfile to a server and giving a direct link, with no registration restrictions), rather than posting the MOD's contents in your post, as you have done.

Please edit your topic starter as outlined in MOD Development forum rules section 3.f.5. This will allow people to see what your MOD is about at a glance.

Thank you for your cooperation,
The phpBB MOD Team
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
angelside
Registered User
Posts: 105
Joined: Sat Jan 27, 2007 11:32 am
Location: Türkiye
Contact:

Re: phpbb3 Title SEO

Post by angelside »

at mod first post is old (1.0.0v). Newest and tested RC1:

1.0.1b

Code: Select all

##############################################################
## MOD Title: phpbb3 title seo
## MOD Author: angelside < n/a > (Sevdin Filiz) http://www.phpbbturkiye.net
## MOD Description: this mod change board title's more seo friendy 
## MOD Version: 1.0.1b
## 
## Installation Level: Easy
## Installation Time: 5 minutes
## Files To Edit: index.php
## viewforum.php
## viewtopic.php
## styles/subSilver/template/overall_header.html
## Included Files: 
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes: 
## 
## if you want, use page_header($config['site_desc']); to index.php replacement
## 
##############################################################
## MOD History:
## 
## 2007-02-21 - Version 1.0.0
## 
## 2007-04-17 - Version 1.0.1 
##    change header title for index.php 
## 
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD 
##############################################################
#
#-----[ OPEN ]------------------------------------------
#

index.php

#
#-----[ FIND ]------------------------------------------
#

page_header($user->lang['INDEX']);

#
#-----[ REPLACE WITH ]------------------------------------------
#

page_header($config['sitename']);

#
#-----[ OPEN ]------------------------------------------
#

viewforum.php

#
#-----[ FIND ]------------------------------------------
#

page_header($user->lang['VIEW_FORUM'] . ' - ' . $forum_data['forum_name']);

#
#-----[ REPLACE WITH ]------------------------------------------
#

page_header($forum_data['forum_name']);

#
#-----[ OPEN ]------------------------------------------
#

viewtopic.php

#
#-----[ FIND ]------------------------------------------
#

page_header($user->lang['VIEW_TOPIC'] .' - ' . $topic_data['topic_title']);

#
#-----[ REPLACE WITH ]------------------------------------------
#

page_header($topic_data['topic_title']);

#
#-----[ OPEN ]------------------------------------------
#

styles/subSilver/template/overall_header.html 

#
#-----[ FIND ]------------------------------------------
#

<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>


#
#-----[ REPLACE WITH ]------------------------------------------
#

<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->
<!-- IF basename($_SERVER['SCRIPT_NAME']) != 'index.php' -->
{PAGE_TITLE}
<!-- ENDIF -->
<!-- IF basename($_SERVER['SCRIPT_NAME']) == 'index.php' -->
 {SITE_DESCRIPTION}
<!-- ENDIF -->
</title>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
phpBB Türkiye | Turkish phpBB3 support and develop
phpBB3 Portal | simple portal for phpBB3 Olympus
moustafamin
Registered User
Posts: 230
Joined: Thu Aug 30, 2007 8:10 am

Re: phpbb3 Title SEO

Post by moustafamin »

this mod was great...

any progress here???

hope it's not abandond
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 27130
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: phpbb3 Title SEO

Post by Paul »

Hello,

Please edit your topic title with a prefix as outlined in Modifications Development Forum Rules, section 3.a. This will allow people to see the development status of your modification at a glance.

Thank you,
The phpBB Modifications Team
User avatar
Agnostik
Registered User
Posts: 145
Joined: Sat Oct 12, 2002 2:07 pm
Contact:

Re: phpbb3 Title SEO

Post by Agnostik »

Thanks!
User avatar
Techit
Registered User
Posts: 174
Joined: Sun Jun 08, 2003 7:54 pm
Location: Durham - England
Contact:

Re: phpbb3 Title SEO

Post by Techit »

What mod have you added to get the first few lines of the post into the description tag?
Name: James Simpson
Websites: Swift Owners :: James Simpson
User avatar
A_Jelly_Doughnut
Former Team Member
Posts: 34457
Joined: Sat Jan 18, 2003 1:26 am
Location: Where the Rivers Run
Contact:

Re: phpbb3 Title SEO

Post by A_Jelly_Doughnut »

MOD author hasn't visited in more than 6 months, so it looks like this MOD is abandoned.
A Donut's Blog
"Bach's Prelude (Cello Suite No. 1) is driving Indiana country roads in Autumn" - Ann Kish
Locked

Return to “[3.0.x] MODs in Development”