lwyndham (@lwyndham)

Forum Replies Created

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

  • lwyndham
    Participant

    @lwyndham

    You need to edit the file called tabbed-login.php found in the Tabbed Login Widget plugin not the Bbpress plugin.


    lwyndham
    Participant

    @lwyndham

    @diggories

    I edited the file plugin file called tabbed-login.php.

    At line 176 edit the <div class=”userinfo”> so that it now reads…

    		<div class="userinfo">
    			<p><?php _e('You are logged in as ', 'tabbed-login'); ?> <strong><?php echo $user_identity; ?></strong></p>
    			<p>
    				<a href="<?php echo wp_logout_url($current_url); ?>"><?php _e('Log out', 'tabbed-login'); ?></a> | 
    				<?php if (current_user_can('manage_options')) { 
    					echo '<a href="' . admin_url() . '">' . __('Admin', 'tabbed-login') . '</a>'; } else { 
    					echo '<a href="' . bbp_get_user_profile_url( get_current_user_id() ) . '">' . __('Profile', 'tabbed-login') . '</a>'; } 
    					// Updated using bbp_get_user_profile_url( get_current_user_id() to link to BBPress profile page instead of the WP profile page
    					?>							
    			</p>
    		</div>

    Hope this helps!


    lwyndham
    Participant

    @lwyndham

    I have just managed to solve this issue by using:
    bbp_get_user_profile_url( get_current_user_id() )

    Those looking to create a simple link to the profile could use:
    <?php echo bbp_get_user_profile_url( get_current_user_id() ); ?>


    lwyndham
    Participant

    @lwyndham

    +1

    I’m am using the plugin “Tabbed Login Widget” which I would like to modify so that user profile page points to the BBpress profile instead on the WP profile page.

    But I do not know what URL to use?


    lwyndham
    Participant

    @lwyndham

    + 1 from me!

    Would love the flexibility to have the option to do show a forum (i.e. it’s topics) with and without the ‘create a new topic’ form.


    lwyndham
    Participant

    @lwyndham

    +1


    lwyndham
    Participant

    @lwyndham

    I’m am also looking to display the forum description at the top of the topic forum page, in other words exactly the same as partager described above.

    Has any one achieved this?

    I’m sure there is a simple solution (i.e. add the forum description tag to the template) but do not know where to start.

    Thanks
    Lee

    In reply to: Is this possible?

    lwyndham
    Participant

    @lwyndham

    Thank you for the responding to me query Anoited!

    I feared that I would get this response, I hoped that perhaps there was a plugin or someone previously may have wanted the same functionality.

    Basically what we want is a forum where people can posts training requests, and the logged in training providers could respond, but we need the responses to be hidden to each other so that rival training providers do not get into a bidding war (so to speak).

    Perhaps there is a way of editing the plugin so that the code used to display the responses has a conditional statement that will only allow the topic originator and admins to view the responses – not sure how difficult this will be to implement if at all possible.

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