SimplePortal
Support => English Support => Topic started by: Everyman on June 11, 2009, 06:07:28 PM
-
Hi, and thanks for the great work!
Upon arrival, only a header and menu bar greets us; one must click on the Home menu to get the portal to open.
How do I make it open automatically at the portal?
http://timetender.ca/wisestreet/isittrue/
Powered by SMF 2.0 RC1-1
SimplePortal 2.2.2
Wm
-
Ah, this is an annoying SMF bug, but it is easily fixable with a hardcoded edit.
Could you please perform the edit below:
// Call obExit specially; we're coming from the main area ;).
obExit(null, null, true);
if (allowedTo('admin_forum'))
var_dump($_GET);
// Call obExit specially; we're coming from the main area ;).
obExit(null, null, true);
That edit should make some code like "array ( - => 'happy')" appear at the top of your forum (only for admins), could you please post that code when you type 'http://timetender.ca/wisestreet/isittrue/' straight into your browser? You can then remove the edit.
-
I have the same problem and did as you say and on my board, it says
array(1) { ["vaerk_dk"]=> string(0) "" }
So what do I do now ?
-
Perform this edit:
$portal_actions = array(
$portal_actions = array(
'vaerk_dk' => true,
@Everyman,
Your solution will be similar, except with a different value, instead of 'vaerk_dk'.
-
Thank you Nathaniel, it worked. :)
-
Well...
I have the same problem described as above...
Replaced the obExit snippet from index.php...
Then started to have on the top of the page something like this:
array(1) { ["toclubeportugal_com"]=> string(0) "" }
So,I added "toclubeportugal_com" to $portal_actions array in Subs-SPortal2.php
Now portal works...
But I have the array displayed on the top of the page...
:dead:
-
You need to remove the other edit. Just leave the $portal_actions edit there and take the other change back.