-
Posts
1,237 -
Joined
-
Last visited
-
Days Won
9
Content Type
Downloads
Release Notes
IPS4 Guides
IPS4 Developer Documentation
Invision Community Blog
Development Blog
Deprecation Tracker
Providers Directory
Forums
Events
Store
Gallery
Posts posted by Kevin Carwile
-
-
I'm looking into some ways that I can make the sql queries run a bit faster for you. It looks like most of those queries you showed me are from widgets pulling content from the whole site, and therefore must sql join and filter based on permissions for collabs.
-
6 hours ago, Adriano Faria said:
Honestly, I don't see how both apps can work together.
Off the top of my head, I can think of some cool ways the invite system could be coupled with other apps using rules:
- Event: Member sends an invitation
- Event: Member registers from an invitation
- Event: An invitation has expired
- Event: An invitation has been renewed
- Condition: Member was invited by another member
- Action: Send an invitation for a member
- Action: Give a member another invitation
- Action: Expire an invitation
- Action: Renew an invitation
Just by adding a few ECA's, someone could start tying apps together with invites, such as giving out economy points to members when they send invites. Or giving them awards with iAwards when they reach a certain amount of recruits. Or granting another invitation when a previous one expires. Or posting a welcome topic when a member registers from an invitation. Or promoting a member to a new group based on their number of converted invitations or whether they were invited themselves.
- -RAW-, Subdreamer and Martin1980
- 3
-
2 hours ago, vinegredz said:
I have a series of lessons within the databases in IPContent, and I need to restrict access to the records. The user starts to watch the first lesson, but can't watch the second and third until the first. How to make it work with this app?
Easiest way I can think of is to create progressive member groups with access to the appropriate lessons and add those secondary groups as appropriate. The question is... what event represents them completing the lesson.
One way I can think of is to create a a questionare using the forms app by @Mike John and grant the next lesson group upon submission of a passing result.
-
-
15 minutes ago, craigf136 said:
Not so sure if it is, this option is within "The Rules" app itself rather within iAwards - I know you worked closely with Kevin but not sure how far the integration goes.
Apps provide their own ECA's (Events, Conditions, Actions) to rules through the rules extension API so that they can be used in rules. This would be another action that needs to be defined in the extension.
Yes, it appears in the rules app, but only after iAwards would tell rules how to remove an award.
-
6 hours ago, Jimmy Gavekort said:
Hope to see some automatic Award features though:
- If post amount is more than X.
- If like/reputation amount is more than X.
- If member has been registered for longer than X.
- If member has more than X profile views.
- If member completed specific profile fields.
- If member uploaded header/profile picture.
- If member made a post in a specific section (Example, introductions).
- If member has more than X Amount of followers.
Issue Award Based On Content Countissue-award-based-on-content-count.xml
Rule: Issue award based on content count
- Event: Any content has been created or updated
-
Conditions: ( match all conditions )
- Truth Value (Content is new)
- Member attribute values (Member has reached the post threshold)
-
Actions:
- Give an award to a member (Issue the award)
Issue Award Based On Reputation Levelissue-award-based-on-reputation-level.xml
Rule: Issue award based on reputation level
- Event: Member receives reputation points
-
Conditions:
- Member attribute values (Receiving member has reached the reputation threshold)
-
Actions:
- Give an award to a member (Issue the award)
Issue Award Based On Length Of Membershipissue-award-based-on-length-of-membership.xml
Rule: Issue award based on length of membership
- Event: Member logged in to system
-
Conditions:
- NOT Compare Dates (Member is within the award waiting period)
-
Actions:
- Give an award to a member (Issue the award)
Issue Award Based On Profile Completenessissue-award-based-on-member-profile-completeness.xml
Rule: Issue award based on member profile completeness
- Event: Member profile is updated
-
Conditions: ( match all conditions )
- Member attribute values (Member has an avatar uploaded)
- Member attribute values (Member has a signature set)
- Member attribute values (Member has a birthday entered)
-
Actions:
- Give an award to a member (Issue the award)
Issue Award For Starting Topic In A Specific Forumissue-award-for-starting-a-topic-in-a-specific-forum.xml
Rule: Issue award for starting a topic in a specific forum
- Event: Topic has been created or updated
-
Conditions: ( match all conditions )
- Truth Value (Topic is new)
- Topic is in certain forums (Topic is in the appropriate forum)
-
Actions:
- Give an award to a member (Issue the award)
Issue Award Based On Follower Countissue-award-based-on-follower-count.xml
Rule: Issue award based on follower count
- Event: Member profile is updated
-
Conditions:
- Number Value (Member has reached the followers threshold)
-
Actions:
- Give an award to a member (Issue the award)
Issue Award Based On Profile View Countissue-award-based-on-profile-view-count.xml
Rule: Issue award based on profile view count
- Event: Member profile is updated
-
Conditions:
- Number Value (Member has reached profile views threshold)
-
Actions:
- Give an award to a member (Issue the award)
- SiLink, OctoDev, d0minati0n and 4 others
- 7
-
Active record created/updated is going to apply to nearly everything in the system. Its basically an event that fires everytime the database is updated. Probably not what you are shooting for.
For example, the rule you are trying to create is an active record. So your rule is probably trying to award you for creating a rule (ironic). You should pick something more specific such as "any content is created or updated", and then add a condition to that rule to check that the "new" variable is true in the event to further limit your rule to just when content is created.
That error is being generated by iawards, but I cant tell you why at the moment. Rules catches all thrown exceptions so something like that shouldnt happen.
Did you add any code to your api methods that halts execution and sends error output instead of simply throwing an exception that can be caught? It seems like that is what is happening.
I'll have a look at your source code this evening and see whats going on here.
-
All of that is very simple to do since iAwards works together with rules. It was very smart to include the integration.
@-RAW-, If you get me a release copy of the app, I can set up a simple rule for each of those scenarios and you can then bundle them in with the app so users can hit the ground running.
- OctoDev, d0minati0n and Sull5
- 3
-
9 hours ago, Kjell Iver Johansen said:
The Rules aplication stopped working and moved 17000 members from one membergroup to another.
I notice that there is a new version now on the 10 of january and will try with that one. The version before was called 1.3.9, and the new version from 10 january is also 1.3.9.
Rules broke on the 4.1.6 core update, yes. The newest version fixes that. However, that would not cause rules to do anything that it was not already configured to do. Which rule moved your members? It may need some tweaks.
-
10 hours ago, Adriano Faria said:
I never used it. Will talk to @Kevin Carwile.
I'll take the load off for you. Just get me a copy of your app and I'll code the rules extension for you.
-
Please direct all support issues and requests to:
-
37 minutes ago, Joel R said:
1. Collab App Configuration settings not saving.
Go to the "Settings" link for Group Collaboration in your ACP. Disable the "expanded category configuration" option. This will split the configuration of collab categories out into multiple steps so that your server doesn't have to process all the configuration at once.
38 minutes ago, Joel R said:2. Language Strings
Those are core language strings. Check to see if they are also missing if you try to customize those permissions from the "Moderators" ACP interface. I believe IPS forgot to update pages to generate those for new databases. It may need to be filed as a bug report with IPS.
41 minutes ago, Joel R said:3. Menu Tabs
I'm wondering why Advanced Tags & Prefixes is configurable under collaborations... it doesn't have any of its own content types does it? At any rate, I think I know what you are saying. The tab is very wide in order to fit the whole app name?
52 minutes ago, Joel R said:1. Suggestion: Link to Category - I know this sounds kind of stupid, but after I created a category ... I didn't know where to go on the front-end! I thought there would be a nice Menu option, but there wasn't.
Your saying that a navigation tab was not added automatically to your menu for my app after you installed it? WTF. You can add the link to the collab app manually from your menu manager in ACP. That link will take you to a page that will display all of the collab categories.
54 minutes ago, Joel R said:2. Suggestion: Custom icon or banner for Groups.
Agreed.
-
It can be translated. But its not as easy as other apps with static language strings. GC uses a lot of dynamic language strings that incorporate the language of other apps.
This means you need to translate from the ACP for many strings.
-
1 hour ago, Ocean West said:
does this mean that all existing GC's based on the model are dynamically elevated to these changes or are they static from the point in time the model was created?
The model is only a template that can be copied from when the collab is created.
No syncronization happens beyond that because each collab is fluid and can be changed independent of the model. There is no way to make safe assumptions as to what to sync and not sync, and what parts match up with the original model or have been customized, etc.
I had the idea myself, but quickly discarded it after realizing the technical nightmare the it would create.
-
Use the gbarry account you created.
-
Support is now being directed to
http://ipsguru.net/collab/support
I can answer this question there. Thanks.
-
I will help you in the new support forum linked from the product page in the marketplace. Please post your request there.
http://ipsguru.net/rules/support
Thank you.
-
-
13 hours ago, Edward Shephard said:
Is it possible for content with a collaboration to also appear in the main IPS applications please?
GC content is segregated from that of non GC content at the core level based on the context of the page being viewed. This is by design since collaborations are by concept separate workspaces for content creation.
For that NOT to happen is an exception to the general design of GC. It can be done, but it would require case by case specifics.
12 hours ago, wohali said:I'm eventually going to have to look at modifying this for our board if Kevin doesn't get around to it himself.
As wohali mentioned, it is best for plugins or custom widgets to be used to fit the exception.
13 hours ago, Edward Shephard said:I'd like to create a collaboration that is only accessible for people aged 18-30.
Create a member group for 18-30 and only allow collab access to that group in your collab category settings. You could definitely use rules to automate the moving of members in and out of that group based on your own criteria and timing.
-
9 hours ago, prupdated said:
I've worked around it for now doing my best with SQL scripting to move older topics out of the main forum each night while updating the various related counters. Most likely I'm missing something though.
You can automate routines with rules. Give me a buzz if you are interested.
-
5 hours ago, kar3n2 said:
I did that and there is a little bit of code already there.... is this ok?
Only the code I gave.
-
7 hours ago, kar3n2 said:
Hi
I set a rule to send out an email when a member is inactive for a set time. The email was delivered and it was very nice but someone pointed out that I should by law always have a way for people to unsubscribe from any emails. Is anything can be done about this please?
You could check the member's email preference from their settings before sending them the email....
Create a condition in the rule that you send the email out. Choose "Custom PHP Code" as the condition type. Enter the following:
return $member->allow_admin_emails;
Of course, the $member variable may be different depending on the event you are using to send your email.
-
/* Load a specific collab */ $tempCollab = \IPS\collab\Collab::load( collab_id ); /* Switch to the new collab temporarily ( current collab, if any, is returned from this method ) */ $activeCollab = \IPS\collab\Application::switchCollab( $tempCollab ); /* Pull topics from our selected collab */ $topics = \IPS\forums\Topic::getItemsWithPermission( ... ); /* Switch the collab back to whatever it was before (very important!) */ \IPS\collab\Application::switchCollab( $activeCollab );
-
3 hours ago, TheMaker said:
Hi Kevin,
great app so far. I looking forward to use your work for the next update on my community boards. But I struggle a bit with some functionalities.
Is there a way for pull out specific content like forum topics out of a single collab? I read earlier something about an API you wrote. Is there a documentation for that?
I need this information to create a widget or template for that purpose.
Thanks a lot,
TheMaker
There is not an API per se. Collab is designed in a way that affects all the existing core API methods such as \IPS\Content\Item::getItemsWithPermission() and \IPS\Node\Model::roots().
With GC installed, those api methods will only return results in the context of a specific collaboration, or lack thereof.
So if you want to pull topics from a specific collaboration using \IPS\forums\Topic::getItemsWithPermission(), you simply need to switch to that collab context first before pulling the topics.
Switching context is easy. I'll follow up with a code example here shortly.
iAwards
in Marketplace
Posted
One way I can think of would be to create a custom data field for your members in rules, and set it up as a select list with all the different 2-class combinations as options. Set it as public access so that each member can edit their own selection from their profile.
Then create rules for when the data field is updated which add the two awards from the selected option and (*removes all other class awards).
* Removing awards is not an iAwards rules action as of yet unfortunately.