News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

SimplePortal

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

Previous topic - Next topic

TommyJoe

#2200
Quote from: TommyJoe on May 25, 2009, 01:15:59 PM
Is there a way to have multiple portal pages?

Not yet, but it will be included in 2.3 version, which is at the very early alpha stages now. There are several custom pages/action mods in the Mod Site, you can use them until 2.3 is out.

Quote from: TommyJoe on May 25, 2009, 01:15:59 PM
I have several feeds on the portal page and scrolling down I find "Pages: [1] " and then
it continues on below that? Am I missing something in the setup for the portal?

Not sure about this one, would you attach a screen shot?
[/quote]


Thanks for all the hard work, this is a great addition to any board!
Here is the screen shot!

also if necessary, the site is http://southbendforums.com

[SiNaN]

Admin > SimplePortal > Configuration > Article Settings > Enable Articles

Make sure that the option is unchecked.

If it is already like that, do you have any board news block?

And you're welcome. Glad that you find the mod useful.
Former SMF Core Developer | My Mods | SimplePortal

MultiformeIngegno

Quote from: [SiNaN] on May 25, 2009, 01:29:57 PM
Quote from: lorenzone92 on May 25, 2009, 12:30:54 PM
Hello!!
First of all, thanks for this wonderful MOD!! :D

I have SMF installed in /forum directory (i've created a subdomain, so in the browser it's forum.mysite.com), is it possibile to install simpleportal and have the portal in the home page?

I try to explain better... I'd like to have the simpleportal page displayed in www.mysite.com but continue to have the forum in /forum...

Thanks in advance!! ;)

Yeah, we have the standalone support. Select "Standalone" as the portal mode from Admin > SimplePortal > Configuration > General Settings area. Then open the SPStandalone.php file in your root with a text editor (like Notepad) and follow the instructions written with comment lines.
Thanks for the reply!!
Well... I've installed SimplePortal, then I've selected "Standalone" and setted as standalone url www.mysite.com/portal.php.
Then I've opened SPStandalone.php and I've setted // Should be the full path! to $forum_dir = '/forum';
Then I moved the file to my root (mysite.com) and renamed it to portal.php but... if i visit portal.php it doesn't work... pheraps I've missed something...
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

[SiNaN]

What do you mean by "it doesn't work". The error you are getting or the result?
Former SMF Core Developer | My Mods | SimplePortal

MultiformeIngegno

Quote from: [SiNaN] on May 25, 2009, 02:22:34 PM
What do you mean by "it doesn't work". The error you are getting or the result?
it simply redirects to my root...
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

[SiNaN]

Do you have anything to rewrite URLs, or a redirection of some kind with .htaccess in the root? Does it work when you move it to some other directory?
Former SMF Core Developer | My Mods | SimplePortal

romper

Yes, it worked....but now I'm trying all portals to see which one looks the best for me! SP is very high on my list, but have one quick question. Tiny portal has much nicer (smaller) member information at the top. SP has huge avatar, then thing after that and itb takes half of my page...it's too big for my taste, can that be changed easily?

MultiformeIngegno

Quote from: [SiNaN] on May 25, 2009, 02:35:43 PM
Do you have anything to rewrite URLs, or a redirection of some kind with .htaccess in the root? Does it work when you move it to some other directory?
No... my .htaccess only had:
errordocument 404 /
errordocument 403 /
errordocument 500 /

Now i've removed them too, and it's blank...

Here is the file, so you can understand better the error: http://www.rockciclopedia.com/portal.php

This is the screen in the settings:
http://img35.imageshack.us/img35/1395/smfsettings.png

...and this is the portal.php file:
http://img29.imageshack.us/img29/893/portalfile.png

Summing up... my forum url is: forum.rockciclopedia.com, I'd like to have the portal in rockciclopedia.com/portal.php ...

Thanks for you really fast replies! ;)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

arockets

Great Mod :)  thanks alot.  I do have a question although.  I don't have a "FORUM" menu option in my top menu, is this correct?  I saw a screenshot of the mod in one of the very first post's here, and saw that that one had it.  How can I resolve this?

[SiNaN]

lorenzone92:

Are you sure that you set the $forum_dir correctly first? See if this works:

$forum_dir = dirname(__FILE__) . '/forum';

arockets:

Glad that you find the mod useful. Check out this topic for your question:

http://simpleportal.net/index.php?topic=148.0
Former SMF Core Developer | My Mods | SimplePortal

zorro18

Hi all,

I have updated smf from 1.1.9 to 2.0 RC 1-1 yesterday. I uninstalled previous sp(2.2.1) before the forum upgrade and reinstalled it today on 2.0 RC 1-1.

But there are a lot issues that came up with this re installation.

1. There are no right side blocks, even though we set some, they don't appear

2. Recent Posts error message
QuoteDatabase error, given array of integer values is empty. (include_boards)

3. I used to have mgallery, which has been uninstalled during the forum upgrade, the images in the gallery still appear in the SP.

4. SP still behaves like the old install with all the html still there.

What has to be done now to make a SP look and behave like a complete new install.?

Kindly help. I cant imagine a forum without SP. Thank you

you can see the sp live here
SMF community Rocks !!

MultiformeIngegno

#2211
Hey! Now it works!! Don't know why... I've removed portal.php, reuploaded SPStandalone.php and now it works!

Now there's another problem... I can't login in SPStandalone.php...
I'm logged in the forum, but if I visit the portal ( www.rockciclopedia.com/SPStandalone2.php ) I can't login, if I try, I'm redirected to the forum (where I'm already logged), so I re-enter password and username but it doesn't login in the portal!
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

[SiNaN]

Admin > Server Settings > Cookies and Sessions

Enable local storage of cookies => unchecked
Use subdomain independent cookies => checked

Make sure your settings are like that.
Former SMF Core Developer | My Mods | SimplePortal

MultiformeIngegno

#2213
Quote from: [SiNaN] on May 26, 2009, 09:50:57 AM
Use subdomain independent cookies => checked
This was unchecked... I checked it, cleared the cache in SMF but... the same..

EDIT: I only had to logout... fixed!! ;)
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

MultiformeIngegno

Another question... :P
How can I change the forum title in the welcome area?
...and remove the board name above the first block?



...and, really last!, is it possibile to change the "description" and "keywords" meta tags?

Thanks for your patience!!!! :P

P.S.: This portal is really awesome!!
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

arockets

Quote from: [SiNaN] on May 26, 2009, 04:45:04 AM
lorenzone92:

Are you sure that you set the $forum_dir correctly first? See if this works:

$forum_dir = dirname(__FILE__) . '/forum';

arockets:

Glad that you find the mod useful. Check out this topic for your question:

http://simpleportal.net/index.php?topic=148.0


That did the trick, thanks again :)

[SiNaN]

lorenzone92:

First; do you want to remove them all over the forum or just the portal page?

Second; check SPortal2.php file. There is a commented out line in sportal_init() function. If you take the lines out, it will remove it.

Third; again, is it just for the portal page or for all forum you want to change meta tags and keywords?

arockets:

You're welcome. ;)
Former SMF Core Developer | My Mods | SimplePortal

MultiformeIngegno

#2217
I'd like to change 'em only in the portal... :)

In SPortal2.php I see this:
function sportal_init($standalone = false)
{
   global $context, $sourcedir, $scripturl, $modSettings, $txt;
   global $settings, $options, $boarddir, $maintenance, $sportal_version;
   static $initialized;
RockCiclopedia (wiki - forum), Tutta la storia del rock, scritta da voi ...
Rimanere aggiornati sul mondo della musica grazie al nuovo feed "RockCiclopedia Music News"!

LOVELORD

hove to make all block same? heigh and weith to be same...

etc:

left block 15 % middle 60% and right 15%

also down block to be 95 %

[SiNaN]

Quote from: lorenzone92 on May 26, 2009, 10:39:14 AM
I'd like to change 'em only in the portal... :)

Then you can use $context['standalone'] to check if you are on portal or not, and echo content according to that in index.template.php file. Example:

if (!empty($context['standalone']))
echo 'I\'m on portal page';
else
echo 'I\'m not on portal page';


Quote from: lorenzone92 on May 26, 2009, 10:39:14 AM
In SPortal2.php I see this:

You should be able to see more than that, no? ;)

Code (Find) Select
// If you want to remove Forum link when it is
// alone, take out the following two comment lines.
//if (empty($context['linktree'][1]))
// $context['linktree'] = array();


Code (Replace) Select
// If you want to remove Forum link when it is
// alone, take out the following two comment lines.
if (empty($context['linktree'][1]))
$context['linktree'] = array();


Quote from: LOVELORD on May 26, 2009, 02:02:43 PM
hove to make all block same? heigh and weith to be same...

etc:

left block 15 % middle 60% and right 15%

also down block to be 95 %

I'm not sure if I understood you, can you elaborate?
Former SMF Core Developer | My Mods | SimplePortal

Advertisement: