PDA

View Full Version : Variables Wont Work


jamsiejay
02-11-2007, 12:53 PM
Hi,

I am using a mod but i cannot get the following variables to work within the forumhome template

$post[ad_client_id]
$post[ad_channel]

They are supposed to pull adsense data of my members but they will not.

Can anyone help me the mod is adsense sharing revenue mod.

Analogpoint
02-12-2007, 01:41 AM
Do you have a link to the mod?

jamsiejay
02-12-2007, 11:57 AM
Hi here is the link to the mod.

https://vborg.vbsupport.ru/showthread.php?t=135079

Analogpoint
02-12-2007, 04:23 PM
Those variables need to go in the postbit template.

jamsiejay
02-12-2007, 07:17 PM
I know that but i am trying to get them to work outside of postbit.

Analogpoint
02-12-2007, 08:35 PM
If I'm not mistaken, the $post template variable is only available in the postbit. You'll have to modify the source of the plugin to create global template variables.

jamsiejay
02-12-2007, 09:10 PM
Would you know how to go about editing the plugin by any chance.