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)

Morrus 10-13-2008 04:19 PM

Question: (trying to decide whether to downlaod this or vBCredits) - is there a "per forum" setting? For example, can I allow users to earn points by creating a thread in my review forums (which power GARS), or news forums (which power VBA CMS), but not elsewhere?

In addition, when defining levels and experience points, can I define level titles also?

Thijmen1992 10-13-2008 04:56 PM

I can't manage my settings in the AdminCP.
Like:
vBExperience

Settings: General
Settings: Bars
Settings: Points
Settings: Awards
Settings: Shop
Settings: Stats
Statistics: Level

When I click one, I only see:
vBulletin Options

vBulletin® v3.7.3 Patch Level 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.

Strange enough:
Statistics: Level
Delete Statistics
Recount
Manage Awards
Manage Shop
Manage Custom Points
Import another level product
Those are working correctly.
Anyone a solution?

biocyberman 10-14-2008 07:06 AM

Quote:

Originally Posted by Phalynx (Post 1644028)
I would suggest to change hooks/templates to post instead misc. See for example addon_scrupulous_poster.xml.

I fixed it and save as addon_for_3.7.17_postrate.xml

Quote:

Originally Posted by Phalynx (Post 1644028)
Thanks for sharing. You will need to add the new Earn Points functionality introduced with 3.7.18 - the CDP has been extended with this.
Also, change the dependancy to 3.7.18 and lift the version to 1.1.0 to show that your hack is supporting Earn Points.

Just for confirmatiion, that change would be for 3.7.18 release. File has been updated and saved as addon_for 3.7.18_postrate.xml
-----------
POSSIBLE PROBLEMS:
There is might be a small problem if somebody installed my previous release of this hack:
This code doesn't seem to work:

Code:

if (field_exists('xperience_stats', 'points_misc_postrate')) $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "xperience_stats CHANGE points_misc_postrate points_post_postrate BIGINT");
So one may need to execute MySQL command to change "points_misc_postrate" to "points_post_postrate" by oneself.

AND THIS MAY BE A BUG FOR vBExperience:

awardfields for Awards are stored in table: <TABLE_PREFIX>xperience_awards

For Awards that take points_misc_postrate into account, it will store this fieldname in this awardfields. After I change the field to points_misc_postrate, the awardfields is not updated. So SQL query error is triggered say field points_misc_postrate doesn't exist (of course). This is true for any addon that update/upgrade containing changing of field names.

jerx 10-14-2008 07:30 AM

Will this mod be updated for vb 3.8 beta (maybe RC) or will you wait until vb 3.8 becomes final? Or is it possible for non coders to adjust vbExperience? Eg the security token has been changed during one of the last vbulletin updates and it is pretty easy to solve this problem.

I am asking, because the new vbulletin version has social group improvements which are badly needed. I know that you have released a very fine mod called social forums, which is even better in terms of social group messages, but it probably won' t get updated to vb 3.8.

Thank you!

Phalynx 10-14-2008 07:49 AM

Quote:

Originally Posted by Morrus (Post 1644218)
Question: (trying to decide whether to downlaod this or vBCredits) - is there a "per forum" setting? For example, can I allow users to earn points by creating a thread in my review forums (which power GARS), or news forums (which power VBA CMS), but not elsewhere?

You can use the CDP Interface to collect data on your own, f.e. just for some forums.

Quote:

Originally Posted by Morrus (Post 1644218)
In addition, when defining levels and experience points, can I define level titles also?

Yes, in conjunction with usergroups.

Quote:

Originally Posted by Thijmen1992 (Post 1644250)
I can't manage my settings in the AdminCP.

Use the default way for settings (AdminCP/Settings)

Quote:

Originally Posted by biocyberman (Post 1644700)
I fixed it and save as addon_for_3.7.18_postrate.xml

Thanks. I changed xperience_earn_postrate to xperience_earn_post to create a valid hook. 3.7.18 will include this addon.


Quote:

Originally Posted by biocyberman (Post 1644700)
There is might be a small problem if somebody installed my previous release of this hack:
This code doesn't seem to work:

Code:

if (field_exists('xperience_stats', 'points_misc_postrate')) $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "xperience_stats CHANGE points_misc_postrate points_post_postrate BIGINT");

You will have to increase the version of the code
<code version="1.0.0"> -> <code version="1.0.1">, or just simply do a <code version="*"> to execute it on every install.

Quote:

Originally Posted by biocyberman (Post 1644700)
awardfields for Awards are stored in table: <TABLE_PREFIX>xperience_awards. For Awards that take points_misc_postrate into account, it will store this fieldname in this awardfields. After I change the field to points_misc_postrate, the awardfields is not updated. So SQL query error is triggered say field points_misc_postrate doesn't exist (of course). This is true for any addon that update/upgrade containing changing of field names.

It should be avoided to change the fieldname. But if you change it, you will have to change possibly created awards on your own. Just go to awards, select new field and save.


Quote:

Originally Posted by jerx (Post 1644706)
Will this mod be updated for vb 3.8 beta (maybe RC) or will you wait until vb 3.8 becomes final? Or is it possible for non coders to adjust vbExperience? Eg the security token has been changed during one of the last vbulletin updates and it is pretty easy to solve this problem.

Beta 3 will already be adapted to 3.8 Beta 1.

gorentals 10-14-2008 01:05 PM

Anyone know if you can just remove the Activity bar in the postbit?

Phalynx 10-14-2008 01:25 PM

Quote:

Originally Posted by gorentals (Post 1644865)
Anyone know if you can just remove the Activity bar in the postbit?

You will need to remove it from the template "xperience_gfx".

gorentals 10-14-2008 03:11 PM

Thank you Phalynx

Thijmen1992 10-14-2008 06:18 PM

Quote:

Originally Posted by Phalynx (Post 1644719)


Use the default way for settings (AdminCP/Settings)

Perhaps you have a solution?

WNxWakko 10-14-2008 08:22 PM

Love the mod. I have one request. I don't like having the mini award show up next to the username in the postbit. I attempted to grab the code that goes there from the templates and insert it into my postbit directly at my preferred location however it doesn't work. It gives me a dead image. I viewed the image path and its not including the end of the image name.gif

What is the bit i can put in my postbit to have the award appear other than using the settings? I need to actually code if that is possible.

Thanks,


All times are GMT. The time now is 09:02 PM.

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.04026 seconds
  • Memory Usage 1,757KB
  • 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
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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