vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - Ain - Advanced Google AdSense (https://vborg.vbsupport.ru/showthread.php?t=205713)

PossumX 03-21-2009 02:22 PM

Update:

Did the whole clean and reinstall again, and indeed, the problems still exist. In going through the code, there is too much hardcoding of syntax and size requirements for many snippets in the code views via PlugIn Manager (AdminCP).

for example, in the 5.2 version of "adsense [algdeer.net] postbit", it is clean, but in the 6.0 version there are size and type references everywhere. It is almost as if you have made this AdSense and size centric by the coding of it now. not good for me, since I do not use AdSense code with this mod, nor do I have to in 5.2 or prior. When running 6.0 and no Adsense code in the settings, I still get ads (if I put in my pub ID). If not, I get garbage text where I expect Chitika or another ad to appear.

To compare the 2, specifically where I am referring:

6.0 [leaderboard has too many constricting parameters which is what is causing these symptoms] - this is just one example of it and it is pervasive in the other code components comprising the plugin as well:
Code:

$ain_leaderboard = "<script type=\"text/javascript\"><!--
google_ad_client = \"$ain_publisherid\";
google_ad_slot = \"$ain_code\";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>";

in 5.2, the above does not exist, and therefore does not drive the issues being encountered. It uses hooks more effectively, in my opinion, and avoids the hardcoding issues noted above.

I will stick with 5.2 until all this is resolved. As stated before, this is a great mod with huge potential, but this latest "upgrade" has introduced troubles for many of us.

Keep the faith and I look forward to the next shot at this. :up:

Sweeks 03-21-2009 03:23 PM

Quote:

Originally Posted by PossumX (Post 1773386)
Update:

Did the whole clean and reinstall again, and indeed, the problems still exist. In going through the code, there is too much hardcoding of syntax and size requirements for many snippets in the code views via PlugIn Manager (AdminCP).

for example, in the 5.2 version of "adsense [algdeer.net] postbit", it is clean, but in the 6.0 version there are size and type references everywhere. It is almost as if you have made this adsense and size centric by the coding of it now. not good for me, since I do not use AdSense code with this mod, nor do I have to in 5.2 or prior.

To compare the 2, specifically where I am referring:

6.0 [leaderboard has too many constricting parameters which is what is causing these symptoms] - this is just one example of it and it is pervasive in the other code components comprising the plugin as well:
Code:

$ain_leaderboard = "<script type=\"text/javascript\"><!--
google_ad_client = \"$ain_publisherid\";
google_ad_slot = \"$ain_code\";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>";

in 5.2, the above does not exist, and therefore does not drive the issues being encountered. It uses hooks more effectively, in my opinion, and avoids the hardcoding issues noted above.

I will stick with 5.2 until all this is resolved. As stated before, this is a great mod with huge potential, but this latest "upgrade" has introduced troubles for many of us.

Keep the faith and I look forward to the next shot at this. :up:


Im sticking with the older version too. It works flawlessly and does what I need it to do. :)
________
Beautiful brunette melanie enjoys a hardcore ++++

Queball_Beast 03-21-2009 07:54 PM

Is there anyway we could ad a search bar in the header or on some part of forum home?

Thanks

Chirag patel 03-25-2009 06:25 PM

How do you show ads inside the first post?

ryans 03-26-2009 05:32 PM

I added it and it worked great. I installed a new style, deleted the old style, changed the colors in ain and the old colors stick. is there some cache somewhere to fix my colors?

jmw 03-29-2009 05:34 AM

For those interested, Hendrik at duobloger created some tutorials about integrating adsense in the first post and another about adsense section targetting. I was looking for these instructions like crazy and Hendrik was nice enough to create some tutorials.

http://www.duoblogger.com/adsense-se...for-vbulletin/

http://www.duoblogger.com/adsense-in...for-vbulletin/

tafreeh 03-30-2009 05:07 PM

uninstall 6.0 and reinstall 5.2

trickfly 03-30-2009 07:15 PM

Before I install can instead of adsense can I use adbrite code instead ?

luxmail 03-31-2009 04:46 PM

hi any ideea how in share revenue adsense, the user shall not see his own ads ? any ideea ?

nNJ 04-05-2009 12:22 AM

I have a suggestion for a feature in a future release.

To fully explain this, I have to explain my situation first.
My forum has 2 styles that a user can choose from; The default one, and a lighter one.

Now, no matter what I do, google ads are going to stick out on one of the styles.
(If I use a dark template for the google ads, they will stick out on the lighter template, and vice versa).

I suggest that you add an option to enter a set of banners/ads codes for each template.

That way, the user will be able to have a set of ads that blends into every template, instead of blending into one perfectly, and sticking out like a sore thumb on another.

A very simple way of doing this would be to have an option in the Admin CP to set the number of styles on the forum. Then, based on the number entered, display that number of "adsnese codes" boxes (Typo in v5.2 :D - it should be spelt "Adsense")
(These are the boxes that contain the adsense codes that appear on the forum)

Then, underneath each set of boxes, display another field that a user can type the styleid of each style they want.

For example;

A user sets the option to have 3 styles.

3 different sets of adsense code boxes are displayed, with an option underneath that a user types the StyleID of the skin/style that set of google adsense ads are placed on.

You could check which styleID is being used the same way that you check the current user's usergroup ID to decide if ads are shown or not.

Thanks for Considering this,
nNJ

P.S. I sent this same message to you in a PM. I think that it is a relatively simple feature to add, considering the increased level of user custimaztion it will bring


All times are GMT. The time now is 08:09 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.01254 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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