Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
Who's Online
6 registered (AllenAyres, driv, Harold, Ian, Island Piper, Mark S), 10 Guests and 19 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/15/08
Posts: 1
Top Posters (30 Days)
Ruben Rocha 165
Rick 116
Gizmo 105
Thelockman 61
driv 53
AllenAyres 35
ScriptKeeper 34
Mark S 30
Ian 30
phoebe 25
Latest Photos
My Home System
test photo gallery
Bernese Mountain Dogs
My Daimler
Dorado and shark
Topic Options
Rate This Topic
#212670 - 05/18/08 05:50 AM 7.3 - disabling the right sidebar?
Zarzal Offline
old hand

Registered: 06/05/06
Posts: 1091
Loc: Berlin, Germany
I try to made a new add-on and cannot find out how to disable the right sidebar if it on. I use the sample.inc.php script to play a little bit with it. It should be very easy to do, but how?
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Top
#212673 - 05/18/08 06:49 AM Re: 7.3 - disabling the right sidebar? [Re: Zarzal]
Ian Moderator Online   crying

***

Registered: 06/05/06
Posts: 4157
Loc: Essex, UK
Only show right column on portal page?

under Portal layout - this should then disable within threads.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....))

Top
#212678 - 05/18/08 07:27 AM Re: 7.3 - disabling the right sidebar? [Re: Ian]
Zarzal Offline
old hand

Registered: 06/05/06
Posts: 1091
Loc: Berlin, Germany
I mean from a script, not by user settig.
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Top
#212679 - 05/18/08 07:31 AM Re: 7.3 - disabling the right sidebar? [Re: Zarzal]
Ian Moderator Online   crying

***

Registered: 06/05/06
Posts: 4157
Loc: Essex, UK
This will remove it for everyone including you. (assuming you do not enable the portal)

Confused as to what you require - sorry.

Maybe I am just reading your initial post incorrectly.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....))

Top
#212688 - 05/18/08 09:08 AM Re: 7.3 - disabling the right sidebar? [Re: Ian]
jgeoff Offline
Pooh-Bah

Registered: 08/08/06
Posts: 1885
Loc: NJ

I think he means that IF his script dictates, it'd replace the sidebar, ELSE the sidebar remains... one or the other takes up that space.
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Firefox 3.0, Google Chrome, & Safari 3.1 (XP and iPhone)

Top
#212690 - 05/18/08 09:10 AM Re: 7.3 - disabling the right sidebar? [Re: Ian]
Zarzal Offline
old hand

Registered: 06/05/06
Posts: 1091
Loc: Berlin, Germany
I create a new Add-On like the chat room add-on. It based on scripts/sample.inc.php
If you open this add-on I like to remove the right sidebar (if it turned on by default or user) for this page only independent from the user layout setting to get more space to the right.

Now, do you understand what I like to get?
_________________________
my board: http://www.dragon-clan.de
my hobby: http://www.biker-reise.de
Ich kann bei Fragen zu UBBthreads in Deutsch weiterhelfen oder es zumindest versuchen

Top
#212724 - 05/18/08 10:16 AM Re: 7.3 - disabling the right sidebar? [Re: Zarzal]
Ian Moderator Online   crying

***

Registered: 06/05/06
Posts: 4157
Loc: Essex, UK
Ah - ok. My apologies.

On this, I would prefer an easy way to include or disable sidebars (in your case) on particular pages without using the wrapper.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....))

Top
#212725 - 05/18/08 10:17 AM Re: 7.3 - disabling the right sidebar? [Re: Ian]
Ian Moderator Online   crying

***

Registered: 06/05/06
Posts: 4157
Loc: Essex, UK
Sorry - and no I do not know how to disable it on just one page (I thought you wanted it disabled, whilst you test it - sorry)
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....))

Top


Shout Box

Today's Birthdays
Eric Flyxe, mark_l_88@yahoo.com
Recent Topics
restricting a media tag to a single forum...
by bakerzdosen
Yesterday at 12:52 PM
Recover topics??
by femistyle
Yesterday at 12:22 PM
duplicate entries in viewmessage.php lang file (7.4.1)
by alnadabi
Yesterday at 05:54 AM
Order of variables in language files should be permanent
by alnadabi
Yesterday at 05:12 AM
How do I set Moderation Queue for an individual user?
by luket
11/20/08 11:28 AM
Forum Stats
4249 Members
33 Forums
30488 Topics
154659 Posts

Max Online: 978 @ 06/24/07 08:19 PM