News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

TinyPortal

Started by lurkalot, February 12, 2005, 04:43:00 AM

Previous topic - Next topic

SN

Hi Bloc, Really nice Mod this.

I have been looking around for a Portal System for my site, but im not sure which one to go with.

I just want to ask a few questions about this one

Will i be able to use it with any Theme, without editing the code?

Is the extra Buttons like ''Forum'' added on Install?

Will i be able to remove the collapse Blocks buttons so it looks more like a front page ?

bloc

Thank you :)

Yes, you can use it with any theme.

No, the "forum" button isn't added to custom themes, reason is simply that the buttons are hardcoded in the themes, in SMF 1.1.x anyway. In SMF 2 it will be no problem, but TP2 isn't ready yet. All of my themes support the "forum" button in SMF 1.1.x though, so having a look at them or at default theme of course, should help you add the button manually.

Yes, you can simply elect to let the users NOT collapse blocks, the icon will then not appear. Its per-block-basis so you need to go through and change them. For a totally customable block, you can turn off both title, frame and background, leaving the styling up to you and the block content.

victoryrock

Errors during installation.

Great Mod, except I am getting errors for:
Themes/default/index.template.php
Sources/Load.php

Attached are the files.  Are you able to please to see what is wrong with them?

Thanks SO much!
VR

bloc

Victoryrock, the index.template.php only needs a forum button, so you can disregard that error and just add it manually later on.

The Load.php fails on this codebit:
// Build up the linktree.
$context['linktree'] = array_merge(
$context['linktree'],
array(array(
'url' => $scripturl . '#' . $board_info['cat']['id'],


You could go ahead there too, as it the changes can be added manually, but there a few areas to change and it migh be errors before you made the code changes.

...or you can try another route: do a upgrade of SMF(just use same version as your current) to clean any mods away, then install TP first, followed by Aeva + other mods. That might also work.

victoryrock

Thanks Bloc,

I am not too familiar with manual changes, so do I need a forum button?

Quote from: Bloc on March 04, 2009, 09:27:33 AM
Victoryrock, the index.template.php only needs a forum button, so you can disregard that error and just add it manually later on.


If I go ahead with the install while ignoring the error for this script, what do I need to replace it with?

Quote from: Bloc on March 04, 2009, 09:27:33 AM
The Load.php fails on this codebit:
      // Build up the linktree.
      $context['linktree'] = array_merge(
         $context['linktree'],
         array(array(
            'url' => $scripturl . '#' . $board_info['cat']['id'],


You could go ahead there too, as it the changes can be added manually, but there a few areas to change and it migh be errors before you made the code changes.

Thanks,
VR

IchBin™

vistoryrock, the forum button is needed because TinyPortal adds a home page by default. So instead of going to your boardindex when people hit your forum, they will hit the TP page first. Unless you change that setting inside TP to go straight to the boardindex again. So, by default you need a forum button. If you take a look at tinyportal.net you can see how it works by clicking on both buttons.

The changes that need to happen to the Load.php file can be found on this page. If you go ahead with the install you'll have to make the changes shown on this page.
http://docs.tinyportal.net/index.php/topic,140.html

IchBin™        TinyPortal

victoryrock

IchBin,

If I wasn't planning on having the front page anyways, can I go ahead and install without anymore changes?


IchBin™

If you're getting an error on the Load.php file during install, you still have to make the changes to that file. But you don't need to add a forum button the the index.template.php file if you don't want to.
IchBin™        TinyPortal

victoryrock

For the TP Shout, Is there a sound that I can't locate in the the settings somewhere?

I would like it so that when someone adds a shout there's a ding or sound of some sort.

victoryrock

bloc

Currently thats not possible - the shouts aren't logged whether they are new since you last saw them, and they are not fetched in real-time either.

Something like a chat would be more appropriate for that.

victoryrock

Hey Bloc,

What's the chances that you can add the code in for my Load.php file (attached) and then I can just replace it after I install it with errors?

I am just to afraid to mess something up.

Thanks Bloc


Quote from: Bloc on March 04, 2009, 09:27:33 AM
Victoryrock, the index.template.php only needs a forum button, so you can disregard that error and just add it manually later on.

The Load.php fails on this codebit:
      // Build up the linktree.
      $context['linktree'] = array_merge(
         $context['linktree'],
         array(array(
            'url' => $scripturl . '#' . $board_info['cat']['id'],


You could go ahead there too, as it the changes can be added manually, but there a few areas to change and it migh be errors before you made the code changes.

...or you can try another route: do a upgrade of SMF(just use same version as your current) to clean any mods away, then install TP first, followed by Aeva + other mods. That might also work.

BarfBag

I'm having trouble installing TinyPortal.

Board URL: http://chexquest.org/
SMF 1.1.8
1.     Extract Tree     ./Themes     
2.    Extract Tree    ./Sources    
3.    Extract Tree    ./tp-downloads    
4.    Extract Tree    ./tp-images    
5.    Extract Tree    ./tp-files    
6.    Execute Code    tp_install.php    
7.    Execute Modification    ./index.php    Test successful
8.    Execute Modification    ./Sources/Load.php    Test successful
9.    Execute Modification    ./Themes/default/index.template.php    Test failed
10.    Execute Modification    ./Themes/babylon/index.template.php    Test successful
11.    Execute Modification    ./Sources/Subs.php    Test successful
12.    Execute Modification    ./Sources/ManagePermissions.php    Test successful
13.    Execute Modification    ./Sources/Security.php    Test successful
14.    Execute Modification    ./Sources/Errors.php    Test successful
15.    Execute Modification    ./Themes/default/Help.template.php    Test successful
16.    Execute Modification    ./Sources/Profile.php    Test successful
17.    Execute Modification    ./SSI.php    Test successful
18.    Execute Modification    ./Sources/BoardIndex.php    Test successful
19.    Execute Modification    ./Sources/QueryString.php    Test successful
20.    Execute Modification    ./Sources/Subs-Post.php    Test successful
21.    Execute Modification    ./Sources/Admin.php    Test successful

I'm not sure whether or not I should go through with the installation.  Any ideas?

IchBin™

You can continue, you will only need to add a forum button to the index.template.php file. You can see the instructions for that file on this page at TP.net.
http://docs.tinyportal.net/index.php/topic,140.html
IchBin™        TinyPortal

mark7144

#413
Bloc:

I want my SSI news articles on my home page to have their own separate non-forum pages when clicked on, that's the only thing I want on my website. Is this mod appropriate? And how would I implement it for that?

I don't want my forum changed at all and when you click on the news article, I'd like it so /forum/ is not part of the URL.

bloc

Quote from: mark7144 on March 15, 2009, 12:45:51 PM
Bloc:

I want my SSI news articles on my home page to have their own separate non-forum pages when clicked on, that's the only thing I want on my website. Is this mod appropriate? And how would I implement it for that?

I don't want my forum changed at all and when you click on the news article, I'd like it so /forum/ is not part of the URL.
Thats not possible at the moment. You would need a call in SSI.php to actually fetch an article to be displayed - since not the whole of TP is loaded when calling SSI.php. It is that you seek..? showing an article from TP outside the forum folder, outside of SMF so to speak..?


mark7144

I have a board on my forum called 'News' and the threads grabbed from that are shown on my non-forum home page using SSI. I want it so when you click on the topic from the home page, it shows in its own page instead of a thread.

bloc

For that to work you probably need to 1) fetch the info from 'News" using SSI and returned as an array, and 2) make your own links from that info(it would have the topic number in the array), and finally 3) let another SSI function fetch the actual post into your page.

None of these is possible from TP I am afraid, but you might be able to do it from your own pages, by the help of a mod that adds a SSI function fetching single post. I would get the SSI info on topic zzz into xx.php and make the links on xx.php point to yy.php?topic=zzz, then inside yy.php use that single-post SSI to show topicID=zzz.(first post will show then naturally)

mark7144

Thanks for the info, I'll ask in the coding discussion board.

ccraciun

Hi.
I installed TP 1.0.3 on my test forum and everything work great until now, but i have a question: how can i preserve the layout of the forum page (keeping the whole width). I would like the layout of TP (left, top, right panels) to appear only in the frontpage, but when i click on the forum button, i would like to have the default layout without the panels. Is there a way to accomplish that? I didn't find it in the configuration.
One other thing: there is a way to show "most readed topic" block? I found only "recent topics".
Many thanks!

IchBin™

In the panel settings you have the option to turn off panels when in the forum. For most read topic, you can use ssi_topTopicsViews.
IchBin™        TinyPortal

Advertisement: