The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello
I'm running vbulletin ver. 3.5 and I'm trying to put adsense code for feed into external.php Code:
<![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&channel=&output=png&cuid=<$MTEntryDate format="%y%m%d%H%M%S"$>&url=<$MTEntryPermalink encode_url="1" archive_type="Individual"$>"/></p>]]> I've tried changing RSS2 code in external in this way: Code:
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&channel=&output=png&cuid=<" .vbdate($vbulletin->options['dateformat'], $thread['dateline']) . " format=\"%d%m%y\"$>&url=<$MTEntryPermalink encode_url=\"1\" archive_type=\"Individual\"$>\"/></p>]]>\r\n"; But it doesn't work. Have some of you been able to use adsense for feed with vbulletin? Thanks |
#2
|
|||
|
|||
![]()
Uhm noone is using adsense for feed? :-(
|
#3
|
|||
|
|||
![]()
I even doubt it is allowed according to their TOS.
|
#4
|
||||
|
||||
![]()
I don't think you understand what RSS feeds are. RSS feeds are used as a standard for other sites to fetch data (usually news) from yours. Even if you did use such advertisement HTML, any good programmer would filter out bad HTML (ie. Javascript).
|
#5
|
|||
|
|||
![]()
Uhm..I've received that code from google staff. I can us it to display announces in feed.
Quote:
|
#6
|
||||
|
||||
![]()
I found this thread while searching on Google, I have the same exact question. I have enabled AdSense Feeds and was wondering how to edit the feeds URL on my boards? Thank you!
|
#7
|
|||
|
|||
![]()
new adsense for feeds feature, anyone adding it to their vb rss and how?
|
#8
|
|||
|
|||
![]()
What I dont like about adsense for feeds is we require a feedburner account in order for our feeds getting adsense units :/
|
#9
|
|||
|
|||
![]()
anyone has adsense for feeds enbled for there forums ?
please share how it looks. |
#10
|
|||
|
|||
![]()
I'm trying to figure this out to...
Google gives this code for .htaccess to redirect to the new feed but, that's if our feed ended in index.xml which it does not. Ours is external.php?type=RSS2 Here's the code they give.... RewriteEngine on RewriteCond %{HTTP_USER_AGENT} !FeedBurner RewriteRule ^index\.xml$ http://feedproxy.google.com/YOURFEEDADDRESS [R,L] how do we make it so this works for vb? Thanks, Miguel |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|