Advertisement:

Author Topic: TinyPortal  (Read 747222 times)

bloc

  • Guest
Re: TinyPortal
« Reply #120 on: February 22, 2005, 04:54:53 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.

Offline mennou

  • Full Member
  • ***
  • Posts: 507
  • Gender: Male
    • Unitymix,network
Re: TinyPortal
« Reply #121 on: February 22, 2005, 05:52:45 PM »
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..


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. 

Offline riekl

  • Semi-Newbie
  • *
  • Posts: 25
Re: TinyPortal
« Reply #122 on: February 22, 2005, 06:12:45 PM »
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

  • Guest
Re: TinyPortal
« Reply #123 on: February 22, 2005, 07:48:45 PM »
hm..I just noticed this too..I have to get back to you when I have found out what it can be.

bloc

  • Guest
Re: TinyPortal
« Reply #124 on: February 22, 2005, 08:16:44 PM »
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.

Offline verbam

  • Semi-Newbie
  • *
  • Posts: 21
    • VerBam
Re: TinyPortal
« Reply #125 on: February 23, 2005, 05:04:32 AM »
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

  • Guest
Re: TinyPortal
« Reply #126 on: February 23, 2005, 05:40:54 AM »
Yes, this is important, so I will try have this working for the next release.

Offline mennou

  • Full Member
  • ***
  • Posts: 507
  • Gender: Male
    • Unitymix,network
Re: TinyPortal
« Reply #127 on: February 23, 2005, 02:44:04 PM »
 8)  can you  add a small  poll (voting) on the next version??

bloc

  • Guest
Re: TinyPortal
« Reply #128 on: February 23, 2005, 05:25:05 PM »
One from the forum you mean?

Offline mennou

  • Full Member
  • ***
  • Posts: 507
  • Gender: Male
    • Unitymix,network
Re: TinyPortal
« Reply #129 on: February 23, 2005, 06:46:08 PM »
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.

Offline wise

  • Newbie
  • *
  • Posts: 5
Re: TinyPortal
« Reply #130 on: February 24, 2005, 06:33:45 AM »
just installed the portal. It's adjusted my frontpage - but I dont see any tpadmin settings at all?? How do I edit the portal??!!

Offline NightOwl

  • Semi-Newbie
  • *
  • Posts: 28
Re: TinyPortal
« Reply #131 on: February 24, 2005, 07:52:16 AM »
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.

Offline Adrian Malacoda

  • Semi-Newbie
  • *
  • Posts: 11
  • Gender: Male
Re: TinyPortal
« Reply #132 on: February 24, 2005, 10:59:20 PM »
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.
« Last Edit: February 24, 2005, 11:02:53 PM by Abwayax »

bloc

  • Guest
Re: TinyPortal
« Reply #133 on: February 25, 2005, 04:34:59 AM »
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.

Offline webhigh

  • Semi-Newbie
  • *
  • Posts: 44
Re: TinyPortal
« Reply #134 on: February 25, 2005, 06:48:27 AM »
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
« Last Edit: February 25, 2005, 06:50:15 AM by webhigh »

bloc

  • Guest
Re: TinyPortal
« Reply #135 on: February 25, 2005, 06:58:06 AM »
Thank you. I hopefully will update it within the next days.

Offline mennou

  • Full Member
  • ***
  • Posts: 507
  • Gender: Male
    • Unitymix,network
Re: TinyPortal
« Reply #136 on: February 25, 2005, 07:48:10 PM »
bloc beside the portal mod what other mods you have ??

bloc

  • Guest
Re: TinyPortal
« Reply #137 on: February 25, 2005, 08:04:17 PM »
None. I mainly do themes. ;D

Offline mennou

  • Full Member
  • ***
  • Posts: 507
  • Gender: Male
    • Unitymix,network
Re: TinyPortal
« Reply #138 on: February 25, 2005, 08:10:03 PM »
so what u plan to add on the next version??

Offline verbam

  • Semi-Newbie
  • *
  • Posts: 21
    • VerBam
Re: TinyPortal
« Reply #139 on: February 26, 2005, 06:13:09 AM »
I am here again, but maybe it is important to know.
Conserning:
Quote
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

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