-
mgrmn replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
Can you post your exact code snippet as you put it, not loading probably means a typo in the code.
You can get an example code from https://codex.wordpress.org/Function_Reference/is_user_logged_in , it pretty straight forward. Not much coding knowledge needed.
And what @hnla means is that <font> tag has been deprecated, so use css something…[Read more]
-
mgrmn started the topic Activity Media Uploader (firefox freez + can not play mp3) in the forum How-to & Troubleshooting 11 years, 4 months ago
When using Media Uploader to upload mp3 files
1) I can only upload 1 file, if 2 it will give me a “Sorry update post error” (not exact frase)
2) After upload is done and I click post after like a few secs mozilla completely freezes.
3) With Chrome, I can not play the mp3 fileSee images:
Firefox freezes…[Read more]
-
mgrmn replied to the topic Activity Media Upload in the forum How-to & Troubleshooting 11 years, 4 months ago
Found the Problem for Media Upload wp 3.5.2 & 1.7.2, plugin Wp User Fronted v1.2.2 is causing the problem
-
mgrmn started the topic Activity Media Upload in the forum How-to & Troubleshooting 11 years, 4 months ago
Activity -> when clicking on Attach Media no file selector windows is openening not in firefox and not in chrome.
-
mgrmn replied to the topic My buddypress translation is gone with the upgrade in the forum How-to & Troubleshooting 11 years, 4 months ago
Follow these instructions https://codex.buddypress.org/developer/customizing/customizing-labels-messages-and-urls/
Funcione 🙂
-
mgrmn replied to the topic [Resolved] Buddy Registration Link in the forum Creating & Extending 11 years, 4 months ago
Try doing something like this.
<?php if ( !is_user_logged_in() ) {?>
<font color = “#306EFF”>REGISTER</font>
<?}?> -
mgrmn replied to the topic How do you add something to bp_group_header_actions ? in the forum How-to & Troubleshooting 11 years, 4 months ago
Its made in wp-content/plugins/buddypress/bp-groups/bp-groups-template.php starting from line 1766
Line 1027 /wp-content/plugins/buddypress/bp-groups/bp-groups-screens.php
Line 21 /wp-content/plugins/buddypress/bp-themes/bp-default/groups/index.php -
mgrmn replied to the topic Buddypress and S2 member Activity problem in the forum How-to & Troubleshooting 11 years, 4 months ago
I hate to tell you this, but there is not a easy way to do what you want to do. And as far as the code, that will echo out ID / USERNAME, and will execute the remove_action function. But that is all it does.
bp_blogs_record_post function can be found there –> /plugins/buddypress/bp-blogs/bp-blogs-functions.php. However I suggest and of course if…[Read more]
-
mgrmn replied to the topic Buddypress and S2 member Activity problem in the forum How-to & Troubleshooting 11 years, 4 months ago
See answer of @shanebp , or use the shortcodes, as explained http://www.s2member.com/kb/simple-shortcode-conditionals/
-
mgrmn replied to the topic Buddypress and S2 member Activity problem in the forum How-to & Troubleshooting 11 years, 4 months ago
See this link http://www.s2member.com/kb/s2member-conditionals/ it explains how to get the conditionals using PHP, since I do not have s2 installed can’t get them for you
Did some more reading for ya.
try
if (current_user_is("s2member_level1")) { echo "Woohaa got LEVEL 1" ; }
and or
echo S2MEMBER_CURRENT_USER_ACCESS_LEVEL;
-
mgrmn replied to the topic Buddypress and S2 member Activity problem in the forum How-to & Troubleshooting 11 years, 4 months ago
To see the output of that, you can either put that in your theme/functions.php or i would say bp-custom.php in dir /plugins/pb-custom.php i saw that simular code of yours on stackoverflow.
Not sure what you are tying to accomplish with that s2, but the issue is probably not that piece of code, but more trying to get the right levels.
That code…[Read more]
-
mgrmn replied to the topic Create Group in the forum How-to & Troubleshooting 11 years, 4 months ago
Not sure which file, however you should look in these directories look for div id subnav, it should be somewhere is my best guess for manual adding what you want.
/bp-templates/bp-legacy/buddypress/groups || /bp-themes/bp-default/groups
If you have it installed locally, I suggest you give that a try before editing online files.
If you are using…[Read more]
-
mgrmn replied to the topic Create Group in the forum How-to & Troubleshooting 11 years, 4 months ago
@dran2013 What you can do is this.
FILES:
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/member-header.php
/wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/group-header.phpAdd below <span class=”activity”><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
something like Cre…[Read more] -
mgrmn replied to the topic Create Group in the forum How-to & Troubleshooting 11 years, 4 months ago
Its there, just not included somehow within your template. That is if I understood it correctly. Since the button in within
the_title
tag of the template, if not included, no CREATE GROUP button is added to your template. So either have to include that part of code.Or manually add somewhere to the page.. still trying to figure out which one.…[Read more]
-
mgrmn replied to the topic Create Group in the forum How-to & Troubleshooting 11 years, 4 months ago
apply_filters( 'bp_page_title', esc_attr( $title ), esc_attr( $title ) );
something like that ? -
mgrmn replied to the topic Create Group in the forum How-to & Troubleshooting 11 years, 4 months ago
One I am with /groups/ I can go to /groups/create/ and it will show me the form. Thank you.
As far as “Page title is not within the WordPress loop”, where do I look to get fixed, cause all the PB pages have the same thing, just say “Page”
-
mgrmn replied to the topic Buddypress and S2 member Activity problem in the forum How-to & Troubleshooting 11 years, 4 months ago
Not sure, but I believe you need to add
get_currentuserinfo();
for the part getting user info.Try something like this to debug and see if you get any reponse at all.`function debug_userinfo() {
global $current_user;
get_currentuserinfo();
echo ‘Username: ‘ . $current_user->user_login . “n”;
echo ‘User email: ‘ .…[Read more] -
mgrmn replied to the topic Create Group in the forum How-to & Troubleshooting 11 years, 4 months ago
Yes, they are all checked / enabled
BuddyPress -> Components & BuddyPress -> Settings
Can not add groups, not as Admin , Not as User. Neither can I as Admin via Admin panel Groups.
Only direct insert DB -
mgrmn replied to the topic Create Group in the forum How-to & Troubleshooting 11 years, 4 months ago
I wish it did, but it doesn’t, I can insert them manually into the DB, but that isn’t the idea 🙁
-
mgrmn replied to the topic Create Group in the forum How-to & Troubleshooting 11 years, 4 months ago
Either I am starting to get blind or..
1) http://domain.com/members/%5Bprofile%5D/groups/ (No option / Link that says, create | create group)
2) http://domain.com/members/%5Bprofile%5D/activity/groups/ (No option / Link that says, create | create group)1) image http://postimg.org/image/c8w5h79eh/
2) image http://postimg.org/image/ago0oz7yl/ - Load More
@mgrmn
Not recently active