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

Missing Simple Portal portal page on cellphone

Reply #315

I made a search for Simple Portal's portal page and mobile view and I ended up with nothing, so I'll bring this up in belief that it is actually a bug. Check attachment.

My portal page is completely blank in mobile view, and if I pick the option "Disable on mobile devices" in the settings for Simple Portal, then the portal page is not just missing from the phone view, but also on the computer view.

So, I like SimplePortal, but do I really have to have the first page of my site completely blank when the site has a visitor using a phone?

If anyone can help me with what I need to do to make the portal page work on a cellphone, I would be really happy.

Best,

Auctor Lucan

Re: [ADDON] SimplePortal

Reply #316

Merged with SP topic, better to report problems here.
Also, if you read back a bit there should be some explanations at why it doesn't who.
Mainly go the admin > sp > ??? > profiles
and set the proper visualization options to show on mobile.
Bugs creator.
Features destroyer.
Template killer.

Re: [ADDON] SimplePortal

Reply #317

I think you are running Beta 1? ... Mobile view was a two part process, 1) was the "master" switch on the configuration page, and once enabled, you have to go to each "block" and choose to "Show on mobile" or not .... looks like you have the master switch on, but have not selected which blocks you want to show.

Beta 2 makes things a bit easier in that regard, but I have not pushed that out yet


Re: [ADDON] SimplePortal

Reply #319

Quote from: Spuds – This should have all the fixes we have discussed to date
I just installed that version on my live site  8)
sorry for my bad english

Re: [ADDON] SimplePortal

Reply #320

I am having some errors in elkarte log with an RSS block, I use php 5.6.30


Type of error: Generale
8192: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
https://www.skodaclub.it/index.php?https://www.skodaclub.it/
File: /public/sources/subs/spblocks/RssFeed.block.php
Line: 122


and on line 122 I have:
Code: [Select]
121: $data = str_replace(array("\n", "\r", "\t"), '', $data);
==>122: $data = preg_replace('~<\!\[CDATA\[(.+?)\]\]>~eu', '\'#cdata_escape_encode#\' . Util::htmlspecialchars(\'$1\')', $data);
123:
124: // Find all the feed items
sorry for my bad english

Re: [ADDON] SimplePortal

Reply #321

Looks like a regression error from when the blocks were separated from the monolithic PortalBlocks file in to thier own files.

Anyway replace that line with
Code: [Select]
		$data = preg_replace_callback('~<\!\[CDATA\[(.+?)\]\]>~u', create_function('$m', 'return "#cdata_escape_encode#" . Util::htmlspecialchars($m[1]);'), $data);

Re: [ADDON] SimplePortal

Reply #322

Thanks Spuds, no more errors with RSS block ;)
sorry for my bad english

Re: [ADDON] SimplePortal

Reply #323

Whenever I try to edit a PHP page (click the tools icon) it gets executed.
LiveGallery - Simple gallery addon for ElkArte

Re: [ADDON] SimplePortal

Reply #324

a small bug when trying to edit a visibility profile: I created a visibility profile to show a bbc block on my contact page, is working fine, but I don't see the condition query I wrote when I try to edit the profile, it's empty:

Re: [ADDON] SimplePortal

Reply #325

Another error

Code: [Select]
8: A non well formed numeric value encountered

Create/edit block
Preview it
LiveGallery - Simple gallery addon for ElkArte

Re: [ADDON] SimplePortal

Reply #326

while I like the new articles system I still miss the old function to promote topics to articles. With the new article system is not possible to attach images, the only way is to use an ftp manager, but I don't like the idea to give such details to members or moderators. Uploading images externally is a huge risk, I already lost thousands of images with imageshack,
Is there a chance we can see the old feature convert topic to article or upload images as attachments into articles?
sorry for my bad english

Re: [ADDON] SimplePortal

Reply #327

I'll look into these bugs in the next few days and see if they still exist in the latest, thanks for the reports.

Quote from: radu81 – while I like the new articles system I still miss the old function to promote topics to articles. With the new article system is not possible to attach images, the only way is to use an ftp manager, but I don't like the idea to give such details to members or moderators. Uploading images externally is a huge risk, I already lost thousands of images with imageshack,
Is there a chance we can see the old feature convert topic to article or upload images as attachments into articles?
The "latest" version which I'm still doing work on, now has the ability to add attachments to articles :D 

I also updated the article block to work like the enhanced news block, so if there is an image attachment, you have the option to show the first image that as part of the text.   Of course when 1.1 gets finished and we have ILA it will be even easier, but its a good stop gap.

Re: [ADDON] SimplePortal

Reply #328

Wow, great news, thank you Spuds! TBH I wasn't  expected this answer  8) 8) 8)
sorry for my bad english

 

Re: [ADDON] SimplePortal

Reply #329

Will the new version of the portal be finished, when ElkArte 1.1. is ready to use, Spuds?

And what is about the portal language files? The "old ones", I am using at the moment, have still some mistakes and parts to change in there. I would like to translate those language-files again into german, if everything is done.

I am asking because since a few days Opera (my favorite browser)  is making a mess with the styling in my forum, ::)  if I use a higher resolution. I have to do a lot of changes in my themes/custom.css now, but I would like to wait until ElkArte 1.1 and the portal ist ready, to install the portal again and to do all necessary changes at the same time, if possible. ;)

Last Edit: June 07, 2017, 04:10:37 am by Ruth