vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Put Adsense Banners in Your Archive (https://vborg.vbsupport.ru/showthread.php?t=100299)

Tefra 02-23-2006 10:34 PM

Quote:

Originally Posted by Monolith
Thanks for this, Amy. Very nice.

Is there an easy way to stick the middle ad skyscraper on the left side of the page instead of the right, though?

find this part in archive bottom
HTML Code:

<td width=\"15%\" valign=\"top\">
your code here
</td>

then move it to archive header

between this
HTML Code:

<table width=\"100%\" border=\"0\" cellpadding=\"4\" cellspacing=\"0\">
<tr>

and this

HTML Code:

<td width=\"85%\" valign=\"top\">

Monolith 02-23-2006 10:53 PM

Hmm... well, that got the ads to the left of the page, but now theyre acting as a buffer between the top ads and the archived content. Like theyre just stacked in between the top ads and the archived thread. Theyre not actually to the left of the content as i was hoping.

Any other ideas?

Tefra 02-24-2006 11:29 AM

i don't understand what you mean but make sure the part of the code you moved to archieve header make sure to delete it from archieve bottom.

Monolith 02-24-2006 06:59 PM

My page now looks like this:

<---------------ADS----------------->
^
|
|
|
|
A
D
S
|
|
|
|
^

<--------------------Content------------------->

<------------Ads----------->

Is that a little easier to visualize? The ads are stacked on top of the content, not to the left of it.

Tefra 02-24-2006 08:08 PM

can you please copy past here your code in archieve bottom and header ?

esology 02-25-2006 04:24 AM

Quote:

Originally Posted by hotrod1
I get this error when I try to edit the plugins to insert my own ads:

Parse error: syntax error, unexpected T_STRING in /archive/index.php(453) : eval()'d code on line 3


I get the exact same error.

jsharper 02-25-2006 04:34 AM

Quote:

Originally Posted by esology
I get the exact same error.

Like JumpD said .. In the two plugins, change the first line:
Code:

$output.="
to
Code:

$output.='
and change the last line:
Code:

";
to
Code:

';
and then you don't have to escape all of the " chars to \" in the adsense code.

djwins 02-26-2006 07:01 AM

*clicks install* thanks!
Just curious what peoples earnings results have been so far...

mrahul 02-26-2006 12:09 PM

getting some error in code phrase 3 when I try to edit the google code. can some one help me ??

imranbaig 02-26-2006 01:59 PM

really nice thanks *Clicks Install*

Well I Installed it but not getting ads, check here http://forums.bollyheat.com/archive/index.php any reason why this is hapening?
Thanks!

amykhar 02-26-2006 03:06 PM

imranbaig - read the first post. This ONLY works on 3.5.4 and above. Not 3.5.3. You didn't download in time to get the earlier version, sorry.

WNxWakko 02-26-2006 04:45 PM

I dont understand,

When I change the google code to mine I get,

Quote:

Parse error: parse error, unexpected T_STRING in /home/httpd/vhosts/warriornation.net/httpdocs/wakko/Forum/archive/index.php(254) : eval()'d code on line 3
I have redone it several times and still same error. The only lines in google I see different from yours is I dont have an alternative url line and my ad channel is blank while yours has info. I copy pasted my google code exact from my old to new.

amykhar 02-26-2006 07:21 PM

OK This is getting ridiculous. READ THE THREAD BEFORE YOU POST A QUESTION.

Amy

Paul M 02-26-2006 08:59 PM

Temper temper .......

amykhar 02-26-2006 09:09 PM

You should have read the first three drafts of that post, Paul. Trust me, I showed restraint. ;)

Amy

Thierry Martin 02-26-2006 09:40 PM

Quote:

Originally Posted by WNxWakko
I dont understand,

When I change the google code to mine I get,



I have redone it several times and still same error. The only lines in google I see different from yours is I dont have an alternative url line and my ad channel is blank while yours has info. I copy pasted my google code exact from my old to new.

You entered an area where only top brains are at work and they don't have time for people like you - I too was perplexed, because they only use secret language that people who spend all their time with code understand.

I got it to work once I understood what "escape the code" meant. You have to find every instance of your google code where it says " and put \" in it's place. It's an easy thing to miss.

Paul M 02-26-2006 09:52 PM

or you could just read post 89 ;)

Thierry Martin 02-26-2006 10:22 PM

Quote:

Originally Posted by Paul M
or you could just read post 89 ;)

Or the writer of the plugin could indicate the problem in a file with the download, or the post with the download, as the whole point of the download is to get the google ads to work in the archives.

It could also be explained in a language that normal people could understand.

Kihon Kata 03-07-2006 02:23 AM

installed! phew im sweatin' over all the code moddin' . Boy, I'm glad I'm a Jedi Knight and can code like a mofo

AlpineZone 03-10-2006 06:46 PM

Is it possible to set this up to show an ad after the first post like with this approach for the main forums?

http://www.vbulletin.com/forum/showthread.php?t=157022

Thanks!

drumsy 03-15-2006 08:24 AM

What all do I need to edit in the plugins?

So far I've changed my publisher id, but nothing else.

amykhar 03-15-2006 09:49 AM

drums, you can change the colors if you would like. Otherwise, you are really good to go as-is.

woodysfj40 03-15-2006 12:20 PM

change the publisher ID number, change the site URL in the search portion...

viola....

great hack, thanks!

weitalia 03-16-2006 12:24 PM

i use vbb 3.5.4 and i have this error:

Parse error: syntax error, unexpected T_STRING in /home/weitalia/public_html/archive/index.php(254) : eval()'d code on line 3

Parse error: syntax error, unexpected T_STRING in /home/weitalia/public_html/archive/index.php(453) : eval()'d code on line 3

what's the problem?

edit: probably it is a google error ... i try with another code and it's work, i'm waiting google's answers to try again

amykhar 03-16-2006 01:43 PM

weitalia, if you are only using google adsense and not another banner type, change the quotes in the plugin that wrap the adsense code from quotes to apostrophes.

Amy
p.s. your problem was already addressed several times in the support thread. You really should read threads before posting questions :)

weitalia 03-16-2006 01:47 PM

Quote:

Originally Posted by amykhar
weitalia, if you are only using google adsense and not another banner type, change the quotes in the plugin that wrap the adsense code from quotes to apostrophes.

Amy
p.s. your problem was already addressed several times in the support thread. You really should read threads before posting questions :)

sure?
http://www.weitalia.net/archive/index.php/
it works already with other code as you can see ...

amykhar 03-16-2006 01:58 PM

My company proxy is blocking your site and not letting me check it. I'll try to get to it tonight after work.

Smitty 03-16-2006 04:17 PM

Quote:

Originally Posted by weitalia
it works already with other code as you can see ...

I don't see any ads in the archive of the link given.

RichieBoy67 03-17-2006 10:13 AM

Hi there,

Is there any chance you could modify this to work with 3.5.3???

Otherwise could you post the old version too??

Thanks

amykhar 03-17-2006 11:33 AM

No, Richie. I no longer maintain multiple versions of the mods because support threads become a nighmare if I do. I code for the latest version available at the time the mod is written and any adjustments users need for versions are something they'll have to do themself.

Torqued 03-17-2006 07:57 PM

woo. even made my first adsense dollars today.

RichieBoy67 03-17-2006 09:31 PM

Would anyone be nice enough to send me the last version???

Thanks

Lissa 03-18-2006 08:20 PM

Quote:

Originally Posted by weitalia
i use vbb 3.5.4 and i have this error:

Parse error: syntax error, unexpected T_STRING in /home/weitalia/public_html/archive/index.php(254) : eval()'d code on line 3

Parse error: syntax error, unexpected T_STRING in /home/weitalia/public_html/archive/index.php(453) : eval()'d code on line 3

what's the problem?

I have exactly the same error :(
http://www.lissaexplains.com/forum/a....php/f-29.html

Torqued 03-18-2006 08:33 PM

Quote:

Originally Posted by Lissa

You can't just copy/paste your whole adsense code block.

You need to take your adsense code block from google and do a search and replace on all of the " - you need to replace them with \" before you load the xml file.

Paul M 03-18-2006 11:18 PM

or just use a single quote at the start and finish, as per multiple posts in this thread .......

Smitty 03-19-2006 07:24 AM

Figured it out....

Smitty 03-19-2006 07:56 AM

Quote:

Originally Posted by Monolith
My page now looks like this:

<---------------ADS----------------->
^
|
|
|
|
A
D
S
|
|
|
|
^

<--------------------Content------------------->

<------------Ads----------->


Is that a little easier to visualize? The ads are stacked on top of the content, not to the left of it.

I have the same problem getting them on the left. Anyone figure this one out?

Lissa 03-19-2006 02:38 PM

Quote:

Originally Posted by Torqued
You can't just copy/paste your whole adsense code block.

You need to take your adsense code block from google and do a search and replace on all of the " - you need to replace them with \" before you load the xml file.

Thanks :)

mattyk72 03-21-2006 02:06 AM

nice job, clicking install!

RichieBoy67 03-21-2006 04:12 PM

Why will this not work with 3.5.3???? Does anyone have the older version of this???

Thanks


All times are GMT. The time now is 04:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01558 seconds
  • Memory Usage 1,824KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete