vBulletin 4

Discussion in 'Support & Feedback' started by digitalpoint, Feb 27, 2010.

  1. cmeinck

    cmeinck Active Member

    Messages:
    468
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    60
    #221
    Good job on the upgrade. Having completed a few transitions to vB4, it's just the change that affects readers. Once vB fixes the remaining bugs (and there are still plenty), people will embrace the change. Most of my members enjoy the new look. Good thing you waited until 4.0.2. The previous version was filled with bugs.

    Congrats and thanks for an awesome forum.
     
    cmeinck, Mar 1, 2010 IP
  2. believer1984

    believer1984 Peon

    Messages:
    1,544
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #222
    RSS feed and subscribe to this forum seems handy!
     
    believer1984, Mar 1, 2010 IP
  3. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #223
    Other things I noticed that did not work.
    My user/pass
    Retrieving them via Safari is futile at best.
    The Captcha entry does not work using Safari 4.04 under OSX 10.6.2
    After a dozen attempts, and using the audio input sentence with failure, I resorted to Firefox which worked the first time.
    I assume we have the option to change to the classic look in our CP? The new look of VB 4 is hideous to say the least!
     
    Mia, Mar 1, 2010 IP
  4. MhW

    MhW Active Member

    Messages:
    370
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    85
    #224
    Huge step forwards, kudos to Shawn for the huge amounts of time and effort put into upgrading.

    Post content is a little hard to find when you have a thread full of posters with and without avatars, but generally it's no worse than how it was previously. ;)
     
    MhW, Mar 1, 2010 IP
  5. ChrisMiller

    ChrisMiller Prominent Member

    Messages:
    1,934
    Likes Received:
    81
    Best Answers:
    0
    Trophy Points:
    315
    #225

    I never had any problems here when I tried it on my iPhone for the first time my User/pass worked, maybe your just having bad luck?
     
    ChrisMiller, Mar 1, 2010 IP
  6. Mia

    Mia R.I.P. STEVE JOBS

    Messages:
    23,694
    Likes Received:
    1,167
    Best Answers:
    0
    Trophy Points:
    440
    #226
    Doubtful. I've tried it on another Mac using Safari, and had the same issue.
    Also, I've had the user/pass issue before. I think they reset after 'x' amount of time.
     
    Mia, Mar 1, 2010 IP
  7. dulcificum

    dulcificum Active Member

    Messages:
    535
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    68
    #227
    I kinda agree, actually.
     
    dulcificum, Mar 1, 2010 IP
  8. flaminbo

    flaminbo Well-Known Member

    Messages:
    274
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    160
    #228
    why not integrate Google Search into DP instead of using the default search for Vbulletin? im sure it would help cut down on any CPU load,a friend of mine Mr Happy,owner of Linkzbot wrote some code on integrating it so search results will open on a new page of Vbulletin as oppposed to Google pages

    here is code thanks go to Mr Happy @ Linkzbot.com

    Step 1

    This below bit is edited from vb and is for making new pages. Copy the below and name it find.php and upload it to your server where you installed vBulletin.
    PHP Code:
    <?php 
    
    // ####################### SET PHP ENVIRONMENT ########################### 
    error_reporting(E_ALL & ~E_NOTICE); 
    
    // #################### DEFINE IMPORTANT CONSTANTS ####################### 
    define('NO_REGISTER_GLOBALS', 1); 
    define('THIS_SCRIPT', 'test'); // change this depending on your filename 
    
    // ################### PRE-CACHE TEMPLATES AND DATA ###################### 
    // get special phrase groups 
    $phrasegroups = array( 
    
    ); 
    
    // get special data templates from the datastore 
    $specialtemplates = array( 
         
    ); 
    
    // pre-cache templates used by all actions 
    $globaltemplates = array( 
        'Search Site', 
    ); 
    
    // pre-cache templates used by specific actions 
    $actiontemplates = array( 
    
    ); 
    
    // ######################### REQUIRE BACK-END ############################ 
    require_once('./global.php'); 
    
    // ####################################################################### 
    // ######################## START MAIN SCRIPT ############################ 
    // ####################################################################### 
    
    $navbits = array(); 
    $navbits[$parent] = 'Search Results'; 
    
    $navbits = construct_navbits($navbits); 
    eval('$navbar = "' . fetch_template('navbar') . '";'); 
    eval('print_output("' . fetch_template('Search Site') . '");'); 
    
    ?>
    PHP:
    Step 2

    We have to create a custom search for the site you want. Go to http://www.google.com/cse/ and select Create A Custom Search. Enter the details; name, description, site(s) you want to search. Don't worry too much as this can be edited later. Paying the $100 will remove the Google Adds if you don't want them.

    Click Finish and then click on the control panel for the Search engines I've created.

    Edit any details you want and then click on look and feel on the left.

    Select iFrame and then you can change the look and feel to match your sites template.

    Then click Save and Get code.

    For the url make it point to where you have find.php so it should be something like http://sitename.com/find.php or http://sitename.com/forum/find.php

    It's the Search box code code part we want. Don't worry about the Search results code

    You should have something like this which we'll return to in a minute.
    PHP Code:
    <form action="http://linkzbot.nagds" id="cse-search-box">
      <div>
        <input type="hidden" name="cx" value="009729591642794172819:aeozcdubiek" />
        <input type="hidden" name="cof" value="FORID:10" />
        <input type="hidden" name="ie" value="UTF-8" />
        <input type="text" name="q" size="31" />
        <input type="submit" name="sa" value="Search" />
      </div>
    </form>
    <script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script> 
    PHP:
    Step 3

    Next we'll create the template in the ACP for the Search Results Page.
    In Style Manager select Add new Template and for a name use Search Site
    In the template box paste the below and click save. If you want you can change the with of the resutls by changing the 700 I've set it to.
    PHP Code:
    $stylevar[htmldoctype]
    <html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
    <head>
    <title>$vboptions[bbtitle]</title>
    $headinclude
    </head>
    <body>
    $header
    
    $navbar
    
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
    <tr>
        <td class="tcat">Search Site</td>
    </tr>
    <tr>
        <td class="alt1"><div id="cse-search-results" align="center"></div>
    <script type="text/javascript">
      var googleSearchIframeName = "cse-search-results";
      var googleSearchFormName = "cse-search-box";
      var googleSearchFrameWidth = 700;
      var googleSearchDomain = "www.google.com";
      var googleSearchPath = "/cse";
    </script>
    <script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
          </div></td>
    </tr>
    </table>
    
    $footer
    </body>
    </html> 
    PHP:
    You should now be able to go to http://sitename/find.php or http://sitename/forum/find.php and see an empty page.

    Step 4

    This next step will add the search Box to the navbar to the left of the Login Box/Members Details. If you know your shit and templates you can place it anywhere. This is for vb default template.

    In Style Manager in the ACP Edit the Template Navigation/Breadcrumb Templates >> navbar
    Find:
    PHP Code:
    <if condition="$show['member']">
        <td class="alt2" nowrap="nowrap">
        <div class="smallfont"> 
    PHP:
    The bit we add ABOVE is different for everyone. Remember the code we got off Google in Step 2, well we need the three lines starting with <input type="hidden" to be added and the location of the find.php in your site.
    PHP Code:
    <td class="alt2" nowrap="nowrap" style="padding:0px">
    <div>Search <br />
    <form action="http://sitename/find.php" id="cse-search-box" class="navbar_search">
        <input type="hidden"  YOUR CODE HERE  />
        <input type="hidden"  YOUR CODE HERE  />
        <input type="hidden"  YOUR CODE HERE  />
        <span class="textboxcontainer"><span><input type="text" name="q" value="" class="textbox" /></span></span>
        <input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" />
    </form>
    </div>    
    </td> 
    PHP:
    That should be all installed and working now. You'll be able to track what members are searching in the control panel in Google. Of course if your feeling techie and confident edit this as you please.
     
    flaminbo, Mar 1, 2010 IP
  9. Ian

    Ian Well-Known Member

    Messages:
    409
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    125
    #229
    Sean, why in the world would you want to rebuild your search indes and have that huge POST (or POSTINDEX...I forget which one it was...) table? Does VB4 remove the option for the "Fulltext search engine" (under Vbulletin Options > Search Type) If not, switch to that and dump that table - I'm guessing it will shrink your database big time.

    I have a forum with 2M+ posts and 13,000+ members, and dropping that table and switching that helped performance quite a bit. I'm guessing with 14M+ like you have that table must be HUGE - so try switching it over and dumping it (if that option is still available) and hopefully reducing your DB size speeds things up a bit.
     
    Ian, Mar 1, 2010 IP
  10. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #230
    It's a completely different search system in vB4. Neither of the old search options are available anymore. vB4 uses a unified search system (you can search posts, threads, groups, blogs, etc. in one search query if you want).

    The drawback to it is that all the searchable content you have is duplicated into a table specifically for searching. The upside is that table is InnoDB by default now, so you can run concurrent searches without it locking up tables. The bad part is if you want old posts to be searchable in vB4, you *have* to run through this process of getting all the old stuff into the searchcore tables.
     
    digitalpoint, Mar 1, 2010 IP
  11. MrSandMan

    MrSandMan Well-Known Member

    Messages:
    825
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    135
    #231
    Hi,

    Not that my opinion matters, but I don't like the new forum. I love vB 3.x, but 4 is just too different for my taste. Really not fond of the 2.0 look, either. I really like the 'block' style from the original.

    Again, this is just my opinion.
     
    MrSandMan, Mar 1, 2010 IP
  12. Ian

    Ian Well-Known Member

    Messages:
    409
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    125
    #232
    Got you, that's good to know. I haven't upgraded yet because I was waiting for the dust to settle with VB4 after reading about a lot of the earlier issues, but I've read recently it's finally much more stable. I hadn't read about the search function, but I've since switched to a two box configuration so hopefully when the time comes having that table won't be an issue any more.
     
    Ian, Mar 1, 2010 IP
  13. Jim4767

    Jim4767 Prominent Member

    Messages:
    4,738
    Likes Received:
    766
    Best Answers:
    10
    Trophy Points:
    305
    #233
    I'm going through withdrawal! :( My favorite DP feature is no longer available. It was the ability to click on subscribed forums and have only the new threads from your subscribed forums listed. That wonderful option weeded out all kinds of irrelevant (to me) stuff that comes up when you click on "new posts" and thereby get new posts from all the forums, including those forums in which I have no interest.
     
    Jim4767, Mar 1, 2010 IP
  14. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #234
    It's high on the list of things to bring back. But not going to happen until after the process that is indexing all the old posts is done with it's indexing.
     
    digitalpoint, Mar 1, 2010 IP
  15. imkevintan

    imkevintan Member

    Messages:
    103
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #235
    A change is always good. I'm loving the new VB4 and the Web 2.0 style DP theme.

    It's taking me sometime trying to get used to it though. By the way is iTrader points hidden in threads by default?
     
    imkevintan, Mar 1, 2010 IP
  16. Cameljourney

    Cameljourney Prominent Member

    Messages:
    1,731
    Likes Received:
    107
    Best Answers:
    0
    Trophy Points:
    300
    #236

    iTrader only appear on BST Section thread (exclude Freebies) and now the name is "Feedback Score" , on the top right of the postbit.
     
    Cameljourney, Mar 1, 2010 IP
  17. imkevintan

    imkevintan Member

    Messages:
    103
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #237
    Yeah I just noticed that. It looks much better now (saves a click to the iTrader page) with percentage showing on the right.

    Thanks. :)
     
    imkevintan, Mar 1, 2010 IP
  18. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #238
    The template is cool, more stylish and sleek compared to the previous template.

    I am not sure about the features yet, since I just back online today.

    But I found 1 thing that I don't like in vb4 : the textarea in "quick reply to PM" does not quote previous message.
     
    ads2help, Mar 1, 2010 IP
  19. ksb2050

    ksb2050 Well-Known Member

    Messages:
    906
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165
    #239
    Looks AMAZING shawn, great job as always!
     
    ksb2050, Mar 1, 2010 IP
  20. Stroh

    Stroh Notable Member

    Messages:
    3,482
    Likes Received:
    292
    Best Answers:
    0
    Trophy Points:
    200
    #240
    Wow what a change to DP. I came back at the right time lol.
     
    Stroh, Mar 1, 2010 IP