BuddyPress Moderation
How can I remove the span tag around the flag button for updates in (2 posts)

  1. Jon Hardison
    Posted 4 years ago #

    I'm using a theme that has styles applied directly to div.activity-meta. When I enable your plugin, I'm seeing the button, but not the text because you've included a span tag.

    Is there a way I can remove that span tag? Just not sure where to look for it.

    Thanx for your help. :-)

    PS - Great Plug-in. Exactly what I needed. ;-)


  2. webwarrior.wng
    Posted 3 years ago #

    I want to show the Flag button to the current user even he/she is not an admin. I tried with generate_link($args) function but i don't know where i am doing wrong. Please Help Me Anyone...!
    the code is printing on the current user's post as i need but why the button is not coming.

    Here is the Code:

    if ($args) {				
    		global $activities_template;
    		$current_user = wp_get_current_user();
    			if($act_UID== $current_user->ID)
    				//echo $this->generate_link($args);
    				echo 'Flag must be here as "generate_link($args)" function has been called ...';


    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum's parser.]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BuddyPress Moderation
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic