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

Reply
 
Thread Tools
vBExperience Details »»
vBExperience
Version: 3.8.4.2, by Phalynx Phalynx is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: Add-On Releases - Version: 3.7.x Rating:
Released: 02-19-2008 Last Update: 09-17-2009 Installs: 1345
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

vBExperience 3.8 (aka xPerience)

Created by Marius Czyz aka Phalynx.

Winner of the "Mod of the Month"-Award (March 2008) on vBulletin.org.


Description
vBExperience is your feature packaged solution for motivation and satisfying your users. vBExperience is an advanced Level/Promotion and Activity System with Shop, Awards and Activities. It will calculate an activity and experience score for every user based on their activites on the forum. Now your users will see how their level is increasing by participating on your forum.

This mod was developed by me because I was never satisfied with the post count. Communities are not only defined by post count, they need much more parameters: Are the postings the user creates helpful? Are his threads frequently read? Does the user participate on the community by posting pictures, attachments, leaving visitor messages, tagging threads? All this can be answered with this mod.

Comments, suggestions, translations, bugs, etc... are very welcome! Support is only given to people who have clicked Mark as Installed.


Compatibility
This mod will work with vBulletin 3.7.x and 3.8.x. For vBulletin 3.6 you will need vBExperience 3.7



Demo:
http://www.insideearth.net/xperience.php?langid=5

Demo Profile:
http://www.insideearth.net/member.php?u=1&langid=5

Demo Rankings:
http://www.insideearth.net/xperience.php?langid=5

Demo Awards:
http://www.insidesupcom.de/xperience...wards&langid=1

Demo Promotions:
http://www.insidesupcom.de/xperience...=shop&langid=1

Demo Shop:
http://www.insideearth.net/xperience...=shop&langid=5

Demo Stats:
http://www.insideearth.net/xperience...stats&langid=5

Demo Earn Points:
http://www.insideearth.net/xperience...=earn&langid=5

Other Demo Site:
http://www.insidesupcom.de/xperience.php?langid=1


There are mainly four things visible for the users: The users score, his level, his next level up in %/points and his activity in %.


Calculation of the score
Taken into calculation are these things:
Threads
- Created threads
- Thread views of own threads
- Thread replies of own threads
- Thread votes of own threads
- Thread tags
- Replies to own threads
- Sticky threads
- Socialgroup Discussions (Discussions, Posts)

Posts
- Created posts
- Views on attachments

User
- Days since registration
- Average posts per Day (for users who are on forum for at least seven days)
- Referrals
- Received infractions
- Reputation / Use of reputation system
- Visitor messages on profiles
- Members of own social groups
- Albumpictures
- Friends
- Completing Profile

Misc
- Calendar entries


Additionally there is support for 3rd party addons (some are already installed):
- vB Tournaments and Ladders (via CDP Addon)
- Post Ranking System (via CDP Addon)
- Helpful Answers (via CDP Addon)
- AWCoding-Donation System LITE and PRO (via CDP Addon)
- Cyb Paypal Donate (included)
- DownloadsII (included)
- ibProArcade Highscorer Points (via CDP Addon)
- LDM Links and Downloads Manager (included)
- PhotoPlog 2.1 (via CDP Addon)
- PhotoPost vBGallery (via CDP Addon)
- PhotoPost Pro (via CDP Addon)
- Post Thank You / Use of Post Thank You (via CDP Addon)
- QuoteIt! 3.16 (via CDP Addon)
- SAPR: Advanced Post Rating system (via CDP Addon)
- thanks via vS-Hide Hack Resurrection (Expanded Edition) (included)
- v3arcade Highscorer Points (via CDP Addon)
- v3arcade Submissions Points (via CDP Addon)
- vBulletin Blog (included)
- Who Downloaded This Attachment? (included)
- Other Addons can be easily added via CDP - Custom Data Provider plugins.

Additionally you can install these modifications:
- Thread Necromancer: Gives (minus-) points when a user is posting in old threads.
- Scrupulous Poster: Gives points for editing posts. Award users that are editing own posts instead of doing double post.
- Deletion Addicted: Gives points when an user/nod soft-deletes post, thread, visitormessage, groupmessage or picturecomment.
- Arm of Law: Give points for moderators who are using the infraction system
- Discussion Ender: Give points for people who are the last on a discussion
- RadioActivity: Reduce points for every day the user is not online

Also, there are already addons available that are working as Custom Data Provider (CDP). A CDP can extend vBExperience by collecting data and adding it to the vBExperience datastore. All point providers can be used for Awards and Shop.

You have to install these hacks for your own, vBExperience doesn't install nor touches these.


vBAdvanced
There are three vBAdvanced 3.0 XML modules: Most Active Users, Most Experienced Users and Last 20 Activities. Import them via vBAdvanced AdminCP.


Awards
There are six default awards: Most Popular, Activity Award, Posting Award, Community Award, Frequent Poster, Blog Award, Calendar Award. The awards are shown in Rankings and Profile. You can set them also to display in postbit near the username. There is a scheduled job running once a day (02:30h) to calculate them.
Via AdminCP they are completely customizeable and can also be assigned manually.
Awards can be created for every data provider.


Rankings
Showing User, Level, Awards, Activity Points (experience, thread, post, user, misc) - sortable.
Since 3.8.3, there is a also a ranking for Social Groups

Shop
A virtual Shop will motivate your users to earn more points. You can define categories and put virtual items with pictures in it. A currency can be defined seperatly for every item, e.g. 20 points from threads or 100 points from gallery. Users can purchase the items, they appear in their profile. The costs of the item are substracted from their xperience points. Additionally you can set quantity of the items.
The Shop will motivate your users to collect specific points to buy an item. Optionally you can show the last purchased items on postbit.
You can put virtual items in it, like WoW addons: Sell WoW Items in exchange of f.e. thread points. Great for RPG forums.
Non-Virtual Items like bold Usernames or Downloads for Points are already on my todo list.

Earn Points
There is an overview for the user on how points can be collected, with a list of users own points. All data is beeing pulled from the database (settings, phrases)

Statistics
The statistics is showing a Top-X list of the leading users. Usefull for optimizing points of the point provider. Only enabled point providers with results will be displayed.


Promotion system
To motivate users to do more on your forum I created the promotion system. By reaching defined xperience points the user will be moved to another usergroup - where you can set graphics, shadows, highlighting, etc... What is interesting in combination with this: you can give the user more possibilities f.e. larger avatars or bigger PM box. A log of the promotions is available.


Calculation of the activity
The system calculates the activity by taking the average post count/visitormessages/group discussion/Blog entries of the ten most active user and comparing it to own post count. This can be set to count only the last X days, f.e. 21 days.


Settings
You can control how many points are given to every calculation. For example you can give many points for creating new threads but only a few for views of that thread. Setting a value to 0 will disable a setting.
Additionally, you can set ignore users (f.e. for bot users), forums (f.e. offtopic forums) and usergroup id's.


Performance, Big Boards
vBExperience has been tested on smaller and also on some bigger sites. I know from boards with around 120k users running this mod smoothly. More about this topic can be read in the file readme_optimization.txt


Frequently asked questions
Q: How do I change the name Experience to something new?
A: You can change the name via phrases. Just search and replace all phrases that contains vBExperience.

Q: When installing vBExperience, does everyone start from scratch, or will it automatically configure everyone's points based on actions before the install?
A: If you recount, vBExperience will calculate ALL existing data since the beginning of the board.

Known Issues:
- Awards: On "Currently Active Users Viewing This Thread" awards are only shown for the user who is viewing this.
- Awards: If activated in with rich username, they are attached to the username. If the username is linked, the awards are also linked. If a link is underlined, the awards are also underlined. This behaviour is hardcoded in vBulletin and cannot be fixed.
- Settings are showing only a blank page, read here: http://www.vbulletin.com/forum/proje...6979#note74140
- If you completely remove vBExperience, you need also to uninstall the product XML manually from the pluginssystem

Credits for icons
- FAMFAMFAM, http://www.famfamfam.com/lab/icons/silk/
- IconExperience


History
3.8.5 Beta 3, 18th September 2009
- Fixed Promotions
- Fixed Notifications
- Added Activities to Promotions
- All Activities are not obeying limit
- AdminCP/Experience has a recount for Promotions and Achievements
- Fixed listing of Achievements with Firefox
- Several Beta 2 fixes

3.8.5 Beta 2, 02nd September 2009
- Just a short note: Condition in Achievements and Promotions are calculated in POINTS, not in counts of items.
If you choose 10 Day, you must enter the points needed for this.
For example: You have an achievement for 10 days. You have set 2 points for every day since registering. Calculation: 10*2 = 20
You will have to set 20 as the condition.
- New tabbed interface. If you want to change the style, edit the template xperience_navbar_css
- Promotions now showing usergroups and conditions for a promotion to the next group
- You can import old vBExperience Legacy promotions (that were created within level.xml)
- Achievements in Profile
- Achievements below Avatar
- Several Beta 1 fixes

3.8.5 Beta 1, 28th August 2009
- Achievements!
- Promotions!
- Notification on Awards, Promotions and Achievements
- GAP: Empty pointfields will not be displayed anymore
- Activity: Showing percent values with a decimal
- Activities now also for users
- Awards below Avatar
- Default Awards are now also creating new category
- Shop: Fixed issue in not returning cash on sells
- Reworked Edit Shop Items


Todo for Beta 3:
- Download files with vBExperience as a credit system ("LDM Links and Downloads Manager", "DownloadsII")
- Activity eraser
- AdminCP Permissions
- Advanced User Permissions


For more see history.txt

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1132  
Old 06-23-2008, 03:00 AM
tafreeh tafreeh is offline
 
Join Date: May 2008
Location: Canada
Posts: 536
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay i need help...

In profile it says VB EXPERIECE
i need to change this to somthing else....
how would i do that
Reply With Quote
  #1133  
Old 06-23-2008, 07:10 AM
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Found a bug in the code for counting the points for the pictures (albums).

The problem is in class_xperience.php


Your code that has the problem:
PHP Code:
        //Albumpictures
        
$albumfield="visible";
        if (
$this->field_exists('album''picturecount')) $albumfield="picturecount";

        if (
$DoDebug==1) echo "<br/>Albumpictures";
        if (
$vbulletin->options['xperience_points_pc'] > 0
        {    
            
$vmessagesq =$vbulletin->db->query_read("SELECT 
            
$albumfield
            FROM " 
TABLE_PREFIX "album
            WHERE userid="
.$user['userid']);
    
            if (
$vbulletin->db->num_rows($vmessagesq) > 0)
            {
                
$vmessages $vbulletin->db->fetch_array($vmessagesq);
                
$xperience['count_user_albumpictures'] = $vmessages['visible']*$vbulletin->options['xperience_points_pc'];
            } 
        } 

My corrected version:
PHP Code:
        //Albumpictures - Corrected code by Ideal Web Tech
        
$xperience['count_user_albumpictures'] = 0;
        
$albumfield="visible";
        if (
$this->field_exists('album''picturecount')) $albumfield="picturecount";

        if (
$DoDebug==1) echo "<br/>Albumpictures";
        if (
$vbulletin->options['xperience_points_pc'] > 0
        {    
            
$vmessagesq =$vbulletin->db->query_read("SELECT 
            
$albumfield
            FROM " 
TABLE_PREFIX "album
            WHERE userid="
.$user['userid']);
    
            while (
$vmessages $vbulletin->db->fetch_array($vmessagesq))
            {
                
$xperience['count_user_albumpictures'] += $vmessages['visible']*$vbulletin->options['xperience_points_pc'];
            } 
        } 
Your original code has a problem where it only tracks the last album of the users that was processed. This updated code will correctly process all albums a user has.

I am also looking into making this more efficient as well as making the stats update in real time to avoid the load that comes from updating and to avoid the delay from updating it.
Reply With Quote
  #1134  
Old 06-23-2008, 08:54 AM
Lord_of_Darknes Lord_of_Darknes is offline
 
Join Date: Feb 2008
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jwoody View Post
Have you followed the instructions and installed it (not just uploaded it...)
Yes I have.
I upload it it to my host, and into vbulletin, but nothing happen.
I'm totally nnew at thise I had a hard time installing vbulletin so some company did it for me.
Is there a way some one could help me?

Cheers.
Reply With Quote
  #1135  
Old 06-23-2008, 09:14 AM
hiepsi@ hiepsi@ is offline
 
Join Date: Mar 2005
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

refresh all page, press F5 to reload, it fix in left menu of admincp
Reply With Quote
  #1136  
Old 06-23-2008, 12:04 PM
Captain Tycoon Captain Tycoon is offline
 
Join Date: Jan 2008
Posts: 121
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a problem trying to customize this. How would I be able to put the statistics from the "vBExperience" block in the profile page to the "Profile" block as shown in the screenshot:

From Here


To Here


When i copy the code from the "xperience_memberinfo" template to "memberinfo_block_mainprofile" it says "No Data Available"
Reply With Quote
  #1137  
Old 06-23-2008, 01:08 PM
Calash's Avatar
Calash Calash is offline
 
Join Date: Jun 2006
Location: East Coast, USA
Posts: 297
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod. Going to play with the Custom Data soon, but I am having an issue with CMPS. The Online users block shows broken images where the awards should be. I see this from time to time, and all I need to do to fix it is add a / in the code, however I cannot find the template that deals with this part.

Is this added in the template or is it coded in the file?

Thanks
Reply With Quote
  #1138  
Old 06-23-2008, 06:08 PM
pooslokka pooslokka is offline
 
Join Date: Jun 2008
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is User Rankings Module is part of vbExperience ?
Coz, Not sure wheather it was exist before we install this vbExperience
Reply With Quote
  #1139  
Old 06-23-2008, 09:24 PM
callumbush callumbush is offline
 
Join Date: May 2008
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed a new style and it has broken vbexperienced (and postthankyou hack).
In the position below the username where the vbexperienced stats normally show, the stats for my members are now showing as plain text.

Can anyone help?

username: test
password: test
Reply With Quote
  #1140  
Old 06-23-2008, 10:40 PM
Audentio's Avatar
Audentio Audentio is offline
 
Join Date: Mar 2007
Posts: 300
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its adding an extra </a> to each username on the forums...any idea for a fix?
Reply With Quote
  #1141  
Old 06-24-2008, 12:41 AM
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Audentio View Post
Its adding an extra </a> to each username on the forums...any idea for a fix?
I can confirm that the code for building the awards and attaching them to the musername leave the html structure invalid.

Here is a quick fix that I coded up that will fix the problem but it will also make the awards linked with the name for now. I chose to fix it in this method instead of just fixing the link building part of it because fixing it would leave us with a blank <a href="#"></a> tag or something similar.

Open plugin: vBExperience (username) in the fetch_musername hook

Replace its contents with
PHP Code:
//Corrected plugin to fix invalid html tag structure caused by the original plugin.  (Fixed by: Ideal Web Tech)
if ($vbulletin->options['xperience_use_awards']) 
{
            
    if (
$vbulletin->options['xperience_musername']==OR $vbulletin->options['xperience_musername']==2
    {
        require_once(
DIR '/includes/functions_xperience.php');
        
$awards GetAwards($user['xperience_awards']);
    }

    
//Added a check here so we don't do any processing when their is no awards for the user.
    
if ($awards!='')
    {    
        if (
$vbulletin->options['xperience_musername']==1
        {
        
            
$user['musername'].= $awards;
        }
        if (
$vbulletin->options['xperience_musername']==2
        {
            
$user['musername']=$awards.$user['musername'];
        }
    }

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 12:28 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.11762 seconds
  • Memory Usage 2,371KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete