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

Re: [ADDON] SimplePortal

Reply #240

@Spuds, nice! Will test it on one of my clones.

However, I'd like to make some suggestions.

1. PM in shoutbox, as the thread on the SP site: http://simpleportal.net/index.php?topic=12338.0
2. Way in admin, to disable and reset the custom block moving on main page. This is in case there's new blocks added, and the admin wants to reset everyone to default, due to them. Or, if the admin does not want members to move the blocks around.

EDIT:

@Spuds, We may have our first issue:

QuoteAn Error Has Occurred
The database value you're trying to insert does not exist: id_block

Tested on clean fresh ElkArte 1.0.6 forum.

Re: [ADDON] SimplePortal

Reply #241

Quote from: Spuds –
  • Its now Beta2 instead of Beta1, I know, holy crap right !
This is it!! :P

Quote from: Spuds –
  • Profiles everywhere, well in more places.  [...] This goodness is from @[SiNaN]  and I ported it back from SP2.4
This is very, very, very nice to read!!
 emanuele loves profiles!

There is still a lot to do in that respect, but that is a very good start!

Quote from: Spuds –
  • Replaced the main table structure with divs to help make it more responsive.  This is the top/left/right/bottom/header/footer areas.  Not tested in all areas so I expect some issues ...
Nice thing that too! :D
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimplePortal

Reply #242

Quote from: Burke Knight –
QuoteAn Error Has Occurred
The database value you're trying to insert does not exist: id_block

Tested on clean fresh ElkArte 1.0.6 forum.
In the error log there should be some more hints about file/function involved.
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimplePortal

Reply #243

@emanuele & @Spuds

Error Log:

Code: [Select]
Type of error: Critical
The database value you're trying to insert does not exist: id_block
Function: require
URL http://www.bkforum.cc.nf/index.php?action=admin;area=packages;sa=install2;package=Elk-SimplePortal-B2.zip;pid=0
public_html/bkforum.cc.nf/packages/temp/Elk-SimplePortal-B2/database.php
Line: 326

Type of error: Undefined
8: Undefined variable: block_ids
URL http://www.bkforum.cc.nf/index.php?action=admin;area=packages;sa=install2;package=Elk-SimplePortal-B2.zip;pid=0
public_html/bkforum.cc.nf/packages/temp/Elk-SimplePortal-B2/database.php
Line: 318

Type of error: Undefined
8: Undefined variable: block_ids
URL http://www.bkforum.cc.nf/index.php?action=admin;area=packages;sa=install2;package=Elk-SimplePortal-B2.zip;pid=0
public_html/bkforum.cc.nf/packages/temp/Elk-SimplePortal-B2/database.php
Line: 317

Type of error: Undefined
8: Undefined variable: block_ids
URL http://www.bkforum.cc.nf/index.php?action=admin;area=packages;sa=install2;package=Elk-SimplePortal-B2.zip;pid=0
public_html/bkforum.cc.nf/packages/temp/Elk-SimplePortal-B2/database.php
Line: 316

Type of error: Undefined
8: Undefined variable: block_ids
URL http://www.bkforum.cc.nf/index.php?action=admin;area=packages;sa=install2;package=Elk-SimplePortal-B2.zip;pid=0
public_html/bkforum.cc.nf/packages/temp/Elk-SimplePortal-B2/database.php
Line: 315

Type of error: Undefined
8: Undefined variable: block_ids
URL http://www.bkforum.cc.nf/index.php?action=admin;area=packages;sa=install2;package=Elk-SimplePortal-B2.zip;pid=0
public_html/bkforum.cc.nf/packages/temp/Elk-SimplePortal-B2/database.php
Line: 314

Type of error: Undefined
8: Undefined variable: block_ids
URL http://www.bkforum.cc.nf/index.php?action=admin;area=packages;sa=install2;package=Elk-SimplePortal-B2.zip;pid=0
public_html/bkforum.cc.nf/packages/temp/Elk-SimplePortal-B2/database.php
Line: 313

Type of error: Undefined
8: Undefined variable: block_ids
URL http://www.bkforum.cc.nf/index.php?action=admin;area=packages;sa=install2;package=Elk-SimplePortal-B2.zip;pid=0
public_html/bkforum.cc.nf/packages/temp/Elk-SimplePortal-B2/database.php
Line: 312

Type of error: Undefined
8: Undefined variable: block_ids
URL http://www.bkforum.cc.nf/index.php?action=admin;area=packages;sa=install2;package=Elk-SimplePortal-B2.zip;pid=0
public_html/bkforum.cc.nf/packages/temp/Elk-SimplePortal-B2/database.php
Line: 311

Re: [ADDON] SimplePortal

Reply #244

Sorry about that one, I'll get a fix out soon  :D

Use the database.php attached (or in the repo now), it should fix the error.  When I did my quick install test I neglected to remove my old tables so boom !
Last Edit: March 02, 2016, 08:22:40 am by Spuds


Re: [ADDON] SimplePortal

Reply #246

Looks good ... clean ... minimalist ...  :P    Any errors in the php or site log?

Re: [ADDON] SimplePortal

Reply #247

Quote from: Spuds – Looks good ... clean ... minimalist ...  :P    Any errors in the php or site log?

No errors in the log. Just blank main page.
When get back to PC, will see what goes on integration.

EDIT:

Seems like the block settings pages, are also just blanks.
Again, no errors in log.

Re: [ADDON] SimplePortal

Reply #248

QuoteBlock Classes, gone is the massive and gnarly PortalBlock.subs.php.  All blocks are now in separate files under the spblocks directory (under subs).   Now each block is its own class (and template) allowing much easier block creation and modification.  Adding a new block is as simple as creating a new block file and adding it to the directory.  SimplePortal will find the new file and allow you to use the block (for completeness you should add the block name and description to the language file).  This goodness is from @emanuele

You might as well call this SimplePortal 3.0 Beta.

Re: [ADDON] SimplePortal

Reply #249

Quote from: Burke Knight – EDIT:

Seems like the block settings pages, are also just blanks.
Again, no errors in log.
So far I'm not finding the problem on my local.  I know when it trys to upgrade its not as clean as it could be, due to the profiles, I'm still not sure how to approach that aspect.

Could you uninstall (and select the remove data associated with checkbox) and then reinstall ... I just want to be sure there are not SP tables or settings that could be messing things up.

If you still have blank pages (or even before you try to remove it), check what permission and visibility profiles are assigned to the blocks. 

Re: [ADDON] SimplePortal

Reply #250

1. Visibility of blocks, would have no bearing on the non-sp content that also is not showing. XD
2. This was not an upgrade, it was a clean forum, SP this B2 version only.
3. Like stated above, block settings gives me blanks screen, so can not check them. However, they should be default, as never got to change them.

Re: [ADDON] SimplePortal

Reply #251

No idea then since I have nothing to go on ATM.

Fresh 1.0.6 install .. no changes at all ... installed SPB2 http://devel.spudsdesign.com/index.php
Last Edit: March 03, 2016, 09:27:02 pm by Spuds

Re: [ADDON] SimplePortal

Reply #252

Strange indeed... And even stranger, when go to uninstall, get one error showing:

38.    Delete File    ./sources/subs/PortalBlocks.subs.php    Modification parse error

How do you get that on a deletion? LOL

Re: [ADDON] SimplePortal

Reply #253

Maybe, have a look at the permissions for that file, it sounds almost like it cannot be read by Elk...
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimplePortal

Reply #254

Quote from: emanuele – Maybe, have a look at the permissions for that file, it sounds almost like it cannot be read by Elk...

@Spuds, Following the above, take a wild guess what I do not find in /sources/subs/

PortalBlocks.subs.php

Just checked the downloaded file from the post announcing the B2 release, and file is not in there, either.

EDIT: After getting the file from the repo, I can now see the main block list, but still white page on Front Page, and on block settings for each block.

EDIT 2: Deactivated all blocks. Made new one, and now have settings page for new block, and front page works.
Must be something went wrong due to that file being missing...

EDIT 3: Uninstalled, added the file to the package, re-uploaded and installed, and things right now. So confirms my edit #2. XD