vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - vBulletin Style Skin for MediaWiki (https://vborg.vbsupport.ru/showthread.php?t=193244)

Jaxel 10-09-2008 10:00 PM

vBulletin Style Skin for MediaWiki
 
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.

lindab2 10-10-2008 06:52 AM

Wrong forum I guess...

M-Tuning 10-10-2008 07:56 AM

Nice!

emath 10-10-2008 08:35 AM

thanks alottttt!!!

though i getting these errors :

maagar = mediawiki location......

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

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/WebResponse.php on line 11

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/WebResponse.php on line 11

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/WebResponse.php on line 11

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/WebResponse.php on line 11

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/WebResponse.php on line 11

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/WebResponse.php on line 11

hollosch 10-10-2008 10:06 AM

hi - super idea !!!
is this skin compatible with vbwikiPro ? can i use this?

emath 10-10-2008 10:12 AM

and in addition i dont have any css files under FORUMDIRECTORY/clientcript/vbulletin_css/

and ive just changed "Store CSS Stylesheets as Files?" to yes..

hollosch 10-10-2008 10:45 AM

Quote:

Originally Posted by hollosch (Post 1641809)
hi - super idea !!!
is this skin compatible with vbwikiPro ? can i use this?

It works, but i have problems to customize the wiki-skin with header, fisheyemenu and navbar, like in the forums. How can i solve this? Can you help me?

the forumlink: http://www.wollmilchsau.org/forum/index.php
the wikilink with not perfect skin: http://www.wollmilchsau.org/jugendwi...tle=Hauptseite

Jaxel 10-10-2008 03:04 PM

@imiviortal ... no idea how a skin would cause any of THOSE problems... as for the store CSS stylesheets as files problem, you need to make sure that the vbulletin_css directory is writeable so that vB can write those files in. If its not writeable, then you will never get the files.

@hollosch ... this skin should be compatible with any MediaWiki, no matter what bridge you are using. Though, if you are using vBWikiPro/NuHitWiki, doesn't it automatically do this stuff for you? I thought that was the advantage of getting the Pro version, full integration with vB... as for customizing it to your forums, you may need to manually edit other players around vBulletin.php to get it to look like your forums. You may also need to add script callups in the section above in <head>.

hollosch 10-10-2008 03:44 PM

Quote:

Originally Posted by Jaxel (Post 1641989)
@hollosch ... this skin should be compatible with any MediaWiki, no matter what bridge you are using. Though, if you are using vBWikiPro/NuHitWiki, doesn't it automatically do this stuff for you? I thought that was the advantage of getting the Pro version, full integration with vB... as for customizing it to your forums, you may need to manually edit other players around vBulletin.php to get it to look like your forums. You may also need to add script callups in the section above in <head>.

the vBwikiPro-Stuff is dead - nuhit.com is dead. but the script is alive - and i have no plan to create the header like in the forums....:( and i don't know to add callups...
thats why i need help...

Milad 10-10-2008 04:38 PM

That's nice.

I would suggest that you make the boxes collapsible.

Regards


All times are GMT. The time now is 04:04 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05114 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete