PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 5th, 2012, 06:33 AM
HHawk HHawk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 70 HHawk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 4 m 38 sec
Reputation Power: 5
Arrow How do I create a custom banner display script?

Hi guys,

I hardly know (or even understand) PHP, so that's why I am posting this in the general-section. Hopefully someone is friendly enough to help me out.

How do I do the following. I want to show a banner on my website, however not in a static position. And it should only be displayed once.

For example; I have 3 available positions on my website, where I want to display a banner. I have 2 available positions in the main page (top and bottom) and 1 available position on the right side of my website.

Now I need something which does the following; if the banner is shown on position 1 (top of the page) it shouldn't be displayed in position 2 or 3. On the other hand, if the banner is being displayed at position 3 (right side), it shouldn't be displayed anymore in position 1 or 2.

Oh and more thing; position 1 and 2 have the same banner (in dimensions), however position 3 has a smaller banner (in dimensions). So the banner which is displayed at position 3 is different compared to positions 1 and 2.

Can someone please help me out with this? I think it's not difficult for someone who actually knows PHP (unlike me).

I already tried searching on Google, however I couldn't find anything on it (or I am searching in an incorrect way).

Thank you in advance for your help!! Highly appreciated!!


//update

Forgot to mention this; it should be possible to expand this to several more banner-sections and banner formats.

Last edited by HHawk : November 5th, 2012 at 06:38 AM.

Reply With Quote
  #2  
Old November 5th, 2012, 07:04 AM
gw1500se gw1500se is offline
Contributing User
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Jul 2003
Posts: 2,886 gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level)gw1500se User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 1 Year 2 Weeks 3 Days 8 h 22 m 27 sec
Reputation Power: 581
If you are asking someone to write the code for you then you need to post this in the Hire a Programmer forum. Otherwise you should read through a PHP tutorial or 2, try some things on your own and then post where you are having trouble here.
__________________
There are 10 kinds of people in the world. Those that understand binary and those that don't.

Reply With Quote
  #3  
Old November 5th, 2012, 07:07 AM
HHawk HHawk is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2008
Posts: 70 HHawk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 13 h 4 m 38 sec
Reputation Power: 5
Quote:
Originally Posted by gw1500se
If you are asking someone to write the code for you then you need to post this in the Hire a Programmer forum. Otherwise you should read through a PHP tutorial or 2, try some things on your own and then post where you are having trouble here.


1. I don't want to hire anything.
2. The tutorial doesn't state what I want to achieve.
3. If you are not going to help me, please do not try to increase your postcount in my thread. TY.

//update

Nevermind, I actually found someone who DOES wants to help me without making a profit! Sheesh.
Comments on this post
gw1500se disagrees: You don't understand what this forum is for. It is a help forum not a free programming forum.

Last edited by HHawk : November 5th, 2012 at 07:28 AM.

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsProgramming LanguagesPHP Development > How do I create a custom banner display script?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap