View Full Version : [RELEASE] Sitemap Plugin
CleanDesignDk
04-17-2011, 06:51 AM
Dear Subdreamer community!
In 2009 and 2010 i was one of the persons who did write in a negative way about the Subdreamer CMS and the founder of same, which put me in a bad light, both with Ziad and the rest of the community, so i changed all my websites to Wordpress, to leave Subdreamer forever, because the system as i have used, version 2.6 and version 2.5.3.3 did not meet my needs for a simple allways updated cms anymore.
The reason for this was the lack of updates from Subdreamer LLC, both informative but also code updates for my versions of the CMS, becase the company was looking at a complete recode of the CMS, version 3.0.
So, left out in the cold, i changed to Wordpress, which i did find too hard to use code wise, it was hard to code plugins, skins and even small code changes for a guy who used to work with Subdreamer CMS, and even more hard to sell a system to my clients that they did know was free.
So, now we are in the year of 2011, we have seen some powerfull releases of the CMS, we have seen a company takeover due to lack of interrest, we have seen the community go down, and even grow.
In a matter of fact, i have seen multiple companies start their business on this powerfull cms.
So, where are we now ?
The cms is good, the community is growing, both old and new customers are adding accounts on the forums to help others designing and developing their websites, in my head, we are back on track with Subdreamer.
And because of this!, i have decided to go back to Subdreamer CMS, starting by the release of my first! plugin for Subdreamer CMS version 3.x:
The Sitemap Plugin.
Download here: http://ulrichottosen.dk/sitemap.rar
My next plugin will be released next week!
walkingdead
04-17-2011, 09:19 AM
just tried installing it on the latest wersion of SD and got the error below
Invalid SQL: INSERT INTO sd_pluginsettings (`settingid`, `pluginid`, `groupname`, `title`, `description`, `input`, `value`, `displayorder`) VALUES
(162, 5000, 'sitemap_settings', 'sitemap_use_ul_or_ol', 'Should we use < OL >< /OL > lists to show the sitemap, and not < UL >< /UL> lists ?.', 'yesno', '0', 3)
MySQL Error Description: Duplicate entry '162' for key 1
MySQL Error Number: 1062
Date: Sunday 17th of April 2011 09:14:54 AM
File: http://www.website.com/admin/plugins.php
CleanDesignDk
04-17-2011, 03:33 PM
just tried installing it on the latest wersion of SD and got the error below
Invalid SQL: INSERT INTO sd_pluginsettings (`settingid`, `pluginid`, `groupname`, `title`, `description`, `input`, `value`, `displayorder`) VALUES
(162, 5000, 'sitemap_settings', 'sitemap_use_ul_or_ol', 'Should we use < OL >< /OL > lists to show the sitemap, and not < UL >< /UL> lists ?.', 'yesno', '0', 3)
MySQL Error Description: Duplicate entry '162' for key 1
MySQL Error Number: 1062
Date: Sunday 17th of April 2011 09:14:54 AM
File: http://www.website.com/admin/plugins.php
Hmm thats an strange error, because none of the install sql queries have hardcoded any ids to the database.. but try to uninstall it and install it again and don't press two times on the bottons :)
walkingdead
04-17-2011, 04:04 PM
no that did not work i am still getting the same error
Tobias
04-17-2011, 04:16 PM
Hmm thats an strange error, because none of the install sql queries have hardcoded any ids to the database.. but try to uninstall it and install it again and don't press two times on the bottons :)
Well, unfortunately, exactly that one setting does have 162 hardcoded in the installer.
Brent
04-17-2011, 04:57 PM
Hi there,
We are glad to hear you have returned to using Subdreamer CMS.
I believe a lot of customers scrambled in 2009/2010 with the slow development etc., and rightfully so.. I was stuck as well.. especially with the lack of forum integration in SD3.
However, as you have noticed, a lot has changed since last year and I'm glad those changes are evident... I hope anyone that used to use Subdreamer CMS in the past that moved on, can feel confident in working with Subdreamer again.
You make some great points.
-Wordpress is great and a lot of resources are available for it but it perhaps isn't as easy to manage or customize as Subdreamer CMS is... especially if you were used to Subdreamer.
-Subdreamer CMS has great value for your clients, rebrandable or otherwise.
-Subdreamer isn't perfect but people do fall in love it. :)
We are growing fast and the more contributions we get the better... so thank you for the sitemap update.
Please also post the file to the downloads plugin section once a stable version is ready. SD3 community contributed plugins (http://www.subdreamer.org/forum/../plugins.html?p5001_sectionid=2&p5001_action=submit fileform). Link to this in your description when submitting.
Cheers
CleanDesignDk
04-17-2011, 05:05 PM
no that did not work i am still getting the same error
I have corrected the error you got so please redownload it :)
I will also add it to the download section.
CleanDesignDk
04-17-2011, 05:09 PM
Hi there,
We are glad to hear you have returned to using Subdreamer CMS.
I believe a lot of customers scrambled in 2009/2010 with the slow development etc., and rightfully so.. I was stuck as well.. especially with the lack of forum integration in SD3.
However, as you have noticed, a lot has changed since last year and I'm glad those changes are evident... I hope anyone that used to use Subdreamer CMS in the past that moved on, can feel confident in working with Subdreamer again.
You make some great points.
-Wordpress is great and a lot of resources are available for it but it perhaps isn't as easy to manage or customize as Subdreamer CMS is... especially if you were used to Subdreamer.
-Subdreamer CMS has great value for your clients, rebrandable or otherwise.
-Subdreamer isn't perfect but people do fall in love it. :)
We are growing fast and the more contributions we get the better... so thank you for the sitemap update.
Please also post the file to the downloads plugin section once a stable version is ready. SD3 community contributed plugins (http://www.subdreamer.org/forum/../plugins.html?p5001_sectionid=2&p5001_action=submit fileform). Link to this in your description when submitting.
Cheers
Wordpress os okay for some sites types ( blogs, small portfolios), but Subdreamer CMS has it all, i'm planning a little series of plugins i will release in the next six months or so..
I can't find the "Submit File" link anywhere on the download section, do i need some permissions somewhere ?
walkingdead
04-17-2011, 05:26 PM
I have corrected the error you got so please redownload it :)
I will also add it to the download section.
I have redownloaded it and it now installs ok. I have found another problem it does not show pages that have a parent page and also when i have SEO turned on when i click on the links they dont load the page i have clicked on it only works when i turn SEO off.
CleanDesignDk
04-17-2011, 05:29 PM
I have redownloaded it and it now installs ok. I have found another problem it does not show pages that have a parent page and also when i have SEO turned on when i click on the links they dont load the page i have clicked on it only works when i turn SEO off.
Please provide a link so i can see the problems :)
The links are created using the NON-SEO version, but i will add the SEO links if i can find a way to do it :) ( Brent please support me here ? )
walkingdead
04-17-2011, 05:38 PM
Please provide a link so i can see the problems :)
The links are created using the NON-SEO version, but i will add the SEO links if i can find a way to do it :) ( Brent please support me here ? )
I would provide you with a link but its on my local test site as im in the middle of creating a new site which i hope to have going live soon which I would have liked a sitemap but at the moment with it not having seo I will not be able to use it but look forward to future updates that will inprove it so I can use it.
Brent
04-17-2011, 05:41 PM
Wordpress os okay for some sites types ( blogs, small portfolios), but Subdreamer CMS has it all, i'm planning a little series of plugins i will release in the next six months or so..
I can't find the "Submit File" link anywhere on the download section, do i need some permissions somewhere ?
Hmm, permissions should be ready for you to submit but I will double check.
Does this direct link take you to the submit form?
http://www.subdreamer.org/plugins.html?p5001_sectionid=2&p5001_action=submit fileform
Please provide a link so i can see the problems :)
The links are created using the NON-SEO version, but i will add the SEO links if i can find a way to do it :) ( Brent please support me here ? )
I'll have to double check this as well,,, we were actually just preparing to redo the SD3 Sitemap which already had SD 2.6 SEO urls.
CleanDesignDk
04-17-2011, 05:42 PM
I would provide you with a link but its on my local test site as im in the middle of creating a new site which i hope to have going live soon which I would have liked a sitemap but at the moment with it not having seo I will not be able to use it but look forward to future updates that will inprove it so I can use it.
i'm working on the next version right now which will have updated:
it should could show pages no matter the parent page name, but only if the user is allowed to see the parent and child page.
we should have an option to order the pages after the categoryid or the title both ASC and DESC.
CleanDesignDk
04-17-2011, 05:46 PM
Hmm, permissions should be ready for you to submit but I will double check.
Does this direct link take you to the submit form?
http://www.subdreamer.org/plugins.html?p5001_sectionid=2&p5001_action=submit fileform
I'll have to double check this as well,,, we were actually just preparing to redo the SD3 Sitemap which already had SD 2.6 SEO urls.
1) no, i'm sent to the section frontend.
2) i'm 80 % done with this plugin and are only behind on: SEO links.
CleanDesignDk
04-17-2011, 05:50 PM
I would provide you with a link but its on my local test site as im in the middle of creating a new site which i hope to have going live soon which I would have liked a sitemap but at the moment with it not having seo I will not be able to use it but look forward to future updates that will inprove it so I can use it.
reuploaded a version which include bugfixes for the child pages names but the plugi only looks down one level right now, this has to be changed.
Tobias
04-17-2011, 06:17 PM
Hello,
as to link output: the prefered method is to use the "RewriteLink" function, e.g.
echo RewriteLink('index.php?categoryid='.$categoryid);
For checking the category permissions you do not need to do a secondary select, but use the $userinfo variable like this:
if(!empty($userinfo['categoryviewids']) && in_array($yourid, $userinfo['categoryviewids']))
{
//... usergroup of current user has permission to view the category
// with the id in "$yourid"
}
Obviously you'd need to add "$userinfo" to your function's "global" list.
As to the installer: please have a look at one of the latest upgrade files which use easy functions like "InsertPluginSetting" in order to avoid duplicate entries under any circumstance etc.
Regards,
Tobias
CleanDesignDk
04-17-2011, 06:23 PM
Hello,
as to link output: the prefered method is to use the "RewriteLink" function, e.g.
echo RewriteLink('index.php?categoryid='.$categoryid);
For checking the category permissions you do not need to do a secondary select, but use the $userinfo variable like this:
if(!empty($userinfo['categoryviewids']) && in_array($yourid, $userinfo['categoryviewids']))
{
//... usergroup of current user has permission to view the category
// with the id in "$yourid"
}
Obviously you'd need to add "$userinfo" to your function's "global" list.
As to the installer: please have a look at one of the latest upgrade files which use easy functions like "InsertPluginSetting" in order to avoid duplicate entries under any circumstance etc.
Regards,
Tobias
Thanks Tobias,
I will of cause use the userinfo array to find permissions ( have already changed it ).
And i will also use the RewriteLink function to the links.
right now i'm working on the plugin to handle more than one level of sub pages.
CleanDesignDk
04-17-2011, 06:50 PM
I have uploaded a new version where both SEO links and use of the userinfo array is added.
Download it at the location in the first post.
Brent
04-17-2011, 08:13 PM
1) no, i'm sent to the section frontend.
This is fixed now, registered users should now be able to submit and download.
Thanks
CleanDesignDk
04-17-2011, 08:24 PM
This is fixed now, registered users should now be able to submit and download.
Thanks
It works, maybe we gets more plugins now hehe.
I'm still working on the multiple-sub-level og pages problem so if anyone has an idea please PM me.
Brent
04-18-2011, 04:01 AM
Please provide a link so i can see the problems :)
The links are created using the NON-SEO version, but i will add the SEO links if i can find a way to do it :) ( Brent please support me here ? )
Hi there,
Tobias is busy on other things and probably won't be able to directly help with the programming side of things unless they are SD specific and we'll be making a core Sitemap ourselves shortly, his suggestion earlier will be the best place to start for SEO links. "the prefered method is to use the "RewriteLink". Nevermind, I see you have the SEO links working! :)
For subcats, it would probably be best to look at the old 2.6 version. attached
CleanDesignDk
04-18-2011, 06:02 AM
Hi there,
Tobias is busy on other things and probably won't be able to directly help with the programming side of things unless they are SD specific and we'll be making a core Sitemap ourselves shortly, his suggestion earlier will be the best place to start for SEO links. "the prefered method is to use the "RewriteLink". Nevermind, I see you have the SEO links working! :)
For subcats, it would probably be best to look at the old 2.6 version. attached
Okay, you just killed the cat!
"Why develop plugins when we will release a core plugin of the same stuff no matter what"
So, what you say is that no matter which plugin we the community develop, you will make a better one and ship it with the cms, does that kill the idea behind plugins, and kill the community ?
Well, then this plugin will be the only one i releases for public use if the community is closed again.
I have other plugins that needs to be coded, but if i writes it here, you can make them as core plugins for me, just to save me time ?
Well, don't take this post negative, but i'm just saying that asking for plugins first and then say: i can code it better!, isn't a grow factor of the community...
Brent
04-18-2011, 06:33 AM
So, I don't take this negative, I believe you are though. I have asked the community to contribute plugins but nothing specific. We aren't competing with developers that want to contribute. I've mentioned the sitemap and navigation several times, it certainly wasn't a response to your effort. I'm setting expectations so that you can choose to continue with this plugin for experience or move on to another. You may even release yours before we do and folks can make use of it and the experience could still be good and what you accomplish may or may not become obsolete with what we make available eventually.. it depends on what features you choose to explore.. there could always be room for two similar plugins. If you really don't want to create a plugin that we have in the works, please keep an eye on our blogs etc or ask if you need to. Otherwise, feel free to code any plugin with above considered.
Enhancing the navigation has been in the works for some time. The sitemap is one of the last plugins and many other features have just been introduced such as breadcrumb and several navigation variables in the skin editor etc.
Dec 30-10: http://www.subdreamer.com/blog/subdreamer33.html
Jan 29-11: http://www.subdreamer.com/blog/subdreamer-3-3-1-released.html
The Download manager, Support desk, Polls, Link directory, Form Builder, Event Manager, and Calendar plugins will all be maintained by Subdreamer. Plugins not available yet, will be re-released SD3 compatible in the near future. We'll also be maintaining important plugins such as the Latest Images, Latest Comments and the main forum related plugins. The sub-category menu plugin and other navigation plugins such as breadcrumb and sitemap will also be made available.
http://www.subdreamer.org/forum/showthread.php?t=3981
Yes, we will be creating a Sitemap plugin... along with a breadcrumb plugin... and possibly a hybrid of the Sitemap & subcategory plugins that will allow easily listing different sets of pages within certain pages. This will really assist with constructing navigation within Subdreamer.. then of course when we have a chance to work out cloning again, it will make it even more flexible. Menus/sitemap/submenus, etc with varying settings wherever/however you want to use them.
CleanDesignDk
04-18-2011, 06:40 AM
So, I don't take this negative, I believe you are though. I have asked the community to contribute plugins but nothing specific. We aren't competing with developers that want to contribute. I've mentioned the sitemap and navigation several times, it certainly wasn't a response to your effort. I'm setting expectations so that you can choose to continue with this plugin for experience or move on to another. You may even release yours before we do and folks can make use of it and the experience could still be good and what you accomplish may or may not become obsolete with what we make available eventually.. it depends on what features you choose to explore.. there could always be room for two similar plugins. If you really don't want to create a plugin that we have in the works, please keep an eye on our blogs etc or ask if you need to. Otherwise, feel free to code any plugin with above considered.
Enhancing the navigation has been in the works for some time. The sitemap is one of the last plugins and many other features have just been introduced such as breadcrumb and several navigation variables in the skin editor etc.
Dec 30-10: http://www.subdreamer.com/blog/subdreamer33.html
Jan 29-11: http://www.subdreamer.com/blog/subdreamer-3-3-1-released.html
The Download manager, Support desk, Polls, Link directory, Form Builder, Event Manager, and Calendar plugins will all be maintained by Subdreamer. Plugins not available yet, will be re-released SD3 compatible in the near future. We'll also be maintaining important plugins such as the Latest Images, Latest Comments and the main forum related plugins. The sub-category menu plugin and other navigation plugins such as breadcrumb and sitemap will also be made available.
http://www.subdreamer.org/forum/showthread.php?t=3981
Yes, we will be creating a Sitemap plugin... along with a breadcrumb plugin... and possibly a hybrid of the Sitemap & subcategory plugins that will allow easily listing different sets of pages within certain pages. This will really assist with constructing navigation within Subdreamer.. then of course when we have a chance to work out cloning again, it will make it even more flexible. Menus/sitemap/submenus, etc with varying settings wherever/however you want to use them.
Thanks for the reply :)
then i will release the plugin as it is, where it only lists the root and a child node, then it is up to your guys to build another one if people need it :)
I will add it to the plugin section today :)
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.