Title: DrHariri's Replies | WordPress.org

---

# DrHariri

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 46 total)

1 [2](https://wordpress.org/support/users/ala7lam/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ala7lam/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/ala7lam/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/ala7lam/replies/page/2/?output_format=md)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[miniOrange OTP Login, Verification and SMS Notifications] Capture country value for OTP SMS Number?](https://wordpress.org/support/topic/capture-country-value-for-otp-sms-number/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/capture-country-value-for-otp-sms-number/#post-12180926)
 * Thanks [@cyberlord92](https://wordpress.org/support/users/cyberlord92/),
    Where
   can you quote me and would this work with future updates? I am in a rush to implement
   this.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GamiPress - WP Courseware integration] Possible issue with Triggers?](https://wordpress.org/support/topic/possible-issue-with-triggers/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/possible-issue-with-triggers/#post-11090198)
 * My pleasure, thanks for looking into it.
 * Kind Regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[GamiPress - WP Courseware integration] Possible issue with Triggers?](https://wordpress.org/support/topic/possible-issue-with-triggers/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/possible-issue-with-triggers/#post-11088988)
 * Sure, please take a look at this screenshot:
    [https://www.dropbox.com/s/m3vv2h51vxphlf9/Screenshot%202019-01-15%2002.03.25.png?dl=0](https://www.dropbox.com/s/m3vv2h51vxphlf9/Screenshot%202019-01-15%2002.03.25.png?dl=0)
 * This is basically the dropdown for selecting the trigger/activity step.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BadgeOS] Badge is given on post update, not just publish!](https://wordpress.org/support/topic/badge-is-given-on-post-update-not-just-publish/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/badge-is-given-on-post-update-not-just-publish/#post-8670688)
 * Sorry, I just noticed your response Paul.
    Can you please explain what I should
   be looking for?
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress for Sensei] 'Course' tab within group not linking to actual course page](https://wordpress.org/support/topic/course-tab-within-group-not-linking-to-actual-course-page/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/course-tab-within-group-not-linking-to-actual-course-page/#post-7259859)
 * Hi & thanks for your response!
 * I wasn’t sure if this is a BuddyPress issue or BuddyBoss but now that I do, I
   will contact your support.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BuddyPress for Sensei] 'Course' tab within group not linking to actual course page](https://wordpress.org/support/topic/course-tab-within-group-not-linking-to-actual-course-page/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/course-tab-within-group-not-linking-to-actual-course-page/#post-7259854)
 * Anyone else having this issue?
 * I am using the Boss theme but I guess I need to change it to see if the problem
   still persists.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[MailPoet Newsletters (Previous)] Suggestion: Creating dynamic lists](https://wordpress.org/support/topic/suggestion-creating-dynamic-lists/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/suggestion-creating-dynamic-lists/#post-7142850)
 * Thanks for your response. This is not really a support request so I thought I
   wouldn’t bother you by submitting it as a support ticket, it’s more of a feature
   request.
 * I am glad that you are working on something like this!
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HookPress] Hookpress and Zapier](https://wordpress.org/support/topic/hookpress-and-zapier/)
 *  [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/hookpress-and-zapier/#post-6468777)
 * Interested in this as well as I am using WP Engine too.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[HookPress] Filter for adding custom action to predefined hookpress action is not working](https://wordpress.org/support/topic/filter-for-adding-custom-action-to-predefined-hookpress-action-is-not-working/)
 *  [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/filter-for-adding-custom-action-to-predefined-hookpress-action-is-not-working/#post-6859936)
 * Hi,
 * I am also interested to know how we could pass certain WordPress fields to make
   them appear under the fields dropdown menu. I assume there should be a hook somewhere
   that we can utilize but couldn’t fine any info on this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Link Library] Missing Submitted Link?](https://wordpress.org/support/topic/missing-submitted-link/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/missing-submitted-link/#post-6695288)
 * No worries and welcome back :).
 * I didn’t check the database but I tried to check for the link under the links
   page and couldn’t find it there.
 * Regarding the duplicate entries, I selected an existing category.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Link Library] Send another e-mail or use a hook after new link](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/#post-6529183)
 * Hello, I thought I’d share my final code for others to use if desired. Basically
   this code awards a BadgeOS badge on approval and send an e-mail to buffer with
   the links details.
 * Because I want to encourage users to submit links, I use this code to publish
   tweets that include their twitter user name. a ‘twitter’ usermeta is used so 
   it needs to be added there. If it’s not there, the url & its title will be published
   without the name of the submitter.
 * I hope this helps!
 *     ```
       function educadme_links_to_buffer( $linkdata, $linkextradata ) {
       		$buffer_email = "XYZ@to.bufferapp.com";
   
       		// General Link Info
       		$get_link_title = $linkdata['link_name'];
       		$get_link = $linkdata['link_url'];
   
       		// Dynamic Conditions of Submitter
       		// User Login of the submitter
       		$submitter = $linkextradata['link_submitter'];
       		// Get User Object
       		$user = get_user_by( 'login', $submitter );
       		// Get User ID
       		$user_id = $user->ID;
   
       		// Award a badge to the user for Link Approval
       		if (function_exists('badgeos_maybe_award_achievement_to_user')) {
       			badgeos_maybe_award_achievement_to_user( '63057', $user_id );
       		}
   
       		// Gets User Meta Twitter for Submitter
       		$submitter_user_twitter = get_user_meta($user_id, 'twitter', true);
   
       		if (isset($submitter_user_twitter)){
       		   $social_title =New Link: $get_link_title by @$submitter_user_twitter";
       		} else {
       		   $social_title =New Link: $get_link_title";
       		} 
   
       		// Output Buffer Commands
       		$buffer_commands = "
       		@p YourBufferChannel \r\n
       		@link $get_link
       		";
   
       		wp_mail( $buffer_email, $social_title, $buffer_commands );
       	}
       	add_action( 'link_library_approval_email', 'educadme_links_to_buffer', 10, 2 );
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Link Library] Send another e-mail or use a hook after new link](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/#post-6529160)
 * Awesome! Thanks Yannick!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Link Library] Send another e-mail or use a hook after new link](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/#post-6529140)
 * Take your time 🙂 I am just glad I could contribute somehow to the development
   of the plugin even if just by throwing ideas!
 * Good luck with your work!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Link Library] Send another e-mail or use a hook after new link](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/#post-6529138)
 * By the way Yannick,
 * I noticed something but I wasn’t sure if it is intended. If I require login to
   submit a link through Link Library, it fetches the username of the submitter 
   but not their e-mail address. Therefore, they can’t be notified and the above
   action won’t work.
 * Is that behaviour intended?
 * Thanks again! donating now!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Link Library] Send another e-mail or use a hook after new link](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/)
 *  Thread Starter [DrHariri](https://wordpress.org/support/users/ala7lam/)
 * (@ala7lam)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/send-another-e-mail-or-use-a-hook-after-new-link/#post-6529137)
 * Thanks a lot Yannick.
 * For other beginners interested, I ended up using this code to publish links to
   Buffer:
 *     ```
       function educadme_links_to_buffer( $linkdata ) {
       		$buffer_email = "buffer-XYZ@to.bufferapp.com";
   
       		$get_link_title = $linkdata['link_name'];
       		$get_link = $linkdata['link_url'];;
   
       		$buffer_commands = "
       		@p ArabicResearch \r\n
       		@link $get_link
       		";
   
       		wp_mail( $buffer_email, $get_link_title, $buffer_commands );
       	}
       	add_action( 'link_library_approval_email', 'educadme_links_to_buffer', 10, 2 );
       ```
   
 * I plan to also extend it to give the user a badge/exp points on link acceptance.

Viewing 15 replies - 1 through 15 (of 46 total)

1 [2](https://wordpress.org/support/users/ala7lam/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/ala7lam/replies/page/3/?output_format=md)
[4](https://wordpress.org/support/users/ala7lam/replies/page/4/?output_format=md)
[→](https://wordpress.org/support/users/ala7lam/replies/page/2/?output_format=md)