Register on our site is free!

I look forward to have you as a member here on JAKCMS. It will give you a lot of advantages like: get forum support, report bugs or requests to our software, post comments to faq, downloads, blog, gallery and tutorials.

Kind regards
Jérôme 

Member Login

Lost your password?

Lost my Password

Stop, try again!

Not a member yet? Sign Up!

human

 

News - Ads

Time: 18.04.2011 / By: Jerome / Hits: 401

Priority: 2 Status: Closed Resolution: Yes

Description:

I forgot to write the new ad code in the news.php, this is fixed in the next release.

If you like to fix now, please open news.php.

Find:

if (JAK_ADS && JAK_USER_ADS) {

// If display ads well do so

$smarty->assign('JAK_GET_ADS', JAK_base::jakAds('1,2,3,4,5'));

$smarty->assign('JAK_GET_ADS_HEADER', 1);

$smarty->assign('JAK_GET_ADS_SIDEBAR', 2);

$smarty->assign('JAK_GET_ADS_ACONT', 3);

$smarty->assign('JAK_GET_ADS_BCONT', 4);

$smarty->assign('JAK_GET_ADS_FOOTER', 5);

}

Replace with:

if (JAK_ADS && JAK_USER_ADS) {

  $ads = JAK_base::jakAds('1,2,3,4,5');

  $smarty->assign('JAK_GET_ADS', $ads);

  $smarty->assign('JAK_GET_ADS_HEADER', JAK_base::jakAdsfilter(1, $ads));

  $smarty->assign('JAK_GET_ADS_SIDEBAR', JAK_base::jakAdsfilter(2, $ads));

  $smarty->assign('JAK_GET_ADS_ACONT', JAK_base::jakAdsfilter(3, $ads));

  $smarty->assign('JAK_GET_ADS_BCONT', JAK_base::jakAdsfilter(4, $ads));

  $smarty->assign('JAK_GET_ADS_FOOTER', JAK_base::jakAdsfilter(5, $ads));

  }

Votes Up: 1 Votes Down: 0 Rating: 1

Social Bookmarking:

Tags: ads, bug, news