vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Major Additions - vBExperience 4 (https://vborg.vbsupport.ru/showthread.php?t=245023)

RollaJedi 08-30-2010 12:40 PM

Quote:

Originally Posted by Jimbolosey (Post 2090543)
I'm wondering about creating custom conditions for my Awards and Achievements. Suppose I want users to be able to get an award for winning a gaming tournament (like in CoD4 or something). I want to choose "Custom" from the conditions panel. However, "Custom" doesn't mean anything...

How would I go about doing this? Like, give them an award if they have a topic taht's been viewed 500+ times? etc. Stuff like that.

Quote:

Originally Posted by Sw0rDz (Post 2090590)
Where would I start if I wanted to make a custom achievement based of a custom condition. For example, I have a shop mod installed. I want to program a custom achievement that happens when a person owns 10 or so items. I really just want to code something in php, that either returns a value, and then use this value for the custom condition. I haven't really seen anything for this in the CDP.


P, I think a lot of us are confused about this. We don't really know what you mean by look in the cdp addon and such because there isnt really any guide telling you step by step what you should be looking for and what you need to be doing to create your own custom conditions. I'd love to use it, but without more guidance its really just a blur to me.

Phalynx 08-30-2010 12:55 PM

Quote:

Originally Posted by RollaJedi (Post 2091542)
P, I think a lot of us are confused about this. We don't really know what you mean by look in the cdp addon and such because there isnt really any guide telling you step by step what you should be looking for and what you need to be doing to create your own custom conditions. I'd love to use it, but without more guidance its really just a blur to me.

I never said using the CDP is easy. vBExperience offers a programmatically usable interface for such things. But there is currently no solution that is useable for users without the knowlegde of PHP and SQL Statements. It seems complex, but not for a programmer.
The time is the limiting factor. If I would have more time I could extend this by implementing an interface for users without programming something.

Charis 08-30-2010 03:23 PM

Thanks for the great mod!

I 've an issue after I upgraded to vbulletin 4.06 and Experience 4.02.
As you can see at the following picture, The total activity is up to 999%!

https://vborg.vbsupport.ru/external/2010/08/2.jpg

What am I doing wrong?

Phalynx 08-30-2010 05:05 PM

Quote:

Originally Posted by Charis (Post 2091612)
Thanks for the great mod!

I 've an issue after I upgraded to vbulletin 4.06 and Experience 4.02.
As you can see at the following picture, The total activity is up to 999%!

https://vborg.vbsupport.ru/external/2010/08/2.jpg

What am I doing wrong?

Are you using a decimal seperator? It seems it is missing, so that 99,9 (or 99.9) results in 999.

Charis 08-30-2010 05:37 PM

No, mea culpa.
Thanks again.

Phalynx 08-30-2010 06:13 PM

TheMayhem and me opened a support site for our FREE products. Please visit us at vBaddict.net!
vBAddict.net will help us to keep an open eye of all your wishes, bug reports and improvements. It's an addon to vBulletin.org, where we can call it our new home.
We will still giving support here, vBulletin.org is a site which we will support.

The site will be also our main showcase. So you can expect to see all of our supported products over there in action.

If you want to support us visit us:
http://www.vbaddict.net

The registration is free, as our software is.

papabear99 08-31-2010 12:09 AM

We were having some issues on our system (latest vbulletin) and a few mods. Specifically the vBadvanced Links product. I finally threw my hands up and put in a support ticket and it seems as if they are saying that the Experience Code is causing some problems. The exact response is below. Are there any lnown issues relating to this or do we have a deeper problem? TKS for the assistance

Ticket Response Quote:

> Hello,
> I've just taken a look at things for you, but I was able to submit a link
> as a regular member and then approve it with the admin account just fine.
> I did notice that your 'Moderation' and 'Search' links are missing from
> the links navbar though, so I'm guessing you just haven't been able to see
> the links awaiting moderation since there were a couple of others in
> there. It seems that the reason the links were not showing has something
> to do with the "vBExperience" product you have installed. When that
> product is enabled, it's somehow causing the 'process_templates_complete'
> vB plugin to be executed much sooner than it should, and before the
> variables to determine if the Search and Moderate links should be shown.
> I'm not sure what vBExperience is doing to cause the plugins to be
> executed out of order like that, but there's a good chance that's causing
> other issues as well.

micheal332001 08-31-2010 04:37 AM

Quote:

Originally Posted by Phalynx (Post 2091521)
Fixed in 4.0.3
Yes, it is right.

Which MySQL Version are you using?

Im using version 4.1.22 and vBulletin Version 4.0.0or does this not work with vb 4.0.0

Charis 08-31-2010 05:28 AM

I 've one more issue.

I can 't see awards in profile and next to username.
I' ve recalculate awards and also I gave some awards manually.
At the tab "Awards" (.../xperience.php?go=awards) I can see some awards given to users.
---
My forum has been turned off for several months (since February).
vBulletin 4.0.6 - vBExperience 4.0.2
Settings:
Use the award system? = "Yes"
Use Awards in rich username? = "Username Awards"

kontagio.us 08-31-2010 05:34 AM

Quote:

Originally Posted by Charis (Post 2091898)
I 've one more issue.

I can 't see awards in profile and next to username.
I' ve recalculate awards and also I gave some awards manually.
At the tab "Awards" (.../xperience.php?go=awards) I can see some awards given to users.
---
My forum has been turned off for several months (since February).
vBulletin 4.0.6 - vBExperience 4.0.2
Settings:
Use the award system? = "Yes"
Use Awards in rich username? = "Username Awards"

Quote:

Originally Posted by Phalynx (Post 2089272)
Seems the awards behind username does not work correctly. Will fix this soon.

:D I hope he fixes it.

Charis 08-31-2010 05:45 AM

Quote:

Originally Posted by kontagio.us (Post 2091901)
:D I hope he fixes it.

So, this is a bug.

What about the awards in user profile?

Charis 08-31-2010 07:02 AM

Quote:

Originally Posted by papabear99 (Post 2091811)
We were having some issues on our system (latest vbulletin) and a few mods. Specifically the vBadvanced Links product. I finally threw my hands up and put in a support ticket and it seems as if they are saying that the Experience Code is causing some problems. The exact response is below. Are there any lnown issues relating to this or do we have a deeper problem? TKS for the assistance

Ticket Response Quote:

> Hello,
> I've just taken a look at things for you, but I was able to submit a link
> as a regular member and then approve it with the admin account just fine.
> I did notice that your 'Moderation' and 'Search' links are missing from
> the links navbar though, so I'm guessing you just haven't been able to see
> the links awaiting moderation since there were a couple of others in
> there. It seems that the reason the links were not showing has something
> to do with the "vBExperience" product you have installed. When that
> product is enabled, it's somehow causing the 'process_templates_complete'
> vB plugin to be executed much sooner than it should, and before the
> variables to determine if the Search and Moderate links should be shown.
> I'm not sure what vBExperience is doing to cause the plugins to be
> executed out of order like that, but there's a good chance that's causing
> other issues as well.

+1.
I 'm looking forward to the next version, 4.03, will fix that.

Phalynx 08-31-2010 07:22 AM

Quote:

Originally Posted by papabear99 (Post 2091811)
We were having some issues on our system (latest vbulletin) and a few mods. Specifically the vBadvanced Links product. I finally threw my hands up and put in a support ticket and it seems as if they are saying that the Experience Code is causing some problems. The exact response is below. Are there any lnown issues relating to this or do we have a deeper problem? TKS for the assistance

Ticket Response Quote:

> Hello,
> I've just taken a look at things for you, but I was able to submit a link
> as a regular member and then approve it with the admin account just fine.
> I did notice that your 'Moderation' and 'Search' links are missing from
> the links navbar though, so I'm guessing you just haven't been able to see
> the links awaiting moderation since there were a couple of others in
> there. It seems that the reason the links were not showing has something
> to do with the "vBExperience" product you have installed. When that
> product is enabled, it's somehow causing the 'process_templates_complete'
> vB plugin to be executed much sooner than it should, and before the
> variables to determine if the Search and Moderate links should be shown.
> I'm not sure what vBExperience is doing to cause the plugins to be
> executed out of order like that, but there's a good chance that's causing
> other issues as well.

For executing a hook earlier you will have to change the source of vBulletin. The plugin that is using this hook does not modify any existing entries.
I don't know any issues with that.

Quote:

Originally Posted by Charis (Post 2091905)
So, this is a bug.

What about the awards in user profile?

They should work.

Charis 08-31-2010 07:38 AM

Any guess why they (awards in user profile) do not work?
Thanks in advance.

Phalynx 08-31-2010 07:41 AM

Please PM me the URL to your Board.

micheal332001 08-31-2010 09:09 AM

Quote:


Which MySQL Version are you using?
Quote:

Originally Posted by micheal332001 (Post 2091882)
Im using version 4.1.22 and vBulletin Version 4.0.0or does this not work with vb 4.0.0


any news on this yet

Phalynx 08-31-2010 11:18 AM

Quote:

Originally Posted by micheal332001 (Post 2091882)
Im using version 4.1.22 and vBulletin Version 4.0.0or does this not work with vb 4.0.0

I'm afraid it does not work. There are some incompatibilities to vBulletin 4.0.0

micheal332001 08-31-2010 04:27 PM

Quote:

Originally Posted by Phalynx (Post 2091972)
I'm afraid it does not work. There are some incompatibilities to vBulletin 4.0.0

So this will work with all vb 4 version over 4.0.0

Phalynx 08-31-2010 05:35 PM

At least for 4.0.2 and higher.

micheal332001 08-31-2010 05:56 PM

well as you can see here im getting the error now on vb version 4.0.6

PHP Code:

Database error in vBulletin 4.0.6:

Invalid SQL:
SHOW COLUMNS FROM  vb3_xperience_stats WHERE Field='points_threads';

MySQL Error   You  have an error in your SQL syntaxcheck the manual that corresponds to your  MySQL server version for the right syntax to use near 'WHERE  Field='points_threads'' at line 1 


micheal332001 08-31-2010 06:05 PM

also getting this error as well

PHP Code:

Database error in vBulletin 4.0.6:

Invalid SQL:
SELECT
        COUNT
(*) AS cnt_ach,
        
i.achievementid,
        
a.title,
        
a.description,
        
a.imagebig
        FROM vb3_xperience_achievements_issues 
AS i
        INNER JOIN vb3_xperience_achievements 
AS a ON a.achievementid=i.achievementid
        GROUP BY achievementid
        ORDER BY COUNT
(*) DESC
        LIMIT 1
;

MySQL Error   Invalid use of group function 


Phalynx 08-31-2010 06:09 PM

Achievements and Awards are not working with MySQL 4.1 - either you upgrade this too or you will have to disable both features.

micheal332001 08-31-2010 06:30 PM

Quote:

Originally Posted by Phalynx (Post 2092115)
Achievements and Awards are not working with MySQL 4.1 - either you upgrade this too or you will have to disable both features.


thankyou im just getting the mysql upgraded and will let you know if there are any more problems once its done.

Phalynx 08-31-2010 06:45 PM

Good luck!

micheal332001 08-31-2010 07:07 PM

maybe you should put in the description that mysql version ? is required to use this script so you dont get questions like this again.

Phalynx 08-31-2010 07:45 PM

You are the third that is having a problem with that old MySQL version. I will include this in the readme.

On the other side, many people are not reading much...

Mases 08-31-2010 10:02 PM

I'm having some trouble getting it set up appropriately for my forums, so I need some assistance in what to do.

So in the admin CP, where you can edit the posts per day, posts per 7 days, etc., the first thing I tried to do was disable the scheduled task and put the information in myself. I also went based off individual users, so for instance I put in 5 posts per day, 20 posts per 7 days, and 40 per 30 days. I also set the timeframe for activity to 30 days. So, I recounted everything and it did not show up accurately for most people. Those who had only posted maybe 3 times in the last 7 days had 99% activity, and some people who had not even logged onto the forums or made a post in over a year had an overall activity of 99%. Also, after doing all of this and still having the scheduled task disabled, it automatically put in variables for posts per day when I thought that disabling the task would prevent it from doing this. This resulted in it automatically putting in like 92.3 for every calculation (92.3 posts per day, 7 days, and 30 days), which did not make sense to me.

Alternatively, I have tried to leave the scheduled task running and let it do it on its own, but I manually put in a 30 day timeframe for activity. The calclulations would change on their own, as expected, but it would make them too high, like I mentioned above with it having like 90 some posts per day in each time variable. And still, those who had not logged on would have percentages of activity that they should not have had.

So basically, I'm not getting an accurate reading on the activity levels. In my mind, users who have not logged in, made any posts, etc., within the set time frame, they should have a 0% activity level for everything. Seeing as how it auto-corrects to a higher number, I am thinking that maybe it goes by the entire forums posts per day, per 7 days, etc., but then it wouldn't make sense for the scheduled task to make all of these the same number of posts.

I would like to have an idea of how to set this up appropriately. There seems to be too many problems that I am having and I know the system works, its just that I do not fully understand how it works or how to make it work in the way that I am thinking it should. So any help on this would be greatly appreciated and the sooner the better. Thanks.

micheal332001 08-31-2010 10:49 PM

Quote:

Originally Posted by Phalynx (Post 2092150)
You are the third that is having a problem with that old MySQL version. I will include this in the readme.

On the other side, many people are not reading much...


upgraded the mysql but beleave me it makes alot of problems with vb once the mysql is upgraded.
All the index's are out and you will need to run the mysql-schema.php file thats in the install folder to fix the index and then you will have to run the Repair / Optimize Tables to fix other problems or even re-install some products as well.

Phalynx 09-01-2010 06:57 AM

Quote:

Originally Posted by Mases (Post 2092186)
I'm having some trouble getting it set up appropriately for my forums, so I need some assistance in what to do.

So in the admin CP, where you can edit the posts per day, posts per 7 days, etc., the first thing I tried to do was disable the scheduled task and put the information in myself. I also went based off individual users, so for instance I put in 5 posts per day, 20 posts per 7 days, and 40 per 30 days. I also set the timeframe for activity to 30 days. So, I recounted everything and it did not show up accurately for most people. Those who had only posted maybe 3 times in the last 7 days had 99% activity, and some people who had not even logged onto the forums or made a post in over a year had an overall activity of 99%. Also, after doing all of this and still having the scheduled task disabled, it automatically put in variables for posts per day when I thought that disabling the task would prevent it from doing this. This resulted in it automatically putting in like 92.3 for every calculation (92.3 posts per day, 7 days, and 30 days), which did not make sense to me.

Alternatively, I have tried to leave the scheduled task running and let it do it on its own, but I manually put in a 30 day timeframe for activity. The calclulations would change on their own, as expected, but it would make them too high, like I mentioned above with it having like 90 some posts per day in each time variable. And still, those who had not logged on would have percentages of activity that they should not have had.

So basically, I'm not getting an accurate reading on the activity levels. In my mind, users who have not logged in, made any posts, etc., within the set time frame, they should have a 0% activity level for everything. Seeing as how it auto-corrects to a higher number, I am thinking that maybe it goes by the entire forums posts per day, per 7 days, etc., but then it wouldn't make sense for the scheduled task to make all of these the same number of posts.

I would like to have an idea of how to set this up appropriately. There seems to be too many problems that I am having and I know the system works, its just that I do not fully understand how it works or how to make it work in the way that I am thinking it should. So any help on this would be greatly appreciated and the sooner the better. Thanks.

How long is your board running with vBExperience 4? Are you using activities? These are important questions, as the activitiy is being counted from the count of recorded actions in the given timeframe. The activity cannot be accurate by just using data from the last two weeks.

I would suggest to leave the system alone and wait until it finds the correct acitivity for everyone.

Quote:

Originally Posted by micheal332001 (Post 2092200)
upgraded the mysql but beleave me it makes alot of problems with vb once the mysql is upgraded.
All the index's are out and you will need to run the mysql-schema.php file thats in the install folder to fix the index and then you will have to run the Repair / Optimize Tables to fix other problems or even re-install some products as well.

Yes, an upgrade is not just replacing the binaries.

micheal332001 09-01-2010 08:23 AM

Quote:

Originally Posted by Phalynx (Post 2092323)
Yes, an upgrade is not just replacing the binaries.

but everything is working now with this add-on.

Thanks for your help.

I might be making an add-on for this for the signature maker i have made,
so if someone makes a signature it will give them some points or something but will re-move points if they re-do there signature within x amount of days.

Phalynx 09-01-2010 08:25 AM

Quote:

Originally Posted by micheal332001 (Post 2092343)
but everything is working now with this add-on.

Thanks for your help.

I might be making an add-on for this for the signature maker i have made,
so if someone makes a signature it will give them some points or something but will re-move points if they re-do there signature within x amount of days.

That sounds great :)

Mases 09-01-2010 11:06 PM

Quote:

Originally Posted by Phalynx (Post 2092323)
How long is your board running with vBExperience 4? Are you using activities? These are important questions, as the activitiy is being counted from the count of recorded actions in the given timeframe. The activity cannot be accurate by just using data from the last two weeks.

I would suggest to leave the system alone and wait until it finds the correct acitivity for everyone.

Okay. That is fine. I can let it run on its own, I was just trying to avoid having to wait an entire month for it to work itself out, but its fine. What would you suggest to put as the general timeframe for activity?

SOSkr 09-02-2010 04:15 AM

I have found problems with IE6. Reviewing the template, I found the bug.

For the template of "xperience_memberinfo_block"

search

Code:

{vb:raw block_data.xperience_points_misc_tpl}
</div>
</vb:if>


and replace with

Code:

{vb:raw block_data.xperience_points_misc_tpl}
</vb:if>
</div>


Phalynx 09-02-2010 07:29 AM

Quote:

Originally Posted by Mases (Post 2092633)
Okay. That is fine. I can let it run on its own, I was just trying to avoid having to wait an entire month for it to work itself out, but its fine. What would you suggest to put as the general timeframe for activity?

That depends on your board activity. If you have much of it, you can decrease to f.e. 60, otherwise a 90 or even 120 should be good.


Quote:

Originally Posted by SOSkr (Post 2092685)
I have found problems with IE6. Reviewing the template, I found the bug.

For the template of "xperience_memberinfo_block"

search

Code:

{vb:raw block_data.xperience_points_misc_tpl}
</div>
</vb:if>


and replace with

Code:

{vb:raw block_data.xperience_points_misc_tpl}
</vb:if>
</div>


Are you sure? I cannot find this part (anymore). It has been already fixed with 4.0.2
Please install 4.0.2 and revert that template.

TheRedGoat 09-02-2010 02:42 PM

Can you explain to me what this error is about?

Database error in vBulletin 4.0.6:

Invalid SQL:
UPDATE user
SET
xperience_awardt='a:1:{i:0;a:5:{s:2:"id";s:2:"13"; s:5:"title";s:13:"Brian's Award";s:5:"small";s:20:"address_book2_16.png";s:3 :"big";s:20:"address_book2_32. png";s:10:"awardtitle";s:0:"";}}'
WHERE userid=5;

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 's Award";s:5:"small";s:20:"address_book2_16.png";s:3 :"big";s:20:"address_book2_3' at line 3
Error Number : 1064
Request Date : Thursday, September 2nd 2010 @ 08:40:07 AM
Error Date : Thursday, September 2nd 2010 @ 08:40:08 AM

Classname : vB_Database
MySQL Version : 5.0.91-log

I only have 5 users, and it appears something is wrong with the award I created? I get this error now anytime I try to change an award, or recount, etc.

It appears to be from an Award that I created. I deleted the award and things are now working properly, but I would like to know what was 'wrong' with the award so I can avoid problems in the future.

I had called the Award "Brian's Award" And it appears that caused a problem.

Brian

Phalynx 09-02-2010 02:57 PM

Just remove the apostroph ' from the name.

TheRedGoat 09-02-2010 03:37 PM

Quote:

Originally Posted by Phalynx (Post 2092831)
Just remove the apostroph ' from the name.

Thank you for the prompt reply. It was what I suspected, thanks for the confirmation.

Brian

SOSkr 09-03-2010 02:11 AM

Ok, I've uploaded and updated vBExperience, and the problem is gone

Phalynx 09-03-2010 05:29 AM

It would be great if you click "Mark as Installed". Thanks.

Phalynx 09-03-2010 07:01 AM

This is just an information that I will be on vacation from today till 12th September. Please keep in mind that I will not give support during this time.

The update to vBExperience 4.0.3 will be released after I returned.


All times are GMT. The time now is 10:54 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.04329 seconds
  • Memory Usage 1,883KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_php_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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