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
  #32  
Old 10-20-2008, 01:48 AM
leonnix leonnix is offline
 
Join Date: Sep 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks Hollosch, that helped !
Reply With Quote
  #33  
Old 10-22-2008, 02:56 PM
leonnix leonnix is offline
 
Join Date: Sep 2008
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I edit the copyright for my wiki but it doesn't appear ! what should I do ?
Reply With Quote
  #34  
Old 12-10-2008, 09:10 PM
Dexter_kcd Dexter_kcd is offline
 
Join Date: May 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am trying this out, and also had the problem of having two search and tool boxes, which I have edited out. The other problem I am noticing is that the buttons to collapse the boxes on the left sidebar are not working. Are these simply for show?
Reply With Quote
  #35  
Old 12-13-2008, 05:54 AM
geda geda is offline
 
Join Date: Jan 2008
Location: San Jose
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed it , everything is fine but its not showing my LOGO. what might be wrong? Its not showing non of the image files.

Any suggestions?
Reply With Quote
  #36  
Old 12-18-2008, 09:23 PM
Dexter_kcd Dexter_kcd is offline
 
Join Date: May 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leonnix View Post
I edit the copyright for my wiki but it doesn't appear ! what should I do ?
If you did not get that sorted out yet, the copyright tag is not added to the footer text in the skin. You need to open Vbulletin.php. Find:


Code:
<?php	$footerlinks = array(
	'lastmod', 'viewcount', 'numberofwatchingusers',
	);

Change to

Code:
<?php	$footerlinks = array(
	'copyright', 'lastmod', 'viewcount', 'numberofwatchingusers',
	);
This adds the copyright notice as the first line of the footer. You can the placement of it by moving it elsewhere in that array.

Dexter...
Reply With Quote
  #37  
Old 12-18-2008, 10:42 PM
Dexter_kcd Dexter_kcd is offline
 
Join Date: May 2005
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What I would really love to see on this skin is at the top, in the navbar area, instead of having the info on when the page was last modified and the number of views, is to have the Vb login form there if someone is not logged in, and the Private Message notification stuff if they are logged in. I gave it a try using the require call to global.php, but I could not seem to just copy and paste that stuff from the navbar template over to this skin file.

Any ideas?

Dexter...
Reply With Quote
  #38  
Old 12-22-2008, 07:42 PM
Rev O Rev O is offline
 
Join Date: Dec 2007
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leonnix View Post
Ok Carrlos I find out the problems ! All you have to do is to fix your mediawiki:sidebar page. Go and look for these line *Tool and *Search then delete them !
Hello,

Which file exactly do you have to edit?

Thanks

Quote:
Originally Posted by Dexter_kcd View Post
The other problem I am noticing is that the buttons to collapse the boxes on the left sidebar are not working. Are these simply for show?
Ditto.

Does anyone have a fix for this?
Reply With Quote
  #39  
Old 12-25-2008, 05:16 AM
kapoor22 kapoor22 is offline
 
Join Date: Jan 2008
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the great hack.

Any chance this hack would work with vb version 3.6.8.

Thanks!
Reply With Quote
  #40  
Old 12-25-2008, 12:49 PM
Daniel Richter Daniel Richter is offline
 
Join Date: Oct 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem with this hack. Using 3.7.4 and it makes me this error:

Quote:
Fatal error: Call to undefined method SkinvBulletin::tooltipAndAccesskey() in /var/www/vhosts/tvwiki.de/httpdocs/skins/vBulletin.php on line 216
Does anyone know why it is an error? I only did these changes, which are named in this thread!
Reply With Quote
  #41  
Old 01-17-2009, 02:58 PM
dutchbb dutchbb is offline
 
Join Date: Nov 2003
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to only add header and footer (static) from the vb forum? Leaving the wiki code as it is?
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 06:43 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.07928 seconds
  • Memory Usage 2,307KB
  • 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
  • (2)bbcode_code
  • (4)bbcode_quote
  • (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
  • (4)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