1 (edited by User33 2008-12-23 23:59)

Topic: [Release] Sitemap Generator

This extension allows the forum to generate a standard-complying sitemap.

The sitemap is generated automatically as 'sitemap.xml' on the forum root when changes are detected.

Download Link: http://punbb.informer.com/unofficial/pu … itemap.zip

If you find any bugs or have any tips, please post them here.

Updates

  • 1.3: Changed the way the sitemap is created. This should work with all PHP versions.

  • 1.2.4: Removed comments.

  • 1.2.2: Fixed bug.

  • 1.2.1: Minor changes.

  • 1.2: Fixed bug where empty forums wouldn't show.

  • 1.1: Fixed problem with showing only guest-readable topics/forums. Thanks to Anatoly.

  • 1.0: First release.

2

Re: [Release] Sitemap Generator

thanks for both akismet and this sitemap extension

Re: [Release] Sitemap Generator

ganes wrote:

thanks for both akismet and this sitemap extension

No problem smile

Updated to 1.1.

Re: [Release] Sitemap Generator

Garciat wrote:
ganes wrote:

thanks for both akismet and this sitemap extension

No problem
Updated to 1.1.
Garciat - Die hard


Yuo are BIG!!!! thanks
My Extensions and Me

Re: [Release] Sitemap Generator

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /web/htdocs/www.mysite.com/home/extensions/sitemap/functions.php on line 41

6 (edited by User33 2008-11-27 13:58)

Re: [Release] Sitemap Generator

It seems like your PHP does not have the DOM functions.

Try changing Line 103 to:

    $xml = arrayToXML($array, 'urlset', $atts, false);

Let me know if that fixed it.

Re: [Release] Sitemap Generator

Garciat wrote:

It seems like your PHP does not have the DOM functions.
Try changing Line 103 to

    $xml = arrayToXML($array, 'urlset', $atts, true);
Let me know if that fixed it.
Garciat - Die hard

My Extensions and Me


not workin in punbb-italia PHP4 (with mod and withouth), but work in other my host with PHP5 (original release of sitemap)

Re: [Release] Sitemap Generator

Ok the problem is the PHP4 now ihave change the configuration of my host to PHP5 and work correctly.
Thanks

9 (edited by astrojny 2008-11-26 20:43)

Re: [Release] Sitemap Generator

Nice work on this sitemap extension Garciat!  Thank you!

Works great big_smile

Quick question, does it auto update everytime a new post is made or does it need to be rebuilt manually?

10

Re: [Release] Sitemap Generator

astrojny wrote:

Quick question, does it auto update everytime a new post is made or does it need to be rebuilt manually?

It updates automatically after every post creation, post edit, post delete, forum delete, forum edit, and forum permissions change.

11

Re: [Release] Sitemap Generator

Updated to 1.2.

12 (edited by mixcelebs 2008-11-26 23:58)

Re: [Release] Sitemap Generator

hello i have the same prob i am in php5 :

Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/20/d257650213/htdocs/forum.mixcelebs/extensions/sitemap/functions.php on line 41

thank u

13 (edited by User33 2008-11-27 14:02)

Re: [Release] Sitemap Generator

Change Line 129 on 'extensions/sitemap/functions.php' to:

    $xml = arrayToXML($array, 'urlset', $atts, false);

Re: [Release] Sitemap Generator

mixcelebs wrote:

hello i have the same prob i am in php5 :
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/20/d257650213/htdocs/forum.mixcelebs/extensions/sitemap/functions.php on line 41
thank u
Last edited by mixcelebs (Yesterday 22:58:16)


the problem is the php4

Re: [Release] Sitemap Generator

thank u Garciat,

i changed line 192 but i have the same problem,

can u send a link to download functions.php working .

thank u man !!

16 (edited by User33 2008-11-27 14:03)

Re: [Release] Sitemap Generator

I'm sorry, I meant line 129:

    $xml = arrayToXML($array, 'urlset', $atts);

to:

    $xml = arrayToXML($array, 'urlset', $atts, false);

Remember, on 'extensions/sitemap/functions.php'.

Re: [Release] Sitemap Generator

thank you, but i have the same problem, i changed what u said to me but the same problem: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/20/d257650213/htdocs/mixcelebs/extensions/sitemap/functions.php on line 41

Re: [Release] Sitemap Generator

I have a question about this extension, where can you view the sitemap? I installed the extension, but I cannot find the sitemap anywhere.

Re: [Release] Sitemap Generator

how u did to install this extension, for me i have everytime the same problem, i need sitemap for my forum.:(

help us Mr.Garciat

20 (edited by ganes 2008-11-27 14:50)

Re: [Release] Sitemap Generator

jamiet757 wrote:

I have a question about this extension, where can you view the sitemap? I installed the extension, but I cannot find the sitemap anywhere.

you can view it from this address, "yourdomain.com/sitemap.xml"


mixcelebs wrote:

how u did to install this extension, for me i have everytime the same problem, i need sitemap for my forum.:(

help us Mr.Garciat

i believe it has nothing to do with Php4 or Php5, it is just because you install it in local server. IMHO

I use this extension in both php4 and php5

Re: [Release] Sitemap Generator

no i didn't install it in local server, (in normal web)..

22 (edited by ganes 2008-11-27 15:22)

Re: [Release] Sitemap Generator

mixcelebs wrote:

thank you, but i have the same problem, i changed what u said to me but the same problem: Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /homepages/20/d257650213/htdocs/mixcelebs/extensions/sitemap/functions.php on line 41

so, what is that "htdocs" ? Well, I probably am missing something, but "htdocs" usually refer to directory within local server

Re: [Release] Sitemap Generator

ah ok, i install it in my host 1and1.com , so there isn't a sollution.

24

Re: [Release] Sitemap Generator

I didn't say there was no solution. smile let's wait for garciat

25 (edited by User33 2008-11-27 15:59)

Re: [Release] Sitemap Generator

Try using this functions.php.