TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,946
  • Latest: Sparo
Stats
  • Total Posts: 195,718
  • Total Topics: 21,276
  • Online today: 261
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 74
  • Total: 74

Tinyportal 1.0RC2 and SMF Gallery Lite 3.1.1

Started by Lum-chan, July 19, 2011, 02:20:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lum-chan

I'm having excact the same problem. I'm using SMF 2.0 Final with TinyPortal 1.0RC2. When entering the Gallery, the left panels do show up but as soon as you enter any category, the left panel dissapears. Oddly enought it (the left panel, that is) shows correctly when you aren't logged-in. With SMF Links the panels keep don't display when logged-out.

I tried adding 'gallery;cat=' and 'gallery;cat=8' to each block (left panel) but this doesn't seem to work. Adding 'gallery' will do the trick only for the Gallery mainnpage.

The above goes for both SMF Gallery Lite (and Pro) and SMF Links, both from the same author. I checked his website/forum, there are more with this cosmetic problem.

A link to a preview is here: http://www.passat35i-forum.nl/ (It's in Dutch). The same happens on http://forum.lum-chan.com/ too.

account: Test
password: test1234

Account is for both sites

Thanks in advance!

[edit]
Which settings do you need to see from both Block and Panels? Then I can show them here in text or in one or more screenshots.
[/edit]

IchBin

Lum-chan, please start your own topics in the future. From looking at the gallery on your site, when you are on the main page it is this in the URL.
http://www.passat35i-forum.nl/forum/index.php?action=gallery

When in a category it is something like this:
http://www.passat35i-forum.nl/forum/index.php?action=gallery;cat=8
When viewing an image it is something like this:
http://www.passat35i-forum.nl/forum/index.php?action=gallery;sa=view;pic=223

Notice how "action=gallery" exists in all of those URL's? This means that you should be able to put "gallery" in the textbox for custom actions in the panel settings, and the panels should not show on any of those pages.

Lum-chan

Oh, I'm sorry :-[ I noticed you split the topic? Thanks.

Maybe I wasn't entirely clear on this panel thing: The problem is the left-panel disappear when viewing the categories of SMF Gallery (Lite/Pro) and SMF Links within TP. I want the left-panel to show like the rest of the pages on the site, which show the left-panel correctly.

I have attached screenshots of my setting when trying to prevent this from happening. The block-settings are the same for all active blocks.

Hope this makes it a bit more clearer on what I'm trying to accomplish. Is this fixable or do I miss an option?

Thanks in advance

Ken.

Just ran a test on my site using the settings as posted by Lum-chan:

Using the 'Custom action' option and adding 'gallery' to the list of pages where the 'Recent' block should be shown gives me that view on all gallery pages, including drilling down through the categories and the individual images. (did not add any additional actions, only added the one for gallery)

Example:
http://www.ourfamilyforum.org/FamilyForum/index.php?action=gallery;sa=view;id=7890
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Lum-chan

@Ken: That part works for me now, but the index of a category does not show the left-panel.  At your site it does work. This happens in both Default-Curve and in the Darkmodern theme. Did I miss an option somewhere in TP or SMF Gallery?

Ken.

AFAIK the SMF Gallery settings do not influence the TinyPortal settings in any way.
As for the TP settings, we will likely need IchBinâ,,¢ to help sort that out.

@IchBinâ,,¢, if you need access to my admin panel to look at or test any of my settings just let me know.

Ps: If it makes any difference my site is running SMF 2.0 + TinyPortal 1.104
" If everything seems under control, you're not going fast enough." - Mario Andretti
Yesterday When I was Young.

Lum-chan

#6
Just created a new membergroup based on Guests. I changed user Test to this membergroup and it shows a testblock (Jouw Info @ my site) for SMF Gallery on all pages for it. The same goes for SMF Links. I'll check what the differences are with an existing membergroup. Test has 0 messages posted. Maybe Permissions settings? I'll get back to this after some fiddling... Maybe I can fix this. Please hold.

[edit]
OK, I found out the following: When I assign membergroup as Primary membergroup to user Test, the panels on the left show up. When I assign user Test to 'Regular Members' and as additional membergroup the newly created one, the Panels on SMF Gallery and SMF Links disappear. I tried playing with permissions, but this was of no influence to the result and still no Left-panel. Posts have no influence on this.

Exactly the same happens to two other sites I maintain with roughly the same setup, only the mods used are different. All the sites uses SMF 2.0 Final with TP 1.104 and the same version of SMF Gallery lite/Links.

What I will try next is to install a clean setup of SMF with TP and SMF Gallery and see what happens.
[/edit]

[edit]
I came up with this after some testing. After installing a fresh setup with only SMF, TP and SMF gallery, the same happens as with my own site. The most odd thing is this: When I assign user Test as primary membergroup 'Global Moderator' or any other custom membergroup, the panels do show up. Regular users and Administrator don't show the panels. When changing to Default and use additional membergroups, no panels are shown.

If I recall correctly, this wasn't happening in SMF 1.1.3 with TP 1.0 RC1.0 and RC1.1 but I'm not sure. I'll give that combination a go for tomorow (Unfortunate TP 1.0RC1.1 doesn't install by default with SMF 2.0 but I didn't try the emulation of an older SMF version yet).

I checked the DB for odd thingies but my knowledge of MySQL is a bit limited. The only thing I could find is a non-existent 'id_group' 0 (regular users) under 'smf_membergroups'.

If anyone has some suggestions where to look, please do tell me.
[/edit]

Lum-chan

I have tried the following:

Downloaded the latest versions of SMF, TP and SMF Gallery Lite. No manual edits on code were made after the initial install of east test setup.

[Test one]
http://dev.lum-chan.com/smf1/ User=Test password=test1234
Clean install of SMF 1.1.14 with TP 1.0RC2 and SMF Gallery Lite 3.1.1 in this order.
After adding some catagories and images, moving all active panels to the left, everything displays correctly. This is valid for all users/membergroups and being a guest as well. No problems found and default settings used.

[Test two]
http://dev.lum-chan.com/smf2/ User=Test password=test1234
Clean install of SMF 2.0 Final with TP 1.0RC2 and SMF Gallery Lite 3.1.1 in this order.
After adding some catagories and images, moving all active panels to the left, not everything displays correctly in SMF Gallery Lite.

[What dit I try to fix this for Test two]
Clicking on menu-item Gallery shows the left panels OK (category overview).
Clicking on any catagory in Gallery do show the images but not the Panels (index of any category).
Clicking on any image in any gallery available, shows the image itself and the Panels do show correctly.
Adding 'gallery and/or gallery;cat=1' to each block doesn't change any of the above. Problem stays.
Guests see the same as a logged-in user (I used user Test with same pw)
Changing the Primary Membergroup of user 'Test' from 'Regular users' to any other membergroup will NOT show the leftpanel when insite any category EXCEPT when choosing 'Global Moderator'.
Only when using membergroup 'Global Moderator', the panels in all sections of SMF Gallery Lite do show correctly.

It seems to be a small difference between the SMF1 and SMF2 version of TP but I'm not sure. Due to the many changes between SMF1 and SMF2 while using the same package of TP, it's very hard for me to determine what/when/why it is going wrong.

If you need more information or settings, please let me know so I can post them here.

Lum-chan


Lum-chan

It looks like it's somehow random. I added a new category and the menu wasn't showing up. After that, I added several extra categories, they show the menu. Odd...

I don't know if IchBin has taken a look at this yet, but maybe it's something to add to the bugtracker?

[edit]
A workaround would be to move the images out of that category to another temp one, delete the category and recreate. If it fails to show the menu, remove it again an create it again until this category shows the menu and then move the images from the temp category to the now working category. This could be done for all non-working categories. It's a bit of work when you have a lot of images, but I'm sure this moving thingy could be done by altering the DB itself, but I haven't tried editing the DB directly.
[/edit]

This website is proudly hosted on Crocweb Cloud Website Hosting.