• Welcome to Simple Machines Community Forum. Please login or sign up.
September 20, 2021, 12:20:33 PM

News:

Follow SMF on Twitter.


TinyPortal

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

Previous topic - Next topic

bloc

Quote from: riekl on February 22, 2005, 01:48:58 PM
I love this mod .. 2 questions ..

#1) The front page has the no articles thing .. however .. in the tpadmin i have it set to show the posts from my announcements forum .. yet nothing i post in the announcements forum appears on this front page ??

#2) On your site you have a block showing the most recent threads .. i desperatly need that :) have code for that ?

1. As others have said, check that all members/non-members actually can see them through the forum.

2. The recent topics block on BlocZone is indeed using SSI.php, and that block will be built-in upon the next beta release.

mennou

it'd  be nice  of you ....most of the mods  only works with the default  smf theme.. it'd be nice if  u can help me out..


Quote from: Bloc on February 22, 2005, 01:34:31 PM
Well, at least some of my themes are already converted : Helios, Mercury and Themis. And of course SMF default theme..that one is the the one that gets modded..! For downloads of my converted ones , look here :
http://www.bloczone.net/smf/index.php?board=24.0

As for the others they will have to be done manually, but its only index.template.php in them that needs some modifications. If the theme authors agreed on that, i could help out on this...but I won't start mass-converting them as such.

I will make a tutorial on how to convert other themes though. 

riekl

Bloc,

There is a problem with this :)  Every other portal I have seen uses the USERS permissions to access those threads not guest.  With your portal unless i give guest access to the forum, no one, not even administrators see anything at all on the front page.

Can't you make the portal use the users permissions so that if a guest is on sure they see a blank page, but if a user with access is logged on they see the threads .. thats how i've always seen it done ?

bloc

hm..I just noticed this too..I have to get back to you when I have found out what it can be.

bloc

Ok, I have looked at the way SSi.php does things - which the boardnews use - and it seems that it just checks if the board is allowed for guests. If not, it don't show anything.

I may have to supply a slightly modified function instead of the SSi.php one, which I was hoping to avoid. But current behavior is not what I want, the guest may not see anything, but members should. If the board are just allowed for certain membergroups, that too should be reflected.

verbam

Would it be in the next upgrade from TPortal ?

This was the reason why i configured my board as discribed before:

Forum Configuration --> Edit Features and Options --> Allow guests to browse the forum  = NO
Manage Permissions  --> Permissions by Board (your Board name) --> Unregistered Guests = YES


In this way my MEMBERS can see the topics in the PORTAL and not the guest.
The only negative thing about this, is that you HAVE to login to see something from the board.

In NORMAL situation it has to be:
Forum Configuration --> Edit Features and Options --> Allow guests to browse the forum  = YES
Manage Permissions  --> Permissions by Board (your Board name) --> Unregistered Guests = NO


Then guest can see the PORTAL & his news.

CU

bloc

Yes, this is important, so I will try have this working for the next release.

mennou

 8)  can you  add a small  poll (voting) on the next version??

bloc

One from the forum you mean?

mennou

yeah but it has to be on ur portal..    here's an example http://mkportal.it/   roll  down  u will see the poll.. it'd be awsome.

wise

just installed the portal. It's adjusted my frontpage - but I dont see any tpadmin settings at all?? How do I edit the portal??!!

NightOwl

Quote from: mennou on February 23, 2005, 02:44:04 PM
8)  can you  add a small  poll (voting) on the next version??

Once the blocks can runs php inside, You can put anything to it.

Adrian Malacoda

February 24, 2005, 10:59:20 PM #132 Last Edit: February 24, 2005, 11:02:53 PM by Abwayax
Well I've fixed the 'read more' bug, you just have to change the PHP a little bit:

This was a modification I made to the TPortal.template.php file in my theme directory.
Quote// if featured..do something to the subject?

                    echo '</div><div style="padding: 8px; padding-top: 0px;" class="windowbg2"><div style="padding-bottom: 4px; vertical-align: bottom;" class="smalltext" style="color: #0000f0;"> '.$news['time'].' '.$txt['tp-by'].' <b>
                                                  <a href="'.$news['poster']['href'].'">'.$news['poster']['name'].'</a></b></div>';
         if(isset($_GET['page']))
         {
            $news['link'] = 0;
         }

                  if($news['icon']!='noicon'){
                              echo '<span class="normaltext">'.$news['body'].'</span>';
NOTE: The boldface text is my addition. The rest are already in the PHP file.

bloc

Thanks, but I have already re-written that whole block of code somewhat, to make it work like intended. The fetching/checking of $_GET values is done in the Sources/TPortal.php, not in the template - as it should.

webhigh

February 25, 2005, 06:48:27 AM #134 Last Edit: February 25, 2005, 06:50:15 AM by webhigh
Just wanted to chime in and say that because of your Tiny Portal I am again attempting to switch from phpBB to SMF. Still don't like the way permissions are set (way too confusing - spent almost 6 hours yesterday getting them to work the way I need) but the TP allows me to do things I need with customers of our reseller - most noteably show ads for the vendors just to their clients.

So thanks for a great job well done on this mod - when do you plan a update release ? And does anyone know where to get a copy of the classic yaBBse(?)  theme that works the link on the authors site does not work.

Thanks again

bloc

Thank you. I hopefully will update it within the next days.

mennou

bloc beside the portal mod what other mods you have ??

bloc

None. I mainly do themes. ;D

mennou

so what u plan to add on the next version??

verbam

I am here again, but maybe it is important to know.
Conserning:
QuoteForum Configuration --> Edit Features and Options --> Allow guests to browse the forum  = NO
Manage Permissions  --> Permissions by Board (your Board name) --> Unregistered Guests = YES


In this way my MEMBERS can see the topics in the PORTAL and not the guest.
The only negative thing about this, is that you HAVE to login to see something from the board.

In NORMAL situation it has to be:
Forum Configuration --> Edit Features and Options --> Allow guests to browse the forum  = YES
Manage Permissions  --> Permissions by Board (your Board name) --> Unregistered Guests = NO

There is some future in SMF, where it goes wrong, i mean next:

1) give guest permission to see some topics
2) in this topics i have add an attached document
3) give the guest NO permission to download these attached document

if you go to my site everything is going ok, means you can actualy see the topics as guest (& pitty: also the attached document).
if i click (as guest) on the attached item, SMF ask you to login and login and login and ........

for this reason i have uninstall temporary the TPortal and the results seems to be the same.

as long this error will be there (i have send allready a note to SMF) the portal can NOT react on a proper way.

Note:
Many people are thinking: why let them see the topics & not the attached documents?
1) because SMF haves this settings to do it
2) because the topic contains explanation about the document who is attached

I hope i am not disturbing you too much with this kind off info.
(sorry for my bad english)
CU

Advertisement: