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
  #1322  
Old 07-04-2008, 08:48 PM
bojomojo bojomojo is offline
 
Join Date: May 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

okay now, can i make the points viewable as digits? not a graph?
Reply With Quote
  #1323  
Old 07-05-2008, 12:09 AM
jalemo jalemo is offline
 
Join Date: Jun 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this hack, but the awards are not updated :S, I always give updates from the panel!!!
Reply With Quote
  #1324  
Old 07-05-2008, 07:10 AM
car20's Avatar
car20 car20 is offline
 
Join Date: Feb 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

***installed ***
very very nice Hack . i love it.
please explain to me that how do i can use shop like this
i set Should the Shop be enabled? to yes
and set Show items on postbit? to 5
and create one categories and post 1 therad with pictures in it. just this
thanks so much dear Phalynx
Reply With Quote
  #1325  
Old 07-05-2008, 09:00 AM
TonySkullz TonySkullz is offline
 
Join Date: Feb 2008
Location: Florida
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The shop is quite nice.
Any chance you'll add the kind of items that vbPlaza has to it in the future?
With all the methods of payment you have setup, having the privilege items would be just amazing. It'd sure drive overall community activity up. *nods*
Reply With Quote
  #1326  
Old 07-05-2008, 10:56 AM
Jawa Lunk Jawa Lunk is offline
 
Join Date: Apr 2008
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did anyone else begin having 500 server errors on their showgroups.php after this install like me?

Is this even related?

Sorry if this is a stupid question...
Reply With Quote
  #1327  
Old 07-05-2008, 06:27 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jlew24asu View Post
k thanks! done. may I ask what all the levels mean?
Please read the readme_levels.txt

Quote:
Originally Posted by djilou View Post
Just upgraded to vbexperience 3.7.15, but after Recount I think there is a problem with Albumpictures statistics, I have a member with 50 Albumpictures, but he had 5 points for Albumpictures instead of 250 points (50 x 5)??
Cannot confirm that.

Quote:
Originally Posted by marc2005 View Post
What's the use of "Timeframe for Activity", ist it like "Active Members Time Cut-Off" in the vBulletin setting??
Yes.

Quote:
Originally Posted by marc2005 View Post
And must i upload the level xml file? I found it also works without upload that.
You will have to import that, it's not in the upload folder...
Reply With Quote
  #1328  
Old 07-05-2008, 06:30 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bojomojo View Post
okay now, can i make the points viewable as digits? not a graph?
Quote:
Originally Posted by jalemo View Post
I installed this hack, but the awards are not updated :S, I always give updates from the panel!!!
To get support, you will need to click "Mark as Installed".

Quote:
Originally Posted by car20 View Post
please explain to me that how do i can use shop like this
i set Should the Shop be enabled? to yes
and set Show items on postbit? to 5
and create one categories and post 1 therad with pictures in it.
Check AdminCP, vBExperience, Manage Shop. Create Categories and items.

Quote:
Originally Posted by TonySkullz View Post
The shop is quite nice.
Any chance you'll add the kind of items that vbPlaza has to it in the future?
With all the methods of payment you have setup, having the privilege items would be just amazing. It'd sure drive overall community activity up. *nods*
Maybe in future releases.

Quote:
Originally Posted by Jawa Lunk View Post
Did anyone else begin having 500 server errors on their showgroups.php after this install like me?

Is this even related?

Sorry if this is a stupid question...
Uhm, I don't think it comes from vBExperience as it does not change anything related to this.
Reply With Quote
  #1329  
Old 07-05-2008, 09:24 PM
robgeo973 robgeo973 is offline
 
Join Date: Apr 2008
Location: NJ
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrading now...
Reply With Quote
  #1330  
Old 07-05-2008, 11:20 PM
Dr. Bantham's Avatar
Dr. Bantham Dr. Bantham is offline
 
Join Date: Feb 2007
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am attempting to get vBExperience to integrate with QuoteIt! and count quote submissions, but I am having problems revising the same Custom Data Provider script.

This is my first attempt:
PHP Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<product productid="xpquotes" active="1">
    <title>vBExperience QuoteIt! Integration</title>
    <description>vBExperience QuoteIt! Submission Tracking</description>
    <version>1.0.0</version>
    <dependencies>
        <dependency dependencytype="product" parentproductid="vbexperience3" minversion="3.7.14" maxversion="" />
    </dependencies>
    <codes>
            <code version="1.0.0">
                <installcode><![CDATA[            
if (!field_exists('xperience_stats', 'points_misc_quotes')) $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "xperience_stats ADD points_misc_quotes BIGINT DEFAULT '0'");

function field_exists($table, $field)
{
    global $vbulletin;
    return ($vbulletin->db->num_rows($vbulletin->db->query_read("SHOW COLUMNS FROM `" . TABLE_PREFIX .$table."` LIKE '".$field."'"))> 0);
}
                ]]></installcode>
                <uninstallcode><![CDATA[
                ]]></uninstallcode> 
            </code>
    </codes>
    <templates>
    <template name="xpquotes_profile" templatetype="template" date="1205333644" username="Phalynx" version="1.0.0"><![CDATA[
        <if condition="$xperience_points_misc_quotes<>0"><li><span class="shade">$vbphrase[xperience_points_misc_quotes]:</span> $xperience_points_misc_quotes</li></if>
]]></template>    
    </templates>
    <plugins>
        <plugin active="1" executionorder="5">
            <title>vBExperience QuoteIt! Integration</title>
            <hookname>xperience_calcdata</hookname>
            <phpcode><![CDATA[
if ($vbulletin->options['xperience_points_quotes'] > 0)
{
    if ($DoDebug==1) echo "<br/>Custom Data Provider - Quotes";
    
    $attq = $vbulletin->db->query_read("SELECT 
        SUM(counter) as sum_quotes
        FROM " . TABLE_PREFIX . "quotes
        WHERE userid=".$user['userid']);
        
    if ($vbulletin->db->num_rows($attq) > 0)
    {
        $att = $vbulletin->db->fetch_array($attq);
    
        $xperience['count_misc_quotes'] = $att['sum_quotes'] * $vbulletin->options['xperience_points_quotes'];
        $xperience['count_misc'] += $xperience['count_misc_quotes'];
        $additionalsql .= "points_misc_quotes=".$xperience['count_misc_quotes'].",";
    }
}
]]></phpcode>
        </plugin>
        <plugin active="1" executionorder="5">
            <title><![CDATA[vBExperience QuoteIt! Integration]]]></title>
            <hookname>xperience_memberprofile</hookname>
            <phpcode><![CDATA[
global $vbphrase;
$xperience_points_misc_quotes = vb_number_format($stat_q['points_misc_quotes']);
eval('$this->block_data[xperience_points_misc_tpl] .= " ' . fetch_template('xpquotes_profile') . '";');
            ]]></phpcode>
        </plugin>
        <plugin active="1" executionorder="5"> 
        <title>vBExperience (cache_templates)</title> 
        <hookname>cache_templates</hookname> 
        <phpcode><![CDATA[ 
if ($vbulletin->options['xperience_enabled']) { 
  $globaltemplates = array_merge($globaltemplates, array( 
      'xpquotes_profile' 
  )); 
}
]]></phpcode> 
        </plugin>
    </plugins>
    <phrases>
        <phrasetype name="GLOBAL" fieldname="global">
            <phrase name="xperience_points_misc_quotes" date="0" username="Phalynx" version="1.0.0"><![CDATA[Custom Data Provider]]></phrase>
        </phrasetype>
        <phrasetype name="vBulletin Settings" fieldname="vbsettings">
            <phrase name="setting_xperience_points_quotes_desc" date="1205333644" username="Phalynx" version="1.0.0"><![CDATA[How many points should be given for quotes?]]></phrase>
            <phrase name="setting_xperience_points_quotes_title" date="1205333644" username="Phalynx" version="1.0.0"><![CDATA[Points for Custom Data Provider Sample]]></phrase>
        </phrasetype>
    </phrases>
    <options>
        <settinggroup name="xperience_points" displayorder="7502">
            <setting varname="xperience_points_quotes" displayorder="300">
                <defaultvalue>2</defaultvalue>
            </setting>
        </settinggroup>
    </options>
</product>
The script seemed to import, but the following error resulted when Updating Points:
Code:
Database error in vBulletin 3.7.2:

Invalid SQL:
SELECT 
		SUM(counter) as sum_quotes
		FROM quotes
		WHERE userid=1;

MySQL Error   : Unknown column 'counter' in 'field list'
Error Number  : 1054
Script        : xxxxxxxxxxxxxx/admincp/misc.php?do=xperience_recount_xp
Referrer      : xxxxxxxxxxxxxxt/admincp/misc.php?do=chooser
The new field does not appear in any ACP options or templates either.

The way I see it, I have two options of referencing quote totals. The first is by totaling the counts by running through and counting totals for each "userid" within the "quotes" table. The second is by directly referencing the "quotecount" field within the "user" table, which I would think would be easier. I would appreciate anyone having a quick look at the code and offering suggestions.
Reply With Quote
  #1331  
Old 07-06-2008, 01:41 AM
H_A_R_R_Y H_A_R_R_Y is offline
 
Join Date: Nov 2007
Location: Egypta
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

pleas add lang arabic to zip file
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 03:54 AM.


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.05579 seconds
  • Memory Usage 2,368KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_php
  • (9)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