The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

for google ads share

View previous topic View next topic Go down

for google ads share

Post by nasrhabib68 on April 20th 2011, 3:03 am

i modified my viewtopic_body to enter google ads and it's working well

i want to use a field for google_ad_client

is there anybody can help me how to do

or at least how to put the field name

like
google_ad_client = "{fieldname}" ; <--- this not working


regards

nasrhabib68
New Member

Male Posts : 7
Reputation : 0
Language : english
Location : Yemen

http://sales.akbarmontada.om

Back to top Go down

Re: for google ads share

Post by kirk on April 20th 2011, 3:28 am

What do you mean in a profile field?

or are you taqlking about placeing the googl code in the viewtopic_body template?
avatar
kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: for google ads share

Post by nasrhabib68 on April 20th 2011, 3:35 am

@kirk wrote:What do you mean in a profile field?

or are you taqlking about placeing the googl code in the viewtopic_body template?

i mean that i want to create a new field in order to use for google_ads_client this field will be string field where the usere will put "pub-xxxxxxxxxxxxx"

for google adsense revenue


nasrhabib68
New Member

Male Posts : 7
Reputation : 0
Language : english
Location : Yemen

http://sales.akbarmontada.om

Back to top Go down

Re: for google ads share

Post by kirk on April 20th 2011, 7:14 am

Well if it's a profile field you want to add it to then no, because you can not place any codeing in them fields.
But i am not understanding you so if you can provide a screen shot and or links as an example that would help better
avatar
kirk
Forumaster

Male Posts : 11037
Reputation : 651
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Re: for google ads share

Post by Darren1 on April 20th 2011, 8:36 am

Hi,

Please note that any additional adds you add into your forum will not work properly until you have purchased the removal of current adds Wink
avatar
Darren1
Helper
Helper

Male Posts : 11853
Reputation : 563
Language : English

Back to top Go down

Re: for google ads share

Post by nasrhabib68 on April 20th 2011, 11:09 pm

@kirk wrote:Well if it's a profile field you want to add it to then no, because you can not place any codeing in them fields.
But i am not understanding you so if you can provide a screen shot and or links as an example that would help better


Ok. I want to change my forum to Share google adsense revenue
so i add a field like




now i want to call this field in viewtopic_body Template

like this

<script type="text/javascript"><!--
google_ad_client = "{adspub}";
/* 300x250, created 3/6/11 */
google_ad_slot = "8753385841";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>


so how can i call this field ?


nasrhabib68
New Member

Male Posts : 7
Reputation : 0
Language : english
Location : Yemen

http://sales.akbarmontada.om

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum