Skip to main content
Topic: [ADDON] SimplePortal (Read 28254 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[ADDON] SimplePortal

SimplePortal 1.0 Beta

License
This Elkarte addon is released under a BSD-3-Clause license

Introduction
I don't think this one needs much introduction :D because if you have ever used a portal with SMF chances are you have tried and still use SimplepPortal. 

I'll provide some detail just to set a baseline, this is a port of SimplePortal 2.4 to ElkArte.

A port means I have not added (many) any features past what was already available in SimplePortal, and in fact actually did remove a few blocks since, until such time as those addons are available it did not make sense to keep them in the code.

I did add a few drag and drop capabilities since that is available in ElkArte, and since I had the luxury of not supporting older software installs I was able to consolidate functions to use what is available in the core, for example createList etc.

Now since SP 2.4 is still under development, I can safely claim all bugs with this code are due to @[SiNaN] and I'm sticking to that even if they are due to me refactoring things to work with Elk :P  OK in truth the SP code is awesome and I'm still working my way though several areas of it, there is a lot to learn and I'm not really a portal guy so I'm still leaning how some of the features are even used by the community.

Please consider this Alpha Beta code (mostly due to the code refactoring, switch to core code, theme, etc) and feel free to report and  provide fixes to bugs as you find them .... there will be bugs.

Repo / Download
https://github.com/SimplePortal/SimplePortal_ElkArte/releases/tag/v1.0.0-beta.1
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] SimplePortal

Reply #1
 emanuele uses like to like this topic! :D
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimplePortal

Reply #2
Great work :) Nice to see built in articles with comment system :D

I had to manually change package - Elk is using lowercase names in folders - and there was Modification parse error because at bitbucket Sources and Themes directory have first letter uppercase.

I have one question - if site is using SMF + SP, and someone will convert SMF > Elk -  SP data will be updated (blocks, pages etc.) or it will be gone?

Re: [ADDON] SimplePortal

Reply #3
Spuds, you really did a great job with this one! I wish I could work on the Elkarte port with you guys but I guess I'm too old now to start learning ins and outs of yet another huge package. I even find it difficult to work on SMF version due to the long breaks I had to take. Anyway, I'm really glad to see SimplePortal being pulled to this direction. Looking forward to the day when both of the packages get the final tag sticked on them!

I have one question - if site is using SMF + SP, and someone will convert SMF > Elk -  SP data will be updated (blocks, pages etc.) or it will be gone?

I think the database structure hasn't been changed while porting the mod. So it shouldn't be difficult. That is unless the next version of SimplePortal goes through so many changes that I don't bother coding an upgrade script for the SMF version.

Re: [ADDON] SimplePortal

Reply #4
Best of luck to you, Spuds! I'm eager to try out a working Elk + SP site combination someday.

Re: [ADDON] SimplePortal

Reply #5
I will be the first here I uploaded and went to install and I have and error in the source/Subs.php image attached.



Re: [ADDON] SimplePortal

Reply #6
Hummm ... thats odd ... Is that with the latest code from the repo? (for the subs error)

The other two errors I suspect are permissions issues in extracting the package file.  Make sure your packages and packages/temp files are writable

ETA: Doh! Just read @phantom post about the case names ... what a rookie mistake! 
 Spuds runs to fix that
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] SimplePortal

Reply #7
I think you are using some "old" beta code, right?

ehhh... the code is (still) changing (somewhat) fast and I think Spuds used the latest master as base.
And for the next question (i.e. how to upgrade, yeah, I read minds :P) here it is the answer! :)
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimplePortal

Reply #8
Working on ftp the  upgraded files, will let you know how everything is when done.

Re: [ADDON] SimplePortal

Reply #9
I fixed the wrongly cased directory's in the repo ... I had fixed my local some time back but for some reason bitbucket did not update as well, strange.  I could not rename them either so I had to mv them to temp and then mv temp back to the lowercase name for it to get changed.  Sometimes git has a mind of its own.

Working on ftp the  upgraded files, will let you know how everything is when done.
Cool .. let us know!
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] SimplePortal

Reply #10
Ok the install error is gone in the source/Subs.php but the Modification parse errors are still there as shown in the above image. I just downloaded the master and uploaded the root php files and the /source and /theme folders.

Re: [ADDON] SimplePortal

Reply #11
Ok the install error is gone in the source/Subs.php but the Modification parse errors are still there as shown in the above image. I just downloaded the master and uploaded the root php files and the /source and /theme folders.
Be sure and download the SP package again since I updated the repo directory names Themes -> themes and Sources -> sources
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] SimplePortal

Reply #12
ok I will try that as well, thank you.


ETA: worked great no errors

Re: [ADDON] SimplePortal

Reply #13
Woot ! (now you can find the bugs)
Squish squish. squish, squish, squish.
Find a bug,
Make a wish.

Re: [ADDON] SimplePortal

Reply #14
I have been playing around and haven't encountered errors, I have added 2 custom boxes as well as using pre-made boxes as well. Still going to play around with the articles, so will be reporting back.