PDA

View Full Version : How to adsense code by author of post


zheive
03-04-2014, 02:18 PM
Hello, at first sorry for my bad english, i'm spanish.

I have a question. I like integrate adsense by creator post, the same schema at this for wordpress:

<?php elseif(get_the_author() == '1') : ?>
<div style="display:block;float:left;padding-left: 3px;padding-top: 16px;padding-right: 5px;padding-bottom: 16px;">

Adsense code

</div>

<?php elseif(get_the_author() == '2') : ?>
<div style="display:block;float:left;padding-left: 3px;padding-top: 16px;padding-right: 5px;padding-bottom: 16px;">

Adsense code 2

</div>
<?php else : ?>
<div style="display:block;float:left;padding-left: 3px;padding-top: 16px;padding-right: 5px;padding-bottom: 16px;">

Adsense code 3

</div>
<?php endif; ?>
<?php the_content(); ?>

How can i do it for vBulletin 3.x?

zheive
03-06-2014, 08:55 AM
Thanks!!!! </ironic mode on

Simon Lloyd
03-06-2014, 08:32 PM
You're welcome < Ironic mode still on!

You really need to give more information, you have not had an answer because your post does not explain what it is you are trying to achieve.

zheive
03-06-2014, 10:52 PM
No problem, solved!