Topic SEO

Modifications for phpBB3. Try the Mods here and share Your own Mods
There is no support here! Only Read Access!
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Topic SEO

Post by Stoker »

cisco007 » 24 Jun 2010, 16:20 wrote:glad you found a solution, like I stated previously i don't have a big enough board to have really been able to split a topic.

[offtopic]I really miss the report topic2post thing you had here[/offtopic]
Well, all you need is a topic with 2 posts :lol:
Steve© wrote:Will take a look at this bug stoker over the next week or so :thumb:
No problem, above fix works for me here on this board. So I am in no hurry.
Board rules! No PM support
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Topic SEO

Post by Stoker »

We also have a BUG when copying a topic. We need to fix this.
Board rules! No PM support
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Topic SEO

Post by Stoker »

Fix for the copy bug (it will probably fix some unknown bugs too)

Open includes/mcp/mcp_main.php
Find:

Code: Select all

'topic_title'			=>	(string) $row['topic_title'],
add after:

Code: Select all

'seo_desc'				=>  (string) $row['seo_desc'],
					'seo_key'				=>  (string) $row['seo_key'],
Find:

Code: Select all

'topic_title'				=> (string) $topic_row['topic_title'],
add after:

Code: Select all

'seo_desc'					=> (string) $topic_row['seo_desc'],
				'seo_key'					=> (string) $topic_row['seo_key'],
Board rules! No PM support
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 847
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Topic SEO

Post by Steve »

okkies,slow down old man not even booted localhost yet :|
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: Topic SEO

Post by Stoker »

You have your graphic board where you can test ;)

Anyway, the fixes are for everybody to use. You can add them when ever you have time.
Board rules! No PM support
Avdon
BBCoder II
BBCoder II
Posts: 18
Joined: 05 Mar 2010, 10:28

Re: Topic SEO

Post by Avdon »

Steve© » 01 May 2010, 21:44 wrote:only if you have added the Add_meta in the overall_header.html for Forum SEO
if so use this in the overall_header.html

Code: Select all

<meta name="keywords" content="<!-- IF SCRIPT_NAME == "viewforum" -->{FORUM_SEO_KEY}<!-- ELSE -->{TOPIC_SEO_KEY}<!-- ENDIF -->" />
<meta name="description" content="<!-- IF SCRIPT_NAME == "viewforum" -->{FORUM_SEO_DESC}<!-- ELSE -->{TOPIC_SEO_DESC}<!-- ENDIF -->" />
And what if I want to use Topic SEO & Forum SEO & Index SEO, with meta tags?
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 847
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Topic SEO

Post by Steve »

FAQ,s

But i also use Forum SEO & Index SEO
Ok we are going to have a problem, you will have to force the install if using automod.
[hsimg]download/file.php?id=424&mode=view/force.png[/hsimg]
Now double check that you have this in both prosilver and subsilver2,s overall_header.html

Code: Select all

<meta name="keywords" content="<!-- IF SEO_KEY -->{SEO_KEY}<!-- ENDIF -->" />
<meta name="description" content="<!-- IF SEO_DESC -->{SEO_DESC}<!-- ENDIF -->" />
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
Avdon
BBCoder II
BBCoder II
Posts: 18
Joined: 05 Mar 2010, 10:28

Re: Topic SEO

Post by Avdon »

thanks Steve©
Ælly
BBCoder II
BBCoder II
Posts: 40
Joined: 15 Mar 2010, 03:08

Re: Topic SEO

Post by Ælly »

Fatal error: Call to a member function on a non-object in /membri/provephpbb/install_topic_seo.php on line 19

Do you have to force the SEO installed by any chance?
Last edited by Ælly on 19 Aug 2010, 02:44, edited 1 time in total.
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 847
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Topic SEO

Post by Steve »

Are you logged in as admin and do you have founder rights ? because line 19 is start user session begin line 20 sets the auth and you have to be admin to access the install screen here.
line 19 - 20 :

Code: Select all

line 19: $user->session_begin();
line 20: $auth->acl($user->data);
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
Locked