Search Results for 'buddypress'
-
AuthorSearch Results
-
August 8, 2010 at 1:46 pm #88434
In reply to: How to change forum SLug
Hugo Ashmore
ParticipantAlways check through any available documentation in case there are relevant topics and examples:
https://codex.buddypress.org/how-to-guides/customizing-labels-messages-and-urls/Not sure you can do what you want easily though.
August 8, 2010 at 11:52 am #88427In reply to: E-mail domains blacklist doesn't work
Hugo Ashmore
ParticipantNot sure why this wasn’t in core! or why there’s been so much faffing around on this topic when your solution looks pretty straightforward!
An issue as I see it is to some extent nomenclature what is a ‘Domain’? is a domain ‘example.com’ or ‘.com’ the answer ought to be that they both are or at least one is a TLD which to my minnd is still a ‘domain’
One possible fault with this issue appears to me to lie with the wording of the WP/MPMU – > WPMS options for limited and banned emails ; we have for Limited domains ‘ If you want to limit site registrations to certain domains. One domain per line. ‘ so I figure I’ll add .’com’ now the only registrations I will accept are from emails addresses residing in that domain space, but this doesn’t work and any email addies such as ‘joeuser @example.com’ are blocked. So ‘Limited email domains’ is just that limited to full domains and as such not greatly useful, there are many domains in existence how do I know which I want to allow, this limiting only suits something like a corporate environment where you definitely knew you only wanted registrations from your own domain or a limited few others.
Far far more useful would have been if this was a white list and allowed you to set TLDs and then perhaps further block specific domains within that TLD.
At the moment with your script I think there’s an issue? If you have set a domain in ‘limited’ then that will overrule a banned domain your script is voided, which may be fine under the circumstances.
Remove the ‘limited’ entry and your script appears to work fine, thanks for working a solution up; sadly though it’s a matter of hacking core files which isn’t good.
Can you add this as a Trac ticket patch/enhancement for 1.3 please then it may get added to core.
August 8, 2010 at 9:13 am #88424In reply to: New Install on IIS server
Paul Wong-Gibbs
KeymasterBuddyPress works fine on IIS. In fact, one of the lead developers use a Windows/IIS setup. What version of IIS are you using and what problems do you get stuck on?
August 8, 2010 at 6:28 am #88422intimez
ParticipantYou’re welcome! Glad it’s working.
August 8, 2010 at 6:21 am #88420In reply to: Require VIP membership for group creation
Beck B
ParticipantNo experience using it (obviously), but I did just see this plugin that limits the number of groups a user can create.
August 8, 2010 at 6:09 am #88419In reply to: Some issues integrating BuddyPress with Custom Theme
Beck B
ParticipantIt is rather easier to work with if you’re starting a site than if you’re modifying an existing one, I’d imagine. I’m sure you’ll find other ways to engage people. (I did briefly look at Mingle, but can’t say as I feel strongly one way or another about it.)
August 8, 2010 at 5:31 am #88417In reply to: Some issues integrating BuddyPress with Custom Theme
Blue
ParticipantYeah we have disabled, and deleted it.
It presents itself more for an “as is” installation.I really havent got the time to re code an entire theme, due to cross polination of class and id tags, and incompatible css structure.
Many thanks tho for your replies.
August 8, 2010 at 5:24 am #88416In reply to: E-mail domains blacklist doesn't work
rondilly
MemberOk. Here’s the code. Find this in bp-core-signup.php
if ( is_array( $limited_email_domains ) && empty( $limited_email_domains ) == false ) {
$emaildomain = substr( $user_email, 1 + strpos( $user_email, ‘@’ ) );if ( in_array( $emaildomain, (array)$limited_email_domains ) == false )
$errors->add( ‘user_email’, __( ‘Sorry, that email address is not allowed!’, ‘buddypress’ ) );
}BELOW IT, ADD THIS;
//MY HACK
$banned_email_domains = get_site_option( ‘banned_email_domains’, ‘buddypress’ );if ( is_array( $banned_email_domains ) && empty( $banned_email_domains ) == false ) {
$emaildomain = substr( $user_email, 1 + strpos( $user_email, ‘@’ ) );if ( in_array( $emaildomain, (array)$banned_email_domains ) == true )
$errors->add( ‘user_email’, __( ‘Sorry, that email address is not allowed!’, ‘buddypress’ ) );
}
//MY HACKAugust 8, 2010 at 4:00 am #88413bidslammer
MemberHey gang,
I had this problem also. The reason it is so hard to pin down is because there are two steps to fixing it.
1. Once the BP is installed ok, the db tables don’t actually get created until you visit the Forums tab.
2. Deactivate the buddypress plug-in and then Activate it again.
That’s it. All the rest of it is unnecessary (removing Ajax plugins and so on).
August 8, 2010 at 2:55 am #88410In reply to: How to use activity
Beck B
ParticipantDoesn’t it show up in both theirs and yours here on Buddypress.org, too? Guess I’ll have a re-looksie….
August 8, 2010 at 2:52 am #88409In reply to: Some issues integrating BuddyPress with Custom Theme
Beck B
ParticipantUhoh, lost some code in your last reply here. Members has also gone away. DId you disable BP in frustration, or is that a result of whatever changes to index.php you mention?
(Sorry, the problem with forums, we’re in and out of windows and sometimes slow to reply)
August 8, 2010 at 2:47 am #88408In reply to: Changing the color of the menus?
Beck B
ParticipantTo be a bit clearer, here’s the info from the style.css file on making a child theme:
Instead, please read this codex page on how to build a BuddyPress child theme:https://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/
And if you decide not to make a child theme, make sure you put any modified styling info after these lines:
/***
* The default theme styles.
*/
@import url( _inc/css/default.css );/***
* The admin bar default styles
*/
@import url( _inc/css/adminbar.css );August 8, 2010 at 2:43 am #88407In reply to: Changing the color of the menus?
Beck B
ParticipantActually, I believe this is the more relevant code:
ul#nav {
margin: 0;
padding: 0;
position: absolute;
right: 15px;
list-style: none;
bottom: 0;
max-width: 65%;
}
ul#nav li {
float: left;
margin: 0 5px 0 0;
}
ul#nav li a {
display: block;
color: #fff;
text-decoration: none;
padding: 5px 15px;
background: url( ../images/60pc_black.png );
-moz-border-radius-topleft: 3px;
-webkit-border-top-left-radius: 3px;
-moz-border-radius-topright: 3px;
-webkit-border-top-right-radius: 3px;
}
ul#nav li.selected a, ul#nav li.current_page_item a {
background: #f5f5f5;
color: #555;
}
ul#nav a:focus { outline: none; }Are you just using the default theme?
If you’re going to mod very much at all, you should technically create a child theme and work from there, although it’s easy enough to save your CSS as you go.
(Hey, smart forum members, is there already a skeleton theme somewhere? I could probably post one, if not.)Anyway, assuming you’re working from the default theme, find the folder “bp-default” in the “bp-themes” folder in the buddypress plugin folder. Then open style.css and, working from the above, after the existing lines in the style.css file, add only the parts that pertain to color (e.g.,
ul#nav li:hover > a{background-color:#330033; color:#9900FF;}). That way, as long as you remember to backup this file regularly, you’ll know exactly what you’ve modified from the original.
If you want a menu with dropdowns, we’ll need to add some other code. Can pretty easily modify it to use WP3’s new custom menus. You can also remove (some or all of) the buddypress bits from that top menu if you want less clutter.
August 8, 2010 at 2:17 am #88405In reply to: Changing the color of the menus?
Kevin Perez
ParticipantCan you give me a bit more precise location for the file that I’m editing I’m assuming it’s in the buddypress theme itself under default.css?
August 8, 2010 at 2:07 am #88404In reply to: Something like “Yahoo! Answer” possible?
domaingu
Memberok got it now – thanks to both @justbishop and @nahummadrid for helping me start the journey.
August 8, 2010 at 1:43 am #88401In reply to: Some issues integrating BuddyPress with Custom Theme
Blue
ParticipantOk on this link: http://sitehelp.com.au/members/
I have added to my core css:
div#bpcontainer {
position: relative;
width: 698px;
-moz-border-radius: 6px;
-webkit-border-radius: 6px;
border-right: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
background: #fff;
overflow: hidden;
}
body.activity-permalink div#bpcontainer {
background: none;
border: none;
}And in the index.php of the link above, I have changed:
toBut the sidebar still isnt sitting next to content.
I added:before
in the bottom of that index.php file.
Its nearly there, but any help appreciated. Then I can set about globally changing stuff
August 8, 2010 at 1:37 am #88399amahesh
MemberI’ve spent a few hours playing around with BP based on info in this thread but am having some trouble. Does anyone know how to make it so that only updates from the group admin appear in the “Activity” feed?
Thanks
August 8, 2010 at 1:23 am #88397In reply to: Some issues integrating BuddyPress with Custom Theme
Blue
Participanthmm.. I am just looking at that in default.css of buddypress.
Will go and investigate , thanks.August 8, 2010 at 1:16 am #88396In reply to: Some issues integrating BuddyPress with Custom Theme
Beck B
ParticipantLooks like you have two separate divs with id of “container.” You only want to use an id once per page….use classes for multiple similar instances within a given page. I’m not sure if that’s THE problem, but I doubt it’s helping your code.
August 8, 2010 at 12:34 am #88392In reply to: Some issues integrating BuddyPress with Custom Theme
Blue
ParticipantOh and also, we have had to disable WP-SEO as we were getting db errors.
August 8, 2010 at 12:00 am #88390In reply to: How to hide a dashboard for non-admins?
pcwriter
ParticipantDon’t know about the post, but here’s the plugin:
https://wordpress.org/extend/plugins/adminimize/August 7, 2010 at 9:53 pm #88386In reply to: Main Blog Posts Not Appearing in Activity Feed
Sofian J. Anom
ParticipantI got the same problem. Did anyone know whether the plugin that caused it. I’m using WordPress 3.0.1, BuddyPress 1.2.5.2 , and so many plugins.
August 7, 2010 at 9:07 pm #88384jordashtalon
MemberHey I was able to get the topics and posts to print out properly, however with the moderator I was able to get an Array with the user ID of every Moderator in that category: This is a var dump of one:
Array ( [0] => stdClass Object ( [user_id] => 10 [date_modified] => 2010-07-25 01:51:48 ) [1] => stdClass Object ( [user_id] => 16 [date_modified] => 2010-07-26 14:37:24 ) [2] => stdClass Object ( [user_id] => 27 [date_modified] => 2010-07-26 16:49:17 ) )
So I should be able to loop through all the user ids, is there a function to get a link to the mods profile, mods picture, and mods name, all from the user ID?
Where can I look up functions like that? Is there a place to look it up?
I’m also looking for the following functions:
most recent user in a group by id, last activity date of a group by id (e.g. Last Activity 2 days ago..)
Also I’m printing out the group IDS and Forum IDS at the bottom of the site when i’m in a group or forum, is there a better way to look them up?
Thanks for all your help.
August 7, 2010 at 8:54 pm #88383In reply to: Require VIP membership for group creation
Joe Marino
ParticipantAs I mentioned earlier, I already looked at the s2Member plugin but I did not see that it had the ability to restrict group creation. However, @gwu123 you have convinced me to give the s2Member a trial run. I’ll keep this thread updated with the results.
@nuprn1 could you perhaps describe the process of how to go about mapping the “restrict group creation” plugin in layman’s terms?
August 7, 2010 at 8:49 pm #88382jordashtalon
Member@intimez Thanks that worked out well.
-
AuthorSearch Results