Topic SEO

Modifications for phpBB3.
Try the Mods here and share Your own Mods
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

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.

Re: Topic SEO

Post by Stoker »

We also have a BUG when copying a topic. We need to fix this.

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'],

Re: Topic SEO

Post by Steve »

okkies,slow down old man not even booted localhost yet :|

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.

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?

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 -->" />

Re: Topic SEO

Post by Avdon »

thanks Steve©

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, 00:44, edited 1 time in total.

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);