1
Karoupa
Re: A couple small bugs I found in v.2.0.14-RC1
  • 2006/6/21 16:07

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


Quote:

McNaz wrote:
Quote:
As for the top page issue, I am using 2.0.14-RC1 and do not have any problems with blocks showing up on Top Page only.


Me neither.


odd. I was having so much trouble with that issue that I gave up and went to 2.0.13 and it works beautifully.
All I can say is, any block I set to show only on the top page did not show.
Oh well, I found a solution for my problem =x

Quote:

Quote:

it said bug reports for 2.0 so I just assumed it would be the place.





2
Karoupa
Re: A couple small bugs I found in v.2.0.14-RC1
  • 2006/6/20 13:57

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


oh, sorry.
it said bug reports for 2.0 so I just assumed it would be the place.

Thanks for the info



3
Karoupa
Is user logged in?
  • 2006/6/16 16:41

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


Anyone know what I can use to check to see if the user is logged in or not?

for example:
<{if -user is logged in-}>
show this
<{/if}>



4
Karoupa
A couple small bugs I found in v.2.0.14-RC1
  • 2006/6/16 15:59

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


I'm not sure if its already a known issue or anything, but I found this as possibly a bug when I was using v.2.0.14-RC1:

top page does not exist, in a sense, as any blocks I had set to be viewed on only the top page did not display at all, however if I displayed them on all pages, they viewed just fine.
I also found that the bottom blocks (bottom center left/right/center) have issues when you edit group block access rights. For example:
I had 4 blocks in 4 corners (left/right center and bottom left/right center). The bottom blocks do not appear in the group block access rights menu, and, one time when I edited a group that could view one of the bottom blocks, they lost the ability to view them, thereby removing them from the block menu for that group and orphaning that block.

I had a whole topic on it in the newbie corner (since I am just new to this) that might explain better:
https://xoops.org/modules/newbb/viewtopic.php?topic_id=50586&forum=27
(Custom blocks do not show content)

hope that helps any.



5
Karoupa
Re: Custom blocks do not show content
  • 2006/6/16 15:28

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


I Fixed it.
all I had to do was install v.2.0.13 rather than v.2.0.14-RC1
bug? maybe.
there was another bug I found: in 14-RC1 when you add something to the bottom block area, you can not set its permissions in the groups, and if you change permissions for a group that has it enabled and submit the changes, the group might lose access to that block which could at some point make it there but inaccessable.
Just thought I'd state that.



6
Karoupa
Re: Custom blocks do not show content
  • 2006/6/15 15:16

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


Well actually, that's the thing.
I tested the block's ability to work by editing each specific block and setting to to be viewed on either the top page or all pages. I know the blocks work because they work if I set them to view on all pages, which I can only do in the edit page for each specific block. I then set them back to be viewed on the top page (which is my only option) and they are not viewable.

However, I thought about one point you brought up, and I think it might be the issue. XOOPS is made to be run with its modules, almost no one uses XOOPS without any modules installed because you just can't do much with the base system. I think the fact that I have no modules installed means I literally have no pages that can be used as a 'top page'. Since I have no pages that can be used as a 'top page', I essentially have no top page. This bugs me a bit since you would think there would be a base top page installed with the main system which would just contain no content, but I think this might not be the case. Either way, I am going to download a generic module and see how that works.

Thanks for the help so far.

--Update--
So that didn't work.
Its odd that it will show my block on the first page if I have it set to all pages, but it won't show it on the first page if I have it set to top page.
I will probably install XOOPS v.2.0.13 soon if I just can't get this to work



7
Karoupa
Re: Custom blocks do not show content
  • 2006/6/14 23:53

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


Version: 2.0.14-RC1
I was thinking of changing over to 0.13 and see if it works okay there.

thanks for the register thing, its pretty much what I figured.
I have a little script to make the login area -vanish- when someone is logged in, but its more of a work-around. I tried using the $xoopsUser variable that I found in the module docs, but it didn't work at first so I decided to just check to see if there are any left blocks (since left blocks are never there if you're not logged in and are always there if you are)

back to the main problem:
1. its set to None, since I have no modules installed, its the only option I have.
2. It was set to yes but I just changed it back
3. Just did that too

so far they still don't appear. I know at this point they work but not if I set it to top page x_x.

Thanks for the suggestions though!



8
Karoupa
Re: Custom blocks do not show content
  • 2006/6/14 19:08

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


Alright!
This apparently has bread an entirely new problem:
I have 4 blocks defined for my main page:
1 left-center
1 right-center
1 bottom-left-center
1 bottom-right-center

These 4 blocks are visible to anonymous users and each block is visible by 1 group that relates to that block.
(this way, if you were not logged in, you would see all 4 blocks but if you log in and you belong to one of the 4 groups, you would only see that block)

I am able to set each block only to be visible on either:
All Pages or
Top Page

This is fine because I only want them to see these blocks on what I would consider the top page.
and what I would consider the top page to be is the first page they would see. for example if you just got to my site, you would be at the top page. If you just logged in, you would be in the top page, but belong to a certain group.

The problem is that if I set them to be viewed on the top page, none of them are displayed-- ever!
If I set them to all pages, they are always displayed on every page, which is not what I want.

I searched for others who had the same problem, but it was generally different enough to not affect me.



9
Karoupa
Re: Custom blocks do not show content
  • 2006/6/14 18:15

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


I figured it out.
I accidently made $xoops_showcblock plural.
I figured this out when I made two blocks that worked on the bottom block areas.
The registration variable I still have yet to find but i know for a temporary fix I can just send the link to register.php.
pretty much the same for the lost password situation.

Now I just have to figure out why my images won't show...



10
Karoupa
Custom blocks do not show content
  • 2006/6/14 16:18

  • Karoupa

  • Just popping in

  • Posts: 10

  • Since: 2006/6/14


XOOPS Version: Newest
Module Name/Version: System
PHP Version: 4.4.2
MySQL Version: 3.23.49
Web Server Software (Apache/IIS/Other): apache 2.0.58
Operating System: WinXP
Theme you are using: Custom containing all block outputs
Custom template: (Yes/No) yes?
PHP Debug Messages:
MySQL Debug Messages:
Smarty Debug Messages:
A full description of the issue:

First, I have two unrelated questions:
1/2. how do I create a custom link to the register/lost password pages? (I have custom login support currently and need the register/lost password things so I can put them on the page somewhere)

Now for my main question:
I've created 4-5 custom blocks that contain template code. (the smarty based code and html). They are just static tables that use images from my custom theme. When I preview them, nothing is shown and if I try to use them anyway, still, nothing appears. Did I miss some critical info about blocks? or basically what am I doing wrong?

One of the custom blocks mind you is just text with html formatting.

I have no modules installed, I'm just running the base system.




TopTop



Login

Who's Online

192 user(s) are online (125 user(s) are browsing Support Forums)


Members: 0


Guests: 192


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits