XML Sitemaps

Register an Account
Reply
 
Thread Tools Display Modes
  #11 (permalink)  
Old 01-18-2008, 09:46 PM
New Pligger
Pligg Version: 9.9 beta
Pligg Template: default (but modified)
 
Join Date: Jan 2008
Posts: 8
I got it working in 9.9.0 beta:

http://beta.excellentonline.com/sitemapindex.xml
http://beta.excellentonline.com/sitemap-1.xml

and it validates... The things I had to change:

comment out the call to "clear_cache();" in xml_sitemaps_install.php

then in "xml_sitemaps_main.php" there are two places where it uses "XmlSitemaps_Links_per_sitemap". Apparently it's trying to use a config var for how many stories to map. The problem is that the variable isn't defined. Maybe it used to be for earlier versions of Pligg.

A workaround I did was to just hardcode the number of stories:

# create_sitemap($_GET['i'],XmlSitemaps_Links_per_sitemap);
create_sitemap($_GET['i'],500);

the first line is the original that I commented out and then I just replaced it with 500 (the second line). That fixed the problem. I just started using Pligg so I don't know much about module development. I'm going to read up on it and find out how to pull variables out of the admin system and reference them in the code.

But once you make those changes, and enable the module, you should be good to go.
Reply With Quote
  #12 (permalink)  
Old 01-19-2008, 03:19 AM
xiesi's Avatar
Constant Pligger
Pligg Version: 9.95
Pligg Template: yget + diy
 
Join Date: Jun 2007
Posts: 223
Send a message via MSN to xiesi
please share.THX
Reply With Quote
  #13 (permalink)  
Old 01-19-2008, 07:00 AM
New Pligger
 
Join Date: Sep 2007
Posts: 4
thx for share mate
Reply With Quote
  #14 (permalink)  
Old 02-02-2008, 11:55 AM
Casual Pligger
Pligg Version: 9.5
Pligg Template: yget modified
 
Join Date: Apr 2007
Posts: 43
Anyone know this error?
Quote:
Warning: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'select link_modified from pligg_links where link_status!='disca in /homepages/28/d123456/htdocs/homepages/domain/libs/db.php on line 207
http://patchlog.com/web/xml-sitemaps-for-pligg/ is not available at the moment
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Xml sitemaps new version mihai Free Modules 64 11-08-2011 04:00 PM
Xml Sitemaps Pligg module not working conflictuniverse Questions and Comments 10 08-14-2010 01:52 AM
SEO hacks and XML Sitemaps (and RSS feeds) rethomas07 Questions and Comments 8 08-17-2009 05:10 AM
Questions about robots.txt and sitemaps juanmartinbravo Questions and Comments 5 01-10-2008 08:03 AM
Building effective Google Sitemaps for Pligg Sites aaronpais Questions and Comments 0 05-02-2007 06:41 PM


Pligg Modules and Pligg Templates from Pligg Pro Find support on the Pligg CMS Forum - 24 hours a day! Make a donation to support Pligg CMS development