Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 12-05-2014, 05:07 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How my site looking like this in google

I want to know when i type Vbulletin in google i see Search is coming i mean Search showing how the search showing see this

Reply With Quote
  #2  
Old 12-05-2014, 05:28 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You want the search field to show below your site listing? This is the wrong place to ask, that would be better asked over at Google somewhere. That has nothing to do with how your web site is set up its all Google only.
Reply With Quote
  #3  
Old 12-05-2014, 06:02 PM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i found the article
https://developers.google.com/webmas...itelinkssearch

but i dont know how and where install the code anyone help please
Reply With Quote
  #4  
Old 12-05-2014, 06:22 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tanzeelniazi View Post
i found the article
https://developers.google.com/webmas...itelinkssearch

but i dont know how and where install the code anyone help please
Yeah if you cannot go by the instructions on this by yourself I'd suggest you hire someone to do this for you, this is not just an easy 1-2-3 kinda thing. You will need some custom php to do this as well a a search engine installed on the domain/site. I'm not sure that the built in search feature would work as a search engine for this, it may or may not.
Reply With Quote
Благодарность от:
tanzeelniazi
  #5  
Old 12-06-2014, 10:36 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to do with custom php anyone know how please explain me i really need this
i know its little difficult but all big and with ranking sites have a search box please anyone know how to make this help me please
Reply With Quote
  #6  
Old 12-07-2014, 10:16 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it would be like this.

Code:
<script type="application/ld+json">
{
   "@context": "http://schema.org",
   "@type": "WebSite",
   "url": "http://YOURSITE.com",
   "potentialAction": {
     "@type": "SearchAction",
     "target": "http://YOURSITE.com/search.php?do=process&q={search_term_string}",
     "query-input": "required name=search_term_string"
   }
}
</script>
Replacing YOURSITE.com with your actual site. Add the code to the end headerinclude template.

Will this work? I dunno, only time will tell.
How long will it take? I do not know that either.

But you can see it is working by going to http://YOURSITE.com/search.php?do=process&q=searchword

Replacing YOURSITE.com with your actual site and searchword with a actual search keyword.
Reply With Quote
Благодарность от:
tanzeelniazi
  #7  
Old 12-07-2014, 10:24 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Ozzy
1 more question
I have https can i replace http to https ?
But script is showing only http
also about searchkeyword.
I mean my site name is pandazoo.com its mean i enter the searchkeyword is pandazoo ? m right
Reply With Quote
  #8  
Old 12-07-2014, 10:28 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure, replace both instances of http with https.

No, you don't search for your site in the box, you do a search for words, like you would if you were on your site and doing a regular search.
Reply With Quote
  #9  
Old 12-07-2014, 10:40 AM
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Posts: 375
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no need to insert keyword in this line ?
PHP Code:
"query-input""required name=search_term_string" 
and this line i change the keyword like this
PHP Code:
"target""http://YOURSITE.com/search.php?do=process&q=panda"
Reply With Quote
  #10  
Old 12-07-2014, 10:44 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, leave "query-input": "required name=search_term_string" alone, I said nothing about changing that. That is the placeholder for whatever someone types in the box in the google search page.

No, leave "target": "http://YOURSITE.com/search.php?do=process&q={search_term_string}", alone, I said nothing about changing that either, besides the site name.

Only thing you need to change in the code is the YOURSITE.com address to your actual site.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04183 seconds
  • Memory Usage 2,259KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete