|
|
Первый пост |
![]() |
||||
|
||||
Реклама на форуме А что у нас тут интересного? =)
|
|
|
![]()
Tested and installed in my board, it works perfectly
Tested on: - vBulletin 3.5.3 - PhotoPost vBGallery v1.0.1 (vB 3.5) - vBadvanced CMPS v2.0.1 (vB 3.5) --------------------------------------------------*/ Add Gallery Images to your CMPS v1.7 (vB 3.5) Tested on: - vBulletin 3.5.2 - PhotoPost vBGallery v1.0.1 (vB 3.5) - vBadvanced CMPS v2.0.0 (vB 3.5) Zachariah - http://www.gzhq.net Product XML 1 file edit Upload file Create Module Change settings 1 query added to CMPS DEMO --------------------------------------------------*/ Change Log =========== 1.7 - Install w/ product in 1 file. - AdminCP options to change the hack settings - Added: Parts of the gallery's Nav bar w/ dropdowns (My Stuff*, What's New, What's Popular,Search) to the hack with on/off option. * My Stuff will not be seen if you are a guest. 1.6 - Added: If the gallery is off or disabled the hack not show up. - Added: templates to support the hack vs. gallery templates (allows you to customize the templates for the look and feel you want vs. mess up the way your gallery templates look.) Modification in cmps_index.php (or another name of your CMPS index) Code:
<?php // ++=========================================================================++ // || vBadvanced CMPS v2.1.0 (vB 3.5) - 14601 // || © 2003-2004 vBadvanced.com & PlurPlanet, LLC - All Rights Reserved // || This file may not be redistributed in whole or significant part. // || http://vbadvanced.com // || Downloaded 03:21, Fri Jan 27th 2006 // || // ++ ========================================================================++ error_reporting(E_ALL & ~E_NOTICE); define('NO_REGISTER_GLOBALS', 1); define('THIS_SCRIPT', 'adv_index'); define('VBA_PORTAL', true); define('VBA_SCRIPT', 'CMPS'); // ============================================ // Enter the full path to your forum here // Example: /home/vbadvanced/public_html/forum // ============================================ $forumpath = 'your forum path'; // ============================================ // No Further Editing Necessary! // ============================================ if (!is_dir($forumpath)) { echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.'; exit; } chdir($forumpath); $phrasegroups = array('adv_gallery'); $globaltemplates = array(); $actiontemplates = array(); $specialtemplates = array('gallery_c_cache','adv_gallery_opt','gallery_ugroups'); require_once('./includes/vba_cmps_include_template.php'); require_once('./global.php'); print_portal_output($home); ?> in vbgallery_block.php find Code:
if ($privatecatids = fetch_private_categories()) { $privatecatids = explode(',', $privatecatids); } Code:
//if ($privatecatids = fetch_private_categories()) //{ //$privatecatids = explode(',', $privatecatids); //} BiO. Last edited by BiOMECHANiK : 02-19-2006 at 10:39 PM. |
|
|
|
|
![]() Quote:
Last edited by mapu : 02-23-2006 at 10:41 PM. |
||
|
|
|
![]() Quote:
Last edited by mapu : 02-23-2006 at 11:02 AM. |
||
Thread Tools | |
|
|