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

lostprodigy

Are you going to update this to 2.0.1 anytime soon?

KnightBob


Angelina Belle

Quote from: KnightBob on October 04, 2011, 04:48:22 PM
Is it possible to acces me custom page from the main domain instead of the community sub domain?
I am not certain. Please give more details.  Do you want a "portal" page in your main domain?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Adrek

I have two domains - domain1.com and domain2.com.
At domain1.com i have forum. What I need to do to have portal (standalone mode) at domain2.com ?
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Angelina Belle

SimplePortal supports a standalone portal page anywhere within the same domain. So you can have the portal page in a different SUB domain from the forum.  But SimplePortal does not support a portal in another domain.

What you can try is putting StandalonePortal.php in domain1.com.
Then, on domain2.com, put a page with an iframe to get domain1.com/StandalonePortal.php

Please tell us how that works.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

KnightBob

I don''t know if you host supports it, but if you host allows you to park a domein, you can create a speciaal folder which contains al the files of the website. I used this system also once when I used IP.Dynamiclite and IP.Board 1.3.1

Adrek

I think that I use iframes...
<html><head><title>Title</title></head>
<frameset cols='*'>
<frame name='main' src='some_url' scrolling='auto' noresize>
<noframes>
<body>
Your browser does not support frames
</body></noframes></frameset>
</html>


Thanks ;)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Angelina Belle

Does this do what you want?

In the future, <iframes> will better than <frames>. <frames> is supposed to be on its way out.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Adrek

So i have to change only <frame name='m... to <iframe name='m... ?

Quote from: AngelinaBelle on October 05, 2011, 12:37:30 PM
Does this do what you want?

That's good enough. But for now i stay with htaccess and 301 to my main domain ;)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Angelina Belle

Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

bearstreet

is there a way to use different widths of portal blocks.
more specifically, i want to use 400 width blocks on portals, and 100 width blocks (left and right ) on my forum.

is it possible?
Dont do drugs, coz if you get caught u will go to prison, and drugs are real expensive in prison
:P

Ask me Maths Questions

Dave J

Quote from: bearstreet on October 06, 2011, 01:59:26 PM
is there a way to use different widths of portal blocks.
more specifically, i want to use 400 width blocks on portals, and 100 width blocks (left and right ) on my forum.

is it possible?

As far as I know you resize the left and right columns and whatever is left is taken up by the centre column. There is no option in the settings to have the same blocks different sizes on the portal and forum at the same time, there may be a way to do it in the files for the portal somewhere but I don't know where they are if they are there at all.

Angelina Belle

SimplePortal does not make that possible.  Only one width.
That's an interesting suggestion, though.
Please take it to the feature requests board at SimplePortal.net

Thanks!
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

żεχเ๏ภ

#4233
http://www.blastbox.co.uk/index.php

Hi, I'd like to change portal page title so that its different from the forum index title. Can anyone tell me how to do that?

Eg. The index.php (homepage/portal page) would be "Blastbox News & Forums" and the forum title would just stay the same.


Thanks,
Jason


Edit: Nevermind... Edited /Sources/PortalMain.php and changed the like "$context['page_title'] = $context['forumname'];" to "   $context['page_title'] = 'BlastBox - TV & Entertainment News and Discussion';"

lostprodigy

Hi I recently installed http://custom.simplemachines.org/mods/index.php?mod=2786 and now my icons won't show up as shown in the screenshot below.

prntscr.com/3e47h

lostprodigy


Eliana Tamerin

Lostprodigy, please don't bump your support requests on here when you have an active support topic on SP.net. It's much easier to find and deal with just one venue for support, so if you're on SimplePortal.net, please try to use that for support as much as possible. It's also courteous to wait a full 24 hours before bumping your request, something you need to work on both here and at SP.net. Your support requests are received, never fear, and they will always be taken care of in a timely manner.
Do NOT PM me for support.

SimplePortal 2.3.6 is OUT!
SimplePortal Project Manager
Download | Docs
SimplePortal: Power of Simplicity!

żεχเ๏ภ

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

foreach ($items as $item)
echo '
<tr>
<td class="sp_recent_icon sp_center">
', sp_embed_image(empty($parameters['type']) ? 'post' : 'topic'), '
</td>
<td class="sp_recent_subject">
<a href="', $item['href'], '">', $item['subject'], '</a>
', $item['new'] ? '' : '<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>', '<br />[', $item['board']['link'], ']', '<br />by&nbsp;', $item['poster']['link'], ',&nbsp;', $item['time'], '
</td>
</tr>';

echo '
</table>';
}
}


If this is the code in PortalBlocks.php for the Recent Topics block, it will show

"Thread Name
[Board Name]
by Last Poster on Date/time"

I wanted it to show

"Thread Name
[Board Name]
by Topic Starter on Date/time"

My question is. How can I change the last poster ( "$item['poster']['link']" ) to the name of the topic starter?



Thanks for any help. :)

Angelina Belle

Do you want to show recent POSTS or recent TOPICS?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

żεχเ๏ภ

Quote from: AngelinaBelle on October 11, 2011, 09:38:43 AM
Do you want to show recent POSTS or recent TOPICS?

I want it to show recent TOPICS, with the TOPIC STARTER's name, instead of LAST POSTER's name.

Advertisement: