-
bp-help replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
@modemlooper
Yes I am familiar with wrapping everything in a class. I have used this method in a small plugin I have on github. I appreciate the advice again!
P.S. I have your site listed on my blog as a place to get awesome premium BP plugins so I hope you don’t mind. http://bphelpblog.wordpress.com/ -
bp-help replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
@modemlooper @hnla
Thank you guys for pointing that out. I will start using this as a standard practice in the future. I still believe there needs to be concise documentation in the codex so other new developers can follow these practices and to be consistent and it should really come from someone with more experience when they have time to update…[Read more] -
bp-help replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
@modemlooper
What extra file? Are you referring to the loader.php? If that is the case then the example you provided above makes no sense. Why would I require private-community-for-bp-lite.php? Are you suggesting I do away with the loader.php and add the example you provided in the main plugins private-community-for-bp-lite.php file as well as the…[Read more] -
bp-help replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
@modemlooper
Yeah it pretty much does the same thing in a simpler form, but hopefully they will approve it as I took your advice. I really don’t see why my plugin is being scrutinized because there is lots of simpler, and even more complex BP plugins on the repo that doesn’t check for BP, or give a notice that BP is required for it to work. Some…[Read more] -
bp-help replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
@modemlooper
So is this a new requirement to get a plugin approved to the repository? It would be nice to have this in the codex as a reference in the future if so. Thanks! -
bp-help replied to the topic Creating New Plugins in the forum Creating & Extending 11 years, 5 months ago
@hnla @mercime @modemlooper
I agree there needs sorting out and consistency in how to check for BP etc.
I just got an email from Mika E one of the plugin reviewers and she saysBut … why?
BuddyPress has loader actions you can hook into: https://plugins.trac.wordpress.org/browser/buddypress/trunk/bp-core/bp-core-actions.php#L34
(I’m sitting…
-
bp-help started the topic Creating New Plugins in the forum Installing BuddyPress 11 years, 5 months ago
I usually only give out help but now I need some advice from real BP developers. I don’t intend to sound like I do not appreciate others advice but this is strictly geared more for real BP developers. Anyways on with my question. I have a plugin I submitted to the repository you can examine it…[Read more]
-
mcpeanut replied to the topic [Resolved] Feel Like I need to beg to get some help…im close to despair! in the forum Installing BuddyPress 11 years, 5 months ago
@modemlooper thankyou for all your help i have managed to completely resolve this now you can mark this thread as solved! once again thankyou very much pal and to hugo cheers for recommending for me to get a developer and insulting my intelligence, like i said earlier i knew i was in the right direction when i mentioned needing to create a…[Read more]
-
mcpeanut replied to the topic [Resolved] Feel Like I need to beg to get some help…im close to despair! in the forum Installing BuddyPress 11 years, 5 months ago
@modemlooper ok the reason my sliding login panel dissapears is when i create the buddypress php file and tell it to get buddypress header its no longer including my slider..any ideas? what to add to get it to call my sliding panel too?
-
mcpeanut replied to the topic [Resolved] Feel Like I need to beg to get some help…im close to despair! in the forum Installing BuddyPress 11 years, 5 months ago
@modemlooper hmm actually not all has gone to plan on closer inspection because i have a search bar and a facebook google and twitter icon in my header so removing the header image still leaves these plus i have a custom sliding menu navigation panel at the top of my webpage instead of the buddypress default nav bar and when i remove this…[Read more]
-
mcpeanut replied to the topic [Resolved] Feel Like I need to beg to get some help…im close to despair! in the forum Installing BuddyPress 11 years, 5 months ago
its ok @modemlooper i figured it out 🙂 any chance you can point me in right direction on how to remove my main navigation bar too? as i could supplement it with a side nav bar in the buddypress pages thx…by the way youve been a great help so far.
-
mcpeanut replied to the topic [Resolved] Feel Like I need to beg to get some help…im close to despair! in the forum Installing BuddyPress 11 years, 5 months ago
@modemlooper which part of my header-buddypress.php do i remove pal so i do it right?
<?php global $wp_locale;
if (isset($wp_locale)) {
$wp_locale->text_direction = ‘ltr’;
} ?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo(‘charset’) ?>” />
<title><?php wp_title(‘|’, true, ‘right’); bloginfo(‘name’);…[Read more] -
Reacton replied to the topic Limiting text length of activity update posts in the forum Creating & Extending 11 years, 5 months ago
@modemlooper Sorry if this upsets any parties but my Java script lecturer from last year was absolutely terrible and as such we learnt basically nothing about java script.. I do know my way around wordpress and the files in the backend however so could you please tell me how to implement this javascript code in detail?
Any help much appriciated,
Lloyd.
-
4ella replied to the topic Display user's role on the members-loop.php file in the forum How-to & Troubleshooting 11 years, 5 months ago
Hi @modemlooper, does your code work yet with the current version of Buddypress?
I get empty members directory when I put this `<?php
global $members_template;$user_id = $members_template->member->id;
$user = new WP_User($user_id);$role = array_keys($user->wp_capabilities,”1″);
echo ‘User Level: ‘ . $role[0];
?>` into the members…[Read more] -
TPdaking#7782 replied to the topic [Resolved] Adding new Profile Tab loses style (1.7) in the forum Creating & Extending 11 years, 5 months ago
@modemlooper thx for the post it works great on my site. I am a novice to code for buddypress but with this new tab I created how do I use in a way that each member has a map…this is the data I would like to use for the new tab.
-
bp-help replied to the topic Remove profile links in the forum How-to & Troubleshooting 11 years, 5 months ago
@modemlooper
That definitely would make a difference. Anyway thank you for your input! -
bp-help replied to the topic Remove profile links in the forum How-to & Troubleshooting 11 years, 5 months ago
@modemlooper
Reason I asked is because bp_init and init both work fine with the plugin I made on my test environment. I did update the plugin I made to remove profile auto links on github with init for compatibility sake. BTW bp-include has been in the plugin since conception in the loader.php. If someone knows better then feel free to chime in.…[Read more] -
bp-help replied to the topic Remove profile links in the forum How-to & Troubleshooting 11 years, 5 months ago
@modemlooper
Has this changed since 1.5 because the codex:
https://codex.buddypress.org/developer/customizing/bp-custom-php/
Uses bp_init in the examples? -
bp-help replied to the topic Best setup for this kind of site in the forum Miscellaneous 11 years, 5 months ago
@biggerplay
Doesn’t matter if you read 100 articles or 1000 articles if the information is outdated. I would take @modemlooper ‘s and @synaptic ‘s advice. Most likely things have changed a lot since the articles you read. It pays to stay on top of things with BP and the best way to do that is reading as much info in the blog, documentation/codex…[Read more] -
Henry replied to the topic [Resolved] Changing the default mystery man avatar in the forum How-to & Troubleshooting 11 years, 5 months ago
I stripped my bp-custom.php down so that it is almost empty. @modemlooper‘s code works great now. Must have been something in there causing a conflict.
Thanks guys
- Load More
@modemlooper
Active 9 months, 3 weeks ago