vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - vBExperience (https://vborg.vbsupport.ru/showthread.php?t=171014)

Phalynx 02-19-2008 10:00 PM

vBExperience
 
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

shadowevil 02-20-2008 01:24 PM

great work .... *installed*

lolo? 02-20-2008 01:25 PM

thx for this mod
how many querie add?

AKapadia 02-20-2008 01:27 PM

looks good.. waiting for vb to release gold version then will install it .. thank you

abroad 02-20-2008 01:33 PM

I got this error message when I click on a user:

Invalid SQL:
SELECT * FROM vb_xperience_stats WHERE userid=1 LIMIT 0,1;

MySQL Error : Table 'usr_web99_8.vb_xperience_stats' doesn't exist

What do I have to do???? :confused::confused::confused:

no mods 02-20-2008 01:33 PM

Would this work on 3.6.8?

shadowevil 02-20-2008 01:35 PM

Quote:

Originally Posted by no mods (Post 1447325)
Would this work on 3.6.8?

It will only work with vB3.7 or higher. :)

malluroses 02-20-2008 01:37 PM

Hai Check This message, It dose not Work With version 3.6.7 So please Make one which work with that version

The following dependencies were not met:
This product is not compatible with version 3.6.7 of vBulletin. (Compatible starting with 3.7.0 Beta / Incompatible with 3.7.99 and greater)

Phalynx 02-20-2008 01:37 PM

Quote:

Originally Posted by no mods (Post 1447325)
Would this work on 3.6.8?

No, it's only for 3.7 and higher

Quote:

Originally Posted by abroad (Post 1447323)
I got this error message when I click on a user:

Did you run the step 4 after importing the products?

Quote:

Originally Posted by lolo? (Post 1447316)
thx for this mod
how many querie add?

See "Impact on performance" in my description

Phalynx 02-20-2008 01:39 PM

Quote:

Originally Posted by malluroses (Post 1447329)
It dose not Work With version 3.6.7 So please Make one which work with that version

Maybe in few days, currently I'm finally happy that it's working with 3.7

Depends also on the feedback here...

abroad 02-20-2008 01:39 PM

Quote:

Originally Posted by Phalynx (Post 1447330)
No, it's only for 3.7 and higher


Did you run the step 4 after importing the products?


See "Impact on performance" in my description

yes but what do I have to do now????

abroad 02-20-2008 01:47 PM

Uninstalled and installed again. Same error:

Invalid SQL:
SELECT * FROM vb_xperience_stats WHERE userid=1 LIMIT 0,1;

MySQL Error : Table 'usr_web99_8.vb_xperience_stats' doesn't exist
Error Number : 1146

Yes, Prefix is vB_

Phalynx 02-20-2008 01:47 PM

Quote:

Originally Posted by abroad (Post 1447333)
yes but what do I have to do now????

I changed the installation code a bit, please re-download the ZIP, uninstall and install the main product again.

abroad 02-20-2008 02:02 PM

Now I get this error during the installation of the second product (small):

Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:
DELETE FROM vb_xPerience_Level;

MySQL Error : Table 'usr_web99_8.vb_xPerience_Level' doesn't exist
Error Number : 1146

Phalynx 02-20-2008 02:08 PM

Seems your *NIX (?) server is a little bit case sensitive regarding table names - I'm using Windows 2003 Server and there are no problems with that.

I fixed all XML, the XLS and updated the ZIP.

abroad 02-20-2008 02:11 PM

I think my hoster has an Apache Server. Did you fix everything after my last posting so I can try it again?

vgjhav 02-20-2008 02:23 PM

I really like the idea.

What would make this awesome. Is a way for member to redeem their points. Say via paypal.

It could automatically deduct the points and send an email to the super admin giving details of who needs to be paid and how much.

Can be extremely simple.

Let me know if it interests you or others. You can do it, or let me know and i can create something that will integrate it easy.

Phalynx 02-20-2008 02:28 PM

Quote:

Originally Posted by abroad (Post 1447358)
Did you fix everything after my last posting so I can try it again?

Yes, it should be fixed. Waiting for your confirmation that it's now running.

Quote:

Originally Posted by vgjhav (Post 1447367)
I really like the idea.

What would make this awesome. Is a way for member to redeem their points. Say via paypal.

It could automatically deduct the points and send an email to the super admin giving details of who needs to be paid and how much.

Nice idea. Also an integration to vBCredits and similar would be possible.

abroad 02-20-2008 02:34 PM

Now it should work...no error messages anymore...will test it a bit :) Thanks a lot

Bilderback 02-20-2008 02:56 PM

EDIT: new update fixed error below- thanks-installed

Error in SQL when updating Cron
Code:

Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:
SELECT
        u.username,
        u.userid,
        u.joindate,
        u.reputation,
        u.usergroupid,
        u.ipoints,
        u.posts
        FROM vb_user as u
        WHERE xperience_done=0 AND userid NOT IN();

MySQL Error  : You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 10
Error Number  : 1064
Script        : http://*******.***/forum/admincp/cronadmin.php?do=runcron&cronid=25
Classname    : vb_database
MySQL Version : 4.0.27-standard-log


abroad 02-20-2008 02:59 PM

When I run the cron job it works well

abroad 02-20-2008 03:12 PM

Sorry, I got also this error message but it updated the bars:

Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:
SELECT
u.username,
u.userid,
u.joindate,
u.reputation,
u.usergroupid,
u.ipoints, u.post_thanks_user_amount,
u.posts
FROM vb_user as u
WHERE xperience_done=0 AND userid NOT IN();

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 10

kiril_cvetkov 02-20-2008 03:29 PM

niceone

Phalynx 02-20-2008 03:30 PM

Go to settings and enter a 0 where ignore users is.

abroad 02-20-2008 04:09 PM

Have set it to 0 but still get thiss this error:

Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:
SELECT
COUNT(*) AS count_posts
FROM vb_post AS p
INNER JOIN thread as t ON p.threadid=t.threadid
WHERE p.visible=1.
AND p.userid=1;

MySQL Error : Table 'usr_web99_8.thread' doesn't exist
Error Number : 1146
Username : Unregistered
Classname : vb_database
MySQL Version :

Fury Diamond 02-20-2008 04:12 PM

Gotta wait till 3.7! This sounds like an awesome mod!

Sofia 02-20-2008 04:44 PM

Great mod. Works on 3.7.0 Beta 5.

Just a little problem (?) :

In user profile :

There is :

Experience
  • Points: 408
  • Level: 8
  • Level up: 16%
  • Activity: 0%
Points for user
  • Sum: 408
  • Infractions: 0
  • R?putation: 10
  • Per day: 124
I noticed that total Points in Experience fieldset and "Sum" from Points for user are both 408. I think Sum should be 134. No ?

M-Tuning 02-20-2008 04:54 PM

Nice! *Installed* :D

abroad 02-20-2008 06:09 PM

I get this error every 15 min:

Database error in vBulletin 3.7.0 Beta 5:

Invalid SQL:
SELECT
COUNT(*) AS count_posts
FROM vb_post AS p
INNER JOIN thread as t ON p.threadid=t.threadid
WHERE p.visible=1.
AND p.userid=1;

MySQL Error : Table 'usr_web49_1.thread' doesn't exist
Error Number : 1146
Username : Unregistered
Classname : vb_database
MySQL Version :

PixelFx 02-20-2008 06:28 PM

cool idea, nice :D I'll have to try it out :D

waza 02-20-2008 06:51 PM

would be nice if you could make an easy system to add fields to the point system

Sofia 02-20-2008 07:27 PM

How I can add total Points and Level in postbit ?

Phalynx 02-20-2008 07:50 PM

Quote:

Originally Posted by waza (Post 1447562)
would be nice if you could make an easy system to add fields to the point system

You mean additional counts f.e. comments to blogs? That's already on my todo-list.

Quote:

Originally Posted by Sofia (Post 1447591)
How I can add total Points and Level in postbit ?

Please specify more... You have already the box seen on the first screenshot of the mod? If not, it's likely you don't converted your postbit template to 3.7


Quote:

Originally Posted by abroad (Post 1447537)
I get this error every 15 min:

Will be fixed in next version.

Quote:

Originally Posted by Sofia (Post 1447476)
I noticed that total Points in Experience fieldset and "Sum" from Points for user are both 408. I think Sum should be 134. No ?

That's right, must be fixed - next version.

@All
Thanks for feedback so far.

smokejax 02-20-2008 07:51 PM

very cool!

I have one question/suggestion.
Would you make those images matted for dark backgrounds?

Awesome MOD otherwise!
/installed

Meghwar 02-20-2008 07:58 PM

Hi

VB 3.7.X B5

I Install all went fine But the 2 issues attached not working !!!

Please help

Thank you

Regards

Abe

Phalynx 02-20-2008 08:01 PM

Quote:

Originally Posted by smokejax (Post 1447609)
Would you make those images matted for dark backgrounds?

I'm using a dark backround with this image set and it works perfectly. See a Demo here: http://www.insidesupcom.de/member.php?u=1


Quote:

Originally Posted by Meghwar (Post 1447613)
I Install all went fine But the 2 issues attached not working !!!

I think you have the same error as described above - it will be fixed in the next version.

Meghwar 02-20-2008 08:08 PM

Quote:

Originally Posted by Phalynx (Post 1447616)
I'm using a dark backround with this image set and it works perfectly. See a Demo here: http://www.insidesupcom.de/member.php?u=1



I think you have the same error as described above - it will be fixed in the next version.

I fix one of them :) but still the one that not showing the vbexp on the info on the left , it work on default Style ..... i think i have to edit that manualy!!!

this work when I ran a cron now rather then 3:00 AM :) it worked fine

One issue left


attached:

Phalynx 02-20-2008 08:24 PM

I've uploaded the update!

Updates
3.7.1, 20th Feb 2008: Fixed errors with missing prefix and case sensitivity in SQL queries, stats are now with correct user sum, handling correct user ignore

Download the file vbexperience371.zip, copy includes\class_xperience.php and includes\cron\xperience.php to the server, reimport the product and run recount.

Meghwar 02-20-2008 08:36 PM

Quote:

Originally Posted by Phalynx (Post 1447633)
I've uploaded the update!

Updates
3.7.1, 20th Feb 2008: Fixed errors with missing prefix and case sensitivity in SQL queries, stats are now with correct user sum, handling correct user ignore

Download the file vbexperience371.zip, copy includes\class_xperience.php and includes\cron\xperience.php to the server, reimport the product and run recount.


Thanx :) so, next step is to re-install all !!!! or Just Allow Overwrite !

how about the small/avarage/big are they Upgraded too!!!! or Just call the new Product and that will solve that issue :)

Phalynx 02-20-2008 08:43 PM

Just allow overwrite.

The level products were not touched, no need to reimport.


All times are GMT. The time now is 01:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03011 seconds
  • Memory Usage 1,879KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete