-
Puanthanh joined the group CubePoints Buddypress Integration 14 years, 2 months ago
-
Puanthanh posted on the forum topic If BP is enable conditional tag in the group How-To and Troubleshooting: 14 years, 4 months ago
I think my style is better. Even if buddypress is enabled, I can still control it from the theme option page- what to display
-
Puanthanh posted on the forum topic If BP is enable conditional tag in the group How-To and Troubleshooting: 14 years, 4 months ago
@r-a-y Thank a million for the tip. you saved my day
-
Puanthanh posted on the forum topic If BP is enable conditional tag in the group How-To and Troubleshooting: 14 years, 4 months ago
Won’t it load slower if we add defined( ‘BP_VERSION’ ) did_action( ‘bp_init’ ) function
-
Puanthanh posted on the forum topic If BP is enable conditional tag in the group How-To and Troubleshooting: 14 years, 4 months ago
Thanks for the info. I have not use defined( ‘BP_VERSION’ )
Where will be the proper place to put this code?
-
Puanthanh posted on the forum topic If BP is enable conditional tag in the group How-To and Troubleshooting: 14 years, 4 months ago
You are right, I should have explained. I am making theme both compatible for WP and BP by using something like this <?php if (get_option(‘gangmei_switch_platform’) == ‘buddypress’) { ?> <?php include(TEMPLATEPATH . ‘/_inc/member-search.php’); ?> <?php } else { include(TEMPLATEPATH . ‘/_inc/search-form.php’); } ?> This work 100% ( If buddypress is…[Read more]
-
Puanthanh started the forum topic If BP is enable conditional tag in the group How-To and Troubleshooting: 14 years, 4 months ago
It want something like this
if bp_is_enable
buddypress code
else
Wordpress codeI think this will really help and ease theme developer
Can this be possible?
-
Puanthanh posted on the forum topic Edit the default notifcation message on activity in the group Creating & Extending: 14 years, 4 months ago
I think I am in the wrong place
Sorry
-
Puanthanh started the forum topic Edit the default notifcation message on activity in the group Creating & Extending: 14 years, 4 months ago
As I am using WordPress as forum with BP, I like to edit the message we see on the activity page Little boy comment on the blog post ….. Little boy wrote a new blog post …. to Little boy comment on the post ….. Little boy wrote a new post …. If this is […]
-
Puanthanh posted on the forum topic How to show activity stream on the homepage/sidebar? in the group How-To and Troubleshooting: 14 years, 4 months ago
Copy the the activity index.php under activity folder
Edit the html to your way
-
Archie Webmaker posted an update 14 years, 4 months ago
Link comment aurthor url to profile page
<?php echo bp_core_get_userlink( $comment->user_id ) ?> -
Puanthanh started the forum topic How to change Comment Auhor Link to buddpress profile in the group How-To and Troubleshooting: 14 years, 4 months ago
The comment author Url linked to the profile page in my post page comment section BUT how do I do the same in my template page. I am creating a forum Theme ( Using WordPress as forum and buddypress features for the users) I need to link the last poster link to his/her profile page […]
-
Puanthanh posted on the forum topic Useful plugins required in the group Creating & Extending: 14 years, 4 months ago
@profitsbuzz Though this method is not exactly what I wanted, I use java script to fetch RSS feed and then I use the profile field data tag to call in. If we can integrate feed url validation this will work. I have tried it live on my site. But users don’t usually give their correct feed […]
-
Puanthanh posted on the forum topic Useful plugins required in the group Creating & Extending: 14 years, 4 months ago
I can add rss feed but if user don’t give a correct feed URL it screw up everything. That’s the problem I am facing
-
Puanthanh posted on the forum topic Need some ninja guru help on a function to exclude cats from loop in the group Miscellaneous: 14 years, 4 months ago
Guys if you want to set exclude category ID from your theme option page. here is a working code.
‘category__not_in’ => array(get_option(‘gangmei_blog_cat’)),
Where gangmei is your theme shortname. -
Puanthanh joined the group Miscellaneous 14 years, 4 months ago
-
Puanthanh started the forum topic Link Post author to BP profile page in the group How-To and Troubleshooting: 14 years, 4 months ago
Silly me! Wasted 30 minutes for this.
<?php echo bp_core_get_userlink( $post->post_author ) ?>Enjoy
-
Archie Webmaker posted an update 14 years, 4 months ago
Link Post author to BP profile page
<?php echo bp_core_get_userlink( $post->post_author ) ?> -
Archie Webmaker posted an update 14 years, 4 months ago
Link Post author to BP profile page
post_author ) ?> -
Archie Webmaker posted an update 14 years, 4 months ago
How to create custom user Role and Capabilities in WordPress theme
Enable write, publish, edit, delete- whatever you want but don’t allow it from the WP admin Dashboard. The code below will enable your WP Subscriber to post from the ‘One Click Post form’ but not from WP Dashb…[Read more] - Load More
@weblogian
Active 3 years, 10 months ago