Activity Stream
48,167 MEMBERS
6835 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 6 of 16 FirstFirst ... 45678 ... LastLast
Results 51 to 60 of 153
  1.     
    #51
    Member
    Website's:
    forumflare.com
    Slide tags? Link me where they are on this site.

  2.     
    #52
    Member
    Quote Originally Posted by Exel View Post
    Code: 
    <form id="searchfunction" style="margin: 0px; padding: 0px;" action="search.php?do=process" method="post">
    
    <input type="hidden" name="do" value="process" />
    <input type="hidden" name="quicksearch" value="1" />
    <input type="hidden" name="childforums" value="1" />
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
    
    <input maxlength="100" name="query" style="border: 1px solid white; color: #0089AF; font-family: Arial, Helvetica, sans-serif; width: 200px; height: 15px; font-size: 11px; font-weight: bold; padding-top: 2px; padding-bottom: 2px; background: #ffffff;" value="" />
    
    <input type="submit" value="Search" name="Search" />
    
    </form>
    Add this to the navbar around that other search code, I'm not sure if it'll work on vB4, but it works fine on vB3.
    i am trying to replace second search-bar with google search i will try if not please help me bro

    thanks

  3.     
    #53
    Member
    Website's:
    forumflare.com
    Take a look at this; http://i.imgur.com/LvSas.png

    This mod assumes you have an adsense account and are using Google Custom Search.

    You want to make sure your results page is named something other than the vb default search.php, this leaves the vb option open to those who click "advanced search"

    Open your template navbar


    find
    PHP Code:
    <form action="search.php?do=process" method="post" id="navbar_search">


    replace with the form line of the google supplied code
    example:
    PHP Code:
    <form action="http://www.ahfb2000.com/google.php" id="cse-search-box">



    find
    PHP Code:
    <input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
    <
    input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
    <
    input type="hidden" name="do" value="process" />


    replace with the first 3 hidden input types in your google code
    example:
    PHP Code:
    <input type="hidden" name="cx" value="partner-pub-xxxxxxxxxxxxxxxxxxxxxxx" />
    <
    input type="hidden" name="cof" value="FORID:10" />
    <
    input type="hidden" name="ie" value="ISO-8859-1" />



    find
    PHP Code:
    <input type="text" value="" name="query" class="textbox" />


    replace with
    PHP Code:
    <input type="text" value="" name="q" class="textbox" />



    find
    PHP Code:
    <input type="image" class="searchbutton" src="{vbtylevar imgdir_button}/search.png" name="submit" onclick="document.getElementById('navbar_search').subm it;" />


    replace with
    PHP Code:
    <input type="image" class="searchbutton" src="{vbtylevar imgdir_button}/search.png" name="sa" onclick="document.getElementById('navbar_search').subm it;" />



    find
    PHP Code:
    </form>


    add this after
    PHP Code:
    <script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en"></script>

  4.     
    #54
    Banned
    Code: 
    i am asking about these.

  5.     
    #55
    Member
    Website's:
    forumflare.com

  6.   Sponsored Links

  7.     
    #56
    Member
    Website's:
    allskip.com
    Woow i was just installing VB and getting some nonsense error, and just happened to see this Free Support lol well can some one help me with this error plz.. i rechecked everything 3 times and still getting this error...

    http://i2.lulzimg.com/53d4a33ac6.jpg

  8.     
    #57
    Member
    Website's:
    forumflare.com
    Are you sure you edited your config.php right?

    That is..

    // ****** DATABASE NAME ******


    // ****** TABLE PREFIX ******

    // ****** MASTER DATABASE USERNAME & PASSWORD ******

    Usually the only things you need to edit, table prefixes aren't usually there, either, but just incase.

    Seems like you didn't input a password for the db?


  9.     
    #58
    Banned

  10.     
    #59
    Member
    Website's:
    forumflare.com


    Interesting, I believe it's a custom modification, but I'll look into it!

  11.     
    #60
    Member
    Website's:
    allskip.com
    Quote Originally Posted by Exel View Post
    Are you sure you edited your config.php right?

    That is..

    // ****** DATABASE NAME ******


    // ****** TABLE PREFIX ******

    // ****** MASTER DATABASE USERNAME & PASSWORD ******

    Usually the only things you need to edit, table prefixes aren't usually there, either, but just incase.

    Seems like you didn't input a password for the db?


    i never used VB so i don't really know about it

    Could u plz take a look at my config.php man..

    http://pastebin.com/X1ZQkgpU

Page 6 of 16 FirstFirst ... 45678 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 6th Jul 2011, 02:19 AM
  2. Replies: 1
    Last Post: 11th Jun 2011, 05:28 PM
  3. Exel's vBulletin Support Thread
    By Exel in forum vBulletin
    Replies: 63
    Last Post: 12th Jan 2010, 11:51 AM
  4. vBulletin Support Thread
    By Profit in forum vBulletin
    Replies: 6
    Last Post: 13th Nov 2009, 07:36 AM

Tags for this Thread

BE SOCIAL