Forum Replies Created
-
Makes sense but I haven’t a clue on how I could code such a function… That’s way above my programming skills.
Hey jivany,
I was sort of wondering if that would happen
LOL, it sure did so I’m wondering if there was a workaround, such as the field not being visible (or non editable) but would still send the name field when the form is submitted.
Darn, I miss the good old days (phpBB 1 and 2) when you only had to comment out code in templates…
Oops, spoke too soon, if I edit anything in group 1 (where Username is hidden), I get “Please make sure you fill in all required fields in this profile field group before saving” even though everything has been filled.
Oh well, back to the drawing board. Maybe the code wasn’t inserted in the right place and/or I have to add HTML but I haven’t a clue as to what I should add.
@jivany Wow, thanks, I simply added:
<?php if ( 'Username' == bp_get_the_profile_field_name() ) : ?>
<?php else : ?>under:
<?php if ( 'textbox' == bp_get_the_profile_field_type() ) : ?>inserted a endif where you indicated, didn’t do any HTML formatting and the Username field is now hidden.
Thanks again!
Gene
In reply to: BP Album+ || New Features Requests and DiscussionOne last Feature I would suggest is to have a “Default Album” e.g. if someone doesn’t select or even create an album they can still upload to their “Default Album”
Fantastic idea.
In reply to: BP Album+ || New Features Requests and Discussion@foxly Thanks for all the info. makes a lot of sense.
In reply to: BP Album+ || New Features Requests and Discussion@foxly Thanks for the quick reply. As I reported in a previous post, it shows the pics in descending order but picture navigation is ascending. I think it would be wiser for me to wait for a release which correct those issues.
BTW, can I change the “original” value (4000px) to something smaller to save space and bandwidth? If so, what would happen if someone were to upload a photo larger than the maximum allocated size?
Thanks again,
Gene
In reply to: BP Album+ || New Features Requests and DiscussionThanks for the snippet of code. I inserted it and the pics show last one first .
The only side-effects I’ve encountered is when viewing the pics, the navigation retains it’s original order (ascending).
Cheers,
Gene
Thanks guys, I’ll drop the idea being that it’s way too complicated for what it’s worth.
My reason for having the mandatory name field only (which I renamed Username) in group 1 is that the site I’m working on is username only and thanks to Brajesh Singh’s modifications in edit.php, group 1 can’t be edited by the users.
So, my only alternative is to restore the original edit.php file, move the group 2 fields to group 1 so they may be filled out during registration but I wonder if there would be a simple way to hide or “gray out” the name field in edit.php so the user can’t change it.
Nope, only getting group 1. I wonder if:
<?php if ( function_exists( 'bp_has_profile' ) ) : if ( bp_has_profile( 'profile_group_id=1' ) ) : while ( bp_profile_groups() ) : bp_the_profile_group(); ?>can be modified to fetch group 2 also.
LOL, this is driving me nuts…
Darn, you’re right, I restored an original version of register.php and only group 1 shows. I’ll go and try your code to see if I can get group 2 to load.
Sorry about that…
Oops,sorry, I think there was a misunderstanding, bp-register loads all groups by default, what I’m trying to accomplish is to hide (or not load) groups 3 and 4 so the user can fill those optional field groups once they’ve activated their accounts..
In reply to: BP Album+ || New Features Requests and DiscussionAlbums show in the correct order (last created first) but the pics are still sorted in the wrong order (new images last)
Is there code I could modify to show the latest pics in the albums first?
Thanks,
Gene
@jivany, I’ve been playing around with this all afternoon but to no avail (learning PHP as I go along), either group no. 2 shows up but group 1 (name) doesn’t, or group 1 and only 1 field out of 6 from group 2 or neither groups 1 and 2.
I give up, LOL
Thanks,
Gene
In reply to: BP Album+ || New Features Requests and DiscussionThe fix worked for me, I don’t get the warning message anymore.
Albums show in the correct order (last created first) but the pics are still sorted in the wrong order (new images last)
In reply to: BP Album+ || New Features Requests and DiscussionThe fix worked for me, I don’t get the warning message anymore.
Albums show in the correct order (last created first) but the pics are still sorted in the wrong order (new images last)
In reply to: BP Album+ || New Features Requests and Discussion@foxly Glad you nailed it, do we simply overwrite the existing bp-album folder via FTP?
In reply to: BP Album+ || New Features Requests and Discussion@foxly Glad you nailed it, do we simply overwrite the existing bp-album folder via FTP?
Thanks, I’ll give it a whirl tomorrow.
Thanks, I’ll give it a whirl tomorrow.
Thanks jivany, if I want to filter out groups 3 and 4, do I simply need to replace your above code’s “group number” with “3, 4”?
Thanks again
Thanks jivany, if I want to filter out groups 3 and 4, do I simply need to replace your above code’s “group number” with “3, 4”?
Thanks again
In reply to: BP Album+ || New Features Requests and DiscussionI installed the new Beta and I keep getting:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_album_screen_home' was given in /home/domains/mydomain.com/www_root/bp/wp-includes/plugin.php on line 414in the header when I click Media.
Also, I don’t know if the above is related with image sorting but it still shows my older images first.
In reply to: BP Album+ || New Features Requests and DiscussionI installed the new Beta and I keep getting:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'bp_album_screen_home' was given in /home/domains/mydomain.com/www_root/bp/wp-includes/plugin.php on line 414in the header when I click Media.
Also, I don’t know if the above is related with image sorting but it still shows my older images first.
In reply to: BP Album+ || New Features Requests and Discussion@foxly Thanks, I’ll install the Beta. BTW, will there eventuality be an option to limit file size uploads?