News and Announcements

  • entries
    0
  • comments
    0
  • views
    4811549

IP.Board 3.1.0 Dev Update: Ad Code Integration Part 2

Sign in to follow this  
Followers 0

Entry posted

13,659 views

Yesterday we showed IP.Board 3.1's ad code integration for the first time, today we'd like to give a quick update on the status of this new feature.

First of all, we were excited to read all of the positive feedback and great suggestions. We like to write these blog entries before features are 'set in stone', so that we can more easily and quickly include suggestions from our customers.

Group Setting

In response to your feedback, we've included a new setting that will allow you to hide ads for specified groups.

blogentry-12-126470995041_thumb.jpg

Ad Placement

Another common concern was the placement of ads within topic view. While we are not going to add an additional setting that gives you the option of showing the ad inside the first post, we do want to show you how easy it is to accomplish this. The ad code is passed into the template bit along with the first post, so you can move it any place you like within in that first post. Here is the code to display the ad:




Once again, thank you for the great feedback!


<if test="adCodeCheck:|:$post['post']['_adCode']">

	{$post['post']['_adCode']}

</if>



By default, we have this setup so that the ad is placed after the first post is completely printed.  However, if you would like the ad displayed inside the first post, all you need to do is move that display code and place it after this code:



<if test="postSignature:|:$post['post']['signature']">

	{$post['post']['signature']}

</if>



The same is true of the other ad codes, it's very easy to move them to any place in the template that you would like.


Modification Developers


There are also a few functions that may be of interest to modification developers.  If you want to give users the ability to show ads in your mods, you can easily check permissions before displaying the ad using this new function: IPSAdCode::userCanViewAds().  This will return true/false depending on if the user can view ads or not.


Much like the board index, forum view, and topic view, you can have your modification set it it's own global header/footer ads by using a simple function:



IPSAdCode::setGlobalCode( 'header', $yourHeaderAd );

IPSAdCode::setGlobalCode( 'footer', $yourFooterAd );


Sign in to follow this  
Followers 0


42 Comments



Posted

Nice, thanks!

First! ;)

  • Loading...

Share this comment


Link to comment

Posted

Thanks :)

  • Loading...

Share this comment


Link to comment

Posted

Great

  • Loading...

Share this comment


Link to comment

Posted

:thumbsup: :thumbsup: :thumbsup:

  • Loading...

Share this comment


Link to comment

Posted

group setting great! :D very nice job :D

  • Loading...

Share this comment


Link to comment

Posted

Perfect :)

  • Loading...

Share this comment


Link to comment

Posted

Thanks for listening :)

  • Loading...

Share this comment


Link to comment

Posted

[quote name='.Ian' date='28 January 2010 - 09:02 PM']
Thanks for listening :)

One of the many reasons why they're above all else.

Ran Yefet, bfarber, AndyF and 2 others like this
  • Loading...

Share this comment


Link to comment

Posted

Great. Thank you for taking in consideration the groups request!

It will be really nice if you can add forums settings as well so that specific forums could be excluded from showing ads!

Guest likes this
  • Loading...

Share this comment


Link to comment

Posted

nice job...:blush:

  • Loading...

Share this comment


Link to comment

Posted

Thanks for considering all the suggestions.  A more professional forum just

  • uses these ad places to insert the code of his adserving program and
  • puts within the <head></head> all relevant target values like usergroup, forum script (forum start page, blog, forum list, thread view) that are directed to the adserving program

so that all places are within your adserving program, only there you command the ads with: "Only show this banner to usergroup 1,3,4 on the forum index page, topic page and the blog". 

  • Loading...

Share this comment


Link to comment

Posted

Thanks,
This is a company that listens and implements to what the consumers wants. Thanks again

Guest likes this
  • Loading...

Share this comment


Link to comment

Posted

Group settings is a must, so nice to see that!

Guest likes this
  • Loading...

Share this comment


Link to comment

Posted

Nice job. Love the group options.

Guest likes this
  • Loading...

Share this comment


Link to comment

Posted

Wow, very refreshing to see such proactive and positive responses to customer feedback.

Guest likes this
  • Loading...

Share this comment


Link to comment

Posted

Now this is how forum development should be done. Too often I've seen developers tell members flat out that the features that are in demand won't get added. (phpBB, SMF). Its great to see a staff actually listening to their customers! :D

Guest likes this
  • Loading...

Share this comment


Link to comment

Posted

We always listen and try to add things. It's just that sometimes people do not understand why we choose not to add certain things. There's usually a reason be it server resources, time required vs benefit of feature, support requirements, compatibility, etc. the list goes on.

internext, Guest and Bryan Sammers like this
  • Loading...

Share this comment


Link to comment

Posted

This is great news!!

  • Loading...

Share this comment


Link to comment

Posted

Thanks for the updates!

  • Loading...

Share this comment


Link to comment

Posted

Excellent news about the group settings.

  • Loading...

Share this comment


Link to comment

Posted

Can you add feature that we can place adds and banners on the sides of the forum such as at www.serbiancafe.com

Thanks

  • Loading...

Share this comment


Link to comment

Posted

I'll need ads on the right, outside or beside of the forum (or blog or gallery...). Will it be possible?

  • Loading...

Share this comment


Link to comment

Posted

Bump -> Option to display ads in Sidebar in forum and topic view.

  • Loading...

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now