Forum Replies Created
-
Hiya @mercime
Howya doing? Thanks for the propsHave you assigned a custom menu to your theme? If not, go to Appearance > Menus, create a menu if you haven’t already, and select the menu under Theme Locations. That should solve it.
Make sure the plugins.php files in members and groups are present in your theme.
Glad it helped… looks great!
BTW, I noticed you’re using the OpenTok plugin. I’ve played with it, have you tried it with several people at once?
Just reread the 2nd part of your last post.
Use your original html. That worked… the only things missing are the new wrapper divs that need to be added for each section, then the simpler css.
Sorry for not replying sooner, didn’t see this thread was updated
You’ve set the width too big. You’re trying to fit 3 elements side-by-side, but each has a width set at 50% with a margin of 2%. That makes a total width of 52%. No matter what you do, only 1 will fit on any given line (trying to add another element with 52% width will simply bump it to the next line). The grand total of all elements, including padding and margins, should not exceed 100%. Setting the width to 30% and margin at 2% for the 3 will total 96%. Try adjusting as per the following:
`#profile-wrap #edit-profile-right-column-firstname, #profile-wrap #edit-profile-right-column-middlename, #profile-wrap #edit-profile-right-column-lastname{
display:inline-block;
width:.30%;
margin-right:2%;
}`Try this. Add the following to your current theme style.css file (it will override the plugin css):
`/*Custom BP Profile Search*/
#bps_Form .editfield {width:110px;display:inline-block;}
#bps_Form h5 {display:none;}`See the API/Scripting section, it’s very well documented.
For s2member-specific questions, you’d probably get more pertinent help at their forums:
http://www.primothemes.com/forums/viewforum.php?f=4Did you search the WP plugin repo?
https://wordpress.org/extend/plugins/The problem you’re having is with inappropriate css. Using negative `top` values for every individual element simply pulls the element upwards, out of its designated “space”, while leaving that space blank. For example: `edit-profile-right-column-vertical` has a negative top value of -1019px which leaves 1019px blank below it (where the element would normally appear had it not a negative top value).
A better layout would be to first remove all `position:relative` and `top` values from individual elements in your css. In your html, wrap each group of elements you want to display on the same line in a wrapper div (ex: div#name-wrap). Next, apply `display:inline-block` to each element within the wrapper div. To finish, simply adjust width, padding and margins to get everything nicely aligned. Example below:
`
#name-wrap {
width:100%;
}
#name-wrap #edit-profile-right-column-firstname, #name-wrap #edit-profile-right-column-middlename, #name-wrap #edit-profile-right-column-lastname {
display:inline-block;
width:30%;
margin-right:2%;
}
`Hope this helps!
By far the easiest solution is to install the Firebug for Firefox addon:
http://getfirebug.com/Achievements can be created for just about anything: joining a group or creating one, posting, forum topics, completing their profile, sending messages, etc… Each member’s profile section also gets an Achievements sub-section where all their achievements are listed.
You can simply replace the WordPress search form code in your theme template with the following (it will give you the standard BP search form for Members, Groups, Blogs, Forums, Posts). Plus, the “Search anything…” default text will disappear when the user clicks in it.
`<form action="” method=”post” id=”search-form”>
<input type="text" id="search-terms" name="search-terms" value="” onfocus=”if (this.value == ” ) { this.value = ”; }” onblur=”if (this.value == ”) { this.value = ”;}” /> in<input type="submit" name="search-submit" id="search-submit" value="” />
`
This plugin should help get you where you want to go:
https://buddypress.org/community/groups/achievements/First, set the entire shebang to fill the screen with a maximum width of 100% like so:
`body {
max-width:100%;
}`Then, set the page container div element (it sits inside the body element) to the smaller width you want and set the margins to auto so the content gets centered on-screen like so:
`div#container {
width:60%;
margin:auto;
}`EDIT: you may want to set the container div to a fixed width instead, for example:
`div#container {
width:900px;
margin:auto;
}`If your theme does not have a custom css area, you’ll need to edit your theme’s style.css file. Add the following to that file and adjust the color to suit:
`div.item-list-tabs ul li.selected a, div.item-list-tabs ul li.current a {
color:#212121;
}`Check out this plugin by Boone:
https://wordpress.org/extend/plugins/unconfirmed/I’ve been redesigning my latest project kwitterz.com and haven’t gotten around to adding CKEditor to docs yet, but that’s on my to-do list for this week. I’ll let you know how it goes
Try this plugin (it displays the user’s country based on their IP):
https://wordpress.org/extend/plugins/magiks-geo-country-lite/To get the small flag to display directly beneath the logged-in user’s avatar, you could add the shortcode to your sidebar.php template, just before the closing tag of `
`, like so:`
`Are you the group admin? If so, the button is not displayed.
@grahaman
You’re welcome
BTW, I just edited the above post ‘cuz I had put the wrong bracket at the end. It should be a closing bracket like it is now.
@grahaman
Presuming you don’t want a horizontal scrollbar (just the vertical), add the following to style.css in your child theme and adjust the height to taste:
div.dir-list {
height:200px;
overflow-x: hidden;
overflow-y: scroll;
}This should help solve your problem:
Open your style.css file and find `#header h1 a`
Remove `text-indent: -9999px;` (that’s whats causing long text to bleed off the left side)
Then adjust the width to fit the length of your title.It would be a lot less time-consuming if you were to add the s2member snippet directly in your templates rather than each post as you write them. This way, the code would automatically run on every post.
You’ll find all the functions to call adminbar stuff here:
https://codex.buddypress.org/theme-development/modifying-the-buddypress-admin-bar/