php forum
php mysql forum
php mysql smarty
 
Topic Options
#316384 - 11/28/07 07:03 AM Custom Posts
nccm Offline
Lurker

Registered: 10/21/07
Posts: 7
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.

Top
#316385 - 11/28/07 07:15 AM Re: Custom Posts [Re: nccm]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
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.

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316386 - 11/28/07 07:54 AM Re: Custom Posts [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
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
_________________________

Top
#316387 - 11/28/07 09:27 AM Re: Custom Posts [Re: sirdude]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
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
_________________________
Fans Focus - Focusing on Fans of Sport

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

Top
#316388 - 11/28/07 10:21 AM Re: Custom Posts [Re: nccm]
nccm Offline
Lurker

Registered: 10/21/07
Posts: 7
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?

Top
#316407 - 11/29/07 09:42 PM Re: Custom Posts [Re: nccm]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
http://www.phpbuilder.com/ is a pretty good learning resource
_________________________
- Allen wavey
- What Drives You?

Top
#316408 - 11/29/07 09:47 PM Re: Custom Posts [Re: AllenAyres]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
As for re-sizing the custom island, it should re-size automagically depending on the size of the content.
_________________________
- Allen wavey
- What Drives You?

Top



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks