You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 46 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - block GoogleWebsearche [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
anseur
Nuke Soldier
Nuke Soldier


Joined: May 01, 2005
Posts: 25

Location: algeria

PostPosted: Mon Jul 25, 2005 5:43 pm Reply with quoteBack to top

hello

i am just looking inside this block exemple :

Code:
/************************************************************************/
/************************************************************************/
/*                   DO NOT EDIT BELOW THIS LINE                        */
/************************************************************************/
/************************************************************************/

if (eregi("block-GoogleAdSense.php", $_SERVER['PHP_SELF'])) {                     
    Header("Location: index.php");
    die();
}


$content .= "<!-- SiteSearch Google -->
<FORM method=GET action='http://www.google.com/custom'>
<center><A HREF='http://www.google.com/'><IMG SRC=' http://anseur.5gigs.com/images/Logo_60wht.gif '
border='0' ALT='Google'></A><br>
<input type=hidden name=domains value='".$my_domain."'><INPUT TYPE=text name=q size=60 maxlength=255 value=''><br>
<INPUT type=submit name=sa VALUE='Search Google'></center>
<center><font size=-1><input type=radio name=sitesearch value=''checked> Web
<input type=radio name=sitesearch value='".$my_domain."' >Site search</center></font>


<input type=hidden name=client value='pub-0783045000870789'>
<input type=hidden name=forid value='1'>
<input type=hidden name=ie value='windows-1256'>
<input type=hidden name=oe value='windows-1256'>
<input type=hidden name=cof value='GALT:#".$url_color.";GL:1;DIV:#".$border.";VLC:".$visited_link.";AH:center;BGC:".$results_bg.";LBGC:".$header_bg.";ALC:".$title_color.";LC:".$title_color.";T:".$text_color.";GFNT:".$faint_color.";GIMP:".$faint_color.";LH:".$logo_height.";LW:".$logo_width.";L:".$my_logo.";S:".$my_logo_link.";FORID:1;'>
<input type=hidden name=hl value='en'>

</FORM>
<!-- Sitesearch  Google -->
";

/************************************************************************/
/************************************************************************/
?>

why ? DO NOT EDIT BELOW THIS LINE

inside code client google Adsence 'pub-0783045000870789'

_________________
anseur.5gigs.com
Find all posts by anseurView user's profileSend private messageSend e-mailVisit poster's website
blackark
Nuke Cadet
Nuke Cadet


Joined: Sep 11, 2004
Posts: 2


PostPosted: Mon Jul 25, 2005 5:54 pm Reply with quoteBack to top

This is the adsense block I use, much cleaner and better quality too.

Quote:
<?php
######################################################################
# PHP-Nuke Block: Google AdSense (block-Google-Ads120x240.php) #
# Copyright(c) 2004 Steph Benoit - http://64bit.us #
# This script is free. You can redistribute it and/or modify #
# it under the terms of GNU/GLP Version 2 #
######################################################################
if (eregi("block-Google-Ads.php", $PHP_SELF)) {
Header("Location: index.php");
die();
}
?>

<script type="text/javascript"><!--
google_ad_client = "pub-yourgoogleid";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "6699CC";
google_color_bg = "003366";
google_color_link = "FFFFFF";
google_color_url = "AECCEB";
google_color_text = "AECCEB";
//--></script>



<?php
$content .= "<div><center><script language=\"JavaScript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">";
$content .= "</script><br></center></div>";
?>

The php tags are broken up because if you don't do it this way then your code won't stay inside the block.

Below is my google site search block, same basic idea.
Quote:
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2005 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/

if (eregi("block-Search.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}

?>
<?php
$content = "<!-- SiteSearch Google -->
<form method=\"get\" action=\"http://www.google.com/custom\" target=\"_top\">
<table border=\"0\" bgcolor=\"#212121\">
<tr><td nowrap=\"nowrap\" valign=\"top\" align=\"left\" height=\"32\">
<a href=\"http://www.google.com/\">
<img src=\"http://www.google.com/logos/Logo_25blk.gif\"
border=\"0\" alt=\"Google\"></img></a>
<br/>
<input type=\"hidden\" name=\"domains\" value=\"blackark.com\"></input>
<input type=\"text\" name=\"q\" size=\"15\" maxlength=\"255\" value=\"\"></input>
</td></tr>
<tr>
<td nowrap=\"nowrap\">
<table>
<tr>
<td>
<input type=\"radio\" name=\"sitesearch\" value=\"\" checked=\"checked\"></input>
<font size=\"-1\" color=\"#FFFFCC\">Web</font>
</td>
<td>
<input type=\"radio\" name=\"sitesearch\" value=\"blackark.com\"></input>
<font size=\"-1\" color=\"#FFFFCC\">blackark.com</font>
</td>
</tr>
</table>
<input type=\"submit\" name=\"sa\" value=\"Search\"></input>
<input type=\"hidden\" name=\"client\" value=\"pub-yourgoogleid\"></input>
<input type=\"hidden\" name=\"forid\" value=\"1\"></input>
<input type=\"hidden\" name=\"ie\" value=\"ISO-8859-1\"></input>
<input type=\"hidden\" name=\"oe\" value=\"ISO-8859-1\"></input>
<input type=\"hidden\" name=\"cof\" value=\"GALT:#008000;GL:1;DIV:#FFFFFF;VLC:663399;AH:center;BGC:212121;LBGC:212121;ALC:FFFF00;LC:FFFF00;T:FFFFCC;GFNT:FFFFCC;GIMP:FFFFCC;LH:48;LW:38;L:http://www.blackark.com/images/topics/AllTopics.gif;S:http://www.blackark.com/;FORID:1;\"></input>
<input type=\"hidden\" name=\"hl\" value=\"en\"></input>

</td></tr></table>
</form>
<!-- SiteSearch Google -->";
?>
Find all posts by blackarkView user's profileSend private message
anseur
Nuke Soldier
Nuke Soldier


Joined: May 01, 2005
Posts: 25

Location: algeria

PostPosted: Mon Jul 25, 2005 7:34 pm Reply with quoteBack to top

blackark wrote:
This is the adsense block I use, much cleaner and better quality too.

Quote:
<?php
######################################################################
# PHP-Nuke Block: Google AdSense (block-Google-Ads120x240.php) #
# Copyright(c) 2004 Steph Benoit - http://64bit.us #
# This script is free. You can redistribute it and/or modify #
# it under the terms of GNU/GLP Version 2 #
######################################################################
if (eregi("block-Google-Ads.php", $PHP_SELF)) {
Header("Location: index.php");
die();
}
?>

<script type="text/javascript"><!--
google_ad_client = "pub-yourgoogleid";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
google_ad_channel ="";
google_color_border = "6699CC";
google_color_bg = "003366";
google_color_link = "FFFFFF";
google_color_url = "AECCEB";
google_color_text = "AECCEB";
//--></script>



<?php
$content .= "<div><center><script language=\"JavaScript\" src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">";
$content .= "</script><br></center></div>";
?>

The php tags are broken up because if you don't do it this way then your code won't stay inside the block.

Below is my google site search block, same basic idea.
Quote:
<?php

/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2005 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/

if (eregi("block-Search.php", $_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}

?>
<?php
$content = "<!-- SiteSearch Google -->
<form method=\"get\" action=\"http://www.google.com/custom\" target=\"_top\">
<table border=\"0\" bgcolor=\"#212121\">
<tr><td nowrap=\"nowrap\" valign=\"top\" align=\"left\" height=\"32\">
<a href=\"http://www.google.com/\">
<img src=\"http://www.google.com/logos/Logo_25blk.gif\"
border=\"0\" alt=\"Google\"></img></a>
<br/>
<input type=\"hidden\" name=\"domains\" value=\"blackark.com\"></input>
<input type=\"text\" name=\"q\" size=\"15\" maxlength=\"255\" value=\"\"></input>
</td></tr>
<tr>
<td nowrap=\"nowrap\">
<table>
<tr>
<td>
<input type=\"radio\" name=\"sitesearch\" value=\"\" checked=\"checked\"></input>
<font size=\"-1\" color=\"#FFFFCC\">Web</font>
</td>
<td>
<input type=\"radio\" name=\"sitesearch\" value=\"blackark.com\"></input>
<font size=\"-1\" color=\"#FFFFCC\">blackark.com</font>
</td>
</tr>
</table>
<input type=\"submit\" name=\"sa\" value=\"Search\"></input>
<input type=\"hidden\" name=\"client\" value=\"pub-yourgoogleid\"></input>
<input type=\"hidden\" name=\"forid\" value=\"1\"></input>
<input type=\"hidden\" name=\"ie\" value=\"ISO-8859-1\"></input>
<input type=\"hidden\" name=\"oe\" value=\"ISO-8859-1\"></input>
<input type=\"hidden\" name=\"cof\" value=\"GALT:#008000;GL:1;DIV:#FFFFFF;VLC:663399;AH:center;BGC:212121;LBGC:212121;ALC:FFFF00;LC:FFFF00;T:FFFFCC;GFNT:FFFFCC;GIMP:FFFFCC;LH:48;LW:38;L:http://www.blackark.com/images/topics/AllTopics.gif;S:http://www.blackark.com/;FORID:1;\"></input>
<input type=\"hidden\" name=\"hl\" value=\"en\"></input>

</td></tr></table>
</form>
<!-- SiteSearch Google -->";
?>


yes my friend i have many good blocks google

i am juste ask for help all friends if use this block need to change code clien google

thank you my friend for you reply

_________________
anseur.5gigs.com
Find all posts by anseurView user's profileSend private messageSend e-mailVisit poster's website
blackark
Nuke Cadet
Nuke Cadet


Joined: Sep 11, 2004
Posts: 2


PostPosted: Tue Jul 26, 2005 11:11 am Reply with quoteBack to top

Yes if you decide to use the search block that I pasted you need to fill it out with your own info for the google id and also the website you are going to search, as the one I pasted has my website info in it still (lazy).

I changed the google id's in the scripts to "yourgoogleid" so if you just pasted it into a page it would be broken,

which is better than other people serving ads for me like the one above is doing.

I found the same situation with a wordpress theme where the theme designer pasted in his own google ads into the theme pages and used his own google id so if people were lazy and didn't see it,

then they would be providing him with impressions and clicks until they notice.
Find all posts by blackarkView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.418 Seconds - 259 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::