collapse

* Simple Portal Archived Forum

This is an Archive Forum.

The content in this forum may be out-of-date or have been superseded by newer information, and links in forum pages to other sites may not work.
This forum contains archives for future reference.

Visit our thread at Simple Machines Forum for current support.

SMF 2.1 users: EhPortal is a ported version of Simple Portal specifically designed for the SMF 2.1 branch.
Please visit web-develop.ca to download EhPortal and for its support.

* User Info

 
 
Welcome, Guest. Please login or register.

* Who's Online

  • Dot Guests: 256
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Shoutbox

Refresh History
  • Shoutbox is not for support!
  • {OCS}MasterSeal: Yup, Still adore SP
    April 21, 2019, 07:08:06 PM
  • {OCS}MasterSeal: STILL love SP :)
    November 24, 2018, 05:05:50 AM
  • ♦ Ninja ZX-10RR ♦: <3 aegersz
    September 13, 2018, 03:36:09 PM
  • aegersz: I STILL <3 LOVE SimplePortal
    September 13, 2018, 07:11:39 AM
  • aegersz: o LOVE you guys - Simple Portal rocks !
    May 09, 2018, 05:18:59 AM
  • Chen Zhen: our apologies for the site being down.. please read server issues topic
    March 22, 2018, 05:32:38 AM
  • {OCS}MasterSeal: LOL PLEASE forget I just posted that. I found the answer in my own dang post back in 2015. lol sorry!
    July 04, 2017, 10:47:55 PM
  • {OCS}MasterSeal: I know this SB isnt' for support, but I just have a general question. Who would I contact to find out where SP stores its block info? Is it DB driven or files? I searched the site but came up with nothing. probably my fault any insight is appreciated.
    July 04, 2017, 10:43:36 PM
  • ♦ Ninja ZX-10RR ♦: Excuse me but what does Simpleportal have to deal with that?
    February 05, 2017, 08:21:14 PM
  • WhiteEagle: of course IMHO that site appears to be dead :(
    February 04, 2017, 01:08:05 PM
  • WhiteEagle: If I can get that, then I'll use it for that site...
    February 04, 2017, 01:07:35 PM
  • WhiteEagle: decided to not use SMF for any projects, unless I can get a copy of the premium version of the fanfiction archive plugin
    February 04, 2017, 01:06:54 PM
  • expertdecisions: cloudflare
    January 28, 2017, 08:01:47 AM
  • aegersz: SM release 2.0.13 !
    January 12, 2017, 06:00:13 AM
  • raffo: Tks Emanuele, even if I didn't understand the fix :D
    November 07, 2016, 02:01:20 AM
  • emanuele: [link]
    November 01, 2016, 12:43:50 PM
  • emanuele: raffo: the English support board is a good place. ;)
    November 01, 2016, 12:43:38 PM
  • raffo: Where can I find the fix for the shoutbox?
    November 01, 2016, 05:06:09 AM
  • {OCS}MasterSeal: To the SP team, I make a point to come here and thank you as much as possible for your work.  so again, THANK YOU!
    October 28, 2016, 10:38:05 AM
  • emanuele: That's indeed funny, the limit is present only in the patch and not the full install.
    October 22, 2016, 06:14:58 PM

* Recent Posts

Adding Forums Button to Nav bar by jirapon
[August 01, 2019, 09:07:12 AM]


Re: Board Icons by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 04:03:41 PM]


MOVED: Czech translation???? by ♦ Ninja ZX-10RR ♦
[July 30, 2019, 03:04:51 PM]


Board Icons by jirapon
[July 30, 2019, 07:28:44 AM]


Re: Thankyou Simpleportal, by ♦ Ninja ZX-10RR ♦
[July 29, 2019, 09:41:29 AM]

Thanks for having an interest with our portal. If you have any requests for features, have a look at the Feature Requests board.

Author Topic: Simple Portal 2.1 blocks problem  (Read 4118 times)

0 Members and 1 Guest are viewing this topic.

Offline Nabil

  • Full Member
  • ***
  • Posts: 110
  • SMF Version: 1.1.7
  • SP Version: 2.2.1
Simple Portal 2.1 blocks problem
« on: November 30, 2008, 05:48:26 AM »
please take a look at my settings and tell me how to fix this problem : I cant let the blocks
appear in the Portal and Forum together I can either choose Portal or Forum but not both.

in the last image where the choice Portal and Forum the Blocks are only shown in the Portal but not in the Forum , all other choices are displayed correctly as expected
« Last Edit: November 30, 2008, 05:55:27 AM by Nabil »

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Simple Portal 2.1 blocks problem
« Reply #1 on: November 30, 2008, 07:14:42 AM »
"Forum" option only shows the block on forum main page. If you want it to be displayed in portal and all forum pages, then select the "All Pages" option from the selectbox.
And slowly, you come to realize... It's all as it should be...

Offline Nabil

  • Full Member
  • ***
  • Posts: 110
  • SMF Version: 1.1.7
  • SP Version: 2.2.1
Re: Simple Portal 2.1 blocks problem
« Reply #2 on: November 30, 2008, 07:54:00 AM »
Quote
"Forum" option only shows the block on forum main page
thats exactly what I want , only in the main page of the forum, not in the Topics not in the search page , profile etc. but this is not happening , if you see the last image you'll see the choice Portal and Forum so the blocks should also appear in the forum main page but the blocks are not displayed there.

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Simple Portal 2.1 blocks problem
« Reply #3 on: November 30, 2008, 07:59:29 AM »
Can you provide me an account on your forum with necessary permissions to check it, via pm?
And slowly, you come to realize... It's all as it should be...

Offline Nabil

  • Full Member
  • ***
  • Posts: 110
  • SMF Version: 1.1.7
  • SP Version: 2.2.1
Re: Simple Portal 2.1 blocks problem
« Reply #4 on: December 01, 2008, 04:43:37 AM »
I have solved the problem by adding a seperate block for the forum , because it wasnt possible to let the same block to be displayed in the portal and in the forum
, but the problem was I cant make another block with the same name , this would let this error message appear :
'That name is already in use. Please use a different name.'so I have added some code to the SportalBlocks1-1.template.php

Code befor change :
Code: [Select]
echo '
', parse_bbc($block['label']), '
</td>

after the change :
Code: [Select]
$changethename=$block['label'];
if (substr($changethename,-1)=='#'){
$length=strlen($changethename);
$changethename= substr($changethename,0,$length-1);
};

echo '
', parse_bbc($changethename), '
                                              </td>

so now if I want to make a block like  'User Info'  in the forum which is already exists (displayed in the portal) for example , I just have to give it the name 'User Info# '
but it will be displayed as 'User Info'

this solution is useful if you only have the problem that I have (not able to display the same block in the portal and in the forum)

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Simple Portal 2.1 blocks problem
« Reply #5 on: December 01, 2008, 05:18:15 AM »
That's not a good solution really.

I installed a new SMF 1.1.7. Then installed SimplePortal 2.1.1. Set the exact same settings and everything worked as expected.

It is better to figure out what the problem is with that.

You are using 2.1.1 right, not 2.1? If you are using 2.1, update to 2.1.1. Without uninstalling the 2.1, just install the new version.
And slowly, you come to realize... It's all as it should be...

Offline Nabil

  • Full Member
  • ***
  • Posts: 110
  • SMF Version: 1.1.7
  • SP Version: 2.2.1
Re: Simple Portal 2.1 blocks problem
« Reply #6 on: December 01, 2008, 05:42:54 AM »
I have 2.1  so I'm gonna update to 2.1.1 and see what happen whether that problem
would be solved without depending on the above solution , at least I wont have to
repeat the blocks

 :0 here we go again

Offline Nabil

  • Full Member
  • ***
  • Posts: 110
  • SMF Version: 1.1.7
  • SP Version: 2.2.1
Re: Simple Portal 2.1 blocks problem
« Reply #7 on: December 01, 2008, 07:37:00 AM »
Everything is working ok with 2.1.1 , that problem is gone..   :D

Offline [SiNaN]

  • Mr. SimplePortal
  • Developer
  • *
  • Posts: 6782
  • SMF Version: 2.0.15
  • SP Version: 2.3.7
Re: Simple Portal 2.1 blocks problem
« Reply #8 on: December 02, 2008, 07:33:26 AM »
Yeah, it should be. Glad that you could solve it.
And slowly, you come to realize... It's all as it should be...