View Full Version : GOOGLE ads, Financial Configuration
TurXaliM
04-09-2007, 08:59 PM
FINANCIAL CONFIGURATION
When i add my GOOGLE codes, it make;
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-5207198086148057\";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = \"468x60_as\";
google_ad_type = \"text_image\";
google_ad_channel = \"\";
google_color_border = \"FFFFFF\";
google_color_bg = \"FFFFFF\";
google_color_link = \"215670\";
google_color_text = \"006699\";
google_color_url = \"000000\";
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
What is the problem?
And it don't appear on index...
TurXaliM
04-09-2007, 10:33 PM
Oups, the code also, errony;
<a href=\"{own_url}\">{own_site}</a>
there are
\ \
:(
Sergey Ten
04-10-2007, 03:23 AM
Hello TurXaliM,
It is so strange. Please send me your FTP details.
TurXaliM
04-10-2007, 11:27 AM
I have sended from PM
TurXaliM
04-10-2007, 03:17 PM
For example
I add "TurXaliM"
the script make /"TurXaliM/"
and the codes don't working as GOOGLE ADS and my Site codes;
<a href=\"{own_url}\">{own_site}</a>
You see :( ?
Dave Baker
04-10-2007, 03:30 PM
Hello TurXaliM,
Where do you try adding ads (via Admin Panel, code or additional field)?
TurXaliM
04-10-2007, 08:16 PM
ADMIN CP
but not just ADS, this is general.
For description also, for example;
GuLeN HaYaT \'SaNaL\'da Tek GeRceK
When you make
'
or
"
Script make
/
before
"
This is problem general.
The code normal is;
<a href="{own_url}">{own_site}</a>
This work been
but
now this is anormal;
<a href=\"{own_url}\">{own_site}</a>
for example;
<a href=\"http://www.euro-toplist.com\">EUro-TopList</a>
and this don't work, the code above...
Dave Baker
04-10-2007, 08:22 PM
If you try to add adsense code instead of a category description:
Please open templates/yourTemplate/index.tpl and find code***
{include file="header.tpl"}
<h1>{$header}</h1>
{if $category.description}
<div class="box">{$category.description|escape:"html"}</div>
{/if}
***Replace with***
{include file="header.tpl"}
<h1>{$header}</h1>
{if $category.description}
<div class="box">{$category.description}</div>
{/if}
***Save changes***
TurXaliM
04-10-2007, 08:34 PM
No my problem isn't just ADS.
This is general error, look;
http://img402.imageshack.us/img402/564/googlelm6.gif
when i add the ADS, it add with \
and
the description also;
http://img402.imageshack.us/img402/1116/forumko5.gif
you see the \ before "
This is my problem.
Since this error, 8site have added their site but my backlink code is errony also!
<a href=\"http://www.euro-toplist.com\">EUro-TopList</a>
don't work!
My problem is with the / / / /
when i make
" " " "
the script add automatically
/ / / /
before "
Dave Baker
04-10-2007, 08:53 PM
It's strange problem.
What is the last changes in script?
Also try it:
***Open file admin/configuration.php and find code(around line # 102):***
/** strip new values **/
foreach($_POST['param'] as $key=>$value)
{
if (is_array($value))
{
$value = implode(",", $value);
}
if(!utf8_is_valid($value))
{
$value = utf8_bad_replace($value);
trigger_error("Bad UTF-8 detected (replacing with '?') in configuration", E_USER_NOTICE);
}
/** writes to database **/
$value = sql($value);
$config->set($key, $value, true);
}
***Replace with***
/** strip new values **/
foreach($_POST['param'] as $key=>$value)
{
if (is_array($value))
{
$value = implode(",", $value);
}
if(!utf8_is_valid($value))
{
$value = utf8_bad_replace($value);
trigger_error("Bad UTF-8 detected (replacing with '?') in configuration", E_USER_NOTICE);
}
/** writes to database **/
$value = $value;
$config->set($key, $value, true);
}
***Save changes***
For description you should implement modification in post #8.
TurXaliM
04-10-2007, 09:02 PM
The last action?
When i have updated from 2.1.02 to 2.1.03
i have got the errors in the "config.inc.php" and SERGEY TEN have maked normaly. After, the script make these errors...
TurXaliM
04-10-2007, 10:01 PM
Thank you very much...
The ADS appear now on index but
i have tryed add a link and see;
<a href=\\\"http://www.euro-toplist.com/\\\" title=\\\"Avrupa TopList\\\">EUro-TopList.com</a>
There are always
\\\
and now, what i will done?
Dave Baker
04-10-2007, 10:32 PM
Try to remove all "\" in code:
<a href=\\\"{own_url}\\\">{own_site}</a>
and save changes.
TurXaliM
04-10-2007, 10:43 PM
:p
Thank you very much.
I haven't thinked this :)
Dave Baker
04-10-2007, 10:50 PM
You are welcome TurXaliM,
Glad that we achieve these results :)
Sergey Ten
04-11-2007, 03:42 AM
Hello TurXaliM,
I have just fixed your problem. Please check it.
TurXaliM
04-11-2007, 12:04 PM
Hello TurXaliM,
I have just fixed your problem. Please check it.and now
IN ACP/Email Templates
When i click "SAVE CHANGES", i get this error;
http://img473.imageshack.us/img473/8972/errorrj6.gif
and the Today on the added links, The sites' TITLE and DESCRIPTION there are still a / before '
http://img402.imageshack.us/img402/1116/forumko5.gif
Sergey Ten
04-11-2007, 12:27 PM
Hello TurXaliM,
Ok. I will try to fix it as soon as possible. I will notify you about a progress. Thank you for patience.
TurXaliM
04-11-2007, 12:44 PM
Thanks you very much SERGEY for all things you do for me and for everybody ;)
I will wait your information for me...
Sergey Ten
04-17-2007, 04:31 AM
Hello TurXaliM,
Sorry for delay. I have fixed your problem. Please check it and post a result.
TurXaliM
04-17-2007, 12:17 PM
Hello Sergey TEN;
Mar.17/04/2007 06:17
http://img220.imageshack.us/img220/1880/esaj1.png
vBulletin® v3.7.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.