The vB Geek

Go Back   The vB Geek > vB Geek Products > Geek Article and Review System

Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews.

Advertisement
  Learn how to remove ads

Reply
 
Thread Tools Display Modes
  #1  
Old 12-12-2006, 11:17 PM
zkilzz zkilzz is offline
Member
 
Join Date: Nov 2006
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default Adsense inside an article?

Hey!
I have 15 people writing articles on my site and i am curious of who of them that makes the most income.

I have now set up a channel for each writer so each of them has their own code.

I have tried to paste the Google Adsense code right inside the article but it doesnt show. Even i have enabled HTML in the specific forum.

So how do i do it?

I dont want to use a modul that will be similar on all pages.
Reply With Quote
  #2  
Old 12-13-2006, 12:13 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

The template module would work. Or just create a plugin that appends the code to the postbit.

HTHs!
Reply With Quote
  #3  
Old 12-13-2006, 11:49 AM
zkilzz zkilzz is offline
Member
 
Join Date: Nov 2006
Posts: 50
Geek Article and Review System License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Quote:
Originally Posted by The Geek View Post
The template module would work. Or just create a plugin that appends the code to the postbit.

HTHs!
I know but if i change the module it will apply to all articels. I want to have individual adsense ads in different articels.

Person Bs articles have his own adsense code and person A also has his own code.
Reply With Quote
  #4  
Old 12-13-2006, 11:54 AM
The Geek's Avatar
The Geek The Geek is offline
Senior Member
 
Join Date: Aug 2005
Posts: 6,717
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Just put conditionals in the template:
<if condition="$bbuserinfo[userid]==x">
Adsense for user1
</if>
Reply With Quote
  #5  
Old 08-18-2008, 12:49 PM
popowich's Avatar
popowich popowich is offline
Junior Member
 
Join Date: Jul 2007
Location: Rochester, NY
Posts: 21
Geek Article and Review System License Holder Geek Gazette License Holder 
Default

Hello,

Double checking, this works for the person who CREATED the article, and not for the person VIEWING the article, yes? I'm looking a way to have the creator of the article get 100% of the google adsense credits. What is the best way to do this for multiple people? Is there anything like a case statement that can be used in templates?

I am looking for something like :

if created member member uid 23 then their google code
else if created by member uid 7 then their google code
repeat as many times as necessary...
else display my google adsense code

-Raymond
__________________
New York Forum | Do you have an Email Forum?
Reply With Quote
  #6  
Old 08-18-2008, 02:33 PM
Morgan's Avatar
Morgan Morgan is offline
Administrator
 
Join Date: Jul 2006
Posts: 2,255
Geek Article and Review System License Holder GeekMart License Holder Geek Auto-Linker Pro License Holder Geek Advertising Banner License Holder Geek Gazette License Holder 
Default

Untested but if in postbit(_legacy) try:
Code:
<if condition="$post[userid] == X">
	AdSense for userid X
</if>
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks.
While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
gars byline inside meta Gas Geek Article and Review System 1 09-10-2009 06:07 PM
Ad placement inside post RaceJunkie Geek Advertising Banner System 2 02-05-2009 07:06 PM
Checkbox showing up inside header of Tutorial sweeps78 Geek Article and Review System 1 05-21-2008 06:25 PM
GAL Linking Text Inside Links chet Geek Auto-Linker 5 05-01-2006 06:10 PM
I think what would make your products much better would be vba integration see inside FRAiD Lizard Lounge 8 12-25-2005 12:48 AM


All times are GMT. The time now is 08:57 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.