Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbExperience 4.0 - Vaultwiki and other Customized plugins! Details »»
vbExperience 4.0 - Vaultwiki and other Customized plugins!
Version: 1.00, by waylandprod waylandprod is offline
Developer Last Online: Oct 2022 Show Printable Version Email this Page

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

Download Now

File Type: xml vbx_VaultWiki.xml (3.8 KB, 24 views)
File Type: xml VBX_BlankPlugin.xml (4.4 KB, 22 views)
File Type: xml vbx_likes_fix_kc.xml (3.8 KB, 29 views)
File Type: xml vbx_thanks_fix_kc.xml (4.0 KB, 23 views)

Screenshots

File Type: jpg wikiconfig.jpg (93.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
CrossWind, nacaruncr, sweetpotato

Comments
  #2  
Old 02-13-2013, 07:50 PM
waylandprod's Avatar
waylandprod waylandprod is offline
 
Join Date: Jan 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved for any notes.
Reply With Quote
  #3  
Old 02-14-2013, 07:01 AM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have Vaultwiki or Arcade. I have DragonbyteTech likes. What exactly I have to do to make DBTech Like work in file 2 when you say
Quote:
do a search and replace function with each variable and all the setting will be correct below
Reply With Quote
  #4  
Old 02-14-2013, 10:29 AM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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,
Reply With Quote
  #5  
Old 02-14-2013, 04:56 PM
waylandprod's Avatar
waylandprod waylandprod is offline
 
Join Date: Jan 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweetpotato View Post
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" -->
Reply With Quote
  #6  
Old 02-14-2013, 05:00 PM
waylandprod's Avatar
waylandprod waylandprod is offline
 
Join Date: Jan 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sweetpotato View Post
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-
Reply With Quote
  #7  
Old 02-14-2013, 05:52 PM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by waylandprod View Post
File uploaded! "Thanks" fix uploaded.

Wow 1 star for such a simple little add-on. Oh well-
Voted for what I love
Reply With Quote
  #8  
Old 02-21-2013, 12:46 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is the original plugin you modified? Is it marked as allowing people to modify & re-release it?
Reply With Quote
  #9  
Old 02-21-2013, 01:16 PM
sweetpotato sweetpotato is offline
 
Join Date: Oct 2010
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In vbExperience there are many plugins such as DragonByte Tech like and thanks but I think here he write new ones.
Reply With Quote
  #10  
Old 02-21-2013, 04:42 PM
waylandprod's Avatar
waylandprod waylandprod is offline
 
Join Date: Jan 2011
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
Where is the original plugin you modified? Is it marked as allowing people to modify & re-release it?
Here you go:

https://vborg.vbsupport.ru/showthrea...t=vbexperience

Marked as Re-usable code, so I would assume so.

EDIT: Just in case I'm gonna contact the original maker of vbExperience 4.0 and make sure he's ok with it as well since this adds on to his plugin.
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 05:11 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.04642 seconds
  • Memory Usage 2,329KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (5)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete