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 06-30-2008 03:54 PM

No problem - I'm considering working on Adsense for Content in the future.

LAJAURIA 07-07-2008 06:13 AM

it doesn't work....

how do I "resetup" my account?? I don't understand.


the pub number + the code you say, online appears in the adsense for search code, but not in the account-settings...


It doesn't show the pages i set up in my adsense and, when i do a search, shows this error:


Quote:

Forbidden

You don't have permission to access /search/ on this server.

davidw 07-07-2008 10:44 AM

If you are seeing something like this: partner-pub-0123456789012345:lnucfbm5dtp

your account is already under the new setup. This whole code you need for the admincp options. If you are not seeing the whole code (including the parts in red) then your account is based on the old style.

Please ensure you have set up the chdir in the searchresults.php file and that the admincp options point directly to that file (you can usually open the searchresults.php page and then copy and paste the URL into the admincp options).

dilbert 07-07-2008 12:47 PM

Thanks David,
This looks great.

Is it possible to get it to highlight the searched text in the posts similar to the default search? "&highlight=seach phrase"

davidw 07-07-2008 01:32 PM

Honestly I'm not sure as you are using Google, rather than vBulletin for the search engine on this. I cannot say no as I am not 100% sure.

marcossalazar 07-07-2008 01:41 PM

Great Mod. Can the color of the search results (changing the white background) be altered?

Thanks!

Marcos

jlew24asu 07-07-2008 01:52 PM

am I doing something wrong? I just get a blank page when I do a search. and is it showing up in the correct spot?


https://vborg.vbsupport.ru/external/2008/07/81.jpg

davidw 07-07-2008 02:01 PM

Quote:

Originally Posted by marcossalazar (Post 1569116)
Great Mod. Can the color of the search results (changing the white background) be altered?

Thanks!

Marcos

All that is edited when you set up or reset your adsense for search. Go back to the adsense for search page and recustomize it and then put the new partner-pub in there (your id itself will not change, just what is after it).

Quote:

Originally Posted by jlew24asu (Post 1569122)
am I doing something wrong? I just get a blank page when I do a search. and is it showing up in the correct spot?

Yeah, something isn't right with that page. You may want to reimport the product and ensure you have the correct path on your searchresults.php page. Going to that page you should see a minimum of your header, footer, navbar, and an iframe.

jlew24asu 07-07-2008 02:22 PM

Quote:

Originally Posted by davidw (Post 1569128)

Yeah, something isn't right with that page. You may want to reimport the product and ensure you have the correct path on your searchresults.php page. Going to that page you should see a minimum of your header, footer, navbar, and an iframe.

when editing the search.php do I keep the ' www.chicagophotoshop.com/forums.....' that are inbetween the (...)

davidw 07-07-2008 02:38 PM

You never have to edit the search.php page - its the searchresults.php page. That page has a line that says chdir('/path/to/your/forums/'); - this should be edited to match yours - such as /home/www/site/forums/ (whatever yours is).


All times are GMT. The time now is 09:49 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.01167 seconds
  • Memory Usage 1,740KB
  • 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_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