Sep 07, 2008 | 07:02 AM  
Welcome

Don't have an account yet? You can create one, it is free, just click here

as a registered user you have some advantages like free downloads, comments and posting on our forums, depending upon this site's configuration and options.

 • •  Control Panel - Register - Login  • • 
Current Stable MDPro Lite 1.0821 Download
  Forum FAQForum FAQ   SearchSearch  UsergroupsUsergroups  PreferencesPreferences  Options forumOptions forum  Watched TopicsWatched Topics  Watched ForumsWatched Forums
Latest forum posts Latest forum posts  Log in to check your private messages Log in to check your private messages    Log inLog in 
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
dpottier
MD user level 5
MD user level 5


Joined: July 17, 2004
Posts: 243
Location: Victoria, British Columbia
Member
Post  Posted: Jan 24, 2007 - 02:02 PM Reply with quote Back to top
Post subject: Porting Modules to MDLite

I wanted to add the Web Links module from MD1076 to a new install of MDLite RC2 (clean, not previous site).
Uploaded the module, generated the list
Initialize returned:
Quote:
Database select error: CREATE TABLE ( int(11) NOT NULL auto_increment, int(11) default NULL, varchar(50) NOT NULL default '', text NOT NULL, PRIMARY KEY (pn_cat_id))

I assume some of the MDPro modules are not compatible. How can they be ported over?

David
View user's profile Visit poster's website MSN Messenger
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1552
Location: Quebec - Canada

Post  Posted: Jan 24, 2007 - 05:18 PM Reply with quote Back to top

You need to re-write entire module

maybe old weblinks can work but you need at least copy that in pntables.php


Code:
$links_categories = $prefix . '_links_categories';
$pntable['links_categories'] = $links_categories;
$pntable['links_categories_column'] = array ('cat_id'       => $links_categories . '.pn_cat_id',
                                             'parent_id'    => $links_categories . '.pn_parent_id',
                                             'title'        => $links_categories . '.pn_title',
                                             'cdescription' => $links_categories . '.pn_description');

$links_editorials = $prefix . '_links_editorials';
$pntable['links_editorials'] = $links_editorials;
$pntable['links_editorials_column'] = array ('linkid'             => $links_editorials . '.pn_linkid',
                                             'adminid'            => $links_editorials . '.pn_adminid',
                                             'editorialtimestamp' => $links_editorials . '.pn_timestamp',
                                             'editorialtext'      => $links_editorials . '.pn_text',
                                             'editorialtitle'     => $links_editorials . '.pn_title');

$links_links = $prefix . '_links_links';
$pntable['links_links'] = $links_links;
$pntable['links_links_column'] = array ('lid'               => $links_links . '.pn_lid',
                                        'cat_id'            => $links_links . '.pn_cat_id',
                                        'title'             => $links_links . '.pn_title',
                                        'url'               => $links_links . '.pn_url',
                                        'image'             => $links_links . '.pn_image',
                                        'description'       => $links_links . '.pn_description',
                                        'date'              => $links_links . '.pn_date',
                                        'name'              => $links_links . '.pn_name',
                                        'email'             => $links_links . '.pn_email',
                                        'hits'              => $links_links . '.pn_hits',
                                        'submitter'         => $links_links . '.pn_submitter',
                                        'linkratingsummary' => $links_links . '.pn_ratingsummary',
                                        'totalvotes'        => $links_links . '.pn_totalvotes',
                                        'totalcomments'     => $links_links . '.pn_totalcomments');

$links_modrequest = $prefix . '_links_modrequest';
$pntable['links_modrequest'] = $links_modrequest;
$pntable['links_modrequest_column'] = array ('requestid'       => $links_modrequest . '.pn_requestid',
                                             'lid'             => $links_modrequest . '.pn_lid',
                                             'cat_id'          => $links_modrequest . '.pn_cat_id',
                                             'sid'             => $links_modrequest . '.pn_sid',
                                             'title'           => $links_modrequest . '.pn_title',
                                             'url'             => $links_modrequest . '.pn_url',
                                             'image'           => $links_modrequest . '.pn_image',
                                             'description'     => $links_modrequest . '.pn_description',
                                             'modifysubmitter' => $links_modrequest . '.pn_modifysubmitter',
                                             'brokenlink'      => $links_modrequest . '.pn_brokenlink');

$links_newlink = $prefix . '_links_newlink';
$pntable['links_newlink'] = $links_newlink;
$pntable['links_newlink_column'] = array ('lid'         => $links_newlink . '.pn_lid',
                                          'cat_id'      => $links_newlink . '.pn_cat_id',
                                          'title'       => $links_newlink . '.pn_title',
                                          'url'         => $links_newlink . '.pn_url',
                                          'image'       => $links_newlink . '.pn_image',
                                          'description' => $links_newlink . '.pn_description',
                                          'name'        => $links_newlink . '.pn_name',
                                          'email'       => $links_newlink . '.pn_email',
                                          'submitter'   => $links_newlink . '.pn_submitter');

$links_votedata = $prefix . '_links_votedata';
$pntable['links_votedata'] = $links_votedata;
$pntable['links_votedata_column'] = array ('ratingdbid'      => $links_votedata . '.pn_id',
                                           'ratinglid'       => $links_votedata . '.pn_lid',
                                           'ratinguser'      => $links_votedata . '.pn_user',
                                           'rating'          => $links_votedata . '.pn_rating',
                                           'ratinghostname'  => $links_votedata . '.pn_hostname',
                                           'ratingcomments'  => $links_votedata . '.pn_comments',
                                           'ratingtimestamp' => $links_votedata . '.pn_timestamp');




then follow this tutorial
http://www.maxdev.com/CMpro-v-p-931.phtml

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
4thdesign
MD user level 4
MD user level 4


Joined: Aug 18, 2006
Posts: 42
Location: Afghanistan
bannato
Post  Posted: Apr 12, 2007 - 11:04 PM Reply with quote Back to top

Apologies for sounding stupid but......... The way i am reading stuff on these forums about MDLITE is as follows:

1. MDLITE is the future
2. No support available now for previous version of MDPRO
3. Hardly any modules can be used with MDLITE

Now.....forgive me.....but....how many users do you think will actually use mdlite as it has no functionality compared to MDPRO??

I have tried mdlite....hate it. Of course, that is my personal opinion, which i think we are all entitled to. NOT taking away ANY of the hard work you guys do.... me personally, I am very pleased with my version of MDPRO being the latest one before you went with MDlite. I even ditched postnuke to come over to mdpro as i really liked the extra functionality and ease of using this system.

However.....I am going to wait until you release 0.8 as at the moment, mdlite is just.....too lite. AND more importantly......modules are nil in the downloads section for mdlite (or am i looking in the wrong place?)

Sorry...I know some of this is negative, but I am having a helluva day !!! Smile
View user's profile Visit poster's website
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1552
Location: Quebec - Canada

Post  Posted: Apr 13, 2007 - 02:55 AM Reply with quote Back to top

You forgot something ..... MDLite == MDPro, MDLite is only a subversion name, but MDLite is MDPro 1.080, yes no support available for old version of MDPro, and next version of MDPro follow same developement like MDLite, very lite, also maybe next version MDPro 1.085 can be more lite Smile.
You don't like it? sorry but you need to change over another CMS that because our future is small csm where you can install all addons, modules, blocks you need.
Maybe also you can at least TRY to use old modules, several old modules can work with MDLite, about Downloads and web links I already explained the way to use it with MDLite, you can see them work here without any problem.
Maybe you can look in www.mdmods.com webiste where you can found a lot of modules for MDLite.
We already released MDContact and MDCal calendar module, only for MDBooster for now, we released MDForum for MDLite, like I wrote we are working to finish and release EZComments, PPNews module with plugins management ,Classified module ,Aiusers webblog module, MDContact with captcha features, MyEgallery module, Addressbook module, Captcha addon .... don't ask me when we release them, as soon as possible, we work very hard to develope MD, I'm working almost 7/7 to develope MD and sorry but i can't do more, or maybe if I read other post like that I can think to close MD like my fist idea and develope and release just for me or for a restricted area of people.
Sorry but like I wrote before this is our developement way if you don't like it maybe you need to think about another cms, or maybe you can just work a little and help us, you can help us in several ways, with developement, with graphic, with translations, with documentation, with test, or maybe with donation to our no profit association, where we can use these money to push 3party modules developement

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
NateM
MD user level 5
MD user level 5


Joined: June 18, 2005
Posts: 165

bannato
Post  Posted: Apr 13, 2007 - 11:37 AM Reply with quote Back to top

As mentioned before, I would recommend taking a look at MDMods.com for an up to date modules list. There's a good 30 or so modules available for download there that work for MDLite, including several not available for MD 1.076, (like googlemaps, and a nice chat module). MDLite is still in it's infancy, and it'll probably take another month or two to fully mature, but things ARE improving. A little patience is needed, that's all.

Hey TiMax, maybe you could include a link to MDMods in the download section, or maybe just do a direct link to his modules, like how you link the main MDLite downloads to the sourceforge page. That might help people get over the idea that MDLite has no modules available right now.
View user's profile Visit poster's website
TiMax
Project Manager
Project Manager


Joined: July 31, 2003
Posts: 1552
Location: Quebec - Canada

Post  Posted: Apr 13, 2007 - 04:11 PM Reply with quote Back to top

NateM wrote:

Hey TiMax, maybe you could include a link to MDMods in the download section, or maybe just do a direct link to his modules, like how you link the main MDLite downloads to the sourceforge page. That might help people get over the idea that MDLite has no modules available right now.


Yes that can be good idea, I'm working now to update and change all download section and module, so maybe I'm doing to follow your suggestions for mdmdos modules Very Happy

_________________
TiMaxMAX s.o.s.Fantasia e dinamicità Italiane, qualità e servizi Canadesi Web Services, hosting ed housing professionali
View user's profile Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number
MDMods.com
MD user level 5
MD user level 5


Joined: Jan 06, 2007
Posts: 55

bannato
Post  Posted: Apr 16, 2007 - 09:05 PM Reply with quote Back to top

Autorender version of EZComments 1.3 has been available to the general public on my site for a few weeks now, along with all the display + transform hooks Emoticons and BBCode. If you login to my site you can see the example on any news story.

There are 29 modules available on my site now, some are completely new MDLite modules, but the majority are conversions from PostNuke modules. Many more in active development (according to my girlfriend, far too many at once Wink ). These include:

Old Core Modules
Admin Messages
AvantGo
Censor
Credits
Ephermids
FAQ
Members List
Referers
Stats

New Functionality
About
Archive
Bad Behaviour
BBCode
Chat
Emoticons
EZComments
FileShare
GoogleMap
Guestbook
LastLogin
LastPosts
Mailer
Mission
nvMenus
PayPalCart
PhotoGallery
RSS
SiteInfo
TopList

_________________
MDMods for all your MDLite module needs
View user's profile Visit poster's website
MDMods.com
MD user level 5
MD user level 5


Joined: Jan 06, 2007
Posts: 55

bannato
Post  Posted: Apr 16, 2007 - 10:22 PM Reply with quote Back to top

Re-reading my last post I didn't make it clear that all of those modules I've listed above can be downloaded by anyone from my site now, you don't even have to be logged in Very Happy

_________________
MDMods for all your MDLite module needs
View user's profile Visit poster's website
Display posts from previous:     
Jump to:  
All times are GMT + 13 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by MDForum 2.0.8© 2003-2007 MAXdev Team
Credits