Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'register'

Viewing 25 results - 201 through 225 (of 4,247 total)
  • Author
    Search Results
  • #220921
    jason4locations
    Participant

    I want to get a forum up as soon as possible and for free, and then compare free hosts and paid hosts, to see if I can find a better host for me to use later. (Iโ€™ve found some free hosts for WordPress, and I hope one will work.) In other words, I might want to change hosts, if it is possible to change from one free host to another free host (or to a paid host), without losing my forum (and the threads of, posts of, and information about those who registered). My problem is that, while Iโ€™ve found migration tools that make a bbPress forum from different forum software (if it is called software), I havenโ€™t found any that make a forum from the same forum software (that is used with a different host). Can bbPress, or any software, do that? If I can change the host, will bbPress automatically do that? Is it possible to change from using one free host to using another free host, while using bbPress? Thank you.

    biznisoka
    Participant

    Hi,

    Have two bbpress forums on a webpage, a public one, for “usual” registered users, and private one, for “special” registered users.
    Used bbp private groups plug-in to create both groups.
    Would like to hide private forum menu item from the general registered users (not redirect to some custome page on something).
    Asked the question on plugin’s support page, but got no answer.
    Is there any code snippet or something I could use to hide the menu item which opens private forum? Now i get 404 error.

    freedealsandoffer
    Participant

    Thanks. It did the trick and so nicely.
    Just one more thing -> Similar to Login/Register link, how can I get the Forgot Password link only for non-logged in users? I can see it on the Login widget, but how to get it in menu item?

    freedealsandoffer
    Participant

    Hi Team,

    We’ve linked the login page on the header of our site. But once the user logs in, we wanted to hide the Login/Register page link and instead show then the Account page link.
    How it can be done?

    PS – We’ve already setup a bbpress login widget which does this job, but in mobile view the user has to scroll down to see the widget. So we’ve placed the page link in the header.

    Please let us know the proper solution for this issue.

    #220581

    Topic: redirect 301

    in forum Plugins
    moqeyse
    Participant

    Hello. I had two plugins for redirects and I had to remove one of them. 301 was done in one of the plugins about two years ago. I got the output list. And deleted. The redirects are OK and there is no problem. But the question I have is that after a while, the 301s done may return to the previous state
    I mean, do I need them again in the new 301 plugin? Or are the 301s registered and the removal of plugins is not related to them?

    sino27
    Participant

    Hi there. Sorry for reviving this thread. But I had to as this is some serious privacy issue.

    A code from “bjornwebdesign” is definitely working but not completely. I mean on this code posted in his “Ok, last time, I promise :pโ€ฆ”

    /*
     * Do stuff when the user's xprofile is updated
    */	
    function xprofile_updated ( $user_id, $posted_field_ids, $errors, $old_values, $new_values) {
    	/*
    	 * Change the user_nicename which is used as profile url, we do NOT want the username in url! Bad bad BP...
    	 * Please note: the user profile url can now be changed by the user, direct linking from other places on the web may result in 404.
    	 * Altough this should run AFTER updating profile fields (saving to DB), the nicename is only updated after a second save. So we need to check from $new_values
    	 */
    	$new_display_name = '';
    	foreach ( $new_values as $key => $value ) {
    		if ( is_array($value) && $key == 1 ) { // field display_name = 1, make sure this is correct
    			foreach ( $value as $k => $v ) {
    				if ( $k == 'value' ) {
    					$new_display_name = $v;
    				}
    			}
    		}
    	}
    	//error_log('******** xprofile_updated: '.$user_id.' | NEW DISPLAY_NAME: '.$new_display_name.' *********');
    	$search = array( ' ', '.' ); 
    	$replace = array( '_', '' );
    	$user = get_user_by( 'ID', $user_id );		
    	if ( $user ) {
    		if ( $user->data->user_status == 0 && $new_display_name ) {
    			$new_user_nicename = strtolower(str_replace( $search, $replace, $new_display_name) );
    			if ( strlen ( $new_user_nicename ) > 50 ) {
    				$new_user_nicename = substr ( $new_user_nicename, 0, 50 );
    			}				
    			if ( $user->data->user_nicename != $new_user_nicename ) { // && $user->ID == 80 <-Add this if you only want to run it for 1 user, so you can test it.
    				$args = array(
    					'ID'            => $user->ID,
    					'user_nicename' => $new_user_nicename
    				);
    				wp_update_user( $args );
    				//error_log('******** updated user_nicename: '.$user->ID.' | NEW USER_NICENAME: '.$new_user_nicename.' *********');
    				wp_redirect( get_site_url().'/leden/'.$new_user_nicename.'/profile/edit/group/1/' ); // we cant use bp_core_get_user_domain() here, because it still uses the old user_nicename
    				exit;					
    			}
    		}
    	}
    }
    add_action( 'xprofile_updated_profile',  'xprofile_updated', 100, 5 );

    – but there is one critical flaw. After code is applied, user can not update their profile anymore. Like you can go to (example) update name or nickname. You press save and nothing changes. Profile is not updated.

    If I apply “bjornwebdesign” previous code (meaning code he posted just before his latest code) –

    
    /*
     * Change the user_nicename which is used as profile url, we do NOT want the username in url! Bad bad BP...
     * This runs allways (with init hook), we should only do this once and then on user register & profile update..
     * Please note: the user profile url can now be changed by the user, direct linking from other places on the web may result in 404.
     * And offcourse allways use something like: 'bp_core_get_user_domain( $user_id )' when you want to get the user's profile url.
     */
    $search = array( ' ', '.' ); 
    $replace = array( '_', '' );
    $all_users = get_users();		
    foreach ( $all_users as $user ) {
    	$display_name = $user->data->display_name;
    	if ( $user->data->user_status == 0 && $display_name ) {
    		$new_user_nicename = strtolower(str_replace( $search, $replace, $display_name) );
    		if ( strlen ( $new_user_nicename ) > 50 ) {
    			$new_user_nicename = substr ( $new_user_nicename, 0, 50 );
    		}				
    		if ( $user->data->user_nicename != $new_user_nicename ) { // && $user->ID == 80 <-Add this if you only want to run it for 1 user, so you can test it.
    			$args = array(
    				'ID'            => $user->ID,
    				'user_nicename' => $new_user_nicename
    			);
    			wp_update_user( $args );					
    		}
    	}
    }
    

    then updating of profile is working. User can update profile but after pressing “Save” there is 404 error. Even 404 is acceptable as at least user can update their profile. However performance is severely degraded on a website with many members.

    So basically only his latest code is working in a way that their profile URL is hidden, performance is not degraded but user profiles can not be saved or updated. Can anyone help and update his code so that user are able to update their profiles?

    #220263
    Robin W
    Moderator

    ok, so when someone tries to register, what happens?

    #220261
    mballa3rdo
    Participant

    [bbp-register]
    [bbp-login]
    [bbp-lost-pass]

    #220260
    Robin W
    Moderator

    so if you are allowing registration, how are users registering – what widget or shortcode or method are you using ?

    #220259
    Robin W
    Moderator

    users need to register, bbpress just uses wordpress registration, so you have lots of options for doing this.

    #220255
    Robin W
    Moderator

    hmmm…

    bbpress just uses wordpress registration, so users should be able to just register and get participant access.

    what have you got set in

    dashboard>settings>forums>Roles?

    #220253
    mballa3rdo
    Participant

    Hi, for my business website I’m trying to get a working forum together, I’m using WordPress.com, and I’ve got bbpress and bbpstyle pack active right now.

    The issues I keep getting prevent users who do not have WordPress accounts from registering, it redirects the users to the WordPress login page and doesn’t send an e-mail.

    In my Settings, if I remove the ability to login with WordPress accounts, it functions perfectly, but I lose access to editing and updating the site, I’m lost on how to get this functional.

    #220212
    Back to Front
    Participant

    Hi! I’m trying to allow users to assign their topics to custom taxonomies from the front end bbpress topic form. I thought it would be cool to be allow users to sort topics in multiple ways, and not just the anarchy that comes with unhierarchical ‘tags’.

    With a lot of searching on forums, I’ve managed to register the taxonomies, display them, include topics in the archives, and added inputs to the form to allow uses to select the relevant ones.

    But I’m totally stuck with saving the value from the checkboxes. You can tick the box, but nothing is saved. I’m guessing I need to use wp_set_object_terms()? and hook into bbp_new_topic() to save the terms? But I have no idea how to save the value from the checkboxes in there.

    Any ideas, tips, scorn, alternative suggestions are welcome. Do i need to learn more js and use AJAX to accomplish this? Or is this achievable with php and am I even close?

    // Add custom taxonomies to topic form
    
    add_action ( 'bbp_theme_after_topic_form_content', 'bbp_extra_fields');
    
    function bbp_extra_fields() {
    
    $value = get_post_meta( bbp_get_topic_id(), 'issue', true);
    	echo '<div id="custom-meta">';
    	echo'<fieldset>
            <legend>Issues</legend>';
    	$issues = get_terms('issue', array('hide_empty' => 0));
    	foreach ($issues as $issue) {
    	echo '<span><input type="checkbox" class="issue" for="issue" value="'.$issue->slug.'"></input><label>'.$issue->name.'</label></span>';
    	};
    	echo '</fieldset>';
    
    $value = get_post_meta( bbp_get_topic_id(), 'region', true);
    global $region;
    $region = get_terms('region', array('hide_empty' => 0));
    echo'<fieldset>
            <legend>Region</legend>';
    $regions = get_terms('region', array('hide_empty' => 0));
    foreach ($regions as $region) {
    echo '<span><input type="checkbox" class="issue" for="issue"value="'.$region->slug.'"><label>'.$region->name.'</label></span>';
    };
    echo '</fieldset></div>';
    };
    
    // Save the terms from the form
    add_action ( 'bbp_new_topic', 'bbp_save_extra_fields', 10, 1 );
    add_action ( 'bbp_edit_topic', 'bbp_save_extra_fields', 10, 1 );
    
    function bbp_save_extra_fields($topic_id) {
    
      $post_id = get_the_ID();
      $category_id = $region->id;
      $taxonomy = 'region';
      wp_set_object_terms( $post_id, intval( $category_id ), $taxonomy );
    };
    
    #220207
    Steve Keller
    Participant

    Hey Robin,

    I tried to standardize the 79ers Forum page, per the Codex doc you referred me to, and it seems it helped. I followed all the settings instructions, and since the only people we want accessing the Forum page are registered users, I made each forum private. A couple of questions arose at that point. If I don’t hide the title of the page, why does the “Private:” appear twice before the page title? And second, how should the Forum Restriction be set, or where would I find info on what the settings, blocked, unblocked and hidden, actually do?

    Thanks,
    Steve

    #220168
    Steve Keller
    Participant

    Here are some facts and ideas my friend brought up, as we were trying to figure a way to make the site and forums security effective, non-redundant and non-annoying…

    Well, you indeed have proved that the root cause of the insecurity = bbPress!
    That is the good news.

    The bad news is by changing that Forum Root Slug setting, the NEW 79ers-Forum page I set up is now exposed publicly.
    Try opening an incognito Chrome browser, do not log in, and go directly to my new page: http://79exies.com/79ers-forum

    No password needed.. bbPress lets you right in. ๐Ÿ™

    So we can now be positive that my theory from yesterday is correct: bbPress is bypassing the security system and managing the Forum page itself.

    My suggestions are to contact their support and ask how to get bbPress to “play nicely” with our password protection system (plug-in = WP-Members) or go find a different plug-in to manage the Forum.

    My guess is bbPress DOES have its own security system with a user registration system (which we are not invoking). So alternatively you could use that. The downside is unless you can get them to “sync” somehow to our WP-Members plug-in, then all our users will have to register in TWO places to use the Forum: once for the website and then again for the Forum. Pretty cumbersome. Anyway, I suggest you start with the bbPRess Forum, explain what is happening, and see if they have any ideas.

    ===================

    Hi Steve –
    I looked, and indeed the original URL to 79exies/forums is still alive.
    But I do see it is gone from within the WP site, so you successfully removed it there. Very strange.

    I have to assume bbPress is doing something in the background. I won’t have time to work on this right now, but I suggest going to the bbPress support page (they have their own Forum) and maybe find answers there.
    Or consider a different plug-in to manage the Forums interface if there is one.

    I do notice that my WP interface does NOT show the bbPress “Settings” or “Forums” tabs that their documentation says should be there. Maybe there is a “Forum Administrator” role (you presumably) that makes them visible? But I cannot see them. If those are also missing for you, then there’s some pretty fundamental compatibility issues with this plug-in and WP.

    Thanks,
    Steve

    #220127
    Robin W
    Moderator

    you either want

    dashboard>settings>forums>anonymous if you want anyone to be able to post

    or add registration – bbpress uses wordpress registration, so anyone of then methods here will work.

    https://www.wpbeginner.com/beginners-guide/how-to-allow-user-registration-on-your-wordpress-site/

    there is also a bbpress registration login which includes registration and bbpress shortcodes

    [bbp-login] โ€“ Display the login screen.
    [bbp-register] โ€“ Display the register screen.
    [bbp-lost-pass] โ€“ Display the lost password screen.

    haddlyapis
    Participant

    Hi there,
    Due to a high number of spambot registrations, any user who registers for the forum initially gets “Spectator” rights. Once I check (usually within 12-24 hours) that they are not spam, I change them to “Participant”.
    Some people get annoyed that they cannot post immediately. And I would like to create a popup banner that appears when users login for the first time but cannot post. I am capable of the JS and the CSS, but not quite the PHP.

    Basically, I want to enqueue a JS file if the user is a “spectator” and is “logged in”.

    Could you please advise how to complete my function (hopefully just the commented parts), which will go in the functions.php file, and what add_action arguments should be applied if I am wrong?

    function forum_user_is_spectator(){
    if ( is_bbpress() && is_user_logged_in() ) {
        //$User_ID = get user ID
        //$Spectator = find out if User Has Spectator rights
        if ($Spectator){
           wp_enqueue_script( 'spectator-js', get_template_directory_uri() . '/js/spectator.js', array(), false, true);
           }
        }
    }

    add_action('wp_enqueue_scripts', 'forum_user_is_spectator');

    thx in advance

    #220000

    Topic: Tips: forum theme

    in forum Themes
    flamuren
    Participant

    Hi,

    I am not good at coding or custom css. My level of knowledge is: I just know how to install and activate stuff on wordpress more or less.

    I am looking to get a clean, crisp and modern design on my forum and member site (located on a subdomain of my main homepage). However I cant really find a good theme. I am looking for a cheap solution – if possible free. I use BBpress and Buddypress and thats mostly the features I need. I will use a custom register plugin also and the main page should present news and some quick info for the members to be updates whats going on. Do you have any tips on themes that works well for this and looks good?

    I googled and found these mentioned in a list and they where free (however not having a presentation on the main page as I want):
    https://zakratheme.com/
    https://wpastra.com/

    Please help if you have any ideas ๐Ÿ˜Š๐Ÿ™

    Robin W
    Moderator

    anything can be done if you can find someone with the technical skills and time and are willing to pay the money for them to do the work !!

    The plugin does not generate WordPress ‘pages’ as such, it uses a theme’s template and renders data within that.

    I’m just a bbpress user who helps out on this forum, but if we ignore login, register and password reset which users may or may not want as pages (many use sidebar widgets and a multitude of membership plugins and methods to handle registration etc.) then I’m not clear what you want to happen with topic and reply forms – what is missing that you want that needs multiple forms?

    Palagrin
    Participant

    But that’s using the shortcodes and creating dedicated pages in WP right?

    I want BBP to automatically generate these pages, eg. https://mywebsite.blog/forums/login

    Pages required would be:
    – login
    – register
    – password reset
    – new topic
    – new reply

    My understanding of the shortcode is that if I wanted a new topic page, I would either have to have a generic one for the whole board or I would have to create individual ones for each forum based on the forum ID.

    The solution I’m looking for is for BBP to dynamically generate them as required. Is that possible?

    It seems odd to me that BBP doesn’t already do this.

    EDIT: would something along these lines work? https://stackoverflow.com/questions/32314278/how-to-create-a-new-wordpress-page-programmatically

    #219625
    #219391
    healtemple21
    Participant

    When I paste the register code into the page, nothing shows up. When I duplicate the same window for the forum-index, that works, in the wp bakery software (changing only the code), nothing happens.

    I hope this helps to clarify. Let me know, thank you for your help
    Roman

    #219386
    healtemple21
    Participant

    sorry it’s [bbp-register]

    #219385
    healtemple21
    Participant

    Good Day, the shortcode bb-register , login and lost password aren’t working for me on WPBakery. Other bb shortcodes do work, such as bb-topic-index. Thank you for any assistance you can offer.

    #219287
    franklinss
    Participant

    Sorry, maybe i am not specific enough. I have set up these pages. For example: After you registrate, you are directed to …wp-login.php?checkemail=registered. I dont want to show the wp-login, but for example a page on the site itself which says; succesfully registrated. Check your inbox. And when you set up a password that is is also on the site itself.

    I hope i am clear enough (english is not my main language).

    Thank you so much again!

Viewing 25 results - 201 through 225 (of 4,247 total)
Skip to toolbar