1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

BIG search engine

Discussion in 'HTML & Website Design' started by gedarnet, Jun 1, 2018.

  1. #1
    Hello, how are you..

    I want make something in my homepage, it's like BIG search engine ..

    The examples in the Images..
    SEMrush
    https://prnt.sc/jpe1bz

    https://prnt.sc/jpe1jn
     
    gedarnet, Jun 1, 2018 IP
    SEMrush
  2. sarahk

    sarahk iTamer Staff

    Messages:
    24,096
    Likes Received:
    3,250
    Best Answers:
    92
    Trophy Points:
    615
    #2
    Cool, go for it. Let us know if you have any questions.
     
    sarahk, Jun 1, 2018 IP
  3. valexer06

    valexer06 Member

    Messages:
    17
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    33
    #3
    The images look good. I'm sure there's a script somewhere along the web for you to be able to insert this in your website. :) If you have questions I think I might be able to help.
     
    valexer06, Jun 1, 2018 IP
  4. gedarnet

    gedarnet Active Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #4
    I use WordPress, I want to do a BIG search engine like this just below the hydrate.
     
    gedarnet, Jun 1, 2018 IP
  5. sarahk

    sarahk iTamer Staff

    Messages:
    24,096
    Likes Received:
    3,250
    Best Answers:
    92
    Trophy Points:
    615
    #5
    You are telling us what you want to do, but not what is stopping you from doing it.

    Are you really wanting to build a search engine? or are you just wanting to display the search bar and results from another website?
     
    sarahk, Jun 1, 2018 IP
  6. gedarnet

    gedarnet Active Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #6
    Thank you for helping.

    I have a website, I just want to put a search bar like the images (( https://prnt.sc/jpe1bz + https://prnt.sc/jpe1jn )) in the home page ... just

    I want a code, like a custom search engine from Google, but with background images, as well as a beautiful. below header, like shutterstock, istockphoto, etc.
     
    gedarnet, Jun 1, 2018 IP
  7. sarahk

    sarahk iTamer Staff

    Messages:
    24,096
    Likes Received:
    3,250
    Best Answers:
    92
    Trophy Points:
    615
    #7
    OK, what plugins have you tried and how did they fall short?
    Have you tried writing your own?

    I'm still a bit in the dark about what you want from the forum users
     
    sarahk, Jun 1, 2018 IP
  8. malky66

    malky66 Prominent Member

    Messages:
    3,270
    Likes Received:
    1,992
    Best Answers:
    73
    Trophy Points:
    390
    #8
    Spoonfeeding by the look of it.
     
    malky66, Jun 2, 2018 IP
    sarahk likes this.
  9. gedarnet

    gedarnet Active Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #9
    i want put search bar under header, powered by Google
    this code by my friend


    <?php
    $root = '';
    //$root = $_SERVER['DOCUMENT_ROOT']; // use if specifying path from root
    $path = 'images/';
    
    function getImagesFromDir($path) {
        $images = array();
        if ($img_dir = @opendir($path)) {
            while (false !== ($img_file = readdir($img_dir))) {
                // checks for gif, jpg, png
                if (preg_match("/(\.gif|\.jpg|\.png)$/", $img_file)) {
                    $images[] = $img_file;
                }
            }
            closedir($img_dir);
        }
        return $images;
    }
    
    function getRandomFromArray($ar) {
        mt_srand((double) microtime() * 1000000); // php 4.2+ not needed
        $num = array_rand($ar);
        return $ar[$num];
    }
    
    // Obtain list of images from directory
    
    $imgList = getImagesFromDir($root . $path);
    $img = getRandomFromArray($imgList);
    ?>
    
    
                <div id="page">
                    <div id="header">
    
                        <div id="navigation">
                            <div id="primary_navigation">
                                <ul>
                                    <li id="site_tabs">
    
                                </ul>
                            </div>
    
    
                            <div class="clear"></div>
                        </div>
    
                        <div id="masthead" class="clearfix">
    
                        </div>
                    </div>
                    <div>
    
                    </div>
    
                    <div id="bodyContent">
                        <div id="bodyContentCenter" class="page-container">
    
    
                                    <form class="form-search form-emphasis" action="http://www.google.com" id="cse-search-box">
                                        <div class="input-group">
                                            <div class="form-control">
                                                <input type="hidden" name="cx" value="partner-pub-xxxxxxx:1507716284" />
                                                <input type="hidden" name="ie" value="UTF-8" />
                                                <!-- <input type="text" name="q" size="80" />-->
                                                <input type="text" name="q" id="index_keyword_input" autocomplete="off" class="">
                                            </div>  
                                            <span class="input-group-btn">
                                                <button type="submit" class="btn btn-primary">
                                                    <span class="visuallyhidden">search</span>
                                                    <img alt="icon-search" src="http://s5.picdn.net/images/lohp/search-icon.png">
                                                </button>
                                            </span>
                                        </div>
                                    </form>
    
    
    
                                    <div class="align-c">
                                        <div id="navigation_new">
    
                                            <div id="primary_navigation">
                                                <ul>
                                                    <li id="site_tabs">
                                                        <ul>
    
    
                                </div>
    
                            </div> <!-- bodyContent -->
    Code (markup):
     
    gedarnet, Jun 2, 2018 IP
  10. sarahk

    sarahk iTamer Staff

    Messages:
    24,096
    Likes Received:
    3,250
    Best Answers:
    92
    Trophy Points:
    615
    #10
    this might be a problem with google translate but you are still just "telling" us
    you haven't ever asked a question.

    So...
    great, your friend wrote some code
    you have a wordpress site
    now turn the code into a plugin, use a shortcode to put in the page, and set the homepage to be that page
    or some other tactic that you may prefer

    If you get stuck, come back and ASK us some QUESTIONS
     
    sarahk, Jun 2, 2018 IP
  11. gedarnet

    gedarnet Active Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #11
    Yes, My language is not english, sorry.

    again, I want put search bar in a beautiful shape.
    like this: shutterstock.com or mawdoo3.com


    this absolutely like ggogle custom search or wordpress search bar .. etc.

    I will put the bar below header on my blog. I want the search bar with image background like (example) shutterstock.

    Also, I am didn't try any plugin, all plugins not provide what I want.

    Search results can be from Google, WordPress

    Maybe I can say, I want exactly like this, in terms of form ...

    mawdoo3.com
     
    Last edited by a moderator: Jun 2, 2018
    gedarnet, Jun 2, 2018 IP
  12. mmerlinn

    mmerlinn Notable Member

    Messages:
    1,560
    Likes Received:
    166
    Best Answers:
    5
    Trophy Points:
    240
    #12
    You keep telling us what you want, but you have given us NO information about what you have done nor what your problem is. Until, YOU inform us what problem that you are having, WE CANNOT HELP YOU.

    Using the excuse that English is not your native language does not cut it on this forum as MOST people here do NOT have English as their native tongue.
     
    mmerlinn, Jun 2, 2018 IP
  13. gedarnet

    gedarnet Active Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #13
    What's this, I'm trying to do this, but I do not know how, I want codes or plugins, to implement that idea.
     
    gedarnet, Jun 2, 2018 IP
  14. sarahk

    sarahk iTamer Staff

    Messages:
    24,096
    Likes Received:
    3,250
    Best Answers:
    92
    Trophy Points:
    615
    #14
    sarahk, Jun 2, 2018 IP
  15. gedarnet

    gedarnet Active Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #15
    Yes Madam
    I want: plugins or write the code to make this.
     
    gedarnet, Jun 2, 2018 IP
  16. sarahk

    sarahk iTamer Staff

    Messages:
    24,096
    Likes Received:
    3,250
    Best Answers:
    92
    Trophy Points:
    615
    #16
    So what is stopping you?
    What help do you need?
    Your friend has given you some code, why aren't you using it?
     
    sarahk, Jun 3, 2018 IP
  17. gedarnet

    gedarnet Active Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #17
    The code has errors.

    I have a custom search engine from Google.
    I want to put some pictures in the background, so that the shape becomes beautiful.

    I am sorry for the many questions and errors spelling and boredom.
     
    gedarnet, Jun 3, 2018 IP
  18. sarahk

    sarahk iTamer Staff

    Messages:
    24,096
    Likes Received:
    3,250
    Best Answers:
    92
    Trophy Points:
    615
    #18
    Thing is, you haven't asked "many questions"
    So, the code has errors. What line and what error?
     
    sarahk, Jun 3, 2018 IP
  19. gedarnet

    gedarnet Active Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #19
    I'm sorry for you specially @sarahk, you're tired with me.

    I think this is useful to me, but I do not know how to apply it or put it in my blog

    http://inspirationfeed.com/45-beautiful-functional-search-box-designs/
    https://webat.net/top-free-html5-css3-search-form-examples/
     
    gedarnet, Jun 3, 2018 IP