Phoenix,
Having successfully take on the support role for the Treasury module from the absent initial creator and then taken it far beyond where it was I was wondering how you'd feel about doing something similar for another DF CMS module that is in dire need of updating?
The blogs module is something that was very popular on our main site until we had to take it down due to excessive spamming. In fact our users continue to demand to know when they will get it back! I also know that its something that I see regularly requested on the main DF site.
If you are interested then I think our two main concerns related to usability. Specifically we needed to allow moderation by selected users or groups (not site admin as we don't allow anyone else access to the admin side of the site for security reasons) and improve the navigation.
Obviously we're well aware that you're a busy man but I thought you might enjoy another challenge .......
There can be only one
Please enter your server specs in your user profile! 😢
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere
So basically you want access on either can_admin() (as opposed to is_admin()) or a specific group.
I would imagine can_admin() should already be coded into it, and if not, easily remedied, though that means adding users through admin, which still maintains your security, but adds to your "apparent" admin list.
On a groups basis would be best done by adding a specific group name to main config and doing a check for either that group or can_admin().
Regarding the spamming issue, I presume that was coming from one-off sign-ups just to place spam, in which case adding security code checking isn't gonna help much. Perhaps a minimum post level?
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere
Okay, had a quick look - there is no admin function as such, which explains a lot, and it's all is_admin() - they can be readily changed to can_admin() plus the addition of radminblogs to the admins table with very little effort.
Since there is no existing admin interface, the groups basis would require some extra coding. It's a very tightly coded bare-bones module.
Just remembered - ians produced an updated blogs version but it's no longer available from his site - we've had a lot of problems like that in recent times.
I think I have a copy somewhere, so I'll have a look around my extremely cluttered hard drives - for all I know, it may have all the answers you need
Found it, and upgraded my existing Blogs - had a number of install issues, but eventually upgraded. Added you as an admin for the module so you can see it has what you want - password PMd. Also modified the code so that a specific Group can be nominated and can modify entries, in this case, the Projects group, which means you can edit/remove blog entries and remove comments without being an admin.
Phoenix,
Unfortunately I can't get admin access - please see your PMs.
Other than that its looking very good and the group moderator function is excellent. I think allowing our existing mods the ability to edit/remove blogs would solve our spamming problem almost instantly!
There can be only one
Please enter your server specs in your user profile! 😢
includes/db/db.php
* CMS Warning line 75: On /cpgn2/admin.php?op=modules&install=Blogs While executing query "CREATE TABLE cms_blogs ( id int(11) NOT NULL auto_increment, aid varchar(30) NOT NULL, title varchar(80) default NULL, text text NOT NULL, private tinyint(1) NOT NULL default 0, timestamp int(10) UNSIGNED NOT NULL default 1174520583, views int(10) NOT NULL default 0, PRIMARY KEY (id), KEY id (id), KEY aid (aid)) TYPE=MyISAM DEFAULT CHARSET=NULL" the following error occured: 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 'NULL' at line 11 In: /webpath/cpgn2/includes/classes/installer.php on line: 61
There can be only one
Please enter your server specs in your user profile! 😢
PhoenixOffline
Joined: Mar 18, 2004
Posts: 1543
Location: Netosphere
That will give you grief on all installs, which makes me wonder why Supporters installed okay, unless the config file was edited after that?
I would even be tempted to put money on it
Test install of the unchanged package on MySQL 5.0.27 works flawlessly - it upgraded an original Blogs module (v2.0.1.0 I think).
Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):