Thread: Integration with vBulletin - vB Google Adsense for Search plus Integration
View Single Post
  #245  
Old 01-27-2009, 10:45 AM
davidw's Avatar
davidw davidw is offline
 
Join Date: Jul 2005
Location: Arkansas
Posts: 2,815
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Saviour View Post
Well...I have it working, also...and have made it W3C XHTML compliant.

The only issues I have with this mod is that if I login to the forums...and run a Google search...the search results page comes up , but it doesn't show me as being logged in. Also the Google Search box is not displayed on the search results page.

However, if I login again, from the search results page...subsequent searches do show me as logged in. As far as I can tell...it's a cookie issue, but don't know where to start in order to fix the issue.

Any help is greatly appreciated...
I cannot recreate this issue. I've tried logging out and logging back in and just doing a search and neither have me show as logged out.

Is this temporary - your next search while you are shown as logged out (although you are logged in) - or do you have to log in again?

Quote:
Originally Posted by Saviour View Post
David...I have noticed on your site, the search box doesn't show up on the results page. However, the Google Search image is located in the same position of your site as it is on mine.

Looking into the google search results template...you have the code for the results but not the search box. Are you going to be fixing this?

I've attached an image to show you exactly where the problem is...and you may already be aware of it. However, it really needs to be fixed in order for this to be truly complete.

If you take a look at what I have circled...this is the text that goes underneath the search box...but there's no search box...and it is totally throwing the page off. The search box should be located to the top/side/bottom...depending on where you want the search box to be...but your mod does not take this into account.

I certainly hope you can have a fix for those who have your mod installed.


Thank you...
The only place the search box is supposed to show up on the search results page is where you have it placed - template-wise. If you have it in the navbar, unless something on your site is preventing it, it will continue to display in the navbar (as does mine correctly). Also, there is a standalone searchbox I coded for someone on one of these pages I believe that can be placed above the searchresults if you need one there.

The results page is a two-part function. The first part is the file/template with the iFrame and the second with the results of your search in that iFrame. The results of your search are displayed via http://www.google.com/afsonline/show_afs_search.js, not my modification. The template only acts as a host and has no control over the results once submitted. This includes any ads or the Google Custom Search image. I have no control over what is displayed so therefore I have no way of fixing that. If the results passed through your [the end user's] site, then that wouldn't be an issue.
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01022 seconds
  • Memory Usage 1,778KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete