Forum Replies Created
-
Author
-
BoblebadParticipant
There’s this code from another thread about only showing members with avatar:
https://archived.seventhqueen.com/forums/topic/hide-members-without-avatars#post-15504
BoblebadParticipantHmm, trying to figure out how to break the output of the array into separate lines like a column ?
BoblebadParticipantJust need to get clear on something here:
COPY CODE//members page fields add_action('after_setup_theme','kleo_my_member_data'); function kleo_my_member_data() { global $kleo_config; //this is the details field, right now it take the "About me" field content $kleo_config['bp_members_details_field'] = 'About me'; //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there $kleo_config['bp_members_loop_meta'] = array( 'I am a', 'Marital status', 'City' ); }
The first line tells the theme in which group to find the fields ?
And the second line tells which fields to get from the group ?
And where does the names come from, is it the field names when generating them in the admin board ?
EDIT: Why is that the editor put in the code tags into the code ?BoblebadParticipantWhere just going through some links i had saved, and found this 🙂
https://archived.seventhqueen.com/forums/topic/member-directory-page-about-me-text-does-not-display
This will do the trick for us 🙂
BoblebadParticipantHi again Abe
Thought about it, and found it a bit difficult, so went with some php instead.
But the button jumps of-form ?
Can’t seam to figure out what it is in the code that does this, i have only added if-else
<?php if ( wp_is_mobile() ) { ?>
<label class=”inline”></label>
<div class=”one mobile-one columns”>
<input type=”password” name=”signup_password_confirm” required=”required” placeholder=”<?php _e(“Confirm”,’kleo_framework’);?>”>
</div><div class=”one mobile-one columns”>
<?php do_action(‘kleo_register_form_extra’); ?>
<button class=”button radius front-form-button”><i class=”icon-user”></i> <?php _e(“Sign Up”,’kleo_framework’);?></button>
<?php do_action(‘fb_popup_register_button_front’); ?>
</div>
<?php } else { ?>
<label class=”inline”></label>
<div class=”one mobile-one columns”>
<input type=”password” name=”signup_password_confirm” required=”required” placeholder=”<?php _e(“Confirm”,’kleo_framework’);?>”>
</div><?php do_action(‘kleo_register_form_extra’); ?>
<button class=”button radius front-form-button”><i class=”icon-user”></i> <?php _e(“Sign Up”,’kleo_framework’);?></button>
<?php do_action(‘fb_popup_register_button_front’); ?>
<?php } ?>EDIT: Sorry for using the quote tag, but using code, does weird things like cutting some of it.
BoblebadParticipantThanks Abe 🙂
Does that mean i have to use two styles in the php, and then the right one will sort of choose itself ?
April 23, 2014 at 21:32 in reply to: Check boxes on profile as drop-down on horizontal search ? #15828BoblebadParticipantThank you Abe
I’ll have a look at it 🙂
BoblebadParticipantBtw: What i have done for now is that i have put the button in the column with the password fields, that’s why it shows so nice on the pc screen 🙂
BoblebadParticipantHi Abe
Hmm, yes, i can see now, with other members, but Admin can do whatever he/she wants.
Is that supposed to be that way ?
BoblebadParticipantFound out hat was wrong, this is the way to do it 🙂
—–
Using get_header() will call the standard header.php template file; now, if you rename your headerwide.php file to header-wide.php (note the hyphen after ‘header’) you can call it with get_header( ‘wide’ )
—–BoblebadParticipantThanks for your reply ututorco 🙂
I’m using 2.6, and my main problem at the moment is the Blog page, it seams to be out of reach no matter where i try to add restrictions.
I found this regarding the redirection to another page than Levels (functions.php):
/*** Redirect users to another page instead of the levels page ***/
add_filter(‘kleo_pmpro_url_redirect’, ‘my_custom_redirect’);function my_custom_redirect() {
return ‘http://www.domain.dk/page/’;
}Works like a charm 🙂
BoblebadParticipant@ututorco can you please post your solution ?
Support forums are so much better when the solutions are presented as found 🙂
I’m having problems getting this to work, so any suggestion is useful.
BoblebadParticipantHmm, it seams that it works on only the ones directly linked to WordPress, all other pages are not restrictable, the feature is overwritten by plugins and other theme things.
But is still think when building a membership site, it should be an out-of-the-box feature that no one other than members could(as a setting/choice) view the site.
BoblebadParticipantThat’s weird, cause every page i add restriction to shows up as nothing has happened, and i haven’t made any new pages, i’m only talking about the ones that’s there from the start/demo ?
And why isn’t the Blog restrictable, cause the settings is in place, or is it the same problem as above, have you tried restricting the Blog on a separate page like here in the Sweet Date theme ?
BoblebadParticipantYou’re welcome 🙂
They don’t work, i don’t know why, but you need to go through the Sweetdate / Memberships, there it is possible to control access to some of the pages.
I’m working on this myself, i can see that you don’t use the blog, or at least it’s not in your menu, i have found a way to redirect it to the registration form, it’s done by adding some code to the index.php and putting it in the child themes folder.
BoblebadParticipantHi Brad
Most of it can be done through the Paid Memberships Pro plugin. If installed, the settings will be under menu: Sweetdate / Memberships.
I’m not sure about your members-online, cause i don’t have that on my site.
BoblebadParticipantI’m not sure how this is connected, but after assigning the pages under Memberships / Page settings, had slipped my mind after re-installing the theme, but might be cause of the redirect this features do.
BoblebadParticipantMaybe we can try this in the meantime 🙂
Have to go to bed, so i can’t try it before tomorrow.
BoblebadParticipantCan’t say that it works.
I’ve tried to restrict access to view members, and no matter how i do, clicking the members menu gives me an overview of the members.
A question in addition, why is there restrictions settings in two places, there’s one at the members page under pages, and then there’s under Sweet Date / Memberships ?
And i’m also not sure how it works, when ticking of a membership plan, does this mean that this is needed to view the page, or does this exclude viewing of it ?
As written, i have tried all settings, but does not restrict anything on my site.
BoblebadParticipantIt does that if you’re logged in, you need to be logged out, then the register page will show 🙂
All the best
CarstenBoblebadParticipantI really can’t see why the string is relevant here, isn’t just a question on whether the Codestyling Localization plugin can pass-on these codes, you gotta explain this ?
The one i tried it on was the title on the search/register form.
BoblebadParticipantThank you for your answer Abe 🙂
To take my question first, yes, it’s about CSS, and i know some about that too, as i do of WordPress, but as i wrote, when using Firebug the shown CSS is the right one, but some of it i can overwrite, and some i can’t cause in some weird way it looks like it’s overwritten by the settings in the dashboard.
And again, we’re talking on different frequencies, to me it’s a very clear question, one color in this place and another color in that place – and the one setting in the dashboard controls both.
That’s one part of this question, the other one was what controls/makes that specific page where the profile details is displayed, cause if i need to make a new class to get this working, i need to know where to use it, and that’s not clear to me, cause you have Buddypress involved too, and i don’t know when i need to look where.
Shortcodes, you say the have to be accessed through the little pinkie-thing, but in more threads you give out code for them and where to put them in the php. For myself, i love toggle, that’s one i would like to be able to use where i like, and i could probably find more.
So when you are giving out the codes to some of the shortcodes and where to place them, why not make a complete list showing what does what ?
Regarding the documentation, i’ll be looking forward to that 🙂
Can i suggest that you in that also provides the structure, i can see that i’m not the only one asking question that has to do with that, e.g. if one wants to make changes in a part that belongs to Buddypress, how can this be safe-placed under the child theme folder, so it doesn’t get overwritten when updating the theme ?
For me it’s okay if you can’t give support for customization, but tell it up-front so everyone knows.
But as you wrote, you would like to do it when time allows it, then make a forum for it, a BIG sticker at the top telling everyone that these questions only gets supported from the crew when they have the time, and then ask that we as users to help each others in that particular forum too ?
You should take a look at how the Genesis crew are handling this, it works 🙂
And just to let you know, i’m well aware of making a theme like this takes many hours, the only thing to me that was unclear, was what support covered – and as i can see, it covers what time lets it cover 😉
And for the record, i think it’s a great theme – my question is only regarding how the different parts of it work together and where to find and edit what 🙂
BoblebadParticipantI don’t know why this doesn’t work, i get nothing, not even the annoying little box, just nothing.
Just to be clear, are you doing this in Codestyling Localization ?
BoblebadParticipantThanks for your reply Abe
It looks like we’re talking on different frequencies here.
First thing, you need to up front give clear instructions on what is supported and not here, cause i have read through a lot of threads, and in some cases it involves a great deal of customisation with a fair part of code too. In some cases just the tiniest question, the easiest to answer, you tell them to hire a developer.
Why is there such a big difference in the support given to different people, it is in no way possible to figure out what can be asked, and answered, here ?
Please draw a clear line, thank you.
And back to the documentation – no, this theme does not just work the WordPress way, you have different style sheets hidden in different places, you have some custom Buddypress php files too. Three to four plugins. Then there’s the Framework, that’s another story. On top of that there some Admin settings including styling and layout in the dashboard.
I have tried overwriting some of them through style.css without any luck. And then there’s the pages, the files that builds the entire theme/site, again, not standard WordPress, some of them are put i different folders that only the them/framework knows.
Here me out here, i don’t say that it shouldn’t be that way, i say i want the documentation that tells me how it is put together.
Okay, then there’s the Admin part, many things have settings placed more than one place, some here, some there, e.g. Buddypress, i have some settings under Sweet Date, then under User/Profile fields, and also under Settings/Buddypress.
I know some one made a video showing some of the setup of the theme. but that is not enough, and as i see it, if you wanna do it the best way and not have to answer so many question on where to find and edit this and that, get the Admin part structured, put things in one place, make a guide that tells everyone where to find and edit the basic things – a walk-through to setup the site.
One question on my own, what is it with the shortcodes, why isn’t there a list ?
Yes in the documentation there is some of them, what about the rest, I know there’s more in shortcodes.php ?
Bottom line, I just wanna know how this works, what i paid for e.g. what does support cover, draw a clear line and follow that, cause as i wrote, some gets customisation and some don’t ?
BoblebadParticipantI’m not sure where you want me to make this addition ?
Firebug tells me that it’s a #main section (the main background of the site), but where does the page come from with the profile details ?
This is what i’ve bin asking for several times now, documentation on where to find things and where to edit what, what controls what in this theme ?
BoblebadParticipantI say i can’t use them when translation the theme to Danish with the codestyling localization plugin, i won’t accept the icon codes.
BoblebadParticipantWell, i wrote it be course it could be the same problem that gives these two results.
And it was, cause now the register page is there again too 🙂
And again, the only thing i can se is that it must have bin a server/database problem.
BoblebadParticipantThis is very wierd, now it works again.
I checked it in Google Chrome too, and got the exact same thing, just to rule out a browser (Firefox) problem.
It must have bin a server/database problem then, i don’t know what else.
BoblebadParticipantAnyone knows how to make this work ?
And in addition: How do i select a special header for smart phones ?
BoblebadParticipantI know what has happened, i updated to 2.5 yesterday, now i don’t have the glitch anymore, so it’s gone 🙂
BoblebadParticipantOk, thanks 🙂
So that leaves me with a problem i think, cause then they can’t be used when translating the theme through the localization plugin ?
BoblebadParticipantWell, something has gone all wrong here, cause i have a problem with the home / front page too, it’s acting like a regular page, but the template settings is as Front page.
All the other things regarding register is as should.
BoblebadParticipantI’m not sure that we are speaking the same language here, cause what you’re writing is almost what i’m doing, but i have just added the big logo to home-register-form.php, and in front-page.php included a header without the little top logo.
And the get_header still dosen’t do it, i can only do it with include.
But what’s essential here, is the these files get overwritten by an update, sÃ¥ that’s not the smartest way to do it, can these files be put in child folder in any way ?
BoblebadParticipantReading around gives me the impression that this can not be done this way.
“The is_front_page() It returns TRUE when the main blog page is being displayed and the Settings->Reading->Front page displays is set to “Your latest posts”, or when is set to “A static page” and the “Front Page” value is the current Page being displayed.”
And the is_front_page(), has to be sorrounded by ( ) as (is_front_page()), then the error goes away, but it still does not select the right header for the front page, but in some way it seams that the selector is working, cause when switching the two headers, i can se on the blog page, that the logo is removed.
So what page is it that the selector needs to check for as the front page ?
EDIT: Hmm, it’s only working for the blog page, all the other pages has the logo, so in some this isn’t working at all as it’s supposed to
-
AuthorPosts