Jacob Schweitzer
Forum Replies Created
-
Forum: Plugins
In reply to: [BuddyPress Profile Tabs] Loading a custom themeThis is a great idea. I have not had any time to update the plugin until recently, but I will put this in the next version.
Forum: Plugins
In reply to: [BuddyPress Profile Tabs] Is there an example of this?I’ve added some screenshots on the plugin page –
BuddyPress Profile Tabs – ScreenshotsForum: Plugins
In reply to: [BuddyPress Profile Tabs] Tabs for Profile pageThis is already a feature of BuddyPress – just go to
Users -> Profile Fields
then click “Add New Field Group”
Each field group is made into a tab by BuddyPress Profile Tabs.
Forum: Plugins
In reply to: [BuddyPress Profile Tabs] Tabs order need to be fixedThis issue is fixed in the latest version. Kudos / props / big thank you to rscano.
Forum: Plugins
In reply to: [Fundify Crowdfunding (Moved)] Can't have two rewards same priceThe campaign submission form accepts more than one with the same price, but then the pledge form on the campaign page only allows selection of one of those items. So you click and the radio button doesn’t work for the other rewards, only one of those with the same price.
Forum: Plugins
In reply to: [BuddyPress Profile Tabs] Unable to change themeFrom what I can see your site is loading the “dot luv” jQuery UI theme, which means you were able to change the theme from the default “cupertino” theme.
Also, I’ve tested with BP 1.7 and it is working just fine for me.
Forum: Plugins
In reply to: [Jammer] Trying…Cool, inline styles 🙂 Thanks 🙂
Forum: Plugins
In reply to: [Jammer] Trying…Ok I got it working with multiple files, I think there was some old version of jquery coming from my theme. I’ve since changed themes and everything is fine now.
Is there any way to change the theme or css via the shortcode?
Forum: Plugins
In reply to: [BuddyPress Profile Tabs] Unable to change themeThe number one cause of the theme not changing would be that another jquery ui css is being loaded. Either that or there is an old version of jquery or jquery ui javascript being loaded that is conflicting. Could you guys provide some URLs to a couple profiles I could see?
Forum: Plugins
In reply to: [Jammer] Trying…Also tried like this for more than 1 file:
[jammer tracks=”title=Track1|mp3=https://googledrive.com/host/0B3Vh9AwY5rWWdW5YRDFKOFl0OGs/04-Beautiful-Disaster.mp3,title=Track2|mp3=https://googledrive.com/host/0B3Vh9AwY5rWWdW5YRDFKOFl0OGs/09%20Use%20Of%20Time.mp3″]
Forum: Plugins
In reply to: [BuddyPress Profile Tabs] Unable to change themeI haven’t tested with BuddyPress 1.7 yet as it is still in beta. They will release a new version soon I think, from what I saw checking in on the BuddyPress Trac. I will make a new version based on that if it follows the same code structure or similar. It might just follow the code structure of the activated theme which would make this harder to support but let’s hope that it still puts in some of the same things.
Forum: Plugins
In reply to: [visualCaptcha] Plugin issues and suggestionsHey I’m happy to report I got it working.
Thanks for that tip on the hook sniffer, that plugin actually works still even in WordPress 3.5.1 .
Here is what I found with the hook sniffer:
add_filter( ‘authenticate’, ‘wp_authenticate_username_password’, 20, 3 )
add_filter( ‘authenticate’, ‘visualcaptcha_do_filter’, 1000, 3 )
add_filter( ‘authenticate’, ‘bp_core_boot_spammer’, 30 )
add_filter( ‘authenticate’, ‘bp_core_signup_disable_inactive’, 30 )
add_filter( ‘authenticate’, ‘wp_authenticate_cookie’, 30, 3 )Firing Sequence 99: authenticate –> wp_authenticate_username_password –> Time fired: 1363549456.2313
Firing Sequence 100: authenticate –> bp_core_boot_spammer –> Time fired: 1363549456.2315
Firing Sequence 101: authenticate –> bp_core_signup_disable_inactive –> Time fired: 1363549456.2315
Firing Sequence 102: authenticate –> wp_authenticate_cookie –> Time fired: 1363549456.2316
Firing Sequence 103: authenticate –> visualcaptcha_do_filter –> Time fired: 1363549456.2317So here was my solution.. The visualcaptcha is firing at priority 1000, so I changed it to before any of the other ones at priority 10.
visualcaptcha.php line 34
BEFORE:
add_filter( $visualcaptcha_hook_data[ ‘filter’ ], ‘visualcaptcha_do_filter’,1000,3);AFTER:
add_filter( $visualcaptcha_hook_data[ ‘filter’ ], ‘visualcaptcha_do_filter’,10,3);Do you think that is too early to check the captcha or ? Maybe it should go after the WordPress username/password authentication ? I’m not sure.. There might be other spam blocking plugins and such that check pretty early so you have to get your captcha check in before them as well, it is a bit tricky indeed.
Muito Obrigado Irmão! Agradeço, valeu 🙂
Forum: Plugins
In reply to: [visualCaptcha] Plugin issues and suggestionsHey I still wasn’t able to get it working, here is what I tried. I tried selecting the included options. On the login form the captcha appears, I can move the icon to the box and everything. But, it doesn’t matter if I do something with the captcha or not, I login with the correct password no matter what the situation.
BuddyPress as far as I can tell isn’t using a custom login form or anything, and the captcha appears so part of it is working correctly. I think the hook for checking/authenticating the captcha is wrong or something is messing with it (I have no caching plugins on, this is a local development site i’m testing on).
Here are the login hooks I found for WordPress:
login_form
login_init
login_form_postpass
login_form_logout
login_form_lostpassword
login_form_retrievepassword
login_form_resetpass
login_form_rp
login_form_register
login_form_loginI know that login_form you are already using for the display hook and that is working. But which hook is the default you are using for authentication? Maybe the priority of the hook needs to be changed to make it later, it might be an issue with that. But it is not authenticating the captcha.
Also, here are some hooks I found for the BuddyPress registration page:
bp_signup_blog_privacy_errors
bp_after_blog_details_fields
bp_before_registration_submit_buttons
bp_after_registration_submit_buttons
template_notices
bp_before_registration_confirmed
bp_after_registration_confirmed
bp_custom_signup_steps
bp_after_register_pageThose are the order in which they load on the BP registration page. I think adding BP support would help the popularity of your plugin if you added it by default.
I also tested by adding my own option like this:
name:
loginoption
display hook:
login_form_login
validation hook:
login_initThen disabled all the other default options to only test the option I created.
Hope that helps you..
Forum: Fixing WordPress
In reply to: Multi-Language with DomainsWhat you want to do is possible but a little tricky. You can put two domains on one WordPress install. And as far as connecting the two, so that when you write a post in one, it shows up in the other, that is a bit tricky. You’d have to make a new post as a “draft” in the other site, then go there to translate and then make the post live. As far as switching, if the page slugs are exactly the same for every page, it should work, then you just add a link to every post which replaces the domain name for the other language. Message me if you have some question or something.
Forum: Fixing WordPress
In reply to: Send user role on emailYou are looking for this part of the WP_User object I think – http://codex.wordpress.org/Class_Reference/WP_User#get_role_caps.28.29 or maybe you can use this function to get the user role directly – http://codex.wordpress.org/Function_Reference/get_userdata