xoops forums

AHLIS

Not too shy to talk
Posted on: 2008/9/8 17:02
AHLIS
AHLIS (Show more)
Not too shy to talk
Posts: 189
Since: 2004/12/12
#1

Custom Blocks in Xoops 2.3.0 RC2

Hi again!

Have a new problem now. I have made two custom blocks and as a webmaster I can see them, but when I log out and act as a guest I can't see them.

I have checked the block-admin page and they only shows up if I choose Webmaster.

I have also checked the grouppermissions but can't find them there.

I'm confused. :)
_____________
Best Regards
Ahlis

Anonymous

Posted on: 2008/9/8 17:13
Anonymous
Anonymous (Show more)
Posts: 0
Since:
#2

Re: Custom Blocks in Xoops 2.3.0 RC2

Don't have 2.3.0 here, but if it's like 2.0.x then go to Groups Admin and check that the block is visible to each of the groups that you wish it to be.

AHLIS

Not too shy to talk
Posted on: 2008/9/8 17:42
AHLIS
AHLIS (Show more)
Not too shy to talk
Posts: 189
Since: 2004/12/12
#3

Re: Custom Blocks in Xoops 2.3.0 RC2

Hi!

I can't find them in "edit group".

I checked: Guset, Registered and webmaster. No checkboxes for the two custom blocks that I made.

Webmaster works even if I can't find the custom blocks there.

____________
Best Regards
Ahlis

trabis

Core Developer
Posted on: 2008/9/8 18:12
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#4

Re: Custom Blocks in Xoops 2.3.0 RC2

There is a(nother) bug in XOOPS 2.3Rc2

This time in groups administration.
You have to edit line 75 in system/admin/groups/groupform.php

Search:
$blocks_module[$blocks_obj[$bid]->getVar('mid')][$blocks_obj[$bid]->getVar('bid')] = empty($title) ? $block->getVar("name") : $title;


Replace By:
$blocks_module[$blocks_obj[$bid]->getVar('mid')][$blocks_obj[$bid]->getVar('bid')] = empty($title) ? $blocks_obj[$bid]->getVar("name") : $title;

AHLIS

Not too shy to talk
Posted on: 2008/9/8 18:40
AHLIS
AHLIS (Show more)
Not too shy to talk
Posts: 189
Since: 2004/12/12
#5

Re: Custom Blocks in Xoops 2.3.0 RC2

Hi again.

I replaced the code, but still same problem.
____________
Best Regards
Ahlis

trabis

Core Developer
Posted on: 2008/9/8 18:45
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#6

Re: Custom Blocks in Xoops 2.3.0 RC2

If you applied the fix then it should appear more check boxes for setting 'block access rights' in administration->groups.

Go there, click on "Modify" (after the group) and tell me what you see.

AHLIS

Not too shy to talk
Posted on: 2008/9/8 18:58
AHLIS
AHLIS (Show more)
Not too shy to talk
Posts: 189
Since: 2004/12/12
#7

Re: Custom Blocks in Xoops 2.3.0 RC2

The name of the custom Blocks are:
* Räknare
* Introduktion
------------------------------
This is what I see in admin, groups
Block Access Rights* System

Användarmeny Logga in Sök Waiting Contents Huvudmeny
Hemsidsinfo Vem är online Top Posters Nya sidmedlemmar Senaste kommentarena
Påminnelseinställningar Teman


Nyheter

News Topics Big Story Top News Recent News Moderate News
Navigate thru topics Random news Archives


Länkar

Recent Links Top Links Popular Links Web links Category list Latest RSS/ATOM feeds of Web links
Show blog of Web links Random Link Genric Link Block Random Photo


Röstningar

Polls


Kalender

MiniCalendar (piCal) Monthly calendar (piCal) Today's events (piCal) Events on %s (piCal) Coming Events (piCal)
Events after %s (piCal) Events newly posted (piCal) MiniCalendarEx (piCal)


Klocka

Clock Calendar


Fotoalbum

Top eCard Top rated Most viewed Last photo Random photo


Artiklar

Spotlight Articles Categories Topics Authors
Recent news Tag Cloud Top Tags


Användarsidor

Last created pages Most viewed pages Random pages


Forum

Recent Replied Topics Recent Topics Recent Posts Authors


Social Network

My Friends Last pictures block


MP Manager

New message _BL_MP_CONT

trabis

Core Developer
Posted on: 2008/9/8 19:06
trabis
trabis (Show more)
Core Developer
Posts: 2268
Since: 2006/9/1 1
#8

Re: Custom Blocks in Xoops 2.3.0 RC2

You are right, this is a(nother) bug and you will have to wait for a fix. Custom blocks are not displaying in groups administration.

lapsa2000

Quite a regular
Posted on: 2008/9/8 19:08
lapsa2000
lapsa2000 (Show more)
Quite a regular
Posts: 247
Since: 2006/10/27
#9

Re: Custom Blocks in Xoops 2.3.0 RC2

I have the same problem! modify the file but visitors can not view the custom blocks. and is not an option for giving permits.
Persevera...y seguiras
Perseverando !!!

AHLIS

Not too shy to talk
Posted on: 2008/9/8 19:11
AHLIS
AHLIS (Show more)
Not too shy to talk
Posts: 189
Since: 2004/12/12
#10

Re: Custom Blocks in Xoops 2.3.0 RC2

Quote:

trabis wrote:
You are right, this is a(nother) bug and you will have to wait for a fix. Custom blocks are not displaying in groups administration.


Okey. Then I know. I will wait :). Thanks for the help so far. Really thanks.
____________
Best Regards
Ahlis