Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin Style Skin for MediaWiki Details »»
vBulletin Style Skin for MediaWiki
Version: 1.00, by Jaxel Jaxel is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.7.3 Rating:
Released: 10-09-2008 Last Update: 10-09-2008 Installs: 76
Additional Files  
No support by the author.

vBulletin MediaWiki Skin

The purpose of this mod is to get your MediaWiki to look like your forums... A lot of people have been having trouble getting their Wikis to look streamlined with their forums, this is my first attempt.

------------
INSTALLATION
------------

1. Upload the contents of the "upload" folder to the "skins" directory of your Wiki installation...

2. Go into WIKIDIRECTORY/skins/vBulletin.php and replace all instances of <URLTOFORUMS> with the URL to your forums (ex: http://www.vbulletin.com/forums), make sure to leave the trailing slash off.

If you use the standard vBulletin skin, you are DONE. Your new skin can be selected or forced in your Wiki settings.

If you use a customized skin, please read the following steps...

-----------
CUSTOMIZING
-----------

3. Go into your vBulletin AdminCP > vBulletin Options > Style & Language Settings and make sure that "Store CSS Stylesheets as Files?" is set to yes and working. If it is, go into your FTP and download the CSS file from FORUMDIRECTORY/clientcript/vbulletin_css/, if you find multiple stylesheets in there, make sure to take the one with the same style sheet ID as the style you would like to enable for your Wiki. Rename this file to vbulletin.css and copy it over into the WIKIDIRECTORY/skins/vbulletin/ directory, overwriting the existing file.

4. Go into WIKIDIRECTORY/skins/vBulletin.php and find the section called <!-- HEADER -->. Make edits to this area to match the header to your skin. You can not use vB variables in this area, so make everything absolute. Be sure to remember to set the variables for the spacer_open variables towards the end.

5. Go into WIKIDIRECTORY/skins/vBulletin.php and find the section called <!-- FOOTER -->. Make edits to this area to match the footer to your skin. You can not use vB variables in this area, so make everything absolute.

6. If you know anything about skinning the Wiki, feel free to edit other areas. I have tried my best to limit the need to edit other areas.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 10-11-2008, 05:49 PM
emath emath is offline
 
Join Date: Sep 2008
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

listen when i trying to enter my account in wiki i get these messages :

Code:
Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home94b/sub006/sc49471-HPSH/www/maagar/LocalSettings.php:1) in /mounted-storage/home94b/sub006/sc49471-HPSH/www/maagar/includes/User.php on line 1947

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home94b/sub006/sc49471-HPSH/www/maagar/LocalSettings.php:1) in /mounted-storage/home94b/sub006/sc49471-HPSH/www/maagar/includes/User.php on line 1950

Warning: Cannot modify header information - headers already sent by (output started at /mounted-storage/home94b/sub006/sc49471-HPSH/www/maagar/LocalSettings.php:1) in /mounted-storage/home94b/sub006/sc49471-HPSH/www/maagar/includes/User.php on line 1956
user.php lines 1940-1970 :

PHP Code:
    function setCookies() {
        global 
$wgCookieExpiration$wgCookiePath$wgCookieDomain$wgCookieSecure$wgCookiePrefix;
        
$this->load();
        if ( 
== $this->mId ) return;
        
$exp time() + $wgCookieExpiration;

        
$_SESSION['wsUserID'] = $this->mId;
        
setcookie$wgCookiePrefix.'UserID'$this->mId$exp$wgCookiePath$wgCookieDomain$wgCookieSecure );

        
$_SESSION['wsUserName'] = $this->getName();
        
setcookie$wgCookiePrefix.'UserName'$this->getName(), $exp$wgCookiePath$wgCookieDomain$wgCookieSecure );

        
$_SESSION['wsToken'] = $this->mToken;
        if ( 
== $this->getOption'rememberpassword' ) ) {
            
setcookie$wgCookiePrefix.'Token'$this->mToken$exp$wgCookiePath$wgCookieDomain$wgCookieSecure );
        } else {
            
setcookie$wgCookiePrefix.'Token'''time() - 3600 );
        }
    }

    
/**
     * Logout user.
     */
    
function logout() {
        global 
$wgUser;
        if( 
wfRunHooks'UserLogout', array(&$this) ) ) {
            
$this->doLogout();
            
wfRunHooks'UserLogoutComplete', array(&$wgUser) );
        }
    } 
please help me.. its something with headers that already have sent.. shall i disable one of the functions above ?
Reply With Quote
  #13  
Old 10-11-2008, 06:05 PM
emath emath is offline
 
Join Date: Sep 2008
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in addition when i put in the search a valid keyname (i mean it has a page on this name) and hitting "Go" it gives me a blank page, though the "search" is working good...
Reply With Quote
  #14  
Old 10-12-2008, 01:59 AM
emath emath is offline
 
Join Date: Sep 2008
Posts: 252
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok nvm.. tnx for the plugin
Reply With Quote
  #15  
Old 10-12-2008, 07:30 AM
Jaxel Jaxel is offline
 
Join Date: Sep 2005
Posts: 1,160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You got it working? What was wrong?

I made this skin wth the NEWEST version of MW.
Reply With Quote
  #16  
Old 10-12-2008, 03:48 PM
Dave Alcock Dave Alcock is offline
 
Join Date: Aug 2006
Location: Durban, South Africa
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you. Works great!
Reply With Quote
  #17  
Old 10-13-2008, 07:16 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks awesome! Thanks!

Offered for MOTM.
Reply With Quote
  #18  
Old 10-14-2008, 04:56 AM
ehsanix ehsanix is offline
 
Join Date: Oct 2003
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

first of all thanks and 1 major question
what about forums in which "width" is not full screen and have background image ?
Reply With Quote
  #19  
Old 10-14-2008, 07:40 AM
GoodOmens GoodOmens is offline
 
Join Date: Sep 2007
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great on my site!

http://www.lineagejunkies.com/forum/
http://www.lineagejunkies.com/wiki/Main_Page
Reply With Quote
  #20  
Old 10-14-2008, 11:58 AM
hollosch's Avatar
hollosch hollosch is offline
 
Join Date: Nov 2005
Location: Germany
Posts: 131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,
how can i change the linkcolor for "wanted pages", when i use the ccs file from my vb-Style ?

thanks
Reply With Quote
  #21  
Old 10-14-2008, 07:23 PM
carrlos's Avatar
carrlos carrlos is offline
 
Join Date: Nov 2006
Posts: 259
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great addition!!! I have one situation that I hope someone can help me with: I am gettig two "TOOLBOX" and two "SEARCH" boxes on my page now. One set is expanded and the other is not. Any ideas??

http://www.androidmodding.com/wiki/Main_Page
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:58 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04405 seconds
  • Memory Usage 2,319KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete