The_man

Topic: HOW CAN I IMPLEMENT SPONSORED ADS

Is there a way to put sponsored job ads in the main page on top of the recent posts, in order to use them for people that wish to pay to be there?

matteoraggi

Re: HOW CAN I IMPLEMENT SPONSORED ADS

1) In some experimental way for sure you can do it at top of categories (but I don't know how to do it), because we can see it from here:
http://www.jobber.ro/locuri-de-munca/programatori/
http://www.ecommjobs.co.uk/jobs/executive/

2) to add ads on top of "Seen recently" you have to add the code in .TPL file

The_man

Re: HOW CAN I IMPLEMENT SPONSORED ADS

I´m not a coder, I´m a designer, I make the website look good not funtional, so I need a little help, I can undersand what a php file is doing by looking at the code, but sometimes the whole logic of it confuses me and I´m not too good at rewriting code on my own, so I hope anybody can help me by indicating me what files should I change, where to look at and what to replace with..... I´ll appreciate the help.

Thank you Filipcte, evsion, links and Tokyoj for keeping the forum updated... Keep up the good work, you guys are really helping us out here.

matteoraggi

Re: HOW CAN I IMPLEMENT SPONSORED ADS

you must open the file: app\_templates\sidebar.tpl
and add your ads at the top or at the bottom of code, this is a sample with google ads  ( http://www.lavorohotrl.net ) on the top:
don't copy my code, here i have also translated TOTAL JOBS and FOR in italian language..
------------------------
<script type="text/javascript"><!--
google_ad_client = "pub-0153864788629906";
/* 120x240, created 30/08/08 */
google_ad_slot = "9082127465";
google_ad_width = 120;
google_ad_height = 240;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
{if $CURRENT_PAGE != ''}
            <a href="{$BASE_URL}" title="{$translations.header.title}">&laquo; {$translations.header.home}</a><br />
            {/if}
           
            {if $smarty.session.last_viewed_jobs}
            <h4>{$translations.header.seen_recently}</h4>
            <ul>
                {section name=last loop=$smarty.session.last_viewed_jobs}
                <li><a href="{$smarty.session.last_viewed_jobs[last].url}">&raquo; {$smarty.session.last_viewed_jobs[last].title}</a></li>
                {/section}
            </ul>
            {/if}
           
            {if $CURRENT_PAGE == ''}
            <br />
            <div id="stats">
                <strong>{$jobs_count_all} annunci di lavoro in tutto</strong>
                <br />
                {foreach item=job from=$jobs_count_all_categs}
                <strong>{$job.categ_count}</strong> per <a href="{$BASE_URL}jobs/{$job.categ_varname}/">{$job.categ_name}</a><br />
                {/foreach}
            </div><!-- #stats -->
            {/if}

Last edited by matteoraggi (2008-08-30 17:41:00)

matteoraggi

Re: HOW CAN I IMPLEMENT SPONSORED ADS

you must open the file: app\_templates\footer.tpl
and add your ads at the top or at the bottom of code, this is a sample with google ads  ( http://www.lavorohotel.net ) on the top:
----------------
  <div align="center">
    <script type="text/javascript"><!--
google_ad_client = "pub-0153864788629906";
/* 728x90, created 30/08/08 */
google_ad_slot = "3768831983";
google_ad_width = 728;
google_ad_height = 90;
//-->
  </script>
    <script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
  </script>
</div>
    </div><!-- #container -->
    <div class="footer">
        <div id="footer-contents">
            <div id="footer-col1">
                {$translations.footer.column_use}:<br />
                <a href="{$BASE_URL}post/" title="{$translations.footer.new_job_title}">{$translations.footer.new_job}</a><br />
                <a href="{$BASE_URL}{$articles.widgets.url}/" title="{$articles.widgets.page_title}">{$articles.widgets.title}</a><br />
                <a href="{$BASE_URL}rss/" title="{$translations.footer.rss_title}">{$translations.footer.rss}</a><br />
            </div>
            <div id="footer-col2">
                {$translations.footer.column_find}:<br />
                <a href="{$BASE_URL}{$articles.about.url}/" title="{$articles.about.page_title}">{$articles.about.title}</a><br />
                <a href="{$BASE_URL}{$articles.contact.url}/" title="{$articles.contact.page_title}">Contact</a>
            </div>
            <div id="footer-col3">
                {$translations.footer.column_misc}:<br />
                <a href="{$BASE_URL}companies/" title="{$translations.footer.companies_title}">{$translations.footer.companies}</a><br />
                <a href="{$BASE_URL}sitemap/" title="{$translations.sitemap.title}">{$translations.sitemap.title}</a><br />
            </div>
            <div id="footer-copyright">
                {$translations.footer.powered_by}
                <a href="http://www.jobberbase.com/" title="open source job board software">jobberBase</a>
            </div>
            <div class="clear"></div>
        </div><!-- #footer-contents -->
    </div><!-- .footer -->
    {literal}
    <script type="text/javascript">
        //<![CDATA[
       
        $(document).ready(function()
        {
           var keywords = $('#keywords');
            // setup search box
            keywords.bind('click', function() {
                if (this.value == '{/literal}{$translations.search.default}{literal}')
                {
                    keywords.clearFields();
                }
            });

            keywords.bind('blur', function() { 
                if (this.value == '{/literal}{$translations.search.default}{literal}' || this.value == '')
                {
                    this.value = '{/literal}{$translations.search.default}{literal}';
                }
            });

            // setup live search
            keywords.keyup(function(key) {
                if (this.value == '')
                {
                    $('#job-listings').load('{/literal}{$BASE_URL}{literal}search/{/literal}{$current_category}{literal}|/');
                }
                //var len = document.getElementById('keywords').value.length;
                var len = this.value.length;
              if (key.keyCode != 9 && len >= 3)
                {
                    $("#indicator").show();   
                    clearTimeout(window.search_timer);   
                    window.search_timer = setTimeout("Jobber.PerformSearch('{/literal}{$BASE_URL}{literal}search/{/literal}{$current_category}{literal}|')", 800);
              }
            });
        });
        Jobber.jobber_url = "{/literal}{$BASE_URL}{literal}";
        //]]>
    </script>
    {/literal}
    {php}
      if (isset($_SESSION['status']))
        {
            unset($_SESSION['status']);
        }
        if (isset($_SESSION['apply_mail_sent']))
        {
            unset($_SESSION['apply_mail_sent']);
        }
        if (isset($_SESSION['apply_errors']))
        {
            unset($_SESSION['apply_errors']);
        }
        if (isset($_SESSION['apply_fields']))
        {
            unset($_SESSION['apply_fields']);
        }
        if (isset($_SESSION['contact_msg_sent']))
        {
            unset($_SESSION['contact_msg_sent']);
        }
        if (isset($_SESSION['contact_errors']))
        {
            unset($_SESSION['contact_errors']);
        }
        if (isset($_SESSION['contact_fields']))
        {
            unset($_SESSION['contact_fields']);
        }
    {/php}
</body>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-1133324-39");
pageTracker._trackPageview();
</script>
</html>

Last edited by matteoraggi (2008-08-30 18:00:18)

The_man

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Thanks for the tip Matteo, I appreciate it, I´ll work on my google ads eventually.

Right know what I´m looking for is to place sponsored ad jobs on top of each category page like the ones used in http://www.ecommjobs.co.uk/

Anyone knows how to do it?

matteoraggi

Re: HOW CAN I IMPLEMENT SPONSORED ADS

I think this type of sponsored ads, will be ready for next versions, ad they are developing and testing it, here sample of ads on the header:
you must open the file: app\_templates\header.tpl
and add your ads at the middle of code, this is a sample with google ads  ( http://www.lavorohotel.net ) on the middle center:
--------------------------------------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <title>{$html_title}</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <meta name="description" content="{$meta_description}" />
    <meta name="keywords" content="{$meta_keywords}" />
    <meta name="author" content="Filip Cherecheş-Toşa (http://www.filipcte.ro)" />
    <link rel="shortcut icon" href="{$BASE_URL}favicon.ico" type="image/x-icon" />
    {if $CURRENT_PAGE == '' || $CURRENT_PAGE != 'jobs'}
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{$BASE_URL}rss/all/" />
    {else}
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="{$BASE_URL}rss/{$current_category}/" />
    {/if}
    <link rel="stylesheet" href="{$BASE_URL}css/screen.css" type="text/css" media="screen" />
    <link rel="stylesheet" href="{$BASE_URL}css/print.css" media="print" type="text/css" />
    <script src="{$BASE_URL}js/jquery.js" type="text/javascript"></script>
    <!--[if !IE]><script src="{$BASE_URL}js/jquery.history.js" type="text/javascript"></script><![endif]-->
    <script src="{$BASE_URL}js/jquery.form.js" type="text/javascript"></script>
    <script src="{$BASE_URL}js/cmxforms.js" type="text/javascript"></script>
    <script src="{$BASE_URL}js/jquery.metadata.js" type="text/javascript"></script>
    <script src="{$BASE_URL}js/jquery.validate.pack.js" type="text/javascript" charset="iso-8859-1"></script>
    <script src="{$BASE_URL}js/interface.js" type="text/javascript"></script>
    <script src="{$BASE_URL}js/functions.js" type="text/javascript"></script>
    <script src="{$BASE_URL}js/browser_detect.js" type="text/javascript"></script>
</head>

<body>
    <div id="container">
        {if $smarty.session.status neq ''}
            <div id="status">
                {$smarty.session.status}
            </div><!-- #status -->
        {/if}
        <div id="header">
            <h1 id="logo"><a href="{$BASE_URL}" title="{$translations.header.title}">{$translations.header.name}</a></h1>
            <ul id="top">
                <li><a href="{$BASE_URL}ideal-job/" title="{$translations.header.ideal_job_title}">{$translations.header.ideal_job}</a></li>
                <li>&bull;</li>
                <li><a href="{$BASE_URL}{$articles.widgets.url}/" title="{$articles.widgets.page_title}">{$articles.widgets.title}</a></li>
                <li>&bull;</li>
                <li><a href="{$BASE_URL}{$articles.about.url}/" title="{$articles.about.page_title}">{$articles.about.title}</a></li>
                <li>&bull;</li>
                <li><a href="{$BASE_URL}{$articles.contact.url}/" title="{$articles.contact.page_title}">Contact</a></li>
            </ul>
            <div id="the_feed">
                <a href="{$BASE_URL}rss/all/" title="{$translations.header.rss_title}"><img src="{$BASE_URL}img/bt-rss.gif" alt="{$translations.header.contact_alt}" /></a>
            </div>
        </div><!-- #header -->
       
        <div id="box">
            <div id="search">
                <form id="search_form" method="post" action="{$BASE_URL}search/">
                    <fieldset>
                        <input type="text" name="keywords" id="keywords" maxlength="30" value="{if $keywords}{$keywords}{else}{$translations.search.default}{/if}" />
                        <span id="indicator" style="display: none;"><img src="{$BASE_URL}img/ajax-loader.gif" alt="" /></span>
                        <label class="suggestionTop">{$translations.search.example}</label>
                    </fieldset>
                </form>
            </div><!-- #search -->
            <div class="addJob">
                <a href="{$BASE_URL}post/" title="{$translations.search.title}" class="add">{$translations.search.submit}</a>
            </div><!-- .addJob -->
        </div><!-- #box -->
          <div align="center">
          <br>
        <script type="text/javascript"><!--
google_ad_client = "pub-0153864788629906";
/* 728x90, created 30/08/08 */
google_ad_slot = "3768831983";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></DIV>
       
    <div id="categs-nav">
      <ul>
                {section name=tmp loop=$categories}
        <li id="{$categories[tmp].var_name}" {if $current_category == $categories[tmp].var_name}class="selected"{/if}><a href="{$BASE_URL}jobs/{$categories[tmp].var_name}/" title="{$categories[tmp].var_name}"><span>{$categories[tmp].name}</span><span class="cnr">&nbsp;</span></a></li>
                {/section}
        </ul>
        </div><!-- #categs-nav -->
        <div class="clear"></div>
       
        <div id="sidebar">
            {include file="sidebar.tpl"}
        </div><!-- #sidebar -->

Last edited by matteoraggi (2008-08-30 18:02:28)

The_man

Re: HOW CAN I IMPLEMENT SPONSORED ADS

has anybody done this before on their jobboard, that cn help me?

matteoraggi

Re: HOW CAN I IMPLEMENT SPONSORED ADS

the author big_smile

The_man

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Does anybody have a clue on this? or is it just me interested in this.

gheaton

Re: HOW CAN I IMPLEMENT SPONSORED ADS

I have done something similar using an open source ad serving product. http://www.openx.org/

You need to install the software, but then it gives you a lot of flexibility to publish and track ad campaigns. Just place the ad code into the sidebar.tpl as per above and you are set.

The_man

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Thanks for the link anyway, but still not what I´m looking for to do.

Mastergreed

Re: HOW CAN I IMPLEMENT SPONSORED ADS

My question is - if the author of JobberBase managed to create sponsored jobs (sticky on front page or categories) on his own jobboard, why can't he share this knowledge?

Even the basic informations like what and where to code could be useful.

Last edited by Mastergreed (2008-09-17 10:34:14)

keskese

Re: HOW CAN I IMPLEMENT SPONSORED ADS

if you like ads placement on mine electrical job board PM me ad I will help you.

take care

Mastergreed

Re: HOW CAN I IMPLEMENT SPONSORED ADS

I think people don't understand what we are talking about here - this topic is not about AdSense, Text Link Ads or other banners-stuff-ads! We are talking about implementing sponsored job ads. You're paying, and you have your job sticked on the front page.

mindanimal

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Yeah, this is not about AdSense. We need to know how to make some jobs sticky so that we can charge more for that. This is a really great option, I saw it in the example and I am really interested to know how to do it for my site. Please Developers, share your knowledge !!!! smile

Greetz!

mployr.com

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Show me an example.

Entrepreneur? Check this out...
http://www.eugeneg.com/overview/

mindanimal

Re: HOW CAN I IMPLEMENT SPONSORED ADS

I want to be able to post the yellow ones. Quite useful, isn`t it smile

http://www.ecommjobs.co.uk/

cadsite

Re: HOW CAN I IMPLEMENT SPONSORED ADS

mindanimal wrote:

I want to be able to post the yellow ones. Quite useful, isn`t it smile

http://www.ecommjobs.co.uk/

I would like to do this to, I even want to pay a small fee for a good working system.

mployr.com

Re: HOW CAN I IMPLEMENT SPONSORED ADS

As far as I know, the sponsored section on Filip's site is coded in plain html. (He was almost embarass to admit this. :p) But if enough request are made to develop such module, the impression I got from him is, it may be implemented in the future. In the meantime, we all need to find alternate solution to have sponsored section on our site. Or follow Filip and code it in plain html smile

Entrepreneur? Check this out...
http://www.eugeneg.com/overview/

cadsite

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Plain HTML? tongue
I thought I was the only one who did this. big_smile

The_man

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Fair enough, I tought it was programmed some how and backend managed but html is ok for now I guess, thanks for the replies, if anybody comes up with a backend or more dinamic solution for this, please post.

benobo

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Well, I think plain HTML is a cool solution, considering my site isn't successful enough to spend time programming this function. I'll give a try to OpenX http://www.openx.org/, cause it's not the first time I hear about it.

elgreco

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Hi,

I was just a passive reader, but now i registered:)
Even plain HTML code does the job as someone in the post said about OpenX you can post richtext ads in the top menu
And charge the client with CPC or by time...

so even plain html is ok, since you will see how many clicks or visits a ad had.
there is also Google;s admanager ...it works like a charm,

CU

mindanimal

Re: HOW CAN I IMPLEMENT SPONSORED ADS

Could someone please show me the html code for this because I dont really get it. How can I track these ads and how many clicks are on them?