Results 1 to 4 of 4

issue with vbGallery add-on, and external DB

This is a discussion on issue with vbGallery add-on, and external DB within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; I am trying to use the vbseo_sm_vbagallery.php add-on, but my vbGallery is not in my vbulletin db, it is in ...

  1. #1
    Member
    Real Name
    Mick Knutson
    Join Date
    Sep 2008
    Posts
    32
    Liked
    0 times

    issue with vbGallery add-on, and external DB

    I am trying to use the vbseo_sm_vbagallery.php add-on, but my vbGallery is not in my vbulletin db, it is in another 'gallery' db.

    Looking at this sql, it seems that it will look in the vbulletin db, and thus I am getting table not found errors.

    Is there a way to specify the other DB in that script?

  2. #2
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    You can over-ride the config vars directly on that php file.

  3. #3
    Member
    Real Name
    Mick Knutson
    Join Date
    Sep 2008
    Posts
    32
    Liked
    0 times
    Quote Originally Posted by Brian Cummiskey View Post
    You can over-ride the config vars directly on that php file.
    Any chance you can point me to some sudo code I can use?

  4. #4
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    Just grab the values from the config file

    $config['Database']['dbname'] = 'forum';
    $config['Database']['tableprefix'] = '';
    $config['MasterServer']['servername'] = 'localhost';
    $config['MasterServer']['port'] = 3306;
    $config['MasterServer']['username'] = 'user';
    $config['MasterServer']['password'] = 'pass';


    and place them right at the top of
    vbseo_sm_vbagallery.php

Similar Threads

  1. vBulletin 4.x Issue when posting external URLs contain index.php
    By henrybui in forum Troubleshooting
    Replies: 1
    Last Post: 05-10-2010, 05:04 PM
  2. External links issue
    By Sonnie in forum Troubleshooting
    Replies: 2
    Last Post: 12-28-2007, 05:28 PM
  3. vBGallery
    By Steve in forum Custom Rewrite Rules
    Replies: 6
    Last Post: 05-07-2007, 04:45 PM
  4. Replies: 3
    Last Post: 10-21-2006, 07:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •