Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 16    Views: 88

Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
02/22/13 07:45 AM (12 years ago)

Add iAd to Buzz Carousel Plugin

Hi simple question, how can I add iAds to the Buzz Carousel plugin. I have no idea how to do, can anyone help?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/22/13 08:45 AM (12 years ago)
I'm looking into this for you now hold the line
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
02/22/13 08:49 AM (12 years ago)
Sweet!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/22/13 09:06 AM (12 years ago)
That simple it's frustrating lol add [self createAdBannerView]; under view will appear I'll add this option to the next release
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
02/22/13 09:13 AM (12 years ago)
Fantastic, will try now. BTW in a previous post you mentioned that I could make the Nav Bar Transparent, but the reply you posted wasn't clear for me to know how to achieve this, any chance you can tell me again, in regards to which file and where in the code? Thanks for the help! P.S. Haven't forgotten that I still need to email you.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/22/13 09:16 AM (12 years ago)
Yeah that transparent code ain't working to well with buzztouch something keeps overwriting it. I would recommend hiding the nav bar completely and add your own custom type navbar with the desired buttons
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
02/22/13 09:16 AM (12 years ago)
Cool, no probe. That last bit is a bit out of my depth.
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
02/22/13 09:19 AM (12 years ago)
Hi Kittsy, the the code to add the banner is their, but its seating under my Socialize bar, how do I raise the banner up the screen by 50pxs?
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/22/13 09:26 AM (12 years ago)
right your not going to be able to use buzztouches code we will need to make youw own version. Hold the line
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
02/22/13 09:31 AM (12 years ago)
Wow! Sorry if I'm taking you away from your own work.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/22/13 10:57 AM (12 years ago)
What a f*%^%&g nightmare Well found a quick fix. add this code under view will appear [self.label setTag:49]; [self createAdBannerView]; I will explain the logic. The iAd position is controlled in the BT_view utilities It checks for tool bars nabbers. Fot the toolbar one which you need technically for socialise it looks for a view tagged 49 all views with 49 are toolbars so I thought lets trick the little git into thinking there is a toolbar there. So I added a tag to the label. But what I was thinking is your going to come accross this on every screen so. The socialize bar must have a UIView associated with it so if it's called actionbar like in the tutorials add [self.actionbar setTag:49]; instead of the label, then every screen with the action bar do the same and you will be able to add iAds If that doesn't make sense I'll explain differently
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
02/22/13 12:14 PM (12 years ago)
Yes, thanks will try now. You have been so helpful. Before I try your option, just wanted to know, the following: I want to add a page within my app for credits to people from BT that have supported me in getting this app complete, a long with those who's plugins I have used. Would you have any objection if I add you in my credits? Will let you know how I get on with the code. Thanks!
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
02/22/13 12:18 PM (12 years ago)
It worked, LOVE U MAN!
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
02/22/13 12:25 PM (12 years ago)
Of course it would be an honour to be in your credits. glad it worked Did you use the socialise action bar way or the label.
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
02/22/13 12:28 PM (12 years ago)
Label.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
02/23/13 08:14 AM (12 years ago)
Wow. That's some key info there @ the BT_view utilities and the Tags. Now I want to open that class and explore it - and have David break it down. Something like a joomla template overlay with those tags would be mint. Almost a screen map of the screen elements. Great find. Awesome support too, need to leave a review myself. The developer was incredibly helpful to me getting this plug-in working beyond what i wanted to use it for as well ;)
 
Bonzo
Apple Fan
Profile
Posts: 783
Reg: Jan 30, 2012
Basingstoke
13,530
like
01/08/14 08:56 AM (12 years ago)
how can you do similar for RevMob banner?
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.