Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter herby55

    (@herby55)

    Dear Stefano,

    if it is possible for you and you have time, I would be very happy about an adaptation of the module, as you described above. I will gladly send you a donation for the support ??
    Many Thanks.

    Thread Starter herby55

    (@herby55)

    Thank you for the update – works fine!

    Thread Starter herby55

    (@herby55)

    If a user enters into the list, the name and the appropriate selection appears, which is a good thing. But how can the user delete itself from the list again? (He want no longer participate at this event)
    Currently only the admin has the option to delete the user from the list.
    A “delete button” for the logged user would be the ideal way, to get himself delist. Is there possibly a new version in which this is being considered?

    herby55

    (@herby55)

    Hi you have do add the follow code at beginn of the init.php That works.

    `class basic_user_avatars {

    private $user_id_being_edited;

    /**
    * Initialize all the things
    *
    * @since 1.0.0
    */
    public function __construct() {

    // Actions
    add_action( ‘admin_init’, array( $this, ‘admin_init’ ) );
    add_action( ‘show_user_profile’, array( $this, ‘edit_user_profile’ ) );
    add_action( ‘edit_user_profile’, array( $this, ‘edit_user_profile’ ) );
    add_action( ‘personal_options_update’, array( $this, ‘edit_user_profile_update’ ) );
    add_action( ‘edit_user_profile_update’, array( $this, ‘edit_user_profile_update’ ) );
    add_action( ‘bbp_user_edit_after_about’, array( $this, ‘bbpress_user_profile’ ) );
    add_action( ‘plugins_loaded’, array( $this, ‘localization_init’ ) );

    // Shortcode
    add_shortcode( ‘basic-user-avatars’, array( $this, ‘shortcode’ ) );

    // Filters
    add_filter( ‘get_avatar’, array( $this, ‘get_avatar’ ), 10, 5 );
    add_filter( ‘avatar_defaults’, array( $this, ‘avatar_defaults’ ) );

    }

    function localization_init() {
    $path = dirname(plugin_basename(__FILE__)) . ‘/languages/’;
    load_plugin_textdomain( ‘basic-user-avatars’, false, $path );
    }

    /**
    * Start the admin engine.
    *

    herby55

    (@herby55)

    Hi Abdul,

    I have translated the language file in german. Where I should upload this?

    regards
    herby55

    Thread Starter herby55

    (@herby55)

    Okay thank you, I can live with one option to use my polls ??

    Currently users can abuse the comment field in the frontend for spam. How can I exclude html-text or limit the text to 100 characters?
    Is there a code extension for the wp-fevents-book.php possible?

    regards
    herby

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