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

Re: [ADDON] SimplePortal

Reply #285

On my first forum migrated to elkarte I still use the old version of Simple Portal 2.4 and the portal is disabled for mobile phones. I want to add some articles (or maybe pages, I am still undecided) but with this version the pages and articles are not displayed on mobile (I get redirected to forum index) That's a bug and took me years to discover it.  :D
On my newest forum which uses Simple Portal 1.0.0 beta 1 pages and articles are displayed correctly on mobile phones.

I would like to know if there is a way to update SP from 2.4 to 1.0.0 beta 1. A  few months ago I tried to uninstall 2.4 version then install the 1.0 beta 1, I don't remember exactly what happened but it didn't work. I also tried to delete data from database during the uninstall process and start from scratch, but without success. 

p.s. what about the beta 2 version? I see it's not indicated for a live site, if it hasn't known or major bugs I will test it on my forum and report eventually bugs.
sorry for my bad english

Re: [ADDON] SimplePortal

Reply #286

I've been running B2 for some time (now on 2 sites)  ;)  Having someone else run it would be awesome since I just don't get to test all of the areas so its hard to get full debug.  I made some final cough tweaks to B2 in the last couple of months, actually just pushed a couple of minor updates today. 

The main delay in B2 was the update path, and thats one of the things I tried to improve.  This week I did an 2.4->B2 update and it went very well for how I had that site setup. 

The main "gotcha" to look for is how it converts to the new display and style profiles.  It does its best to match back to the standard ones, and what it can't find it creates as imported profiles.  So when its done you will want to go through your blocks and make sure the permissions/views/style profiles are correct, and if you had some custom ones, rename the imported names to something descriptive.

Anyway please give it a whirl, attached is the latest

Re: [ADDON] SimplePortal

Reply #287

Hello There Everyone,

I have been using this add-on and it is really amazing . You guys are doing great work!

But i am having a very little problem.

well actually, I am sending you two images. In the 1st image, You'll notice that after every  spoiler ( click toshow/hide ) there is no any kind of line spacing. While in 2nd picture you'll find there a little space.

Actually, In 1st picture. I have created a topic in the forum while the 2nd image is a page of the simple portal. I guess it is problem of portals template preview. Where they are using line-height to add space between two lines/images. But i have tried removing them. But still no luck.

Image 1: http://i.imgur.com/ycLZrou.jpg
Image 2: http://i.imgur.com/cOom72a.jpg

A little help would be appreciated!

Thank You!

EDIT:

One more request, I want to remove that white borders present as a outside layot of each block.
can be found in this image what i am talking about: http://i.imgur.com/F7CClaP.png

Thank you once again!
Last Edit: March 31, 2017, 11:29:30 am by Decent_946

Re: [ADDON] SimplePortal

Reply #288

Thank you Spuds, I just installed this addon on a test forum.

For now just a small bug in Board News block, I show 24 items in 3 pages, I cannot go to page 2 or 3
It goes to domain.tld/index.php?start=10;news8=%1$d;start=10 instead of domain.tld/?news8=10


Quote from: Decent_946 –
One more request, I want to remove that white borders present as a outside layot of each block.
can be found in this image what i am talking about: http://i.imgur.com/F7CClaP.png
I did not tested but I think you need to go in ACP > Simple Portal > Profiles > Add style profile
and create a new profile which you will need to apply to that block
sorry for my bad english

Re: [ADDON] SimplePortal

Reply #289

Quote from: Decent_946 – Hello There Everyone,

I have been using this add-on and it is really amazing . You guys are doing great work!

But i am having a very little problem.

well actually, I am sending you two images. In the 1st image, You'll notice that after every  spoiler ( click toshow/hide ) there is no any kind of line spacing. While in 2nd picture you'll find there a little space.

Actually, In 1st picture. I have created a topic in the forum while the 2nd image is a page of the simple portal. I guess it is problem of portals template preview. Where they are using line-height to add space between two lines/images. But i have tried removing them. But still no luck.

Image 1: http://i.imgur.com/ycLZrou.jpg
Image 2: http://i.imgur.com/cOom72a.jpg

A little help would be appreciated!

Thank You!
I'm not quite understanding the issue ... is it that the spoiler text wrapped ?
Quote from: Decent_946 – EDIT:

One more request, I want to remove that white borders present as a outside layot of each block.
can be found in this image what i am talking about: http://i.imgur.com/F7CClaP.png

Thank you once again!
I think for no border at all you will need to edit the portal.css file ... it should be the .sp_block_section .. look for
Code: [Select]
 border 1px solid #ccc; 
and change that
Code: [Select]
border 1px transparent;
You may also have to changae the box-shadow (in that same .sp_block_section) to be transparent.



Re: [ADDON] SimplePortal

Reply #290

QuoteFor now just a small bug in Board News block, I show 24 items in 3 pages, I cannot go to page 2 or 3
It goes to domain.tld/index.php?start=10;news8=%1$d;start=10 instead of domain.tld/?news8=10
I'll take a look !

ETA:
open the file BoardNews.block.php (/subs/spblocks) on line 262 find:
Code: (find) [Select]
			$context['sp_boardNews_page_index'] = constructPageIndex($current_url . 'news' . $id . '=%1$d', $start, $limit, $per_page, false);
Code: (replace) [Select]
			$context['sp_boardNews_page_index'] = constructPageIndex($current_url . 'news' . $id . '=%1$d', $start, $limit, $per_page, true);

So change that last false to a true
Last Edit: March 31, 2017, 12:01:07 pm by Spuds

Re: [ADDON] SimplePortal

Reply #291

Quote from: Spuds – I'm not quite understanding the issue ... is it that the spoiler text wrapped ?
Its not spoilers issue. I just want that SPACE ( DARK BLACK BAR ) to be removed !





Quote from: Spuds – I think for no border at all you will need to edit the portal.css file ... it should be the .sp_block_section .. look for
Code: [Select]
 border 1px solid #ccc; 
and change that
Code: [Select]
border 1px transparent;
You may also have to changae the box-shadow (in that same .sp_block_section) to be transparent.
I'll try this one. Thank you!

Re: [ADDON] SimplePortal

Reply #292

QuoteIts not spoilers issue. I just want that SPACE ( DARK BLACK BAR ) to be removed !
Oh that ...
Edit the index_dark.css in your theme directory.

Find the .spoiler {} section (~line 393)
Change the
Code: [Select]
background-color: #1a1a1a;
to either
Code: [Select]
background-color: #1e1e1e;
or
Code: [Select]
background-color: transparent;

Re: [ADDON] SimplePortal

Reply #293

Quote from: Spuds – So change that last false to a true
yep, that worked, thank you!

Quote from: Spuds –
  • Updated the news block to use the enhanced block that emanuele posted.  Basically it shows the good old block, but in addition if there is an attachment or image in the post, it shows that as a leading left floated image in the post.  This gives it a bit of a blog look to the block.
what about this? did you test it on your website? The previous block made by Emanuele works fine with SP 2.4 and beta 1.
Now no image is displayed, I selected the option "Display first attachment:" 
In elkarte error log I see only some undefined offset errors
sorry for my bad english

 

Re: [ADDON] SimplePortal

Reply #294

Did I do a block? :o
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimplePortal

Reply #295

Quotewhat about this? did you test it on your website? The previous block made by Emanuele works fine with SP 2.4 and beta 1.
Now no image is displayed, I selected the option "Display first attachment:"
In elkarte error log I see only some undefined offset errors
Open up BoardNews.block.php, in the setup function find
Code: (find) [Select]
		$attachments = !empty($parameters['attachments']);
Code: (replace) [Select]
		$attachments = !empty($parameters['attachment']);
so just drop that 's' and it should be  8)


Re: [ADDON] SimplePortal

Reply #296

Quote from: Spuds –
QuoteIts not spoilers issue. I just want that SPACE ( DARK BLACK BAR ) to be removed !
Oh that ...
Edit the index_dark.css in your theme directory.

Find the .spoiler {} section (~line 393)
Change the
Code: [Select]
background-color: #1a1a1a;
to either
Code: [Select]
background-color: #1e1e1e;
or
Code: [Select]
background-color: transparent;
Thank you so much sir!! :blush:

Re: [ADDON] SimplePortal

Reply #297

yes and it's a nice one ;) http://www.elkarte.net/community/index.php?topic=2387.msg17894#msg17894


Quote from: Spuds – so just drop that 's' and it should be  8)
Thanks again, it works now.
I will do other tests, then I will update my forums ;)
sorry for my bad english

Re: [ADDON] SimplePortal

Reply #298

Don't know if I should post here or in the Localization board, but in attachment the italian translation (removed useless lines and added the missing lines)

Re: [ADDON] SimplePortal

Reply #299

I am still testing the beta 2 and I think I found a bug  :D
In SP beta 1 version, on mobile, the order of blocks are: header blocks, left blocks and right blocks.
In SP beta 2 version, on mobile, the order of blocks are: left blocks, right blocks and header blocks.

I don't use left blocks, I only use header + right blocks and I noticed that on tablet (less than 765px width) the right block is displayed on left and next to it the header blocks. On mobile I see first the right blocks and then the header blocks.

Is this a bug or is there any reason of this behaviour? thank you
sorry for my bad english