NDTechs.com :: View topic - Need adsence block......

 Forum FAQForum FAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Need adsence block......

 
Post new topic   Reply to topic    NDTechs.com Forum Index -> Blocks View previous topic :: View next topic  
Author Message
raatbaki_4u
Newbie
Newbie


Joined: Jul 21, 2006
Posts: 1

PostPosted: Sun Jul 23, 2006 2:19 am    Post subject: Need adsence block...... Reply with quote

I need a block to post my google adsence.......the link is a *js link and that why I unable to create it........I am very new in phpnuke...using 7.8 version...pls help me..........its urgent........I must post the adsence as my host require it..........otherwise my site will be deleted..........help me pls.......
Back to top
View user's profile Send private message
Tazz
Site Admin
Site Admin


Joined: Jun 20, 2004
Posts: 93

PostPosted: Sun Jul 23, 2006 6:43 pm    Post subject: Reply with quote

The adsense referrals block is just a standard block with the code your Google account provides added in. I cant post the entire code due to our security blocking part of it.

Code:
<?php

######################################################################
# PHP-Nuke Block: Google AdLinks (block-adsense_referrals.php)       #
# Copyright(c) 2005 Dave Nelson - http://www.NukeBling.com           #
# This script is free. You can redistribute it and/or modify         #
# under the terms of GNU/GLP                                         #
######################################################################

if (eregi("block-adsense_referrals.php", $PHP_SELF)) {

Header("Location: index.php");

die();

}

$content = '<center><$cript type="text/java$cript"><!--
google_ad_client = "CLIENT ID HERE";
google_ad_width = 120;
google_ad_height = 240;
google_ad_format = "120x240_as_rimg";
google_cpa_choice = "CAAQ0aCazgEaCAu3WxmTyqbLKOPC93M";
//--></$cript>
<$cript type="text/java$cript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</$cript>
</center>';
$content .= '<center><a target="_blank" href="http://www.ndtechs.com/html2/">NDTechs.com</a></center>';

?>


Change the $ in $cript and java$cript to s and add your client ID.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NDTechs.com Forum Index -> Blocks
Page 1 of 1

All times are GMT - 5 Hours


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2002 phpBB Group 


Forums ©
    
Exclusive Theme by NDTechs.com

Netrition - The Internet's Premier Nutrition Superstore!
© 2005 by NDTechs :: Portal Copyright © 2004 by Francisco Burzi.
Page Generation: 0.36 Seconds