Status
Not open for further replies.

cdprojektred

Customer
Hello,
I would like to create 2 Criteria:
Posts >= 1 in Forum A
Posts >= 1 in Forum B
But, I can't because of message:
Code:
The Criteria: 'Posts >= 1' already exists.
I think that in PRO version test for existing condition should include also dbtech_vbactivity_condition.forumid column.
Thanks for your help :)

Oh, and please please move this thread to PRO version forum. My mistake.
 
Last edited:
I've added a hotfix to /dbtech/vbactivity/includes/class_dm_condition.php that should fix this issue :)
 
Thank you for fast reaction! I have same problem, but your hotfix reveal another issue. In POST forumid is sent without index
Code:
do	criteria
adminhash	xxx
securitytoken	xxx
condition[0][typeid]	26
condition[0][type]	value
condition[0][comparison]	>=
condition[0][value]	1
condition[forumid]	3
condition[1][typeid]	22
condition[1][type]	value
condition[1][comparison]	<
condition[1][value]	
condition[forumid]	0
...
action	update
So in test condition forumid is an empty string and therefore 'already exists' message remains.
 
Copypasta is not always delicious pasta. This time the fixed file is /dbtech/vbactivity/actions/admin/criteria.php :)
 
Now it works. Thanks! :) But... ;) Please look at attached image
vBActivity-2013-12-20_0005.png
Is there any chance to add forum title to this list and to another places where Criteria with forum limit are used i.e. Criteria Manager and Achievement Encyclopedia? Without this info it is hard to setup achievements and to understand them. All items looks in the same way.
 
I updated quite a few files, if you re-download and re-upload the product it should be implemented :)
 
Status
Not open for further replies.

Legacy vBActivity & Awards

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
1,726
Customer rating
0.00 star(s) 0 ratings
Back
Top