[ABD] SiteMap Generator

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
xxwhitelinexx
Registered User
Posts: 10
Joined: Tue Jan 06, 2009 8:04 am

Re: [BETA] SiteMap Generator

Post by xxwhitelinexx » Thu Apr 30, 2009 9:33 pm

bravejava wrote:there is an issue

My URL's are rewritten all URLs are static I have installed SEO_MOD you can see at webmasterscrew.com. But I am getting this error when I choose SEOMOD option.

The error is
You Have SEOMOD turned on, But SEO MOD is not installed..
You need to either install SEO MOD, or turn SEOMOD to off in the settings


So in site map URL's are not going to be static there are like this
<loc>http://www.webmasterscrew.com/viewtopic ... 1&t=3</loc>
<lastmod>2009-03-07T17:35:22+05:30</lastmod>
</url>
- <url>
<loc>http://www.webmasterscrew.com/viewtopic ... 8&t=2</loc>
<lastmod>2009-03-07T13:05:23+05:30</lastmod>
please tell me how can I make them static also
Same as you..

I had installed the phpseomod..
But still give me the error messages that I still not installed the phpseomod ??
This the error message :
You Have SEOMOD turned on, But SEO MOD is not installed..
You need to either install SEO MOD, or turn SEOMOD to off in the settings
Also can you add this for your MOD ??
xxwhitelinexx wrote:Okay..
To the topic..
Example :

I reply in topic with this subject : "Re: Support Us"
with this for the post url : http://localhost/viewtopic.php?p=13
I want it change into : http://localhost/re-support-us-p13.html
Remember this is post not topic..

Can someone Help me ??
I'm stuck for editing the SEO MOD >.<


Thanks Very Much..
I'm Newbie Here..

superj707
Registered User
Posts: 1136
Joined: Thu Feb 26, 2009 12:20 am

Re: [BETA] SiteMap Generator

Post by superj707 » Sun May 03, 2009 3:39 am

looks good

samd007
Registered User
Posts: 5
Joined: Sun Jul 27, 2008 5:26 pm

Re: [BETA] SiteMap Generator

Post by samd007 » Tue May 05, 2009 2:25 pm

superj707 wrote:looks good
What looks good? Man......haven't you seen all are complaining about this:
You Have SEOMOD turned on, But SEO MOD is not installed..
You need to either install SEO MOD, or turn SEOMOD to off in the settings

User avatar
Hippie459MN
Registered User
Posts: 918
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: [BETA] SiteMap Generator

Post by Hippie459MN » Tue May 05, 2009 7:08 pm

samd007 wrote:
superj707 wrote:looks good
What looks good? Man......haven't you seen all are complaining about this:
You Have SEOMOD turned on, But SEO MOD is not installed..
You need to either install SEO MOD, or turn SEOMOD to off in the settings
Looks good here too. Works like champ for me with zero problems.

I didnt see where he was saying he had a problem. :?:

turizmi
Registered User
Posts: 6
Joined: Mon Jul 28, 2008 11:23 am

Re: [BETA] SiteMap Generator

Post by turizmi » Tue May 05, 2009 7:51 pm

folks, the author is clear!!! READ THE INSTUCTIONS!

Code: Select all

Go to your boards Administration Control Panel -> System -> Module Management -> Administration Control Panel -> System -> General Tasks

Select "SiteMap Generator" from the drop down menu 
Click "Add Module".
Follow the on screen instructions, then click "enable".
In the System Tab under the General Task's Menu SiteMap Generator Will appear

create a sitemap directory
ie http://FORUMURL/sitemaps/
then
CHMOD that dir to 777

SETTINGS
edit sitemap settings adding the directory for your sitemaps chosen earlier
(do not include trailing slash) to MAPDIR

BOTUSER is the userid of which the sitemap will base it's permissions. 
Allows customiazation of what the forums the sitemaps generates from by user.

Add www.yourdomain.com/forumpath/SITEMAPDIR/sitemap_index.xml
to Google sitemaps
First create the folder where the sitemaps will be created, than chmod it to 777 and than write it to the MAPDIR field, ex: create it with "sitemaps" name, and enter "sitemaps" into that fiels on the control panel.
Than, find the user id under which the Sitemap generator will have access to the db queries to generate the files, ex: find your admin username, and it's id number: 2. Enter than "2" into the BOTUSER field.

Submit it than, and after done this, click the "Run now" to generate the maps. Everything will work :).

Cheers to everyone and remember to READ the INSTRUCTIONS!

Jane Doe
Registered User
Posts: 145
Joined: Thu Aug 11, 2005 12:35 pm

Re: [BETA] SiteMap Generator

Post by Jane Doe » Tue May 05, 2009 10:19 pm

turizmi wrote: Everything will work :).
Nope ;)
or is the problem here
http://www.phpbb.com/community/viewtopi ... 5#p9015455
fixed?

xxwhitelinexx
Registered User
Posts: 10
Joined: Tue Jan 06, 2009 8:04 am

Re: [BETA] SiteMap Generator

Post by xxwhitelinexx » Sun May 10, 2009 6:12 pm

I tried modify the code myself..
And now it works..

But the problem is..
The url that generated is different with my seo settings..
My SEO give this url : localhost/my-own-forum/test-topic-t1.html
But the generated sitemap is : localhost/test-topic-t1.html
Also the post url that sitemap generated very messed up

samd007
Registered User
Posts: 5
Joined: Sun Jul 27, 2008 5:26 pm

Re: [BETA] SiteMap Generator

Post by samd007 » Thu May 14, 2009 9:36 am

Hippie459MN wrote:
samd007 wrote:
superj707 wrote:looks good
What looks good? Man......haven't you seen all are complaining about this:
You Have SEOMOD turned on, But SEO MOD is not installed..
You need to either install SEO MOD, or turn SEOMOD to off in the settings
Looks good here too. Works like champ for me with zero problems.

I didnt see where he was saying he had a problem. :?:
Keep the SEOMOD ticked, submit & the try "Run Now" -- You'd see the error saying SEOMOD not installed. However, I certainly have SEOMOD Installed.

x16
Registered User
Posts: 18
Joined: Mon Jun 26, 2006 9:36 pm

Re: [BETA] SiteMap Generator

Post by x16 » Thu May 14, 2009 12:42 pm

There is a Mistake in the "language\german\mods\info_acp_sitemap_generator.php"

At the top of the file: "<?php" is missing!!!

User avatar
Luckyluciano
Registered User
Posts: 93
Joined: Tue Feb 05, 2008 11:09 pm
Location: Italy
Name: Luciano
Contact:

Re: [BETA] SiteMap Generator

Post by Luckyluciano » Sat May 16, 2009 7:01 pm

I translated the mod in Italian, ask the author to add my language translation in the location / it / mods to the translation of this info_acp_sitemap_generator.php

Code: Select all

<?php
/**
*
* mcp [Italian]
*
* @package language
* @version $Id: info_acp_sitemap_generator.php 2007-11-26 Joshua2100 $
* @copyright (c) 2005 phpBB Group
* @copyright (c)  2009 luckylab.eu - translated on 2009/05/15
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine

$lang = array_merge($lang, array(
	'ACP_SITEMAP_GENERATOR'	=> 'Generatore SiteMap',
	'SITEMAP_GEN_DETAILS'	=> 'Genera un XML sitemap per il tuo forum',
	
	'SM_SETTINGS'			=> 'Configurazione Sitemap',
	'GENERATE'				=> 'Genera Sitemap',
	
	'RUN_NOW'				=> 'XML Generatore Sitemap',
	'RUN_DESC'				=> 'Esegui il generatore di sitemap e crea il tuo XML SiteMap',
	'PINGORNOT'				=> 'Google Server Ping',
	'PINGORNOT_DESC'		=> 'Ping a Google Server dopo la creazione della Sitemap',
	'SEO_MOD'				=> 'SEOMOD',
	'SEOMOD_DESC'			=> 'Se attivi lo stile URLs SEOMOD non sar&agrave usato in Sitemaps',
	'NOTE'					=> 'Nota',
	'THE_NOTE'				=> 'Per usare Google Sitemaps, devi prima essere registrato su www.google.com/webmasters/sitemaps/',
	'MAP_RETURN'			=> 'Torna all\'indice del generatore di SiteMap',
	
	'PING_SUCCESS'			=> '% &egrave stato informato dei tuoi aggiornamenti',
	'PING_FAIL'				=> 'Errore: Il ping al server &egrave fallito',
	
	'GENERATE_COMPLETE'		=> 'Le Sitemaps sono state correttamente generate.',
	'GENERATE_NOTSUCCESS'	=> 'Errore: &egrave stato riscontrato un\'errore durante la creazione della Sitemap',
		
	'GENERATE_COMPLETE'		=> 'Creazione sitemap completata.',	
	'MAP_CREATE_FAIL'		=> 'Creazione sitemap fallita',
	'MAP_WRITE_FAIL'		=> 'Scrittura della sitemap fallita',
	'MAP_GOOGLE_PING'		=> 'Ping Google Fallito.',
	'PING_ERROR'			=> ' Riscontrati errori',
	
	'SM_STATS'				=> 'Statistiche SiteMap',
	'SM_TOPIC_LINK'			=> 'Numero di links argomenti',
	'SM_FORUM_LINK'			=> 'Numero di links forum',
	'SM_VERSION'			=> 'Versione SiteMap Generator',
	'SM_TOPIC_SIZE'			=> 'Dimensione mappa argomenti',
	'SM_FORUM_SIZE'			=> 'Dimensione mappa forum',

	'MAPZIP'				=> 'Gzip Sitemaps',
	'BOTUSER'				=> 'Bot utente',
	'MAPDIR'				=> 'Directory sitemap',
	'SHOWSTAT'				=> 'Mostra statistiche Sitemap',
	
	'SEO_NOT_INT'			=> 'Se hai SEOMOD attivato, ma non istallato..<br />Devi installare necessariamente SEOMOD, oppure disattivarlo',
));

?>
I added two definitions because the language files are missing from the English I downloaded yesterday, these two definitions are added:

Code: Select all

	'BOTUSER'				=> 'Bot utente',
	'MAPDIR'				=> 'Directory sitemap',
Official support Italian to Portal XL

2by2host
Registered User
Posts: 33
Joined: Fri Oct 19, 2007 7:50 pm
Contact:

Re: [BETA] SiteMap Generator

Post by 2by2host » Tue May 19, 2009 7:17 pm

princexxx wrote:I cannot access the sitemap Module in my acp and givving these error-

Code: Select all

[phpBB Debug] PHP Notice: in file /adm/index.php on line 291: Undefined index: sitemap_ping
[phpBB Debug] PHP Notice: in file /adm/index.php on line 292: Undefined index: sitemap_ping
[phpBB Debug] PHP Notice: in file /adm/index.php on line 291: Undefined index: sitemap_seo_mod
[phpBB Debug] PHP Notice: in file /adm/index.php on line 292: Undefined index: sitemap_seo_mod
[phpBB Debug] PHP Notice: in file /adm/index.php on line 291: Undefined index: sitemap_gzip
[phpBB Debug] PHP Notice: in file /adm/index.php on line 292: Undefined index: sitemap_gzip
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: sitemap_bot_user
[phpBB Debug] PHP Notice: in file /adm/index.php on line 273: Undefined index: sitemap_dir
[phpBB Debug] PHP Notice: in file /adm/index.php on line 150: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 152: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 153: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
[phpBB Debug] PHP Notice: in file /adm/index.php on line 154: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3184)
Any one help me! I m using phpbb 3.0.4
This happens b/c some of variables are not defined. The quick fix is:

Open: /includes/acp/acp_sitemap_generator.php
Find: global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
After, add: error_reporting(0);

That's it ;)

User avatar
toxi
Registered User
Posts: 11
Joined: Sun Apr 13, 2008 10:44 am
Location: Ukraine
Name: Roman Pavlovsky
Contact:

Re: [BETA] SiteMap Generator

Post by toxi » Wed May 20, 2009 5:24 pm

Joshua2100 wrote:MOD Title: SiteMap Generator

MOD Download: Linky
The reference does not work

UPD: Already works :)
Last edited by toxi on Thu May 21, 2009 4:41 pm, edited 1 time in total.
phpbb v3.0.11 worker and phpbb v3.1.x test

User avatar
elsinor
Registered User
Posts: 24
Joined: Sun Apr 20, 2008 4:06 pm
Location: RU, Ekaterinburg
Contact:

Re: [BETA] SiteMap Generator

Post by elsinor » Thu May 21, 2009 2:22 pm

Is phpbb-seo.com SEO Mod rewrite Advanced supported ?
I'm from Russia and it's all about my English :)
My phpBB3 forum

2by2host
Registered User
Posts: 33
Joined: Fri Oct 19, 2007 7:50 pm
Contact:

Re: [BETA] SiteMap Generator

Post by 2by2host » Thu May 21, 2009 6:42 pm

elsinor wrote:Is phpbb-seo.com SEO Mod rewrite Advanced supported ?
Yes, but we found a problem here - the forum URLs are not full in the resulting XML:

Code: Select all

<loc>http://xxxxxxx.com/-f67.html</loc>
The quick fix is:

Open: /includes/sitemap_functions.php
Find: function generate_sitemap()
Replace with: function generate_sitemap($seomod)

Open: /includes/acp/acp_sitemap_generator.php
Find: generate_sitemap();
Replace with: generate_sitemap($seomod);

Now it works better ;)

User avatar
elsinor
Registered User
Posts: 24
Joined: Sun Apr 20, 2008 4:06 pm
Location: RU, Ekaterinburg
Contact:

Re: [BETA] SiteMap Generator

Post by elsinor » Thu May 21, 2009 7:15 pm

Thanks, will try
I'm from Russia and it's all about my English :)
My phpBB3 forum

Locked

Return to “[3.0.x] Abandoned MODs”