Skip to:
Content
Pages
Categories
Search
Top
Bottom

Only social login members

Viewing 21 replies - 1 through 21 (of 21 total)
  • @robin-w

    Moderator

    bbpress just uses the worpress login.

    On first login, users are given the default role on dashboard>settings>forums

    so it should all be fine.

    @principiante

    Participant

    Thank you Robin, so..there is no any way to “hide” register form and just left social media login?
    Also, can you tell me how can I publish social widget shortcode in header of all forum pages?
    Right now is publish in sidebar widget…what is bad becouse mobile phone users need to scroll all way down to find it.
    Thank you!

    @robin-w

    Moderator

    so..there is no any way to “hide” register form and just left social media login?

    ok, we’re a bit outside bbpress support here, as this is theme/other plugin related.

    where is register (I’m not good in your language!)?

    Also, can you tell me how can I publish social widget shortcode in header of all forum pages?

    if you are ok with copying coding and FTP files, then I may be able to help

    @principiante

    Participant

    Robin,
    Register is here:

    Register

    I can modify files over ftp without any problem, just let me what I should modify.
    Thank you!

    @robin-w

    Moderator

    ok, can you give me the social widget shortcode you want to use

    @principiante

    Participant

    Im using WordPress Social Login plugin
    Shortcode: [wordpress_social_login]
    Thank you!

    @robin-w

    Moderator

    add this to your theme’s functions file

    add_action( 'bbp_template_before_forums_index' , 'rew_shortcode' ) ;
    add_action( 'bbp_template_before_topics_loop' , 'rew_shortcode' ) ;
    
    function rew_shortcode() {
    	echo '<div class="social_login" >' ;
    	echo '<br>' ;
     	echo do_shortcode('[wordpress_social_login]'); 
    	echo '</br>' ;
    	echo '</div>' ;
     }

    It may not be perfect, but without seeing its effect on your theme, I can’t say, so come back when it is in if it needs tidying up

    @principiante

    Participant

    Hi Robin,
    That is perfect!
    Please, how can I add text:
    “Inicia sesión con su cuenta de redes sociales y participa en el foro”
    before social login shortcode?
    Thank you!

    @robin-w

    Moderator
    add_action( 'bbp_template_before_forums_index' , 'rew_shortcode' ) ;
    add_action( 'bbp_template_before_topics_loop' , 'rew_shortcode' ) ;
    
    function rew_shortcode() {
    	echo '<div class="social_login" >' ;
    	echo '<br>' ;
    	echo 'Inicia sesión con su cuenta de redes sociales y participa en el foro' ;
    	echo '</br><br>' ;
     	echo do_shortcode('[wordpress_social_login]'); 
    	echo '</br>' ;
    	echo '</div>' ;
     }

    @principiante

    Participant

    Works great!
    Thank you Robin!

    @robin-w

    Moderator

    Great – glad you are fixed !

    @principiante

    Participant

    Sorry Robing,
    I still missing member register on this kind of pages:

    Velero compartido Agosto 2011


    Is that thread?
    Please…can you tell me code for this? Something like:
    add_action( ‘bbp_template_before_topics_?????’ , ‘rew_shortcode’ ) ;
    Thanks a lot!

    @robin-w

    Moderator

    ok, I need to know when this page is displayed – from doing what would you get to it?

    for example ‘I go into forums, and select x and then click y and this page comes up’

    That will let me find the right action for you to link to.

    @principiante

    Participant

    Here is forum index:
    sobrecroacia.com/forums/
    First forum is “Turismo Croacia”:
    sobrecroacia.com/forums/forum/turismo-croacia/
    And first post or topic is:
    “Por qué no cambiar moneda en España”
    sobrecroacia.com/forums/topic/por-que-no-cambiar-moneda-en-espana/
    Here I would like to have social login as well.
    Thank you!

    @principiante

    Participant

    Ufff…not sure if you will able to see entire post I just sent to you?!

    @principiante

    Participant

    When publishing urls here in your forum, page preview cover rest of post and cant be read.

    @principiante

    Participant

    When publishing urls here in your forum, page preview cover rest of post and cant be read.
    foto

    @principiante

    Participant

    Hi Robin…
    Did you find out how can I add social login to topics?
    Thank you!

    @robin-w

    Moderator

    I think it is

    add_action( 'bbp_template_before_replies_loop', 'rew_shortcode' ) ;

    @principiante

    Participant

    That’s it!
    Thank you!

    @robin-w

    Moderator

    no problem, glad to have helped !

Viewing 21 replies - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.
Skip to toolbar