SimplePortal

Started by SimplePortal Team, March 10, 2008, 11:16:07 PM

Previous topic - Next topic

Rain Forest

#3780
I'm using Zutzu's Soft Cartoon theme. Action=forum at main menu does not work..



Can someone help me? RC5

Angelina Belle

For a theme like this, the menu buttons are all in Subs.php.  Does your forum button work in the default theme (CURVE)?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Rain Forest

Quote from: AngelinaBelle on March 10, 2011, 01:46:16 PM
For a theme like this, the menu buttons are all in Subs.php.  Does your forum button work in the default theme (CURVE)?

I don't know because at SP - Configuration - General Settings. I have set 'Soft Cartoon' as Portal Theme.

Angelina Belle

Please test this and find out whether the button is OK with the default theme.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Rain Forest

Quote from: AngelinaBelle on March 10, 2011, 02:23:02 PM
Please test this and find out whether the button is OK with the default theme.

I just changed it to Default and I didn't see the Forum Button. :)

Angelina Belle

Thanks for that information.
It sounds as though your SimplePortal install did not go quite right in Subs.php.
Did the Package Manager complain about any failed tests in Subs.php

Please go back to the mod page, find the manual install instructions, and work through Subs.php. You should see some code for adding the forum button, and also for figuring out when you are at forum. You will "find" the thing you are supposed to find, and replace it with the code it tells you to replace it with.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Rain Forest

Quote from: AngelinaBelle on March 10, 2011, 02:37:51 PM
Thanks for that information.
It sounds as though your SimplePortal install did not go quite right in Subs.php.
Did the Package Manager complain about any failed tests in Subs.php

Please go back to the mod page, find the manual install instructions, and work through Subs.php. You should see some code for adding the forum button, and also for figuring out when you are at forum. You will "find" the thing you are supposed to find, and replace it with the code it tells you to replace it with.

Ah, I will do that.

Although, I had no failed tests at Package Manager. :)

Angelina Belle

You are welcome to attach your Subs.php.
It really seems like the button is not there. It ought to be the second button.
It is possible that some permission problem caused Package Manager to think it had made the change, but it was not actually able to do it.

Or there could be some other reason.

We'll have to take this one step at a time.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Rain Forest

I got this work now. :)

Thanks!

Besides, now I have 2 proxy-users who can not shout at the shoutbox. How can I help this?

Before the Subs.php edit it worked..

Angelina Belle

How many changes did you make in Subs.php? Just the ones about the menu buttons?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Rain Forest

Quote from: AngelinaBelle on March 10, 2011, 03:48:45 PM
How many changes did you make in Subs.php? Just the ones about the menu buttons?

I only added this
'forum' => array(
'title' => empty($txt['sp-forum']) ? 'Forum' : $txt['sp-forum'],
'href' => $scripturl . ($modSettings['sp_portal_mode'] == 1 && empty($context['disable_sp']) ? '?action=forum' : ''),
'show' => in_array($modSettings['sp_portal_mode'], array(1, 3)) && empty($context['disable_sp']),
'sub_buttons' => array(
),
),


After this:
'home' => array(
'title' => $txt['home'],
'href' => $modSettings['sp_portal_mode'] == 3 && empty($context['disable_sp']) ? $modSettings['sp_standalone_url'] : $scripturl,
'show' => true,
'sub_buttons' => array(
),
),


This is my Subs.php :)

James Main

I am trying to figure out how to run a widget in one of the blocks any help would be great.

ddabcd277

#3792
Hello,

I am having some problems with SP will appreciate if some can help. It seems some parts of the forum are not resized properly after I add a few blocks on the right. I will attach a few pictures to explain better. They are when I try to post a massage/topic, from the SMF Gallery and the Profile Page.

I am using SMF version 1.1.13 and SP 2.3.3. Here is link to the forum:
http://crackgarmin.com

Edited: There is no such problem when those sections are opened with Mozzila. So I quess the question is is it possible to hide the display of those blocks in Block settings like in Admin, Profile, Personal Massages.

Thanks,

Angelina Belle

giovannie,

That change to Subs.php looks about right. It should not cause a shoutbox problem.  I wonder if you have installed any other mods in the meantime?

James Main,

What are you trying to run in one of the blocks?

ddabcd277,

Yes, you can hide some blocks in certain parts of the forum. Use the advanced display options and choose exactly where you wish to show the blocks.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Rain Forest

Quote from: AngelinaBelle on March 12, 2011, 04:53:24 PM
giovannie,

That change to Subs.php looks about right. It should not cause a shoutbox problem.  I wonder if you have installed any other mods in the meantime?

No, I didn't install other mods during or after SP.

I only changed that 1 line in Subs.php nothing else. What other file can caused the problem?

ddabcd277

#3795
@ AngelinaBelle

Thank you for your reply.

I am sorry I didn't explain well. Yes, from the "Block Settings" menu I can choose to hide the blocks for Admin, Profile, Personal Messages, Members, Search and Calendar pages. My idea was that I also want to hide the blocks when posting a Topic/Massage and when opening the Gallery page. Those two (and other pages) can't be set from the "Block Settings" menu and by default are showing the blocks.

Hope I was clear enough.

Kind Regard,

Angelina Belle

giovannie, I don't see the problem. I don't know what to tell you about the cause.

ddabcd277 -- Then you will want to use the advanced display options. Please read about Custom Display Options at http://simpleportal.net/index.php?action=docs;area=block_editor. They involve
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Rain Forest

All folders has to be set to 777 (CHMOD)?

Angelina Belle

Usually -- unless your host does not allow that.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Rain Forest

Ah, but only proxy-users got this problem so I don't know what file could caused this issue. :)

Advertisement: