FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


VBulletin Portal Installing





Aalia
Who knows how to install this Portal?
ahmad`
just change "config" file
upload vb file to your site

after you upload to your site
go to www.yoursite.com/foldername/install/install.php


Razz Razz Razz Razz
Aalia
But what in this file I should edit???
I just don't get it... HEEEEEEEEEEEEELLLLLLLLLLLLLLLPPPPP Crying or Very sad
Alie
Aalia wrote:
But what in this file I should edit???
I just don't get it... HEEEEEEEEEEEEELLLLLLLLLLLLLLLPPPPP Crying or Very sad

Ok! Let's start: Cool
1. Open root catalogue of VBulletin
2. Enter into the "UPLOAD" folder, then - "INCLUDES"
Code:
Upload=>includes

3. Find "config.php.new" file inthere and rename it into "config.php"
Code:
config.php.new=>config.php

4. Open the file and configure it. You'll see inthere:

A.
Code:
$config['Database']['dbtype'] = 'mysql';
- If you are using another Data Base, enter it's type instead of mysql.
Code:
$config['Database']['dbtype'] = 'your_database_type';

B.
Code:
$config['Database']['dbname'] = 'base';
- Enter your database name instead of base in the row.
Code:
$config['Database']['dbname'] = 'your_database_name';

C.
Code:
$config['Database']['tableprefix'] = ' ';
- Choose your table prefix and enter it in the and of the row.
Code:
$config['Database']['tableprefix'] = 'your_table_prefix';

D.
Code:
$config['Database']['technicalemail'] = 'dbmaster@example.com';
- Enter your e-mail address and you'll resave a letter any time you'll have any trouble with database.
Code:
$config['Database']['technicalemail'] = 'your_e-mail@address';

E.
Code:
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
- here you must enter your host name or IPaddress and port of DB server.
Code:
$config['MasterServer']['servername'] = 'your_host_name';
$config['MasterServer']['port'] = your_port_number;

F.
Code:
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = '';
- here you enter your database username and password.
Code:
$config['MasterServer']['username'] = 'your_database_username';
$config['MasterServer']['password'] = 'your_database_password';


5. Upload all the files to your server.
6. Run in browser directory to the "install.php" file (it's in the "install" folder):
Code:
http://yoursite.com/...../install/install.php
or
Code:
http://yoursite.com/install/install.php

7. Run 13 installation steps and configure your site in adminCP.

Don't forget to delete your "install" folder after successfull installation!!!!

I hope - this explanation will help you Wink
Aalia
U see, there's nothing like that in config file
Here it is -
Code:
<?php

// ----------------------------------------------------------------------
// vbPortal a Content Management System for vBulletin
// Copyright (C) 2005 by the phpPortals Development Team.
// Nulled by DGT
// ----------------------------------------------------------------------

if (eregi("config.php", $_SERVER['PHP_SELF'])) {

   #Header("Location: ./../../modules.php");
   exit;

}

// skip this if vbulletin global.php already loaded init.php
if (defined('IN_PORTAL_AREA')) {

   // get vbull includes/init.php
   chdir(VBPATH . '/');
   require_once('./includes/init.php');

   // translate cid/mid/ into categoryid/moduleid (phpcategorys)
   function vbpshortvars(&$array, $add_to_REQUEST = false) {

      foreach (array(
         'cid' => 'categoryid',
         'mid' => 'moduleid')
         AS $shortname => $longname)
      {

         if (isset($array["$shortname"]) AND !isset($array["$longname"])) {

            $array["$longname"] = $array["$shortname"];

            if ($add_to_REQUEST) {

               $GLOBALS['_REQUEST']["$longname"] = $array["$shortname"];

            }

         }

      }

   }

   vbpshortvars($_GET, true);
   vbpshortvars($_POST, true);

}

// REMINDER we are now in VBPATH (either because vbull global.php brought us here, or IN_PORTAL_AREA did)

// initialise variables and additional constants
unset(
   $vbpoptions,
   $articles,
   $categoryinfo,
   $replys,
   $portalgroups,
   $vbpperms,
   $articlesid,
   $categorysid,
   $replysid,
   $xcategorys,
   $xperms,
   $modulepermissions,
   $modulearraycache,
   $parsed_replys,
   $modulecache,
   $xmodulecache,
   $blockcache,
   $xblockcache,
   $moduleinfo,
   $blockinfo,
   $modulesid,
   $blocksid,
   $weblinkcache,
   $xweblinkcache,
   $weblinkinfo,
   $weblinksid,
   $reviewcache,
   $xreviewcache,
   $reviewinfo,
   $reviewsid,
   $classifiedcache,
   $xclassifiedcache,
   $classifiedinfo,
   $adinfo,
   $classifiedid,
   $contentcache,
   $xcontentcache,
   $articleinfo,
   $contentid,
   $downloadcache,
   $xdownloadcache,
   $downloadinfo,
   $downloadsid,
   $vbplingual,
   $topics,
   $trackercache,
   $reportinfo
);

// #############################################################################
// trim the $_POST['mop'] string
if (isset($_POST['mop'])) {

   $_POST['mop'] = trim($_POST['mop']);

}

// do a callback to modify any variables that might need modifying based on HTTP input
// eg: doing a conditional redirect based on a $goto or $op value, and $noheader must be set
if (function_exists('exec_postvarcallback')) {

   // required for call to function: exec_header_redirect() in viewcategory.php
   require_once (VBPATH . "/includes/functions.php");
   exec_postvarcallback();

}

// check first if vbportal loaded init.php
if (defined('IN_PORTAL_AREA') AND IN_PORTAL_AREA == true) {

   // vbull init.php has stuffed the datastore with the vbportal special templates listed in modules.php.

   $portalgroups = unserialize($datastore['portalgroups']);
   $modulecache = unserialize($datastore['modulecache']);
   $weblinkcache = unserialize($datastore['weblinkcache']);
   $reviewcache = unserialize($datastore['reviewcache']);
   $classifiedcache = unserialize($datastore['classifiedcache']);
   $downloadcache = unserialize($datastore['downloadcache']);
   $contentcache = unserialize($datastore['contentcache']);
   $blockcache = unserialize($datastore['blockcache']);
   $vbpoptions = unserialize($datastore['vbpoptions']);
   $topics = unserialize($datastore['topics']);
   #$iconcache = unserialize($datastore['iconcache']);

   #if (IN_PORTAL_AREA != 'portalcp' AND ($url == 'index.php')) {

      #$url = "$vbpoptions[portalhome].php"; // option to use alternative to index.php

   #}

   // smilies path fix
   if (is_array($smiliecache)) {

      foreach ($smiliecache AS $smilie) {

         // replace the vbpath with full path
         $smilie['smiliepath'] = BBDIR . '/' . $smilie['smiliepath'];

         $smiliecache["$smilie[smilieid]"] = $smilie;

      }

   }

   $vbpversionnumber = $vbpoptions['templateversion'];

} else {

   $configfound = false;

   if (defined('IN_PORTAL_AREA') AND IN_PORTAL_AREA == false) {

      $DB_site->reporterror = 0;

      $vbp_config = @$DB_site->query_first("
         SELECT Version_Num FROM " . VBP_PREFIX . "_config
         DESC LIMIT 1
      ");

      $DB_site->reporterror = 1;

      if ($vbp_config) {

         $configfound = true; // version 2.x

         $vbpversionnumber = trim(strip_tags($vbp_config['Version_Num']));

      }

      unset($vbp_config);

   }

   if ($configfound == false) {

      // vbull global.php has already stuffed the datastore, so get vbportal caches
      // for the blocks, header, footer and bits needed in the forums with a query.
      // this way adds 1 query to vbulletin pages immediately, to acquire our caches.
      // alternatively we could edit init.php and add our specialtemplates to the array

      if (!is_array($specialtemplates)) {

         $specialtemplates = array(); // vbull init.php unsets this

      }

      // add our default special templates
      $specialtemplates = array_merge(array(
         'userstats', # login.php and ministats.php
         'birthdaycache', # showbirthdays.php
         'maxloggedin', # online.php
         'iconcache', # news.php, past.php and activetopics.php
         'eventcache', # showevents.php and minicalendar.php
         'vbpoptions',
         'portalgroups',
         'modulecache',
         'blockcache',
         'weblinkcache',
         'reviewcache',
         'classifiedcache',
         'downloadcache',
         'contentcache',
         'topics'
      ), $specialtemplates);

      $datastoretemp = $DB_site->query("
      ### QUERY SPECIAL TEMPLATES ###
      SELECT title, data FROM " . TABLE_PREFIX . "datastore
      WHERE title IN ('" . implode("', '", $specialtemplates) . "')
      ");
      unset($specials, $specialtemplates);

      while ($storeitem = $DB_site->fetch_array($datastoretemp)) {

         switch($storeitem['title']) {

            case 'vbpoptions':
               $vbpoptions = unserialize($storeitem['data']);
               $optionsfound = true;

               #if ($url == 'index.php') {

                  #$url = "$vbpoptions[portalhome].php";

               #}

               $vbpversionnumber = $vbpoptions['templateversion'];
            break;

            case 'portalgroups':
               $portalgroups = unserialize($storeitem['data']);
            break;

            case 'modulecache':
               $modulecache = unserialize($storeitem['data']);
            break;

            case 'weblinkcache':
               $weblinkcache = unserialize($storeitem['data']);
            break;

            case 'reviewcache':
               $reviewcache = unserialize($storeitem['data']);
            break;

            case 'classifiedcache':
               $classifiedcache = unserialize($storeitem['data']);
            break;

            case 'downloadcache':
               $downloadcache = unserialize($storeitem['data']);
            break;

            case 'contentcache':
               $contentcache = unserialize($storeitem['data']);
            break;

            case 'blockcache':
               $blockcache = unserialize($storeitem['data']);
            break;

            case 'topics':
               $topics = unserialize($storeitem['data']);
            break;

            case 'iconcache':
               $datastore['iconcache'] = $storeitem['data'];
            break;

            case 'userstats':
               $datastore['userstats'] = $storeitem['data'];
            break;

            case 'birthdaycache':
               $datastore['birthdaycache'] = $storeitem['data'];
            break;

            case 'eventcache':
               $datastore['eventcache'] = $storeitem['data'];
            break;

            case 'maxloggedin':
               $datastore['maxloggedin'] = $storeitem['data'];
            break;

         }

      }

      unset($datastoretemp, $storeitem);
      $DB_site->free_result($datastoretemp);

   }

}

// vbull init.php has already initialised the $_BITFIELD array

// vbportal usergroup bits
// field names for module permissions
$_BITFIELD['portalgroup']['modulepermissions'] = array(
   'canviewm' => 1,
   'canviewothersm' => 2,
   'cansearchm' => 4,
   'canemailm' => 8,
   'canreplynewm' => 16,
   'canreplyownm' => 32,
   'canreplyothersm' => 64,
   'caneditreplym' => 128,
   'candeletereplym' => 256,
   'candeletearticlem' => 512,
   'canopenclosem' => 1024,
   'canmovem' => 2048,
   'cangetattachmentm' => 4096,
   'canaddattachmentm' => 8192,
   'caneditorialm' => 16384,
   'canarticleratem' => 32768,
   'isalwaysmoderatedm' => 65536
);

// field names for editorial permissions
$_BITFIELD['portalgroup']['editorialpermissions'] = array(
   'canvieweditorial' => 1,
   'canaddeditorial' => 2,
   'canediteditorial' => 4,
   'candeleteeditorial' => 8,
   'canviewotherseditorial' => 16
);

// field names for portal options
$_BITFIELD['portalgroup']['portaloptions'] = array(
   'showads' => 1,
   'forumleftcolumn' => 2,
   'logoutextras' => 4,
   'usemainmodule' => 8,
   'showjumps' => 16
);

// field names for portal administrator permissions
$_BITFIELD['portalgroup']['portaladminpermissions'] = array(
   'canadminoptions' => 1,
   'canadminblocks' => 2,
   'canadminpermissions' => 4,
   'canadminmodules' => 8,
   'canadmincategorys' => 16,
   'canadminarticles' => 32,
   'canadminusers' => 64,
   'canadminfaq' => 128,
   'canadminmaintain' => 256,
   'canadminnewsletter' => 512,
   'canadminency' => 1024,
   'canadmintopics' => 2048,
   'canadminbanners' => 4096,
   'canadminephem' => 8192,
   'canadminnewsfeed' => 16384,
   'canadminstats' => 32768
);

// end vbportal usergroup bits

// use the portalgroup bitfields and define constants
foreach($_BITFIELD['portalgroup'] AS $_portalgroup) {

   foreach($_portalgroup AS $_constname => $_constval) {

      define(strtoupper($_constname), $_constval);

   }

}

unset($_constname, $_constval, $_portalgroup);

// Category Moderator permissions
$_BITFIELD['portalmodperms'] = array(
   'caneditreplys' => 1,
   'candeletereplys' => 2,
   'canopenclose' => 4,
   'caneditarticles' => 8,
   'canmanagearticles' => 16,
   'canmoderatereplys' => 32,
   'canmoderateattach' => 64,
   'canmassmove' => 128,
   'canmassprune' => 256,
   'canviewips' => 512,
   'newarticleemail' => 1024,
   'newreplyemail' => 2048,
   'cansetpassword' => 4096,
   'canediteditorial' => 8192
);

// still to add $_BITFIELD['modulemodperms']

// Editorial Moderator permissions
$_BITFIELD['editorialpermissions'] = array(
   'canediteditorials' => 1,
   'candeleteeditorials' => 2,
   'canmoderateeditorials' => 4,
   'canviewips' => 8,
   'canmoveeditorials' => 16
);

// Defined contants used for module field.
$_MODULEOPTIONS = array(
   'active' => 1,
   'allowreplying' => 2,
   'cancontainarticles' => 4,
   'moderatenewreply' => 8,
   'moderatenewarticle' => 16,
   'moderateattach' => 32,
   'allowbbcode' => 64,
   'allowimages' => 128,
   'allowhtml' => 256,
   'allowsmilies' => 512,
   'allowtopics' => 1024,
   'allowratings' => 2048,
   'countreplys' => 4096,
   'canhavepassword' => 8192,
   'indexreplys' => 16384,
   'styleoverride' => 32768,
   'onmodulejump' => 65536,
   'warnall' => 131072,
   'usenavbar' => 262144 # use this for the top breadcrumb
);

// blocks and pages (not used)
$_BLOCKOPTIONS = array(
   'allow_create' => 1,
   'allow_delete' => 2,
   'form_url' => 4,
   'form_content' => 8,
   'form_refresh' => 16,
   'show_preview' => 32,
   'formated_output' => 64,
   'templates' => 128,
   'active' => 256,
   'inforum' => 512,
   'inphotopost' => 1024
);

?>
Alie
Please, write the directory of this config.php file... I can't understand which one is it Pray
Is it in this directory root=>includes?
Aalia
I already understood my mistake. U see I didn't install the forum, and just start trying to install the portall without it=)
Aalia
Damn! I still can't install it...
Now, when I start to install the VBulletin Portal, I get this massege on the 2ond step -
Code:
Step 2) Connect to the database

Attempting to attach to database

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the vBulletin 'includes/config.php' file.


What should I do? My cpnfig file in forum is correct... Crying or Very sad
Alie
Aalia wrote:
Damn! I still can't install it...
Now, when I start to install the VBulletin Portal, I get this massege on the 2ond step -
Code:
Step 2) Connect to the database

Attempting to attach to database

The database has failed to connect because you do not have permission to connect to the server. Please confirm the values entered in the vBulletin 'includes/config.php' file.


What should I do? My cpnfig file in forum is correct... Crying or Very sad

What about your portal config.php? Which version is your VBulletin?
Aalia
In portal config there is no database functions in it.
It's vBulletin_3.5.0.b.1.null
Sunny
Aalia wrote:
In portal config there is no database functions in it.
It's vBulletin_3.5.0.b.1.null


VB is strictly forbidden on FRIHost servers. Installing it can get your account deleted instantly specially the 'nulled' version. So I hope you are not trying to install it on your FRIHost account.

TOS
Aalia
Ummm...What if not nulled? Rolling Eyes
Sunny
Aalia wrote:
Ummm...What if not nulled? Rolling Eyes


Not nulled means you are going to buy the license.

Though I aint seen anyone who has bought it yet but still if you do that, you must ask for permission to host it in "request an account change" forum and you must prove the license to us.

Please note, you are NOT allowed to host the vb/ipb forum untill you show the license and have the permission of admins even if you have bought it.
Aalia
Well ok.. Rolling Eyes
ahmad`
you can use "php nuke" Aalia
srijit
vBB costs abt 160$ outright. you get a years free upgrade and support. if you can afford that then you can also afford paid hosting. otherwise use free alternatives like SMF or phpbb
Aalia
ahmad` wrote:
you can use "php nuke" Aalia

Where can I get it and how to install it, pls, help me.
n0obie4life
PHP Nuke is NOT a forum, instead it's a portal..well, with a forum addon.

If you want a forum, I'd suggest phpBB 2 or myBBoard.

www.mybboard.com
www.phpbb.com

Their installation tutorials made by me can be found here for phpBB and here for myBB

If you still want phpnuke, the URL is - http://phpnuke.org/
Related topics
VBulletin Portal Installing
NEW! - Incredibly Low Priced phpBB2 and 3 Services!
Install Mambo 4.5.2 And Vbulletin 3.0.7
New contest idea
Graphic Design Portal (Tutorials, Resources and more...)
vBulletin beta?
db_mysql error
Installing a SMF based forum
Stop hosting vBulletin forums! This is strictly illegal!
Vbulletin
vBulletin work here ?
No vbulletin/IPB? Does that mean no forums?
Importable scripts
Installing, Partitioning & Formatting HDDs
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.