Version: 1.00, by waylandprod
Developer Last Online: Oct 2022
Category: Mini Mods -
Version: 4.2.0
Rating:
Released: 02-12-2013
Last Update: 02-13-2013
Installs: 9
Uses Plugins
Re-useable Code
No support by the author.
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
Just installed DragonByte Tech: Advanced Post Likes Fix. This seems to be for likes only. How abount thanks feature?
I installed this as a product without editing any more. Hope it works,
Just installed DragonByte Tech: Advanced Post Likes Fix. This seems to be for likes only. How abount thanks feature?
I installed this as a product without editing any more. Hope it works,
I'll add it, but here's the variables I used:
<!-- DELETE EVERY COMMENT LINE AFTER COMPLETED!
<!-- Variables to replace. Do a SEARCH, FIND AND REPLACE with the values you require
<!-- DB_thanks = Product ID -- EX: "ARCADE_IPB_XP"
<!-- Thanks Integration = Product Title -- EX: "Arcade XP"
<!-- Gives points for Thanks = Product Description -- EX: "Gives points for Arcade XP"
<!-- thanksxp = Short ID -- EX: "arcadexp"
<!-- thanks_received = Fieldname for source -- EX: "Arcadepoints_received"
<!-- dbtech_thanks_statistics = Tablename for Source -- EX: "User" or "dbtech_thanks_statistics" -->
Just installed DragonByte Tech: Advanced Post Likes Fix. This seems to be for likes only. How abount thanks feature?
I installed this as a product without editing any more. Hope it works,
File uploaded! "Thanks" fix uploaded.
Wow 1 star for such a simple little add-on. Oh well-