السلام عليكم
لقيت طريقة جميله في ستايل احد المنتديات ولكن تعبت ولا لقيت الطريقة
ياليت حد يقدر يفيدنا وهي ان البلوكات تكون على يمين الستايل نفس الصورة
مع العلم اني مركب هاك الادفانسد
السلام عليكم
لقيت طريقة جميله في ستايل احد المنتديات ولكن تعبت ولا لقيت الطريقة
ياليت حد يقدر يفيدنا وهي ان البلوكات تكون على يمين الستايل نفس الصورة
مع العلم اني مركب هاك الادفانسد
يوجد لها شرح بالإنجليزية ... ينفع ؟
تحياتي .كود:vBa CMPS v3.0 Users Please note that it is no longer necessary to follow these instructions for integration, nor will they work with v3.0. Integration can now be done via the "Integration" link in your Admin CP with no file modifications required. -------------------------------------------------------------------------------- We have tried to make it as easy as possible to integrate vBadvanced CMPS with other vBulletin files and hacks. This section covers how to integrate them. Log into your Admin CP. Click on the 'Add Page' link listed under your 'vBa CMPS' options in the left frame, and then click on 'Module Page'. This page is what will be used to "wrap" around your forum pages. Once there, enter a Title and a Page Identifier for your page. You may call these two options whatever you would like, just be sure to make a note of what you used for the 'Page Identifier' option. For this example we are going to use 'include' for both. You may enable/disable any modules that you would like for this page, with the exception of your 'Custom Page Content' module. This module is what will be used to display the content from the page you are integrating, so it must be active. Set any additional options that you would like, and then save the page. Open your /forum/global.php file and **** for this code: define('VB_AREA', 'Forum'); Just below that, add this: if (defined('VBA_PORTAL')) { require_once('./includes/vba_cmps_include_template.php'); } (Note that this code may have already been added if you are running a version of vBulletin prior to 3.5. Next, open your /forum/includes/functions.php file. If you are running vBulletin 3.5.x or vBulletin 3.6.x, **** for this code: if ($vbulletin->options['addtemplatename']) Or, if you are running vBulletin 3.0.x, **** for this code within that file: if ($vboptions['addtemplatename']) Just Above this code, add: if (defined('VBA_PORTAL') AND !defined('SKIP_OUTPUT') AND !defined('NOPMPOPUP') AND THIS_SCRIPT != 'adv_index') { define('SKIP_OUTPUT', true); global $home; print_portal_output($home, $vartext); } If you want to integrate single vBulletin files, open the vBulletin file that you would like to integrate (ex: index.php, showthread.php, etc). In the file, right below the opening <?php tag, you will want to add this code: define('VBA_PORTAL', true); define('VBA_PAGE', 'include'); Note that if you changed the 'Page Identifier' setting for this page above then you will want to replace 'include' (marked in bold above) to whatever you used for the 'Page Identifier' option. Alternately, if you wish to integrate ALL of your vBulletin files, you can add this code to your global.php file instead, just Above the code you added in step 4. if (THIS_SCRIPT != 'adv_index') { define('VBA_PORTAL', true); define('VBA_PAGE', 'include'); } Upload the files you have modified and you are done. To start integrating other pages, simply follow steps 6 - 7 with the other files.
عساك عالقوة يابوراشد وماقصرت يالغالي
بس يالغالي الشرح الانجليزي للاسف مافهمت منه شي حتى الان
:(
ممكن حد يفيدنا في الترجمه ياجماعه
الذين يشاهدون الموضوع الآن: 1 (0 من الأعضاء و 1 زائر)
مواقع النشر (المفضلة)