Black_Widow
04-11-2008, 11:40 PM
Hello
I'm running vbulletin ver. 3.5 and I'm trying to put adsense code for feed into external.php
<![CDATA[<p><map name="google_ad_map_<$MTEntryDate format="%y%m%d%H%M%S"$>">
<area shape="rect" href="http://imageads.googleadservices.com/pagead/imgclick/<$MTEntryDate format="%y%m%d%H%M%S"$>?pos=0" coords="1,2,367,28"/>
<area shape="rect" href="http://services.google.com/feedback/abg" coords="384,10,453,23"/></map>
<img usemap="#google_ad_map_<$MTEntryDate format="%y%m%d%H%M%S"$>" border="0" src="http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&client=CLIENTIDXXX&chann el=&output=png&cuid=<$MTEntryDate format="%y%m%d%H%M%S"$>&url=<$MTEntryPermalink encode_url="1" archive_type="Individual"$>"/></p>]]>
Anyone has been able to perform successfully this modification to external.php?
I've tried changing RSS2 code in external in this way:
case 'RSS2':
echo "\r\n\t<item><![CDATA[<p><map name=\"google_ad_map_<" .vbdate($vbulletin->options['dateformat'], $thread['dateline']) . " format=\"%d%m%y\"$>\">
<area shape=\"rect\" href=\"http://imageads.googleadservices.com/pagead/imgclick/<" .vbdate($vbulletin->options['dateformat'], $thread['dateline']) . " format=\"%d%m%y\"$>?pos=0\" coords=\"1,2,367,28\"/>
<area shape=\"rect\" href=\"http://services.google.com/feedback/abg\" coords=\"384,10,453,23\"/></map>
<img usemap=\"#google_ad_map_<" .vbdate($vbulletin->options['dateformat'], $thread['dateline']) . " format=\"%d%m%y\"$>\" border=\"0\" src=\"http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&client=CLIENTIDXXXXX&cha nnel=&output=png&cuid=<" .vbdate($vbulletin->options['dateformat'], $thread['dateline']) . " format=\"%d%m%y\"$>&url=<$MTEntryPermalink encode_url=\"1\" archive_type=\"Individual\"$>\"/></p>]]>\r\n";
where CLIENTIDXXXXX is my adsense code.
But it doesn't work.
Have some of you been able to use adsense for feed with vbulletin?
Thanks
I'm running vbulletin ver. 3.5 and I'm trying to put adsense code for feed into external.php
<![CDATA[<p><map name="google_ad_map_<$MTEntryDate format="%y%m%d%H%M%S"$>">
<area shape="rect" href="http://imageads.googleadservices.com/pagead/imgclick/<$MTEntryDate format="%y%m%d%H%M%S"$>?pos=0" coords="1,2,367,28"/>
<area shape="rect" href="http://services.google.com/feedback/abg" coords="384,10,453,23"/></map>
<img usemap="#google_ad_map_<$MTEntryDate format="%y%m%d%H%M%S"$>" border="0" src="http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&client=CLIENTIDXXX&chann el=&output=png&cuid=<$MTEntryDate format="%y%m%d%H%M%S"$>&url=<$MTEntryPermalink encode_url="1" archive_type="Individual"$>"/></p>]]>
Anyone has been able to perform successfully this modification to external.php?
I've tried changing RSS2 code in external in this way:
case 'RSS2':
echo "\r\n\t<item><![CDATA[<p><map name=\"google_ad_map_<" .vbdate($vbulletin->options['dateformat'], $thread['dateline']) . " format=\"%d%m%y\"$>\">
<area shape=\"rect\" href=\"http://imageads.googleadservices.com/pagead/imgclick/<" .vbdate($vbulletin->options['dateformat'], $thread['dateline']) . " format=\"%d%m%y\"$>?pos=0\" coords=\"1,2,367,28\"/>
<area shape=\"rect\" href=\"http://services.google.com/feedback/abg\" coords=\"384,10,453,23\"/></map>
<img usemap=\"#google_ad_map_<" .vbdate($vbulletin->options['dateformat'], $thread['dateline']) . " format=\"%d%m%y\"$>\" border=\"0\" src=\"http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&client=CLIENTIDXXXXX&cha nnel=&output=png&cuid=<" .vbdate($vbulletin->options['dateformat'], $thread['dateline']) . " format=\"%d%m%y\"$>&url=<$MTEntryPermalink encode_url=\"1\" archive_type=\"Individual\"$>\"/></p>]]>\r\n";
where CLIENTIDXXXXX is my adsense code.
But it doesn't work.
Have some of you been able to use adsense for feed with vbulletin?
Thanks