Title: tccdeveloper05's Replies | WordPress.org

---

# tccdeveloper05

  [  ](https://wordpress.org/support/users/tccdeveloper05/)

 *   [Profile](https://wordpress.org/support/users/tccdeveloper05/)
 *   [Topics Started](https://wordpress.org/support/users/tccdeveloper05/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tccdeveloper05/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tccdeveloper05/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tccdeveloper05/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tccdeveloper05/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tccdeveloper05/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tutor LMS - eLearning and online course solution] Suggestion for a widget](https://wordpress.org/support/topic/suggestion-for-a-widget/)
 *  Thread Starter [tccdeveloper05](https://wordpress.org/support/users/tccdeveloper05/)
 * (@tccdeveloper05)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/suggestion-for-a-widget/#post-14853435)
 * Thank you for hearing me out, Hopefully once it is implemented we can put it 
   on our homepage as a widget.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Condition on sign up](https://wordpress.org/support/topic/condition-on-sign-up/)
 *  Thread Starter [tccdeveloper05](https://wordpress.org/support/users/tccdeveloper05/)
 * (@tccdeveloper05)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/condition-on-sign-up/#post-14840969)
 * Thank you both! It works! [@ihavenoclueakagi](https://wordpress.org/support/users/ihavenoclueakagi/)
   i hope your issue gets resolved!
 * I’ll close this as solved now. I appreciate the help and thank you once more!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Condition on sign up](https://wordpress.org/support/topic/condition-on-sign-up/)
 *  Thread Starter [tccdeveloper05](https://wordpress.org/support/users/tccdeveloper05/)
 * (@tccdeveloper05)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/condition-on-sign-up/#post-14839530)
 * I should also mention that i only need a way to create one global code for everyone.
   It doesn’t have to be an individual code because that is too complicated. Thank
   you again!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tutor LMS - eLearning and online course solution] All buddypress groups showing up on frontend course builder](https://wordpress.org/support/topic/all-buddypress-groups-showing-up-on-frontend-course-builder/)
 *  Thread Starter [tccdeveloper05](https://wordpress.org/support/users/tccdeveloper05/)
 * (@tccdeveloper05)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/all-buddypress-groups-showing-up-on-frontend-course-builder/#post-14815369)
 * Okay, nevermind. I solved it.
 * I added this container:
    $current_user_id = get_current_user_id();
 * and then for the foreach loop, i added a <if> condition.
 *     ```
       <?php
                   foreach ($groups['groups'] as $group){
                   	if($group->creator_id == $current_user_id){
                       $selected = in_array($group->id, $attached_group) ? 'selected="selected"' : '';
                       echo "<option value='{$group->id}' {$selected} > {$group->name} </option>";
          }
       }
                   ?>
       ```
   
 * This way, only the groups created by the teacher will show up on the frontend
   course builder.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tutor LMS - eLearning and online course solution] All buddypress groups showing up on frontend course builder](https://wordpress.org/support/topic/all-buddypress-groups-showing-up-on-frontend-course-builder/)
 *  Thread Starter [tccdeveloper05](https://wordpress.org/support/users/tccdeveloper05/)
 * (@tccdeveloper05)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/all-buddypress-groups-showing-up-on-frontend-course-builder/#post-14814002)
 * I basically enabled group creation for all users by navigating to Settings > 
   Buddypress > Options > check “Enable group creation for all users”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[wpDataTables - WordPress Data Table, Dynamic Tables & Table Charts Plugin] Automatic table generator](https://wordpress.org/support/topic/automatic-table-generator/)
 *  Thread Starter [tccdeveloper05](https://wordpress.org/support/users/tccdeveloper05/)
 * (@tccdeveloper05)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/automatic-table-generator/#post-14663680)
 * I see, that’s unfortunate. Thank you for replying to my question!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tutor LMS - eLearning and online course solution] Edit course button at frontend course page.](https://wordpress.org/support/topic/edit-course-button-at-frontend-course-page/)
 *  Thread Starter [tccdeveloper05](https://wordpress.org/support/users/tccdeveloper05/)
 * (@tccdeveloper05)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/edit-course-button-at-frontend-course-page/#post-14594675)
 * Alright, i’ll give it a check. Thank you for your time!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Tutor LMS - eLearning and online course solution] Edit course button at frontend course page.](https://wordpress.org/support/topic/edit-course-button-at-frontend-course-page/)
 *  Thread Starter [tccdeveloper05](https://wordpress.org/support/users/tccdeveloper05/)
 * (@tccdeveloper05)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/edit-course-button-at-frontend-course-page/#post-14594570)
 * So if i upgrade to the pro version, i’ll be able to edit it directly from the“
   view” course page?

Viewing 8 replies - 1 through 8 (of 8 total)