UBB.Dev
Posted By: nccm Custom Posts - 11/28/2007 3:03 PM
Can I have different custom posts (using the custom portals)on the left side each page of the forum? We want to be able to place difference ads - depending on the type of page it is. If this is possible, can you just give me an idea about how to do it.

Thanks.
Posted By: Gizmo Re: Custom Posts - 11/28/2007 3:15 PM
You'd have to add logic to your sidebar islands, since they allow php in them you can really customize them to do anything you want, though it'd depend on your familiarity with PHP.

Posted By: sirdude Re: Custom Posts - 11/28/2007 3:54 PM
there is almost always the variable $ubb that you can check. this will identify with more granularity what context your sidebar is being displayed in.

wink
Posted By: Ian_W Re: Custom Posts - 11/28/2007 5:27 PM
I guess the best way to handle this would be to use the same system as the unique header for a forum.

If the forum is x then display y particle box.

And no! without digging into the code, I have no idea LOL
Posted By: nccm Re: Custom Posts - 11/28/2007 6:21 PM
do you mean if then else types of statements. I have a programming history - but just not in .php. is there a good resource you can recommend?

Is there a way to resize the portals?
Posted By: AllenAyres Re: Custom Posts - 11/30/2007 5:42 AM
http://www.phpbuilder.com/ is a pretty good learning resource
Posted By: AllenAyres Re: Custom Posts - 11/30/2007 5:47 AM
As for re-sizing the custom island, it should re-size automagically depending on the size of the content.
© UBB.Developers