Back to vBulletin 4.x Add-ons

vbExperience 4.0 - Vaultwiki and other Customized plugins!
Mod Version: 1.00, by waylandprod

vB Version: 4.2.0 Rating: (2 votes - 5.00 average) Installs: 9
Released: 13 Feb 2013 Last Update: 14 Feb 2013 Downloads: 36
Not Supported Uses Plugins Re-usable Code  

So, I'm not the best programmer, but I did a lot of extra work on some plugins for our website that I wanted to share. Hopefully it's what you are looking for.

First, let me give props the Phalanx who made the original plugin. I just modded it for my needs.

File 1: Vaultwiki plugin - Counts how many edits you have made and allows you to make that a condition inside of the experience plugin.

File 2: A Blank XML plugin - YOU HAVE TO EDIT THIS FILE!

In the beginning there is commented code:
<!-- DELETE EVERY COMMENT LINE AFTER COMPLETED!
<!-- Variables to replace. Do a SEARCH, FIND AND REPLACE with the values you require
<!-- VARIABLE1 = Product ID -- EX: "ARCADE_IPB_XP"
<!-- VARIABLE2 = Product Title -- EX: "Arcade XP"
<!-- VARIABLE3 = Product Description -- EX: "Gives points for Arcade XP"
<!-- VARIABLE4 = Short ID -- EX: "arcadexp"
<!-- VARIABLE5 = Fieldname for source -- EX: "Arcadepoints_received"
<!-- VARIABLE6 = Tablename for Source -- EX: "User" or "dbtech_thanks_statistics" -->

All you have to do is do a search and replace function with each variable and all the setting will be correct below.

File 3: DragonByte Tech: Advanced Post Likes Fix - The LIKES system plugin that was included in vbExperience 4.0 doesn't seem to work any more, so I made my own. You can use this as another sample of how you can customize your own experience plugin.

ADDED: File 4: DragonByte Tech: Advanced Post Thanks Fix - Same as the Likes plugin above, but for the thanks function.

Other Customizations with the BLANKPLUGIN:

Code:
$user_VARIABLE4 = $vbulletin->db->query_first("
		SELECT VARIABLE5 
		FROM " . TABLE_PREFIX . "VARIABLE6
		WHERE userid = " . $user['userid'] . "
	");
This section can be edited however you see fit, using "COUNT" instead of "SELECT", and well, whatever query you see fit.

There it is! If you ask questions, I MAY be able to answer them. A lot of what I did was trial and error, but hopefully this may be handy to whomever is looking to make this old system still work. After all, it is free

Download

File Type: %1$s vbx_VaultWiki.xml (3.8 KB, 26 downloads)
File Type: %1$s VBX_BlankPlugin.xml (4.4 KB, 24 downloads)
File Type: %1$s vbx_likes_fix_kc.xml (3.8 KB, 31 downloads)
File Type: %1$s vbx_thanks_fix_kc.xml (4.0 KB, 25 downloads)

Screenshots

Click image for larger version
Name:	wikiconfig.jpg
Views:	168
Size:	93.3 KB
ID:	143748  

Similar Mods

Major Additions VaultWiki: A Wiki for your forum Modification Graveyard
Major Additions VaultWiki: A Wiki for your forum Modification Graveyard
Major Additions VaultWiki: A Wiki for your forum Modification Graveyard
Major Additions VaultWiki: A Wiki for your forum Modification Graveyard

vblts.ru supports vBulletin®, 2022-2024