Jump to content


Photo
* * * * * 4 votes

Suggestion for IPB 3.2... Global Sidebars


  • Please log in to reply
39 replies to this topic

#21 Aisha

Aisha

    Unrequited Love

  • Visitors
  • PipPipPipPipPipPip
  • 2,063 posts

Posted 16 October 2011 - 11:39 PM

Agreed with marcher. This is super easy in 3.2.
  • Jay and Marcher Technologies like this
Last Updated --



I'm not a troll. I'm just misunderstood. I'm better than you though. Understand?

#22 Marcher Technologies

Marcher Technologies

    $life=FALSE;$code=TRUE;$time--;

  • +Clients
  • 11,762 posts

Posted 17 October 2011 - 10:54 AM

Agreed with marcher. This is super easy in 3.2.

not only can i agree, but i can elaborate... 3.1.4 this WAS a hassle.
3.2 with ipsLayout its literally a cake-walk.

#23 .Ian

.Ian

    Needs Life

  • +Clients
  • 7,022 posts

Posted 18 October 2011 - 11:25 AM

I would also like to see global sidebar - we used to have one before we converted and it certainly helped join various parts of the forums together.

We had our shoutbox, advert, latest topics etc., in there and people clicked on the links and jumped elsewhere on the site.

Add Comet Chat to your community :smile:  

Non League UK

Play safe and purchase IP.Board from IPS! - click here to buy

Converting from Vbulletin, phpBB or another forum to IPB? Click here for the conversion service - it might be free!

IPS Hosting - click here for the prices & specifications. Some packages include a free version of IP.Board!


#24 vitoreis

vitoreis

    IPB Full Member

  • Members
  • PipPipPip
  • 119 posts

Posted 18 October 2011 - 06:19 PM

Agreed with marcher. This is super easy in 3.2.

not only can i agree, but i can elaborate... 3.1.4 this WAS a hassle.
3.2 with ipsLayout its literally a cake-walk.

Can, one of you, share a step-by-step "how to"?

Thanks!
  • burm likes this

#25 jackflash

jackflash

    Spam Happy

  • +Clients
  • 858 posts

Posted 18 October 2011 - 09:36 PM

buh...
just buh...
you can hook a sidebar in, you can template sidebars into the globalTemplate and adjust widths to fix the bugs it causes... im confused...
Why is it seemingly so difficult to achieve this?
Seriously...
its template-ing or hooking into the existing wrapper.....
.... most hooks already do that... how is this so difficult to do?
ive done it several times(not hooked, therefore not ideal)
but really?
why is this being treated as impossible?


Than, what's the formula? Or is this another arm-chair quarterback type of response?

Can, one of you, share a step-by-step "how to"?

Thanks!


Agreed. Some schooling would be useful here.
  • Marcher Technologies likes this

Live from the Motor City


#26 Marcher Technologies

Marcher Technologies

    $life=FALSE;$code=TRUE;$time--;

  • +Clients
  • 11,762 posts

Posted 18 October 2011 - 11:12 PM

Than, what's the formula? Or is this another arm-chair quarterback type of response?



Agreed. Some schooling would be useful here.

ACP->look&Feel->skin->globalTemplate....
ipsLayout at default likely does not have the width you need, so first, add to ipbstyles.css a new definition at very end as so:
.ipsLayout_myruleleft.ipsLayout_withleft { padding-left: 320px; }
.ipsLayout_myruleright.ipsLayout_withright {  padding-right: 320px; clear: left; }
.ipsLayout_myruleleft.ipsLayout .ipsLayout_left { width: 300px; margin-left: -320px; float: left; }
.ipsLayout_myruleright.ipsLayout  .ipsLayout_right { width: 300px;  margin-right: -320px; float: right; }
Then, back to said GlobalTemplate.
the trick here is to be smart about the markup.
find:
<!-- ::: CONTENT ::: -->
    {$items['adHeaderCode']}
    <if test="mainpageContent:|:$html">{$html}</if>
    {$items['adFooterCode']}
you want to do something like so:
<!-- ::: CONTENT ::: -->
    {$items['adHeaderCode']}
    <if test="mainpageContent:|:$html">
<div class='ipsLayout ipsLayout_withright ipsLayout_myruleright clearfix'>
<div class='ipsLayout_right'>
SideBar... Nice handy place to put all your adds and stuff, people cant close it, but if you are serving ads you dont want them to, eh?
</div>
<div class='ipsLayout_content clearfix'>
   {$html}
</div>
</div>
</if>
    {$items['adFooterCode']}

Now then, you are going to want to disable hooks on board index likely, as there's no decent method of global sidebar with the board index hooks.
then, you are going to want to pull out your firebug, inspect element what/have/you and go through places like blog, boards, regs and such and find elements(usually Fields) that overflow, if any.
these are handily dealt with.
the other apps sidebars can be snipped if needed, but there shouldn't be that need if you have twitched items appropriately... honestly how much work needs to be done for it is based on a SKINS width....
which makes shipping a pre-made solution un-viable IMHO... how do you support every skin width under the sun?
  • civ, vitoreis, altenerg and 3 others like this

#27 ADKGamers

ADKGamers

    Spam Happy

  • +Clients
  • 919 posts

Posted 19 October 2011 - 03:20 AM

Marcher to the rescue! He's always got some helpful information. Keep up the great work marcher!
  • Marcher Technologies likes this

adkgamers_1402891088__recruitban.png


#28 altenerg

altenerg

    Advanced Member

  • +Clients
  • 415 posts

Posted 08 November 2011 - 07:17 PM

ACP->look&Feel->skin->globalTemplate....
ipsLayout at default likely does not have the width you need, so first, add to ipbstyles.css a new definition at very end as so:

.ipsLayout_myruleleft.ipsLayout_withleft { padding-left: 320px; }
.ipsLayout_myruleright.ipsLayout_withright {  padding-right: 320px; clear: left; }
.ipsLayout_myruleleft.ipsLayout .ipsLayout_left { width: 300px; margin-left: -320px; float: left; }
.ipsLayout_myruleright.ipsLayout  .ipsLayout_right { width: 300px;  margin-right: -320px; float: right; }
Then, back to said GlobalTemplate.
the trick here is to be smart about the markup.
find:
<!-- ::: CONTENT ::: -->
	{$items['adHeaderCode']}
	<if test="mainpageContent:|:$html">{$html}</if>
	{$items['adFooterCode']}
you want to do something like so:
<!-- ::: CONTENT ::: -->
	{$items['adHeaderCode']}
	<if test="mainpageContent:|:$html">
<div class='ipsLayout ipsLayout_withright ipsLayout_myruleright clearfix'>
<div class='ipsLayout_right'>
SideBar... Nice handy place to put all your adds and stuff, people cant close it, but if you are serving ads you dont want them to, eh?
</div>
<div class='ipsLayout_content clearfix'>
   {$html}
</div>
</div>
</if>
	{$items['adFooterCode']}

Now then, you are going to want to disable hooks on board index likely, as there's no decent method of global sidebar with the board index hooks.
then, you are going to want to pull out your firebug, inspect element what/have/you and go through places like blog, boards, regs and such and find elements(usually Fields) that overflow, if any.
these are handily dealt with.
the other apps sidebars can be snipped if needed, but there shouldn't be that need if you have twitched items appropriately... honestly how much work needs to be done for it is based on a SKINS width....
which makes shipping a pre-made solution un-viable IMHO... how do you support every skin width under the sun?


This just ads a second column on my forum index. So now I end up with 2 side bars. All I wan is to clone the current sidebar through other areas of the forums.

#29 Marcher Technologies

Marcher Technologies

    $life=FALSE;$code=TRUE;$time--;

  • +Clients
  • 11,762 posts

Posted 08 November 2011 - 07:19 PM

This just ads a second column on my forum index. So now I end up with 2 side bars. All I wan is to clone the current sidebar through other areas of the forums.

Now then, you are going to want to disable hooks on board index likely, as there's no decent method of global sidebar with the board index hooks.
the only way ive found of exact replication is to use ipc blocks to "simulate" the existing hooks functions.
Board index hooks are designed to hook directly into the board index template, not the global template.

#30 altenerg

altenerg

    Advanced Member

  • +Clients
  • 415 posts

Posted 08 November 2011 - 07:23 PM

Now then, you are going to want to disable hooks on board index likely, as there's no decent method of global sidebar with the board index hooks.
the only way ive found of exact replication is to use ipc blocks to "simulate" the existing hooks functions.
Board index hooks are designed to hook directly into the board index template, not the global template.


I thought this was supposed to be easy. :sad: My current forum index side bar has "recent topics" "recent status updates" "Latest files" etc. Are you saying to disable my entire side bar and then manually try to re-create these side widgets in a new custom sidebar?

#31 Marcher Technologies

Marcher Technologies

    $life=FALSE;$code=TRUE;$time--;

  • +Clients
  • 11,762 posts

Posted 08 November 2011 - 07:24 PM

I thought this was supposed to be easy. :sad: My current forum index side bar has "recent topics" "recent status updates" "Latest files" etc. Are you saying to disable my entire side bar and then manually trying to recreate these side widgets?

If you have ipcontent this IS easy.
http://community.inv...tent-block-r584
10 minutes work for all the default hooks, maximum....
if thats 10 minutes you simply dont want to spend then http://community.inv...ock-collection/
all done for you.

#32 altenerg

altenerg

    Advanced Member

  • +Clients
  • 415 posts

Posted 08 November 2011 - 07:34 PM

I have ip.Content, ip.downloads, ip.gallery and ip.calendar. So just install that 2$ plugin and it will clone my current sidebar throughout my IPS site?

#33 Marcher Technologies

Marcher Technologies

    $life=FALSE;$code=TRUE;$time--;

  • +Clients
  • 11,762 posts

Posted 08 November 2011 - 07:35 PM

I have ip.Content, ip.downloads, ip.gallery and ip.calendar. So just install that 2$ plugin and it will clone my current sidebar throughout my IPS site?

you install the blocks, then simply place them in your "new" sidebar in your skin, then just disable your hooks.

#34 altenerg

altenerg

    Advanced Member

  • +Clients
  • 415 posts

Posted 08 November 2011 - 07:43 PM

I really hope its people like "you" and NOT people like me who represent the average type of IPS publisher here. :smile:

Thanks anyways, I do appreciate that you honestly and genuinely believe this is quick and easy for the average user.

I will just switch to vb. I prefer IPB in sooo many ways but I can't monetize it properly without simple global sidebars.

#35 Marcher Technologies

Marcher Technologies

    $life=FALSE;$code=TRUE;$time--;

  • +Clients
  • 11,762 posts

Posted 08 November 2011 - 07:46 PM

I really hope its people like "you" and NOT people like me who represent the average type of IPS publisher here. :smile:

Thanks anyways, I do appreciate that you honestly and genuinely believe this is quick and easy for the average user.

I will just switch to vb. I prefer IPB in sooo many ways but I can't monetize it properly without simple global sidebars.

.... if setting up global sidebars can keep an ipb customer happy, I will happily and personally do it for you freely.
I would hate to see someone forced back to VB by something so easily accomplished.

#36 altenerg

altenerg

    Advanced Member

  • +Clients
  • 415 posts

Posted 08 November 2011 - 08:12 PM

I would hate to "downgrade" to vb also. I would have purchased your $2 IP.content plugin if it could have solved my issues. If you send me your paypal address I'll donate $20 towards your setting this up for me. Hope that sounds fair.

Basically I want the current sidebar thats on our forum index to be semi- global. That is.. visible on forums (boardindex, forumview and members list only) ip.content (all pages), ip.downloads (index page only), ip.gallery (index page only). And to NOT be displayed on chat room or registration/sign in page(s).

#37 altenerg

altenerg

    Advanced Member

  • +Clients
  • 415 posts

Posted 12 November 2011 - 11:10 PM

Never heard back. Not possible with those options eh? This is why we need more control with global sidebars.

#38 Aisha

Aisha

    Unrequited Love

  • Visitors
  • PipPipPipPipPipPip
  • 2,063 posts

Posted 13 November 2011 - 04:32 AM

Never heard back. Not possible with those options eh? This is why we need more control with global sidebars.

Eh...no idea how to call the board index sideblocks. :<
Last Updated --



I'm not a troll. I'm just misunderstood. I'm better than you though. Understand?

#39 jackflash

jackflash

    Spam Happy

  • +Clients
  • 858 posts

Posted 15 November 2011 - 01:23 AM

I love IPB, however, because I can easily place ads in a more global structure with VB, those sites generate more revenue than my IPB ones.

And at the end of the day, making revenue is still the driving force in a lot of software purchase decisions.

I've seen three topics on this matter that are active, so I hope that it's something IPB is looking into.
  • Weppa333 likes this

Live from the Motor City


#40 bpn

bpn

    Advanced Member

  • +Clients
  • 399 posts

Posted 28 April 2012 - 04:05 PM

I got a related question. In 3.1 we have been using a very simple mod to get a global right sidebar, using it for banners.
But got a strange problem in 3.3.1. Pretty frustrating as we just cannot find the cause and can't upgrade before this is solved.

(I'm aware of the payable "Global sidebar" mod but that is really much more than we need.)

I have made a well documented post in the Skin forum, but after no replies and just a few views I'm trying here...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users