Xtreme2damax Posted August 29, 2009 Report Share Posted August 29, 2009 I want to add my ads back on IPB3, but I can not for the life of me figure out how to set them up like I did on IPB 2.3.6. Hey Michael is there a way I can use this code you gave to me on the IPS company forums with IPB 3? http://forums.invisionpower.com/topic/289729-displaying-ads-to-certain-groups/page__view__findpost__p__1850117 I want to put an ad under the navigation breadcrumb and one in the footer, I still only want to display the ads to certain groups. I also need to use templates for seamless clean integration of the ads in different templates. I apologize if this may not be the most appropriate section for this inquiry, feel free to move this thread if needed. :) Quote Link to comment Share on other sites More sharing options...
Management Michael Posted August 30, 2009 Management Report Share Posted August 30, 2009 Looks like your question has been answered here. You would just wrap your ad code with the following if used within the template bits. <if test="in_array( $this->memberData['member_group_id'], array( X, Y, Z )"> your ad code </if> BTW that's a different Michael ;) Quote Link to comment Share on other sites More sharing options...
Xtreme2damax Posted August 30, 2009 Author Report Share Posted August 30, 2009 (edited) Oh wow, it looks just like the code used on IPB2, I thought that the code may of differed a bit with the changes present in IPB3. Well it's slightly different, but similar to the code listed for IPB2. Thank You. :) Edited August 30, 2009 by Xtreme2damax Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.