Language: 
To browser these website, it's necessary to store cookies on your computer.
The cookies contain no personal information, they are required for program control.
  the storage of cookies while browsing this website, on Login and Register.
Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Select language:

Community



Donate

Donate for PortaMx !
Your donation is safe and helps support the issues and causes you care most about.

Stats

  • *Total Members: 4319
  • *Latest: thygrim

  • *Total Posts: 15781
  • *Total Topics: 2384
  • *Online Today: 4
  • *Most Online: 157
(27.08.09, 03:54:53)
  • *Users: 0
  • *Guests: 3
  • *Total: 3

Author Topic: PortaMX 1.5 Visibility Options  (Read 2794 times)

0 Members and 0 Guests are viewing this topic.

Offline BurakG

  • PortaMx Language
  • *
  • Posts: 240
  • Gender: Male
PortaMX 1.5 Visibility Options
« on: 22.06.12, 10:10:36 »
Hi Fel,

Any block disabled for Homepage ( By selecting ^Homepage )  is shown in Homepage.

That is not the case in other options. I mean if the same block is disable for Admin ( By selecting ^Admin ) it is not shown in admin page. Only setting for Homepage is not effective..

Regards
Destiny. The design is clearly Ancient ..

http://www.mazdaclubtr.com
http://www.subaruclubtr.com

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: PortaMX 1.5 Visibility Options
« Reply #1 on: 22.06.12, 12:41:52 »
That I can't confirm ...
if you only select ^Frontpage for a block, they is NEVER shown. To hide a block ONLY on the Frontpage, you have to select:
^Frontpage
Boards
Topics
and in customer actions the wildcard *

It's a change in 1.5 ..
a NOT Frontpage, Pages, Articles or Category don't add a automatic any action, because these are not ACTIONS.
If you need that, you have to add a any action in the customer actions (*) and select Boards and Topics.

You use the original english language files or translated?
Many are stubborn in relation to the path, a few in relation to the target.

Offline BurakG

  • PortaMx Language
  • *
  • Posts: 240
  • Gender: Male
Re: PortaMX 1.5 Visibility Options
« Reply #2 on: 22.06.12, 12:59:13 »
We didnt have any problem in previous version.

The left block having settings as ;

^Frontpage
^Admin
^Moderate

and following actions ;

^media,^search2,^sitemap

was disabled in actions above but with exactly the same settings, the block is again disabled in Admin, Moderate,Media,Search and sitemap but however shown on Frontpage where I want it to be disabled :(

You can see them on my mazda frontpage. Left block are supposed to show only on forum but they are displayed on frontpage. All have the same settings as above.
Destiny. The design is clearly Ancient ..

http://www.mazdaclubtr.com
http://www.subaruclubtr.com

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: PortaMX 1.5 Visibility Options
« Reply #3 on: 22.06.12, 15:50:18 »
Thanks for the explain report .. that seem like a bug in the customer actions.
Please try follow:
Open the File /Sources/PortaMx/LoadData.php, go to line ~ 1864
Find:
Code: [Select]
else
$bits[$actname] = intval(is_null($bits[$actname]) ? !$hideAct : ($bits[$actname] == 2 ? $bits[$actname] && intval(!$hideAct) : $bits[$actname]));
}
}

// only subaction
replace with:
Code: [Select]
// nothing .. check request
elseif(isset($_GET[$actname]))
$bits[$actname] = intval(is_null($bits[$actname]) ? !$hideAct : ($bits[$actname] == 2 ? $bits[$actname] && intval(!$hideAct) : $bits[$actname]));
}
}

// only subaction
Many are stubborn in relation to the path, a few in relation to the target.

Offline BurakG

  • PortaMx Language
  • *
  • Posts: 240
  • Gender: Male
Re: PortaMX 1.5 Visibility Options
« Reply #4 on: 22.06.12, 21:13:36 »
Thanks Fel, it is OK now after the change ;)
Destiny. The design is clearly Ancient ..

http://www.mazdaclubtr.com
http://www.subaruclubtr.com

Offline BurakG

  • PortaMx Language
  • *
  • Posts: 240
  • Gender: Male
Re: PortaMX 1.5 Visibility Options
« Reply #5 on: 25.06.12, 08:32:16 »
Fel,

There is absolutely some changes in visibility options. I can say, with exactly the same settings, 1.5 works differently from 1.45

For example I have set one block ;

"Show or Hide the block on action" & "Pages" 
"Show or Hide the block on board"  & some boards

With this settings the block was displayed only on message index on those boards. When I displayed a message on those boards the block was not displayed which was what I wanted but now when I display a message on those boards the block is displayed.

Worse than that if I choose

"Show or Hide the block on action"  & "^Topics"

the block is displayed in every page, action of the forum although "Show or Hide the block on board" is set to a specific board.
Destiny. The design is clearly Ancient ..

http://www.mazdaclubtr.com
http://www.subaruclubtr.com

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: PortaMX 1.5 Visibility Options
« Reply #6 on: 25.06.12, 10:29:42 »
Try the attached LoadData.php ...
Many are stubborn in relation to the path, a few in relation to the target.

Offline BurakG

  • PortaMx Language
  • *
  • Posts: 240
  • Gender: Male
Re: PortaMX 1.5 Visibility Options
« Reply #7 on: 25.06.12, 10:57:59 »
No change. It acts exactly the same.

Note : I have cleared cache after the change.
Destiny. The design is clearly Ancient ..

http://www.mazdaclubtr.com
http://www.subaruclubtr.com

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: PortaMX 1.5 Visibility Options
« Reply #8 on: 25.06.12, 12:31:09 »
I have set dynamic visibility:
Show or Hide the block on action:
Pages
^Topic

Show or Hide the block on board:
Board one
Board two

The block is show only on a Page request and on the selected boards, if no topic requested

that is exactly what the settings say
Many are stubborn in relation to the path, a few in relation to the target.

Offline BurakG

  • PortaMx Language
  • *
  • Posts: 240
  • Gender: Male
Re: PortaMX 1.5 Visibility Options
« Reply #9 on: 25.06.12, 13:31:45 »
That is the same here but when you only select

^Topic

it acts differently and shows the block in several actions and boards ( including forum main page )

Destiny. The design is clearly Ancient ..

http://www.mazdaclubtr.com
http://www.subaruclubtr.com

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: PortaMX 1.5 Visibility Options
« Reply #10 on: 25.06.12, 17:11:22 »
What exactly you will and what exactly you have set in the dynamic visibility options ?
Many are stubborn in relation to the path, a few in relation to the target.

Offline BurakG

  • PortaMx Language
  • *
  • Posts: 240
  • Gender: Male
Re: PortaMX 1.5 Visibility Options
« Reply #11 on: 02.07.12, 10:08:33 »
I can get What I want to do by selecting ;

Show or Hide the block on action:
Pages
^Topic

but I just realised when you set following, the block is shown in several places where it should not. Thought it could be a small bug.

Show or Hide the block on action:
^Topic

and

Show or Hide the block on board:
Board one
Board two
Destiny. The design is clearly Ancient ..

http://www.mazdaclubtr.com
http://www.subaruclubtr.com

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: PortaMX 1.5 Visibility Options
« Reply #12 on: 03.07.12, 15:39:47 »
We have to look at that ...
Many are stubborn in relation to the path, a few in relation to the target.

Offline kak2z

  • Newbie
  • *
  • Posts: 37
  • Gender: Male
  • SMF 2.0.2 + PortaMx 1.51 UTF-8
    • Дом 2
Re: PortaMX 1.5 Visibility Options
« Reply #13 on: 12.08.12, 20:09:43 »
I want to show the BBC the block in one board. Show it in topics that are in this board is not necessary. How do I do?
Thank you.

for example:
show - http://virtu.pp.ua/index.php?board=1.0
Hide - http://virtu.pp.ua/index.php?topic=1219.0  (hide all topic)

Женский форум про Дом 2, рецепты, каникулы в Мексике и многое другое!

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 5586
  • Gender: Female
Re: PortaMX 1.5 Visibility Options
« Reply #14 on: 13.08.12, 12:22:20 »
Show or Hide the block on action:
Boards
^Topics
Many are stubborn in relation to the path, a few in relation to the target.