Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
  #46  
Old 21 Jun 2006, 04:04
BLazeD1 BLazeD1 is offline
 
Join Date: Jul 2005
Can someone post results with this please?

Thank you!
Reply With Quote
  #47  
Old 30 Jun 2006, 17:19
webgroup webgroup is offline
 
Join Date: May 2006
Originally Posted by deep_blue
I tried to edit FORUMDISPLAY template and post coes to get google ad on forum display pages but got this error

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/coolaven/public_html/forums/includes/adminfunctions_template.php(3537) : eval()'d code on line 41

Is my VB got corrupt

Same here, it happens when trying to edit the templates.
Vbulletin warns you of the error and let you choose to go back or continue anyways.
I tried in 2 forums with 3.5.4

With both FORUMDISPLAY and POSTBIT

Last edited by webgroup; 30 Jun 2006 at 17:24.
Reply With Quote
  #48  
Old 30 Jun 2006, 19:54
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Originally Posted by webgroup
Same here, it happens when trying to edit the templates.
Vbulletin warns you of the error and let you choose to go back or continue anyways.
I tried in 2 forums with 3.5.4

With both FORUMDISPLAY and POSTBIT
Copy the codes to your text editor first and check for any special characters possibly added by vBulletin... and re-check your google adsense codes.

BTW, I've upgraded my forum to vb 3.6 Beta 3 and it seems this guide doesn't need to be updated.

Regards
__________________
MsXLabs Forum

Last edited by NeutralizeR; 30 Jun 2006 at 20:13.
Reply With Quote
  #49  
Old 30 Jun 2006, 20:17
webgroup webgroup is offline
 
Join Date: May 2006
Originally Posted by NeutralizeR
Copy the codes to your text editor first and check for any special characters possibly added by vBulletin... and re-check your google adsense codes.

BTW, I've upgraded my forum to vb 3.6 Beta 3 and it seems this guide doesn't need to be updated.

Regards

I'm getting the error by just pasting the initial part of the code.

Just by pasting this in the FORUMDISPLAY:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #50  
Old 30 Jun 2006, 20:21
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
*edit*

It seems ok... Can you try editing your templates via another browser?
__________________
MsXLabs Forum

Last edited by NeutralizeR; 30 Jun 2006 at 20:26.
Reply With Quote
  #51  
Old 07 Jul 2006, 04:14
Martin64's Avatar
Martin64 Martin64 is offline
 
Join Date: Nov 2001
Excellent little tutorial, cheers.

Also, here's a little tip in case you only want to display it for guests, not members. Simply put the codes (as instructed in the first posts) between these tags:

<if condition="!$bbuserinfo[userid]">

*code*

</if>
__________________
/dev/null
Reply With Quote
  #52  
Old 13 Jul 2006, 10:52
Macktr's Avatar
Macktr Macktr is offline
 
Join Date: Nov 2005
thank you NeutralizeR
Reply With Quote
  #53  
Old 29 Jul 2006, 13:04
dsmoke dsmoke is offline
 
Join Date: Nov 2005
this looks amazing can anyone say that their adsense revenue went up x% after doing this?
Reply With Quote
  #54  
Old 29 Jul 2006, 19:34
sportsoutlaw sportsoutlaw is offline
 
Join Date: Dec 2004
yes, I can say it did.

I didn't use this exactly though.

I still use a leaderboard below the navbar in showthread and above quick reply.
I am doing this in place of the DAI tutorial section that places adsense directly inside a members post. I didn't feel comfortable with that portion of the tutorial. (just my personal preference, not knocking it in any way)
__________________
Mudbog.net
Reply With Quote
  #55  
Old 15 Aug 2006, 00:01
DeepXP's Avatar
DeepXP DeepXP is offline
 
Join Date: May 2005
Real name: Deep Ganatra
sorry to bump topic like this but the guide mentioned for first and last post ads does not work well with vbulletin 3.6

it shows ads in first 3 posts in the thread....
__________________
Deep Ganatra
www.tybcom.com
Reply With Quote
  #56  
Old 15 Aug 2006, 00:30
NeutralizeR NeutralizeR is offline
 
Join Date: Aug 2005
Originally Posted by DeepXP
sorry to bump topic like this but the guide mentioned for first and last post ads does not work well with vbulletin 3.6

it shows ads in first 3 posts in the thread....
Not tested yet but these conditionals should still work:

<if condition="(($post[postcount]==1) or ($post[islastshown]))">
*ad*
</if>
<if condition="(($post[postcount]==1) or ($post[islastshown] and !$GLOBALS['vbulletin']->GPC['ajax']))">
*ad*
</if>
__________________
MsXLabs Forum
Reply With Quote
  #57  
Old 15 Aug 2006, 00:38
DeepXP's Avatar
DeepXP DeepXP is offline
 
Join Date: May 2005
Real name: Deep Ganatra
That was QUICK!!!

The first condition worked....


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Thanks
Deep
__________________
Deep Ganatra
www.tybcom.com
Reply With Quote
  #58  
Old 16 Aug 2006, 12:39
DeepXP's Avatar
DeepXP DeepXP is offline
 
Join Date: May 2005
Real name: Deep Ganatra
OKay I am back, try the 2nd condition if you have AJAX Quick reply enabled...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

if you try first then it shows blank page once you reply usuing quick reply option...
__________________
Deep Ganatra
www.tybcom.com
Reply With Quote
  #59  
Old 23 Aug 2006, 14:56
ish ish is offline
 
Join Date: Aug 2006
Thumbs up feel good after doing that!!

WOW! absolutely amazing - i got this to work! a deep feelgood moment taking place thankyou.

and thank for this too martin64:
Originally Posted by Martin64
Also, here's a little tip in case you only want to display it for guests, not members. Simply put the codes (as instructed in the first posts) between these tags:

<if condition="!$bbuserinfo[userid]">

*code*

</if>
__________________
pixaforum.com
Taking contests to the next level!

Last edited by ish; 04 Sep 2006 at 19:16.
Reply With Quote
  #60  
Old 25 Aug 2006, 13:51
bbcentral's Avatar
bbcentral bbcentral is offline
 
Join Date: Apr 2006
Great tutorial!
I will use some of the info, but no matter how much money NeutralizeR is making off his forum, nothing will convince me to make my members suffer like that. Sorry man, the site is plain shocking. I care about my members far too much to make them go through an epileptic-fit-inducing experience like your site. My browser struggled to scroll down!
Anyway, at least you've given us lots of examples to check out, very much appreciated!
__________________
Blues Brothers Central
The Internet's Largest Blues Brothers Fansite

The Soul Food Cafe - Proudly vBulletin Powered
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Show Thread Enhancements Google Adsense Postbit Integration Atakan KOC vBulletin 3.8 Add-ons 80 08 May 2015 08:08
Integration with vBulletin CFM: Google AdSense for Search Integration Throtex vBulletin 3.6 Add-ons 80 05 Aug 2011 21:42
Show Thread Enhancements Google Adsense Postbit Integration Atakan KOC vBulletin 3.7 Add-ons 96 13 Mar 2010 17:37
Add-On Releases vB Google Adsense for Search plus Integration davidw vBulletin 3.6 Add-ons 171 27 May 2008 11:53



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

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


New To Site? Need Help?

All times are GMT. The time now is 07:42.

Layout Options | Width: Wide Color: