vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - vB Google Adsense for Search plus Integration (https://vborg.vbsupport.ru/showthread.php?t=180277)

davidw 01-06-2009 03:53 PM

Quote:

Originally Posted by 2dub (Post 1703314)
I had the same issue...


Update...
I just deleted that entire line and it now works fine.

That will work fine unless your searchresults.php file is located is a folder other than the root.

MPDev 01-08-2009 10:46 PM

Works great. I se eyou have multiple search results templates; is there a way to give people the option of searching my site or the web and giving results based on the selection (assuming I have two ads, one with just my site listed for results and another thats for searching google?)

davidw 01-08-2009 11:50 PM

The way Google has it set up, what you search is tied to the information after your partner-pub key. The sites you search (one site or a list of sites) is tied to only one option.

The only way around that is multiple adsense accounts for one domain (which is against ToS) or to add a second option for searching the second domain/site you wish but have that second option not associated with your adsense account.

This version gave you the option of choosing your site, Google, or wherever you wanted (as many choices as you wanted) but you were also using the old account. It is possible that I could modify the older version to work with the newer version to give that option - this would incur stripping the partner-pub key of the information including and after the ":" and also the word "partner-" - if it were to work. I have not tried it, but it is a possibility.

Goomzee 01-09-2009 04:11 AM

Quote:

Originally Posted by davidw (Post 1703387)
That will work fine unless your searchresults.php file is located is a folder other than the root.

it's really nor work plz help

davidw 01-09-2009 10:55 AM

PM me your site that this is occuring on so I can see this and if you want me fix this, PM me appropriate access.

Saviour 01-13-2009 12:44 PM

Working on VB 3.8, however...not without the following problems:
  1. Had to remove the line in searchresults.php which wanted the path to the forums.
  2. Upon performing a search for the first time (and logged in) the search results page appeared fine...except for the fact it did not show me as logged in. Logging in from the search results page and ticking the "remember me" box fixed this. However, if one clears their cache, logs into the forum and performs a search, the same thing happens.
Other than that...all appears to be fine.

"Clicks Installed"...

davidw 01-13-2009 01:08 PM

1. If your seachresults.php file is at the root, then removing that line or commenting it out will do no harm. If it is anywhere else, you will need that line in there otherwise you will have errors.
2. I have not tested this for 3.8 as I may be looking at redoing the adsense to integrate with 3.8's adsense features.

Saviour 01-13-2009 01:12 PM

I didn't register my AdSense with vBulletin, so I don't have that feature included with my version of vBulletin.

If you do upgrade this mod for 3.8, you may want to make two versions...one for those who have AdSense built into the core...and those who don't.


Thanks for a great mod...I couldn't get the gtsearch version of this to work correctly with 3.8. However I've had better luck with this one.

You should be proud...:D

tansu 01-14-2009 12:46 PM

Quote:

Originally Posted by symptome (Post 1670017)
check the configuration area too:
Found on https://www.google.com/adsense/account-settings under Property Information. starts with pub-
(you must start it with pub- and then your number).



Besides:
I had to change the templates like google_navadsearch to insert the following:
<input type="hidden" name="ie" value="ISO-8859-1" />

Without it, some words with swiss special characters couldn't be searched. Perhaps you want to make this choosable too.

Hi
I have the "special characters can not be searched" problem, too.
What exactly did you do to fix this?
Can you please explain it more clearly

davidw 01-14-2009 12:56 PM

If all you are doing is editing templates, open each of the google templates and find the last line of each <input type="hidden" and then insert <input type="hidden" name="ie" value="ISO-8859-1" /> if your issue is similar.
For example:
<input type="hidden" name="cof" value="FORID:9" />
would then look like
<input type="hidden" name="cof" value="FORID:9" />
<input type="hidden" name="ie" value="ISO-8859-1" />


All times are GMT. The time now is 01:54 AM.

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.01417 seconds
  • Memory Usage 1,742KB
  • 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
  • (3)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