Advertisement:

Author Topic: TinyPortal  (Read 758709 times)

Offline Swifty550

  • Semi-Newbie
  • *
  • Posts: 43
Re: TinyPortal
« Reply #1120 on: February 19, 2011, 04:22:06 PM »
I'm trying to install this on a fresh SMF2.0RC5 install but when I install TinyPortal all I get is; Table 'smf.smf_tp_settings' doesn't exist


Help is appreciated please.

Offline siath

  • Newbie
  • *
  • Posts: 4
Re: TinyPortal
« Reply #1121 on: February 23, 2011, 01:17:54 PM »
I seem to be having a problem.

My blocks are visible to guests no matter if I choose them to be visible or not.

I try to hide a block but nothing I do hides them fom guests, they can see all blocks I have.

Any ideas?

EDIT: Seems, ungrouped members Includes Guests, is that correct? There is no selection for regular members in the member group list. Mine has Guests and ungrouped members and then a list of other groups I created. Seems like Ungrouped members should be Members. Is there a way to fix this?
« Last Edit: February 23, 2011, 01:27:08 PM by siath »

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1122 on: February 23, 2011, 02:12:25 PM »
Make sure that the groups is setup not to view and see blocks. That you want. I think theres a option for that. I don't know if that works both ways.

create a new block and take view for all members including guest. and then log out.
Go to the portal and look to see if you can see the block. If yes. You mite have to ask some one else. Then again. Let me test this and I'll let you know.

SMF Forums http://www.df-barracks.com Where gamers go.

Offline siath

  • Newbie
  • *
  • Posts: 4
Re: TinyPortal
« Reply #1123 on: February 23, 2011, 02:20:14 PM »
I'm narrowed the problem to this.

I have one post based group called Members (this is the default group members are added into.) I can't remove it.

All the rest are non post based groups.

However, when looking at blocks or anything with permissions (articles). the members group doesn't show. The ungrouped members does with is the non past based member group. I think they're conflicting or something as members (post based) is a child of regular members.

I don't know of any way to make SMF no use posted based groups at all or even to remove the members group itself.

I checked and it's the same thing on a buddies forum too guests can see all blocks.

function get_grps seems like the culprit.

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1124 on: February 23, 2011, 02:34:14 PM »
I'm narrowed the problem to this.

I have one post based group called Members (this is the default group members are added into.) I can't remove it.

All the rest are non post based groups.

However, when looking at blocks or anything with permissions (articles). the members group doesn't show. The ungrouped members does with is the non past based member group. I think they're conflicting or something as members (post based) is a child of regular members.

I don't know of any way to make SMF no use posted based groups at all or even to remove the members group itself.

I checked and it's the same thing on a buddies forum too guests can see all blocks.

function get_grps seems like the culprit.

More then likely. Yes. Your right. See I created a new block, and I set it up so no one can view it and that works. So the problem is Ungrouped members. If you uncheck that and log out. The block you don't want guests to see is gone. When I log in as a Ungrouped member I can see it.

So the problem is telling who is a guest and who is log in and if they are not assigned to a group.
See guest are all so in that same group call Ungrouped members. so this may be a bug in the Portal. You may want to ask about this mod is Mod support.


 
SMF Forums http://www.df-barracks.com Where gamers go.

Offline siath

  • Newbie
  • *
  • Posts: 4
Re: TinyPortal
« Reply #1125 on: February 23, 2011, 03:04:20 PM »
Sorry, I thought this was the help thread for this mod, where do I need to post about this problem? Since this seems to be broken pretty badly as you can't hide blocks from guests and still have members see them.

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: TinyPortal
« Reply #1126 on: February 23, 2011, 03:18:49 PM »
I havent used TP but isnt there an option when you create or edit a block to determine if guests can see it or not.

And no guests are not a part of the ungrouped
Guests =  anyone not logged into the forum
Ungrouped = anyone not assigned to a primary membergroup.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1127 on: February 23, 2011, 03:22:10 PM »
If you read back a within the last few pages, this issue has already been dealt with.
IchBin™        TinyPortal
Coding Guidelines       

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1128 on: February 23, 2011, 03:26:15 PM »
In Mods Support
SMF Forums http://www.df-barracks.com Where gamers go.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
IchBin™        TinyPortal
Coding Guidelines       

Offline siath

  • Newbie
  • *
  • Posts: 4
Re: TinyPortal
« Reply #1130 on: February 23, 2011, 03:58:06 PM »
Sorry about that, I found your fix. I did a search but didn't find anything on it. I'ts a bit hard to follo 50 plus pages of stuff. :P

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1131 on: February 23, 2011, 06:49:58 PM »
I havent used TP but isnt there an option when you create or edit a block to determine if guests can see it or not.

And no guests are not a part of the ungrouped
Guests =  anyone not logged into the forum
Ungrouped = anyone not assigned to a primary membergroup.

Sorry. Spoogs. I just tried that my self. If I create a new block and give access to guest and Ungrouped Members and then log out. I should be able to see the block. So I log in again and uncheck the box for Guests and went back to the portal and log out again. That block is still viewable by guest. I will try it it again to make sure and let you know.

SMF Forums http://www.df-barracks.com Where gamers go.

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1132 on: February 23, 2011, 06:57:30 PM »
Sorry about that, I found your fix. I did a search but didn't find anything on it. I'ts a bit hard to follo 50 plus pages of stuff. :P

Siath, If you don't want guests viewing the block you want to hide. You must uncheck both of them. Uncheck guests and Ungrouped Members

I just tested that again and that's how it works on my portal.
SMF Forums http://www.df-barracks.com Where gamers go.

Offline Spoogs

  • SMF Hero
  • ******
  • Posts: 1,676
  • Gender: Male
Re: TinyPortal
« Reply #1133 on: February 23, 2011, 07:11:16 PM »
Apparently this is a bug in the mod, Ichbin posted a link to a fix a few posts up ;)

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1134 on: February 23, 2011, 07:44:53 PM »
Ah yes, I didn't take into account that the editor choice changes whether it is HTML or BBC. I only sorta fixed BBC last time. Here's some files to try and should work with either choice on the editor now. As usual, make a backup before replacing your files just to be safe.


Hey IchBin..
I forgot to tell you that I upgaded my version to 2.0 RC5 and I tried the updated parts for the portal. and they didn't work this time.

The Download header is all messed up like before and as you know the guest access problem that I didn't know about. Lucky thing I had a back up. LOL

Any way sorry I will need a new fix and that other guy will need it too.

Before I forget I'm using TinyPortal    1.102
« Last Edit: February 23, 2011, 07:54:25 PM by bigjoe11a »
SMF Forums http://www.df-barracks.com Where gamers go.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1135 on: February 23, 2011, 08:27:45 PM »
I don't know what you are talking about when you say your download header is messed up. Guest access fix has already been provided.
IchBin™        TinyPortal
Coding Guidelines       

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1136 on: February 23, 2011, 08:52:59 PM »
I don't know what you are talking about when you say your download header is messed up. Guest access fix has already been provided.

Sorry I should have given more details. the download header part. Look below

<p>Downloads:</p><p>If you don't see a file, sample or tool you need. Please ask us. I'm sure my staff will help you in some way. <br></p><p><br></p><p><br></p>

This is how it looks. You did give me a fix for this. How ever I tried to apply that fix in the portal that I have now. The only thing that I changed was I updated my SMF to RC5. and I tried to apply your updates. and I got errors. Like tables missing and not able to read the mysql database.

and as for the fix you added the guest access. The options I was to comment out or add. Don't exist.
any ideas.



SMF Forums http://www.df-barracks.com Where gamers go.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1137 on: February 24, 2011, 12:55:43 PM »
Well, when upgrading between RC's you'll lose all your changes once you install the mod again. If you can't figure out how to do the modifications, post your file and I'll do them for you.
IchBin™        TinyPortal
Coding Guidelines       

Offline bigjoe11a

  • Sr. Member
  • ****
  • Posts: 851
  • Gender: Male
  • My Name is Joe, and I code in PHP and C#
    • Delta Force Barracks
Re: TinyPortal
« Reply #1138 on: February 24, 2011, 02:06:20 PM »
Ok, here one. are there any others you need. Let me know. witch ones..



SMF Forums http://www.df-barracks.com Where gamers go.

Offline IchBin™

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 11,115
  • Gender: Male
  • I don't speak German.
Re: TinyPortal
« Reply #1139 on: February 24, 2011, 02:13:48 PM »
Need TPdlmanager.php as well.

ETA: Added fixed TPortal.php to my post.
« Last Edit: February 24, 2011, 02:20:37 PM by IchBin™ »
IchBin™        TinyPortal
Coding Guidelines