crewockeez (@crewockeez)

Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • @crewockeez

    Participant

    http://pastebin.com/raw/An3NR6Tt

    file form-anonymous.php in bbpress folder in my theme

    @crewockeez

    Participant

    http://selectseek.com/demo/forums/forum/webboard


    @fuskeren
    try it.

    Error : Send an email address is not valid.
    Error : Slow down, you’re working too fast.

    @crewockeez

    Participant

    not work @fuskeren

    https://cldup.com/zCz9k4xmBA.php

    file fuctions my theme

    @crewockeez

    Participant

    I can sent file fuctions theme. Your try ?

    @crewockeez

    Participant

    i try insert new code. not work.

    @crewockeez

    Participant

    Where download ?

    @crewockeez

    Participant

    i insert code on functions.php on my team

    add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
    
    function rew_filter_anonymous_post_data( $retval, $r  ) {
    	// Filter variables and add errors if necessary
    	$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name',  $r['bbp_anonymous_name']  );
    	if ( empty( $r['bbp_anonymous_name'] ) )
    		bbp_add_error( 'bbp_anonymous_name',  __( '<strong>ERROR</strong>: Invalid author name submitted!',   'bbpress' ) );
    
    	// Website is optional
    	$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
    
    	// Return false if we have any errors
    	$retval = bbp_has_errors() ? false : $r;
    
    	// Finally, return sanitized data or false
    	return apply_filters( 'bbp_filter_anonymous_post_data', $retval, $r );

    upload file functions.php on server. open site error.

    @crewockeez

    Participant

    no insert code on fuctions file. on site error

    add_filter ('bbp_filter_anonymous_post_data' , 'rew__filter_anonymous_post_data' 10, 2) ;
    
    function rew_filter_anonymous_post_data( $retval, $r  ) {
    	// Filter variables and add errors if necessary
    	$r['bbp_anonymous_name'] = apply_filters( 'bbp_pre_anonymous_post_author_name',  $r['bbp_anonymous_name']  );
    	if ( empty( $r['bbp_anonymous_name'] ) )
    		bbp_add_error( 'bbp_anonymous_name',  __( '<strong>ERROR</strong>: Invalid author name submitted!',   'bbpress' ) );
    
    	// Website is optional
    	$r['bbp_anonymous_website'] = apply_filters( 'bbp_pre_anonymous_post_author_website', $r['bbp_anonymous_website'] );
    
    	// Return false if we have any errors
    	$retval = bbp_has_errors() ? false : $r;
    
    	// Finally, return sanitized data or false
    	return apply_filters( 'bbp_filter_anonymous_post_data', $retval, $r );
    }

    @crewockeez

    Participant

    yes. i bbPress will now use this template instead of the original. but test don’t work

    In reply to: i ask theme ?

    @crewockeez

    Participant

    i want theme bbpress in pic

    In reply to: i ask theme ?

    @crewockeez

    Participant

    bump

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