Forum Replies Created
-
In reply to: userpro topics replies for users in profile page
yes and a lot thanks to you, i have mailed them this topic link too
In reply to: userpro topics replies for users in profile pagehello,
the plugin author helped, here is the code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 <div id=”bbp-user-topics-started” class=”myforumtest”> <div class=”bbp-user-section”> <h2 class=”entry-title”><?php _e( 'Forum Topics Started', 'bbpress'); ?></h2> <?php if ( bbp_get_user_topics_started( $user_id, 'topics-created') ) : ?> <?php bbp_get_template_part( 'pagination', 'topics' ); ?> <?php bbp_get_template_part( 'loop', 'topics' ); ?> <?php else : ?> <p><?php bbp_is_user_home() ? _e( 'You have not created any topics.', 'bbpress') : _e( 'This user has not created any topics.', 'bbpress' ); ?></p> <?php endif; ?> </div> </div>
In reply to: how to make bbpress categories and forums as pagessimply said, i want the sub forums to be as sub pages in my menu
and as for my website it doesn’t have any content right now worth the situation
In reply to: how to make bbpress categories and forums as pageshello,
do i have to change anything to the appearance>menus?
thank you.
In reply to: userpro topics replies for users in profile pagehey robin, here is the entire code:
<div class=”userpro userpro-<?php echo $i; ?> userpro-id-<?php echo $user_id; ?> userpro-<?php echo $layout; ?>” <?php userpro_args_to_data( $args ); ?>>
<?php _e(‘Close’,’userpro’); ?>
<div class=”userpro-centered <?php if (isset($header_only)) { echo ‘userpro-centered-header-only’; } ?>”>
<?php if ( userpro_get_option(‘lightbox’) && userpro_get_option(‘profile_lightbox’) ) { ?>
<div class=”userpro-profile-img” data-key=”profilepicture”>profile_photo_url($user_id); ?>” class=”userpro-tip-fade lightview” data-lightview-caption=”<?php echo $userpro->profile_photo_title( $user_id ); ?>” title=”<?php _e(‘View member photo’,’userpro’); ?>”><?php echo get_avatar( $user_id, $profile_thumb_size ); ?></div>
<?php } else { ?>
<div class=”userpro-profile-img” data-key=”profilepicture”>permalink($user_id); ?>” title=”<?php _e(‘View Profile’,’userpro’); ?>”><?php echo get_avatar( $user_id, $profile_thumb_size ); ?></div>
<?php } ?>
<div class=”userpro-profile-img-after”>
<div class=”userpro-profile-name”>
permalink($user_id); ?>”><?php echo userpro_profile_data(‘display_name’, $user_id); ?><?php echo userpro_show_badges( $user_id ); ?>
</div>
<?php do_action(‘userpro_after_profile_img’ , $user_id); ?>
<?php if ( userpro_can_edit_user( $user_id ) ) { ?>
<div class=”userpro-profile-img-btn”>
<?php if (isset($header_only)){ ?>
permalink($user_id, ‘edit’); ?>” class=”userpro-button secondary”><?php _e(‘Edit Profile’,’userpro’) ?>
<?php } else { ?>
id_to_member($user_id); ?>” data-template=”edit” class=”userpro-button secondary”><?php _e(‘Edit Profile’,’userpro’); ?>
<?php } ?>
skin_url(); ?>loading.gif” alt=”” class=”userpro-loading” />
</div>
<?php } ?>
</div><div class=”userpro-profile-icons top”>
<?php if (isset($args[‘permalink’])) {
userpro_logout_link( $user_id, $args[‘permalink’], $args[‘logout_redirect’] );
} else {
userpro_logout_link( $user_id );
} ?>
</div><?php echo $userpro->show_social_bar( $args, $user_id, ‘userpro-centered-icons’ ); ?>
<div class=”userpro-clear”></div>
</div>
<?php if (!isset($header_only)) { ?>
<?php
// action hook after user header
if (!isset($args[‘disable_head_hooks’])){
if (!isset($user_id)) $user_id = 0;
$hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
do_action(‘userpro_after_profile_head’, $hook_args);
}
?><div class=”userpro-body”>
<?php do_action(‘userpro_pre_form_message’); ?>
<form action=”” method=”post” data-action=”<?php echo $template; ?>”>
<input type=”hidden” name=”user_id-<?php echo $i; ?>” id=”user_id-<?php echo $i; ?>” value=”<?php echo $user_id; ?>” />
<?php // Hook into fields $args, $user_id
if (!isset($user_id)) $user_id = 0;
$hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
do_action(‘userpro_before_fields’, $hook_args);
?><?php foreach( userpro_fields_group_by_template( $template, $args[“{$template}_group”] ) as $key => $array ) { ?>
<?php if ($array) echo userpro_show_field( $key, $array, $i, $args, $user_id ) ?>
<?php } ?>
<?php // Hook into fields $args, $user_id
if (!isset($user_id)) $user_id = 0;
$hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
do_action(‘userpro_after_fields’, $hook_args);
?><?php // Hook into fields $args, $user_id
if (!isset($user_id)) $user_id = 0;
$hook_args = array_merge($args, array(‘user_id’ => $user_id, ‘unique_id’ => $i));
do_action(‘userpro_before_form_submit’, $hook_args);
?><?php if ( userpro_can_delete_user($user_id) || $userpro->request_verification($user_id) || isset( $args[“{$template}_button_primary”] ) || isset( $args[“{$template}_button_secondary”] ) ) { ?>
<div class=”userpro-field userpro-submit userpro-column”><?php if ( $userpro->request_verification($user_id) ) { ?>
<input type=”button” value=”<?php _e(‘Request Verification’,’userpro’); ?>” class=”popup-request_verify userpro-button secondary” data-up_username=”<?php echo $userpro->id_to_member($user_id); ?>” />
<?php } ?><?php if ( userpro_can_delete_user($user_id) ) { ?>
<input type=”button” value=”<?php _e(‘Delete Profile’,’userpro’); ?>” class=”userpro-button red” data-template=”delete” data-up_username=”<?php echo $userpro->id_to_member($user_id); ?>” />
<?php } ?><?php if (isset($args[“{$template}_button_primary”]) ) { ?>
<input type=”submit” value=”<?php echo $args[“{$template}_button_primary”]; ?>” class=”userpro-button” />
<?php } ?><?php if (isset( $args[“{$template}_button_secondary”] )) { ?>
<input type=”button” value=”<?php echo $args[“{$template}_button_secondary”]; ?>” class=”userpro-button secondary” data-template=”<?php echo $args[“{$template}_button_action”]; ?>” />
<?php } ?>skin_url(); ?>loading.gif” alt=”” class=”userpro-loading” />
<div class=”userpro-clear”></div></div>
<?php } ?></form>
</div>
<?php } ?>
</div>
<p class=”bbp-user-topic-count”><?php printf( __( ‘Topics Started: %s’, ‘bbpress’ ), bbp_get_user_topic_count_raw() ); ?></p>
<p class=”bbp-user-reply-count”><?php printf( __( ‘Replies Created: %s’, ‘bbpress’ ), bbp_get_user_reply_count_raw() ); ?></p>In reply to: userpro topics replies for users in profile pagein userpro plugin templates/view.php file
this has already been discused in the userpro forum, please take a look here
In reply to: userpro topics replies for users in profile pageplease take a look here http://cahive.com/profile/siddardha/
i have already created some test topics, but they do not appear nor the linkbe clicked.
In reply to: userpro topics replies for users in profile pagehello,
thank you,it worked.
but is there a way, users viewing a profile can be able to see the topics and replies when the links are clicked? this would be much better.
thank you once again.
In reply to: how to make bbpress categories and forums as pagesyes, i have done that, but with no result.
ok, first i created a new page and put the short code [bbp-single-forum id=105] as per my forum id and then changed the required parent page and published. thats it right?
In reply to: how to make bbpress categories and forums as pagesi did everything as told, but it did not work and i don’t know where the problem is? does it have to do any thing with the appearance>menu option?
thank you.
In reply to: how to make bbpress categories and forums as pagesAnd about the forum, where do I find the page id? Is it the page name or some number. Sorry I am a beginner. And thanks once again.
In reply to: how to make bbpress categories and forums as pagesThanks for the info robin.
I have a small doubt, pls clarify.
So I will create a new page and paste the required short code and select the parent page, right? That’s all?
Thank you once more.In reply to: bbress topic box to write contentthank you for the info, now it looks pretty simple and understandable
In reply to: bbress topic box to write contenthttp://awesomescreenshot.com/064423t8de
the image seems to be not coming up