-
Prashant Singh replied to the topic Redirect from page if not logged in in the forum How-to & Troubleshooting 7 years, 7 months ago
Not an issue, just write
exit();after thiswp_redirect( 'http://www.legit-check.dk/rm_login/', 301 );and also replacetemplate_redirectwithwp.If it still of no help, then please go for this plugin https://wordpress.org/plugins/simple-301-redirects/. You have to just enter the source and destination URL there.
Thanks
-
Prashant Singh replied to the topic Private Message suggestions in the forum How-to & Troubleshooting 7 years, 7 months ago
Ok, got it.
Please replace this
" . CUSTOM_USER_META_TABLE . "with your user meta table name most probablewp_usermetaHopefully, it will help you.
Thanks
-
Prashant Singh replied to the topic Redirect from page if not logged in in the forum How-to & Troubleshooting 7 years, 7 months ago
Ok, got that.
Please replace
auth_redirect();withwp_redirect( 'http://www.legit-check.dk/rm_login/', 301 );and
is_page('members')withis_page('medlemmer').I was not knowing the exact URL and page slug.
Thanks
-
Prashant Singh replied to the topic Private Message suggestions in the forum How-to & Troubleshooting 7 years, 7 months ago
Hi,
Have you tried that code?
-
Prashant Singh replied to the topic Redirect from page if not logged in in the forum How-to & Troubleshooting 7 years, 7 months ago
Hi,
Please paste the code in your child theme’s functions.php. If you do not have child theme then install this plugin https://wordpress.org/plugins/code-snippets/ and add a new snippet there and paste this code.
add_action( 'template_redirect', 'ps_redirect_to_login' );function ps_redirect_to_login() {
if ( is_page('members') && !…[Read more]
-
Richard Brown replied to the topic Site Wide Activity in the forum How-to & Troubleshooting 7 years, 7 months ago
Sorry. I really didn’t give you enough information.
Yes I have the activity streams and site tracking activated.
I am simply trying to allow site wide publishing of all posts and page new and updated. Currently it shows site wide activity from a site that we don’t want to show:
This site:…[Read more]
-
Prashant Singh replied to the topic Filter Activity by Category in the forum Creating & Extending 7 years, 7 months ago
Welcome š
-
Bruce A. Broillet's profile was updated 7 years, 7 months ago
-
sbobet ?????????'s profile was updated 7 years, 7 months ago
-
Ernest Munoz's profile was updated 7 years, 7 months ago
-
Replacement Barrels's profile was updated 7 years, 7 months ago
-
Prashant Singh replied to the topic How to start JS immediately after loading the āNotifications pageā in the forum How-to & Troubleshooting 7 years, 7 months ago
Perfect š
-
Prashant Singh replied to the topic Placing profile avatar in item-nav in the forum How-to & Troubleshooting 7 years, 7 months ago
Whenever you are adding to any other place, please remove from the first place and then only paste it on second place.
Thanks
-
Prashant Singh replied to the topic Members Masonry – Element in the forum How-to & Troubleshooting 7 years, 7 months ago
In my sense, simplest will be this:
<div class='item-meta'>
<p>
<?php
echo bp_member_profile_data('field=Expertise')
?>
</p>
</div>instead of this:
echo "<div…[Read more] -
Prashant Singh replied to the topic Hide specific user profile tabs in the forum How-to & Troubleshooting 7 years, 7 months ago
Ok, got that.
Please check this thread: https://buddypress.org/support/topic/how-to-hide-profile-menu-items-from-other-users/
There is a code snippet that might work for you. Just have to put your menu names.
Thanks
-
Prashant Singh replied to the topic Placing profile avatar in item-nav in the forum How-to & Troubleshooting 7 years, 7 months ago
Have you checked again? Maybe it is there and hidden using CSS. It seems not possible that it will not appear.
Any screencast or screenshot will help to explain more.Thanks
-
Prashant Singh replied to the topic How to start JS immediately after loading the āNotifications pageā in the forum How-to & Troubleshooting 7 years, 7 months ago
No, If you will check there is a function already written:
start: function() {
this.setupGlobals();// Listen to events ("Add hooks!")
this.addListeners();
},just find this and in this function write
alert('completed!');Thanks
-
Prashant Singh replied to the topic Please help….please! in the forum Installing BuddyPress 7 years, 7 months ago
Hi,
Please paste the following code in your child theme’s functions.php file:
add_action( 'bp_before_directory_groups_list' ,'ps_add_image_before_groups');
function ps_add_image_before_groups(){
echo "<img src='your_image_url_here'>";
}If you do not have child theme just add this plugin https://wordpress.org/plugins/code-snippets/ and add a…[Read more]
-
Prashant Singh replied to the topic slow upload – Bad Performance in the forum How-to & Troubleshooting 7 years, 7 months ago
Hi,
Which hosting provider you have? Please consult with them once.
Thanks
-
Prashant Singh replied to the topic Placing profile avatar in item-nav in the forum How-to & Troubleshooting 7 years, 7 months ago
Needs more debugging, please try just after or before
<?php bp_get_displayed_user_nav(); ?>Thanks
- Load More