Jump to content

Kevin Carwile

Clients
  • 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

  1. What I am trying to do is give folks who have gained certain levels of prestige in the forums access to collab(s) where only that level and above have access to sharing for example more detailed fishing reports.

    The GC app has rules actions packaged in so you can create rules that create or delete collab memberships. You can make a rule that gives them membership when they reach a certain prestige level.

  2. How do I make the images full size like background images for each category please?

    Don't upload the image into the description text box. Instead, when you visit the category page there is a button in the category header to upload a background photo.

  3. What template have you edited?

    My guess is that $topic is not a variable inside the template. Also, I believe you have the banned_members data set up as array data, so you will need to iterate the array with {{foreach}} to get all the values.

  4. @Kevin Carwile Thank you for the explanation, makes sense and yes I can see the logic as to why you have created it the way you have.

    One other thing that stands out from the changes (loving them by the way) is that when you look at the collaboration list within a category it displays X Contributions. I don't think it is calculating this correctly because it is actually just calculating a topic as one contribution irrespective of how many replies are made. I would have thought it should count all posts, images etc basically all content items and displayed the total figure here. Is this intended also?

    Yes, intended. You can rename "contributions" to whatever you like but it is basically the content item count. I discovered a bit of an issue with tracking total comment counts (cross app) which made content item count seem more practical at the moment since it still gives a good idea of the relative depth of any particular collab.

    But nothing is set in stone.

  5. @Kevin Carwile - Within the category itself the last post info shows the last post made in that collaboration inline with the rest of the suite. If you include a category on the board index irrespective of if you toggle the switch for the category to display or if you have it set up with re-direct forums where you would expect to see the last post info it actually displays the collaboration title that the latest post was made within and the community lead. Is there a way to change this to display the last post from any within that collaboration category and the last poster to keep it inline with the expected behaviour across the suite?

    Happy to make a template edit if it's as simple as that?

    Many Thanks

    It seems like a simple thing on the face...

    But then it becomes a lot more complicated as soon as you get past the surface, because collaborations can contain content from every app in the system.

    For example, in order to show if there is read/unread content for just a single collaboration (and also which is the latest post), it becomes apparent that every app and every container ( forums, galleries, databases, etc ) inside the collaboration must be queried and cross referenced with permissions to see "where" the latest post is at that you actually have permission to see. This gets expensive quick, and will become only more expensive the larger the collaboration gets ( in terms of SQL, memory, processing, etc ).

    For a category, that problem only becomes more compounded because now you have to lift that load for every collaboration in the category, and every time the page is viewed because it could change from moment to moment, and it also cannot be cached because it depends on not only site permissions, but the permissions within the group also.

    Because of this, categories will only show the latest collaboration to have activity. You may think... well if you know that, then why can't you just show what the latest post was? It's because you may not actually have permission to see what the latest post was in that collaboration! So in reality, the latest ( that you are actually able to see ) may be in a different collaboration... but in order to know that we go back to the problem of having to check every collaboration in the category.

  6. nice improvements @Kevin Carwile nice to see the main index inclusion - is there any means to move the order somewhere other then at the very bottom of the forum index?

    • redirect forums pointed at collab categories will now show active category info
    • redirect forums pointed at collaborations will now show recent collab activity

    In other words, create a forum as a redirect link and put in the link to either a collab category or a collaboration homepage and then you can re-order within the forums to achieve perfect placement.

  7. New version in the marketplace - 1.1.9:

    • new collab category option to include the category on forums index
    • redirect forums pointed at collab categories will now show active category info
    • redirect forums pointed at collaborations will now show recent collab activity
    • new widget added to display a list of the currently logged in member's collabs
    • updated collab header to display slightly smaller when not viewing collab homepage
    • updated all GC templates to property indicate read/unread content
    • improved collab listings in collab categories to display content breakdowns and latest post activity
    • added new option to collab categories to require approval of newly created collabs

    Future roadmap:

    • Allow custom FURL per collab
    • Add global option to all IPS widgets to choose display on either collab pages, or non collab pages, with additional option to target display to specific collab categories
    • Send group based PM's
    • Create a new "VNC" to display only new content for specific collabs
    • Allow site admin to choose custom theme selection for collabs based on category
    • Allow collab owners to choose from authorized custom themes for their collabs
  8. however once the 'source' url is entered it doesn't actually ever appear in the topic

    You're correct. You will need to add a data tag to your topic theme template where you want it to appear.

    So if you created a data field with a data key of 'source_url' and attached it to topics, then the data saved for a topic can be accessed like this:

    {$topic->source_url}

    In your specific case, I believe you would want to do something such as:

    {{if $topic->source_url}}
      <div class="ipsPad">
          <strong>Source:</strong> {$topic->source_url}
      </div>
    {{endif}}

     

  9. If you could select more then 1 

    Data To Use option would be great? - Unless i missed a option, As the email is very basic and I wanted 2 custom fields from RSVP db? 

    Instead of using event data as the source of the email content, choose "Manual configuration" and you can type your email content. You can use any of the available event tokens in your typed text which will be replaced by the token content when the email is generated.

  10. Any thoughts on the ability to add polls to topics through actions? That would be immensely useful! :drool:

    I explored the possibilities a while back and found that polls are not very automation friendly at all. After identifying a few significant obstacles that would make it quite cumbersome to implement, I decided to set it aside for the time being. :sad:

  11. just had a bug, not sure if it's the core, or if its GC.

    disabled app and had an issue:

    • error on public site
    • when disabled the list of forms is all wonky

     http://screencast.com/t/YCniwEEBy

    I see the problem. I would qualify this as an IPS bug. There is a hook added to GC which modifies the member dropdown menu to add the "collab memberships" link. The hook uses a function which is in the GC application. When you disabled the application, the function becomes inaccessible... but the GC hook is not taken out of the compiled theme template and so a bad method call is left in your page.

  12. I'll investigate. It most likely is coming from my app, not clear to me why that would be though.

    I solved this bug in my Rules application as I was getting the same error when certain rules were set up to change/update tags on content. The problem is with the setTags() method on the content item class. In the method it has a direct reference to \IPS\Member::loggedIn()->member_id, which will be null if there is not a currently logged in member (such as an RSS import).

    The solution is to check if there is a logged in member before attempting to set the tags, and if not, temporarily assign a value to the \IPS\Member::loggedIn()->member_id property ( such as '0' ). This will allow the tag to be saved. And then set it back to null after performing the operation.

  13. Well other than in the group setting ie for forums/gallery etc I cant see permissions.  there seems to be just a save button without the category itself asking me for permissions.  Im sorry to trouble but yes I'll pm you thanks @Kevin Carwile

    Those would be the permissions for the apps in the collaboration. The permissions for the collab category itself (view/create/etc) are the permissions that you fill out after creating the category in the ACP.

    To edit category permissions after the category has been created, select the dropdown arrow for the category on the ACP category list and select "permissions".

  14. Great mod Kevin.

    Not sure if this has been suggested already but it would be useful to be able to make the collab forums compatible with RSS/Atom feeds so that the feeds can be posted directly in to these forums

    Refer to the discussion starting with this post:

    https://community.invisionpower.com/topic/407257-group-collaboration/?do=findComment&comment=2540299

     

    I added cats and sub cats and allow members to add groups.  I added the the block onto the home page.

    however there is nothing to be seen neither on home page or under the menu link  more/collaborations

    Is this because the cats wont show until there is at least one gorup in which case I might have to add that manually at first?

    Any ideas please?

    Did you also give permission to 'see' the category and to 'view' the collabs in the category?

    If so and you are still having issues, just PM me to get case specific help.

  15. hi!

    need an localizable language files without variable compilation.

    cannot translate to bulgarian/russian/ukrainian language.

    please rebuild your language subsystem to use simple and plain text messages.

    thank you!

    Simple and plain doesnt work for GC. GC uses variable compilation because it is a variable application. Its necessary to use language strings from other applications out of necessity.

    If the client installs an app that adds a new content type to the system, and GC needs to display a form element which asks if the they want to enable that new content type for collaborative use, how is it possible to add a static language string for that message?

    The content type names are variable, and so must be the language compilation.

  16. I did and the issue still exists! 

    For anybody else having a problem with the collab category configuration form not saving all the settings when the form is submitted, look to see if you have the suhosin extension installed on your server. If you do, you'll need to make sure to update the following php settings also:

    php_value suhosin.get.max_vars 5000
    php_value suhosin.post.max_vars 5000
    php_value suhosin.request.max_vars 5000
    php_value suhosin.post.max_name_length 256
    
  17. Is there a way to bind the collab creation to member posts, so only if a member has more than x posts he can create a collab?

    You could set up a member to be promoted to a new member group after a certain amount of posts via IPS core. And then set the permissions on the collab category to only allow members to create collabs if they are in that member group.

×
×
  • Create New...