vBulletin - Custom Usergoups & Super admin

Discussion in 'Integration' started by innovat3, Aug 5, 2008.

  1. innovat3

    innovat3 New Member

    Joined:
    Apr 13, 2008
    Messages:
    5
    I am having alot of trouble integrating vBulletin with aMember, basically of two reasons:

    - How do I create custom vBulletin usergroups with custom permissions, so that I can put users into them using aMember, so that it doesn't reset and revert when I rebuild the DB.

    - Linked to my first question, how do I give users useradmin powers in vBulletin in amember, so that it doesn't revert when I rebuild the DB. I can do it via Vbulletin, but it will revert back to standard usergroups once I rebuild the db in aMember.

    Any help would be appreciated, I contacted amember help desk, but well.. you know..

    I would even consider paying for the help... since I already invested so much for amember
  2. scott_wa1

    scott_wa1 aMember Pro Customer

    Joined:
    Aug 22, 2006
    Messages:
    62
    Hey I noticed that happened to me a couple of times too.... Every couple of months or so I need to login to vbulletin and change my own username to a supermod so I can moderate my forum. I'll subscribe to this thread. :)

    -Scott
  3. innovat3

    innovat3 New Member

    Joined:
    Apr 13, 2008
    Messages:
    5
    Well, yea, it's really annoying if you have lots of moderators, and you actually need custom permissions for each of them... it resetting everytime you rebuild db is really annoying.

    I contacted amember helpdesk, but I don't think they have a clue... which I find kinda 'disappointing' considering the price we paid for the script.
  4. innovat3

    innovat3 New Member

    Joined:
    Apr 13, 2008
    Messages:
    5
    I take back what I said about the aMember Support Staff, they turned out to be quite helpful on this matter. Anyway; the way to solve this problem is to;

    Not really sure the exact that needs to be modified, but since they modified it, I can put users into every usergroup in vB, including hidden groups like superadmins :)
  5. frybread

    frybread aMember Pro Customer

    Joined:
    Jul 14, 2008
    Messages:
    63
    can you post the fixed file?
  6. mccspp

    mccspp New Member

    Joined:
    Jul 29, 2008
    Messages:
    1
    vbulletin3.inc.php

    Replacing:

    $q = @mysql_query("SELECT usergroupid, title FROM {$this->config['db']}usergroup WHERE adminpermissions <= 0 AND usergroupid > 1",$this->db->conn);

    with this:

    $q = @mysql_query("SELECT usergroupid, title FROM {$this->config['db']}usergroup WHERE usergroupid > 1",$this->db->conn);

    seems to do the trick.

Share This Page