Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Mediawiki Edits in Postbit & Profile Details »
Mediawiki Edits in Postbit & Profile
Mod Version: 1.0.0, by ndahiya (Coder) ndahiya is offline
Developer Last Online: Apr 2021 I like it Show Printable Version Email this Page

vB Version: 4.0.1 Rating: (0 vote - 0 average) Installs: 11
Released: 23 Jan 2010 Last Update: 23 Jan 2010 Downloads: 55
Supported DB Changes Uses Plugins Template Edits Re-usable Code  

This hack enables better integration between MediaWiki and vBulletin.

This hack displays a user's total edits made in mediawiki in their posts and on their profile page (similar to vBulletin post count).

Release Info:
v1.0.0: Initial Release

Requirements:
* MediaWiki
* MediaWiki/vBulletin Single Sign-On integration hack. If there is a problem making it work with vb4, please also see Post 112 in that thread.

To install:
* Add the product using the attached product file.
* Perform the 2 simple template edits outlined below.

Template Edits:
1. postbit_legacy or postbit
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add Below:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

2. memberinfo_block_aboutme
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Insert Below (change the wiki path to your own: i use /home/):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

--
Thats it!


Notes:
1. This hack assumes that your mediawiki install uses a "mw_" table prefix in the same database as vbulletin. If this is not the case, do a search/replace in the product XML file before you install it.
2. If mediawiki is installed in a different database, then replace "mw_user" with "wikidatabase.mw_user" (make sure that the forums' database user has access to the other db).

---
This hack is broadly based off AngelBlue's hack hack for a previous release.

---

ndahiya

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 23 Jan 2010, 16:11
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Screenshots:
Attached Images
File Type: jpg wikiedits_in_postbit.jpg (35.5 KB, 524 views)
File Type: jpg wikiedits_in_profile.jpg (15.9 KB, 197 views)
Reply With Quote
  #3  
Old 23 Jan 2010, 19:27
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Nice work!

Bruno
(Tested on vB 4.0.1 + MW 1.14, 7 replaces 'mw_user' -> 'sqlwiki.user' in product-mediawiki-editcount.xml)

Last edited by BRotondi; 23 Jan 2010 at 19:48.
Reply With Quote
  #4  
Old 24 Jan 2010, 00:45
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Originally Posted by BRotondi View Post
Nice work!

Bruno
(Tested on vB 4.0.1 + MW 1.14, 7 replaces 'mw_user' -> 'sqlwiki.user' in product-mediawiki-editcount.xml)
glad you like it... remember to mark as installed!
Reply With Quote
  #5  
Old 24 Jan 2010, 06:20
BRotondi BRotondi is offline
 
Join Date: Sep 2008
I will as soon I use it on the server.
Reply With Quote
  #6  
Old 24 Jan 2010, 18:18
Beor Beor is offline
 
Join Date: Dec 2007
Thanks for the mod, we have wiki connected to vb4 on my forum.

Is possible to add post directly to the wiki on the future?

Cu
Reply With Quote
  #7  
Old 25 Jan 2010, 04:20
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Thanks,, installed an nice work,
Reply With Quote
  #8  
Old 07 Feb 2010, 19:47
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Thanks again for you work! Now installed on the server, with this modification, so it appears not for users with 0 Edits and this one, to also link to the Wiki Edits Page.

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Greetings, Bruno
Reply With Quote
  #9  
Old 05 Mar 2010, 23:11
benjaminlwells's Avatar
benjaminlwells benjaminlwells is offline
 
Join Date: Jan 2010
anyone know how this works along side vbMediaWiki?
Reply With Quote
  #10  
Old 06 Mar 2010, 08:52
BRotondi BRotondi is offline
 
Join Date: Sep 2008
I have vbMediaWiki installed, and now reinstalled this one. Works nice, but you don't have to edit memberinfo_block_aboutme, since this is done by vbMediaWiki.
Reply With Quote
  #11  
Old 06 Mar 2010, 15:48
BRotondi BRotondi is offline
 
Join Date: Sep 2008
Even better: I disabled this AddOn and the Modification on postbit_legacy still works! Perhaps this means: You don't even have to install this mod, simply change postbit_legacy as desired, vbMediaWiki does the rest:

In Template postbit_legacy (or postbit) search for

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and add

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Greetings, Bruno

[Does anyone know how to put this Templatemodification into a plugin instead? {vb:raw template_hook.postbit_userinfo_right_after_posts} seems to give us this possibility]

Last edited by BRotondi; 06 Mar 2010 at 16:35.
Reply With Quote
  #12  
Old 06 Mar 2010, 17:10
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Originally Posted by BRotondi View Post
Even better: I disabled this AddOn and the Modification on postbit_legacy still works! Perhaps this means: You don't even have to install this mod, simply change postbit_legacy as desired, vbMediaWiki does the rest:
i think vbmediawiki is using the same field as this. so you are correct. this is somewhat redundant now.
do not uninstall this, as that will delete the field and you will have to reinstall vbmediawiki
Reply With Quote
  #13  
Old 13 Oct 2010, 06:05
Greight's Avatar
Greight Greight is offline
 
Join Date: Oct 2009
Thanks. Installed along with vBMediaWiki (No need for the second edit).
Reply With Quote
  #14  
Old 24 Jan 2011, 13:01
augrunt augrunt is offline
 
Join Date: Mar 2006
Sorry to go off topic, but what is the best MediaWiki integration to use?

I would like a single-sign on, with Who's Online compatibility & is compatible (or can atleast handle) users with underscores and spaces.

I integrated MediaWiki/vBulletin Single Sign-On as this post asks and it works fine on vBulletin 4.1.1 (after I made changes to it's Whos Online script)-- However I feel as though this stuff isn't supported and people keep throwing names around! Who's leading this development?! lol

ndahiya, you are the expert: what do you recommend?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 15:32.

Layout Options | Width: Wide Color: