Advertisement:

Author Topic: SimplePortal  (Read 1392250 times)

Offline sǝๅqɯɐɥS

  • SMF Hero
  • ******
  • Posts: 4,509
  • Gender: Male
    • i30 Owners Club
Re: SimplePortal
« Reply #5220 on: November 21, 2017, 05:13:04 AM »
Can you show us what you're trying to insert into the custom php block?

(use [code] blocks)

Offline fanciboy4

  • Semi-Newbie
  • *
  • Posts: 21
  • Gender: Male
    • Free Album Mp3 Music
Re: SimplePortal
« Reply #5221 on: November 22, 2017, 04:49:40 PM »
Recent post block don't have paging features. But the mod is nice.

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,117
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: SimplePortal
« Reply #5222 on: November 23, 2017, 02:18:38 AM »
Here is one custom PHP block called Recent Topics that i really like and it has prominence on my home page - i thought someone may want to use it and if you do then adjust the $limit variable to suit your needs:

Code: [Select]
global $txt, $scripturl, $settings, $context, $color_profile;

$boards = null;
$limit = 39;
$type = 'ssi_recentTopics';

$items = $type($limit, null, $boards, 'array');

if (empty($items))
{
echo '
', $txt['error_sp_no_posts_found'];
return;
}
else
$items[count($items) - 1]['is_last'] = true;

$colorids = array();
foreach ($items as $item)
$colorids[] = $item['poster']['id'];

if (!empty($colorids) && sp_loadColors($colorids) !== false)
{
foreach ($items as $k => $p)
{
if (!empty($color_profile[$p['poster']['id']]['link']))
$items[$k]['poster']['link'] = $color_profile[$p['poster']['id']]['link'];
}
}

echo '
<table class="sp_fullwidth">';

foreach ($items as $item)
echo '
<tr>
<td class="sp_recent_icon sp_center">
', $item['new'] ? sp_embed_image('topic') : '<a href="' . $scripturl . '?topic=' . $item['topic'] . '.msg' . $item['new_from'] . ';topicseen#new"><img src="' . $settings['images_url'] . '/' . $context['user']['language'] . '/new.gif" alt="' . $txt['new'] . '" border="0" /></a>',
'</td>
<td class="sp_recent_subject">
<a href="', $item['href'], '">', $item['subject'], '</a><br />[', $item['board']['link'], ']
</td>
<td class="sp_recent_info sp_right">
', $item['poster']['link'], '<br />', $item['time'], '
</td>
</tr>';

echo '
</table>';
SMF 2.0: 135+ mods installed (the full list can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline zapiy

  • Jr. Member
  • **
  • Posts: 250
Re: SimplePortal
« Reply #5223 on: November 23, 2017, 01:53:52 PM »
Anyone have a block that pulls pages like recent topics?

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 151
    • @pocttopus on Twitter
Re: SimplePortal
« Reply #5224 on: November 26, 2017, 10:58:07 AM »
What happened to official page http://www.simpleportal.net/?  :o ??? :-\

Offline CoreISP

  • Server Admin
  • Server Team
  • SMF Super Hero
  • *
  • Posts: 16,987
  • Gender: Male
  • CoreISP.net
    • liroyvh on LinkedIn
    • @liroyvh on Twitter
    • CoreISP Corporation :: WebHosting, Dedicated Servers, and more!
Re: SimplePortal
« Reply #5225 on: November 26, 2017, 11:10:12 AM »
As far as I'm aware they're working on bringing it back online.
- CoreISP.net Corporation -
  WebHosting, Colocation, Domain Registration & Network Services
- DedicatedBox.us Servers -
  Low priced Servers in a high-quality Network, the place for all your (advanced) server needs.
  We specialize in hosting big boards. Contact us!

((U + C + I)x(10 − S)) / 20xAx1 / (1 − sin(F / 10))
President/CEO of Simple Machines - Server Manager
Please do not PM for support - anything else is usually OK.

Offline davidhs

  • Sr. Member
  • ****
  • Posts: 936
  • Gender: Male
Re: SimplePortal
« Reply #5226 on: November 30, 2017, 08:56:33 AM »
The new update of SimplePortal (2.3.7) works in SMF 2.0.14/2.0.15 but it do not use proxy in avatar images of PortalBlocks.php (I do not know if also is necessary in other files).

Offline CapadY

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,147
  • Gender: Male
Re: SimplePortal
« Reply #5227 on: December 02, 2017, 08:00:55 AM »
I need the Dutch languagepack for SimplePortal 2.3.7. but can't reach the official site.

Is here somebody who can help me to it ?
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Offline d3vcho(void)

  • Localizer
  • SMF Hero
  • *
  • Posts: 2,241
  • Gender: Male
  • Be prepared for hell
    • d3vcho on GitHub
    • @SMF_ES on Twitter
Re: SimplePortal
« Reply #5228 on: December 02, 2017, 08:06:22 AM »
I need the Dutch languagepack for SimplePortal 2.3.7. but can't reach the official site.

Is here somebody who can help me to it ?

I just could find the one for 2.3.5. Not sure if it's the same for 2.3.7;

Offline CapadY

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,147
  • Gender: Male
Re: SimplePortal
« Reply #5229 on: December 02, 2017, 08:56:30 AM »
I had to tell it immediately but do you also have the UTF-8 version ?


If not i give it a try renaming the uploaded version.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Offline d3vcho(void)

  • Localizer
  • SMF Hero
  • *
  • Posts: 2,241
  • Gender: Male
  • Be prepared for hell
    • d3vcho on GitHub
    • @SMF_ES on Twitter
Re: SimplePortal
« Reply #5230 on: December 02, 2017, 09:05:31 AM »
Nope, sorry.

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 68,034
    • Arantor on GitHub
Re: SimplePortal
« Reply #5231 on: December 02, 2017, 10:06:27 AM »
Does Dutch use any accented characters? If not, renaming will be fine. If it does, more work than renaming will be required.
To assume is to hope that those who came before had the presence of mind and capacity to implement the dreams of those who would come after.

You either die a hero or live long enough to see yourself become the villain. It seems you have chosen which, and now I must do the same.

Offline ormuz

  • Full Member
  • ***
  • Posts: 677
Re: SimplePortal
« Reply #5232 on: December 02, 2017, 12:52:55 PM »
how can I through a block do something like this:

- Have a predefined list of topics
- Show the amount of these topics to display
- Display them randomly
- Have a layout (output) similar to the boardnews block (subject, content, user, read more, etc)

Any ideas, suggestions?

Offline Madirex

  • Jr. Member
  • **
  • Posts: 156
Re: SimplePortal
« Reply #5233 on: December 02, 2017, 02:12:06 PM »
Hello, I can not edit the "Portal Mode" when I change it and I give it to save it is put back to Disabled.



When I modify anything else it leaves me without any problem.

When I installed the package it gave me an error in the file script.js but I did not manage to fix it manually, maybe it could be due to that, but I'm not sure.

Offline maglix04

  • Newbie
  • *
  • Posts: 9
Re: SimplePortal
« Reply #5234 on: December 03, 2017, 10:09:39 AM »
The new update of SimplePortal (2.3.7) works in SMF 2.0.14/2.0.15 but it do not use proxy in avatar images of PortalBlocks.php (I do not know if also is necessary in other files).
Me too :(
Solution?

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,135
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: SimplePortal
« Reply #5235 on: December 03, 2017, 12:01:46 PM »
The new update of SimplePortal (2.3.7) works in SMF 2.0.14/2.0.15 but it do not use proxy in avatar images of PortalBlocks.php (I do not know if also is necessary in other files).
Me too :(
Solution?
Not atm. We got bigger issues than that.
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE

Offline CapadY

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,147
  • Gender: Male
Re: SimplePortal
« Reply #5236 on: December 03, 2017, 04:55:48 PM »
Nope, sorry.
.
utf8 files where also included in the zip-file, thanks
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Offline CapadY

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 3,147
  • Gender: Male
Re: SimplePortal
« Reply #5237 on: December 03, 2017, 04:57:54 PM »
At the right side of te forum some portalblocks can be shown,
How can I select the blocks I want to be shown ?
At the moment it looks like there are some random blocks shown.
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

Offline Madirex

  • Jr. Member
  • **
  • Posts: 156
Re: SimplePortal
« Reply #5238 on: December 03, 2017, 06:02:48 PM »
Hello, I can not edit the "Portal Mode" when I change it and I give it to save it is put back to Disabled.



When I modify anything else it leaves me without any problem.

When I installed the package it gave me an error in the file script.js but I did not manage to fix it manually, maybe it could be due to that, but I'm not sure.

Any help for my case ?

Offline Ninja ZX-10RR

  • SMF Hero
  • ******
  • Posts: 2,135
  • Gender: Male
  • Sniper Legends
    • Flavio93Zena on Facebook
    • Virtual Interactive Games Entertainment Forum
Re: SimplePortal
« Reply #5239 on: December 03, 2017, 09:54:19 PM »
Yes, fix your script.js issue and it will probably start to work. Why did you install with errors anyway?
Quote from: BeastMode topic=525177.msg3720020#msg3720020
It's so powerful that on this post and even in the two PMs you sent me,you still answered my question very quickly and you're apologizing for the delay. You're the #1 support I've probably ever encountered man, so much respect for that. Thank you, and get better soon.

I'll keep this in my siggy for a while just to remind me that someone appreciated what I did while others didn't.
♥ Jess ♥

STOP EDITING MY PROFILE