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

Re: [ADDON] SimplePortal

Reply #360
Is SimplePortal now ready for ElkArte 1.1.1?  This is the add-on I am waiting for to upgrade to 1.1.1.

Re: [ADDON] SimplePortal

Reply #361
I just tested the SP version 1.00 RC1 
and it just says at the homepage then:

  • SMF - Just Installed!

An Error Has Occurred
in_array() expects parameter 2 to be array, null given

What is the latest version that works with Elkarte 1.1.1 and SSL ?
It says, latest version is 2.3.7
but is that only the version for SMF ?



Re: [ADDON] SimplePortal

Reply #362
Simple Portal is not updated for 1.1.1 yet. Also the link here at this forum for Simple Portal is for ElkArte only. Where did you download the Simple Portal file that you installed?

Re: [ADDON] SimplePortal

Reply #363
I just tested the SP version 1.00 RC1
and it just says at the homepage then:

  • SMF - Just Installed!

An Error Has Occurred
in_array() expects parameter 2 to be array, null given

I already mentioned here that SP has an error:
p.s. I see you are using a portal on your forum, for elkarte you can use Simple Portal, download it from here https://github.com/SimplePortal/SimplePortal_ElkArte/tree/development . Pay attention, there is a small bug[1] with the Login block, so for now do not use the Login block on your portal

Disable the login block and the error will disappear.
Otherwise Emanuele posted a temporary solution on the italian SMF & Elkarte forum

File: sources\Load.php
Replace:
Code: [Select]
// Custom profile fields as well

with:

Code: [Select]
if (empty($context['admin_features']))
{
    $context['admin_features'] = array();
}
// Custom profile fields as well

The latest version of SP is https://github.com/SimplePortal/SimplePortal_ElkArte/tree/development
it works with 1.1, but as you can see there are some small bugs

Simple Portal 2.3.7 is reffered to Simple Portal for SMF
sorry for my bad english

Re: [ADDON] SimplePortal

Reply #364
Hmm, I applied this patch and the left and right blocks are not shown...
It seems the left blocks are somehow wrapped into the uppen blocks...

Look here:
https://dasalteberlin.de/index.php?topic=4.0
the Test Gallery Block is in the upper block section , although I have put them to the left side...

Only on the Frontpage it does how now all correct it seems here:
https://dasalteberlin.de/index.php

Also there is a hooks error:


Re: [ADDON] SimplePortal

Reply #365
Provided:
  • I'm a disaster with CSS
  • what I'm suggesting may or may not work
  • there may be an easier way to achieve the same

You may try changing:
Code: [Select]
<div id="sp_center_top" class="sp_main_cell">
to:
Code: [Select]
<div id="sp_center_top" class="sp_main_cell" '
, !empty($modSettings['rightwidth']) || !empty($modSettings['leftwidth']) ? ' style="width: calc(100% - ' . (!empty($modSettings['rightwidth']) ? $modSettings['rightwidth'] . 'px - 20px' : '0') . ' - ' .
(!empty($modSettings['leftwidth']) ? $modSettings['leftwidth'] . 'px - 20px' : '0') . ')"', '>
in Portal.template.php.

It MAY work.
Bugs creator.
Features destroyer.
Template killer.

 

Re: [ADDON] SimplePortal

Reply #366
I forgot a bit, you should also add a
Code: [Select]
display: inline-block;
to the #sp_left, #sp_right, #sp_center_top, #sp_center_bottom definition (porta.css line 332).
Bugs creator.
Features destroyer.
Template killer.