Jump to content

Square Wheels

Members
  • Posts

    2,517
  • Joined

  • Last visited

  • Days Won

    5

Reputation Activity

  1. Like
    Square Wheels reacted to Adriano Faria in Quizzes   
    Open applications\quizzes\sources\Quiz\Quiz.php and find:
    /** * Save the Quiz (Leaderboard) */ public function saveGame( $score, $time ) { /* Save the Quiz results in the Leaderboard. Only the first attempt will be recorded */ if( \IPS\Db::i()->select( 'COUNT(*) as count', 'quizzes_leaders', array( 'q_lquiz_id=? AND q_lmid=?', $this->id, \IPS\Member::loggedIn()->member_id ) )->first() == 0 ) { $toInsert = array( 'q_lquiz_id' => $this->id, 'q_lmid' => \IPS\Member::loggedIn()->member_id, 'q_lscore' => $score, 'q_ldate' => time(), 'q_lipaddress' => \IPS\Request::i()->ipAddress(), 'q_ltime' => $time ); \IPS\Db::i()->insert( 'quizzes_leaders', $toInsert, TRUE ); } } Change to:
    /** * Save the Quiz (Leaderboard) */ public function saveGame( $score, $time ) { /* Save the Quiz results in the Leaderboard. Only the first attempt will be recorded */ if( \IPS\Db::i()->select( 'COUNT(*) as count', 'quizzes_leaders', array( 'q_lquiz_id=? AND q_lmid=?', $this->id, \IPS\Member::loggedIn()->member_id ) )->first() == 0 ) { $toInsert = array( 'q_lquiz_id' => $this->id, 'q_lmid' => \IPS\Member::loggedIn()->member_id, 'q_lscore' => $score, 'q_ldate' => time(), 'q_lipaddress' => \IPS\Request::i()->ipAddress(), 'q_ltime' => $time ); \IPS\Db::i()->insert( 'quizzes_leaders', $toInsert, TRUE ); } else { $toUpdate = array( 'q_lscore' => $score, 'q_ldate' => time(), 'q_lipaddress' => \IPS\Request::i()->ipAddress(), 'q_ltime' => $time ); \IPS\Db::i()->update( 'quizzes_leaders', $toUpdate, array( 'q_lquiz_id=? AND q_lmid=?', $this->id, \IPS\Member::loggedIn()->member_id ) ); } } This will add a new record if the user hasn't played yet and will update that record if already played.
    I probably will add it as a setting in the next version.
  2. Like
    Square Wheels reacted to Fosters in Bookmarks - Support Topic   
    Yes, I apologize if that wasn't clear in my Marketplace description which referenced the IPS Guide on Module level permissions.
    You need to open up the Bookmarks application to view the "My Bookmarks" module, and control the permissions from there.  

    Click on the arrow next to "Favorite Content Bookmarks" to expand the app Click on the lock icon for My Bookmarks to set Permissions.  
  3. Like
    Square Wheels got a reaction from Fosters in Bookmarks - Support Topic   
    Never mind, I didn't realize I needed to expand Bookmarks in Applications to see it.
  4. Like
    Square Wheels reacted to The Jimmo in [JIMMO] User Join Date in Post   
    Not yet. Should be soon once I get a second. Sorry!
  5. Thanks
    Square Wheels reacted to SaltyBart in Birthday in Registration Screen   
    Stil works on 4.2 at my end.
  6. Thanks
    Square Wheels reacted to All Astronauts in Birthday in Registration Screen   
    Yep, just tested. All is well.
  7. Thanks
    Square Wheels got a reaction from Adriano Faria in Job Board App ?   
    I'm in!  Hopefully those that said they'd buy this, have.
  8. Like
    Square Wheels reacted to Martin A. in Member Map   
    I've just tested, and the only issue I've found so far was the profile map which was missing. That was an easy fix and it's backwards compatible with 4.1.
  9. Like
    Square Wheels got a reaction from Durango in Job Board App ?   
    I am interested and will buy it if it ends up in Marketplace.
  10. Like
    Square Wheels got a reaction from Durango in Job Board App ?   
    Yay, I'm following this thread now.
    I'd pay for a feature rich app, I have pages.
  11. Like
    Square Wheels reacted to MGeek in Referrals - Support topic   
    This problem appeared in 4.1.18
    Solution:
    /applications/referrals/hooks/register.php
    find:
    public static function _createMember( $values ) replace with:
    public static function _createMember( $values, $profileFields ) find:
    return parent::_createMember( $values ); replace with:
    return parent::_createMember( $values, $profileFields ); After the changes everything should work
  12. Like
    Square Wheels reacted to TDBF in TDB Stop Shouting (RC)   
    Support for this small plug-in.
    Questions, fixes, or changes please feel free to ask.
     
  13. Like
    Square Wheels reacted to Fosters in Limited Email Content   
    I'm sorry for this.
    I have released a new version which will fix this.

    (21 minutes between bug report and the fix... not bad:D )
  14. Like
    Square Wheels reacted to Fosters in Referrals - Support topic   
    Exactly. Once you delete a member, it won't be counted anymore.
  15. Like
    Square Wheels got a reaction from Fosters in Referrals - Support topic   
    Thank you!
  16. Like
    Square Wheels reacted to Fosters in Referrals - Support topic   
    I have released a new version which should fix this.
  17. Like
    Square Wheels reacted to Fosters in Referrals - Support topic   
    Exactly. The widget is hidden if there are no referrals yet.
  18. Like
    Square Wheels reacted to Fosters in Referrals - Support topic   
    Yes, ATM it's showing the total referrers. In a future version I'll add more criteria.
  19. Like
    Square Wheels reacted to Fosters in Referrals - Support topic   
    Sorry, I thought that commerce would also add a field to the registration form.
    Give me some minutes to see if I can combine this 2 applications  
  20. Like
    Square Wheels reacted to Adriano Faria in Quizzes   
    About This File
    Quizzes is a fun (graded quiz - one right answer) application which allows you and your members to add Quizzes to your forum. With leaderboards, categories and a unique layout, The Quizzes is sure to be a hit with your members. The Quizzes comes, among other things, with the following features:
    Unlimited categories of quizzes, plus unlimited depth of parent-child relationships with a lot of settings, including: Category icon Extra fields Minimum and maximum number of questions and answers per quiz Comments and reviews, including requirement to play the quiz to submit a review Tags & Prefixes Requirement to take quizzes, by: Number of content items Number of reputation points/likes Number of days as a member Groups Discussion topic: will create a topic when a new quiz is submitted. Also there's an option to create a reply showing the score/time when someone completes the quiz Per-category permissions to show category, view quizzes, submit quizzes, comment and review quizzes Per member settings: allows to access the app and allows to submit quizzes Per group settings: allows to access the app, how many approved content items must have to access the app Integrates into IPS4 Moderating system, which all commons permissions, such as pin, unpin, delete, feature, move, etc. Robust Admin Restrictions Type of content field: textarea for plain text or IPS4 editor Ability to set the minimum/maximum title length and description length Ability for users to report potentially offensive content using the built-in Report Center Search integration: search adverts along with the rest of your community’s content  Supports item marking, allowing your users to see what adverts have been added or commented/reviewed on Integrates into Activity Streams  Integrates to Share Links to share Integration to Member Filters (Bulk Mail, etc.) Integration with ACP Live Seach (categories) Support for notifications such as new quizzes, comments, reviews and when someone completes a quiz Ability to follow/like categories and individual quizzes Ability to upload or import an image from a URL to be the Quiz image. The image will be displayed on quiz view, categories, etc. Quiz protection: the game will be aborted if you leave the current tab/browser. This is to avoid users from search elsewhere. That's a setting. Setting to allow users to play a quiz only once Feedback: you can create funny phrases to be used on Quiz results according to user score Totally functional on mobile devices More...
       
  21. Like
    Square Wheels reacted to Adriano Faria in New moderator permission X "hardcoded" template   
    You allows to extend the moderator form (in my case, from FORUMS app) to add new permissions:

    But you "hardcode" the moderator permissions on templates (for all apps, AFAIK). Example for FORUMS:
    {{if $topic->canPin() or $topic->canUnpin() or $topic->canFeature() or $topic->canUnfeature() or $topic->canHide() or $topic->canUnhide() or $topic->canMove() or $topic->canLock() or $topic->canUnlock() or $topic->canDelete() or $topic->availableSavedActions() or $topic->canMerge() or $topic->canUnarchive() or \IPS\Member::loggedIn()->modPermission('can_view_moderation_log')}} <li> <a href='#elTopicActions_menu' id='elTopicActions' class='ipsButton ipsButton_link ipsButton_medium ipsButton_fullWidth' data-ipsMenu>{lang="moderator_actions"} <i class='fa fa-caret-down'></i></a> <ul id='elTopicActions_menu' class='ipsMenu ipsMenu_auto ipsHide'> So, unless the moderator has any of mod permissions above, it won't display the new permission in the Moderation Actions select:
     


  22. Like
    Square Wheels reacted to Adriano Faria in Classifieds System   
    About This File
    Classifieds System is an application that enables your members to list items for sale/trade, monetizing your community.
    Requirement:
    Commerce:https://invisionpower.com/features/commerce How does it work?
    Admin can enable TRANSACTIONS, which will allow members to buy items directly from another member via app and the advertiser receives the amount paid via account credit. If TRANSACTIONS is disabled, things has to be done manually: member needs to contact the advertiser in ways he wants (he chooses when posting the advert), make the deal, then the advertiser will set the advert as PENDING DEAL. After the payment/deal is done, advertiser sets the advert as COMPLETED. In both cases, if the advert is a SALES advert type BIDS (offers) are allowed if the admin enables the setting and if the advertiser also enables it when posting the advert.
    Notices:
    THIS IS NOT AN UPGRADE of the old app (for IP.Board 3.4), so if you used the old app you probably still have data from the old app in your database, take a read on manual.pdf (page 2) in the zip file or request support before you install this app. Each purchase entitles you to use Classifieds System on one Community installation. Features:
    Unlimited categories of adverts, plus unlimited depth of parent-child relationships with a lot of settings Per-category permissions to show category, view adverts, submit adverts, ask questions and review adverts Category Icons Ability to choose the order and which blocks to display on the app index: Expiring Soon, What's New and Categories block Support Extra Fields so you can define different fields per category Integrates to Commerce, so you can choose a specific payment gateway, tax, fee and comission and use multi-currencies Ability to switch between currencies with a click to display advert prices Ability to add multiple packages and charge for your listings at varying price points to suit your users. Listing packages allow you to choose whether or not specific member groups should need to pay to advertise and also whether adverts will be billed according to the value of the item being sold Users can make offers (bid) to the adverts, if the advertiser allows Admin can enable transactions, which means that a user can buy something from another member directly, monetizing the site with fee/comission Per member settings: allows to access the app and allows to submit adverts Per group settings: allows to access the app, how many approvwd content items must have to access the app and mpderate first X free adverts from users of the group. That will make moderator's life easier Integrates into IPS4 Moderating system, which all commons permissions, such as pin, unpin, delete, feature, move, etc. Robust Admin Restrictions Ability to take specific actions when a member is deleted or flagged as a spammer Ability to give account credit to new members Ability to set the minimum/maximum title length and description length Ability to remove the upload of attachments in the advert description editor Submit questions and reviews to advert. Admin can choose if new questions or reviews are moderated, per category. Advertiser can reply to the questions Ability for users to report potentially offensive content using the built-in Report Center Search integration: search adverts along with the rest of your community’s content  Supports item marking, allowing your users to see what adverts have been added or commented/reviewed on Integrates into Activity Streams  Integrates to Share Links to share Integrates to Google Maps if and address is provided in the link submission (IPS 4.1.13+: Google Map APIs now requires an API key. Go toAdminCP -> System -> Community Enhancements to enable Google Maps support) Supports the built-in tagging system including prefixes Support for notifications such as new adverts and questions comments on adverts Ability to follow/like categories and individual adverts Ability to add adverts to a wish list Drag & drop reordering of categories, advert types, items conditions and packages in the ACP. Ability to create RSS feeds of all adverts Integration with ACP Live Seach (categories, advert types, items conditions and packages) Friendly URLs for adverts and categories Compatible with Trader Feedback System (missing only a better way to display the feedback on advert). More.  
     
  23. Like
    Square Wheels reacted to Adriano Faria in Profile Field Per User Group   
    Made a test 10 min ago and worked. By default, ADMINS - moderator ISN'T admin - and profile owners can view any field. Other than that, you must select. It's working fine or I'm not understanding what both of you are trying to report.
    I will record another video today.
  24. Like
    Square Wheels reacted to Adriano Faria in Profile Field Per User Group   
    Seriously, if you are going to post here, why send a PM?
    I will paste again as I think you didn't read it:
    Clear now?
    And no, I'm not aware of any edit to make that happen.
  25. Like
    Square Wheels reacted to Adriano Faria in Profile Field Per User Group   
    What's New in Version 2.0.1:
    Compatibility with IPS 4.1.9.  
    @Dominic Frasca, I suggest you to use carefully the words when you report something. All that happened is a BLANK SCREEN on topics due to a change IPS made on 4.1.9. It doesn't DELETE all your account... it couldn't, since my plugin doesn't has any DELETE instruction!
     
×
×
  • Create New...