-
David Cavins replied to the topic Reply To: [Resolved] Groups function is broken in the forum [Resolved] Groups function is broken 11 years, 4 months ago
Hi Pihla-
I can’t reproduce the problem you’re having. Can you add a tracer to your theme’s functions file or to
bp-custom.phpthen try to create a group?https://gist.github.com/dcavins/a9197f21d7f31b6594bc
I added this to my theme’s
functions.phpand the file that it created (groups_group_after_save_args.txt) ended up at the root of my site.…[Read more] -
David Cavins replied to the topic Reply To: [Resolved] Groups function is broken in the forum [Resolved] Groups function is broken 11 years, 4 months ago
Hi Pihla-
I can’t reproduce the problem you’re having. Can you add a tracer to your theme’s functions file or to
bp-custom.phpthen try to create a group?https://gist.github.com/dcavins/a9197f21d7f31b6594bc
I added this to my theme’s
functions.phpand the file that it created (groups_group_after_save_args.txt) ended up at the root of my site.…[Read more] -
David Cavins replied to the topic [Resolved] Wrong permalinks for BuddyPress Pages With IIS/SQL Server 2012 in the forum How-to & Troubleshooting 13 years, 4 months ago
Shuklaamar- Be aware that if you edit core files as that web page suggests, you’ll have to make that same edit every time you update WordPress.
Honestly, my experience with WordPress on IIS hasn’t been that great. The rewrite/redirects are one thing, but the FastCGI implementation is not very robust, which can cause grief.
Polly- Your problem…[Read more]
-
David Cavins replied to the topic Help with action variables and catching a URL in the forum Creating & Extending 13 years, 4 months ago
I did solve this by moving the logic that enables the action into the screen function, instead of attaching a separate function to bp-actions.
So the screen function first looks to see if that action is requested. If so, it does it, then redirects. Otherwise it isn’t enabled and the template kicks in.
This is the approach taken in the…[Read more]
-
David Cavins replied to the topic Help with action variables and catching a URL in the forum Creating & Extending 13 years, 4 months ago
I’ve altered this slightly to make it more like the BP-Skeleton-Component’s example (adding the screen name to the uri) and my action is still not catching the URI:
My button’s link looks like:
http://site.local/members/username/library/maps/delete-map/57/2/value?_wpnonce=12345678My action’s filter:
if ( bp_is_current_component( 'library' ) &&…[Read more] -
David Cavins replied to the topic [Resolved] Wrong permalinks for BuddyPress Pages With IIS/SQL Server 2012 in the forum How-to & Troubleshooting 13 years, 4 months ago
That’s interesting. (I don’t see that behavior on my LAMP or IIS installations.)
Do you have the “Custom Structure” option with an empty text field? You could try http://localhost/wp-sqlsrv/%monthnum%/%postname%/ that way.
-
David Cavins replied to the topic [Resolved] Wrong permalinks for BuddyPress Pages With IIS/SQL Server 2012 in the forum How-to & Troubleshooting 13 years, 4 months ago
What happens to your site if you switch your permalinks to simply be http://localhost/wp-sqlsrv/%postname%/ or http://localhost/wp-sqlsrv/%month%/%postname%/?
-
David Cavins replied to the topic [Resolved] Wrong permalinks for BuddyPress Pages With IIS/SQL Server 2012 in the forum How-to & Troubleshooting 13 years, 4 months ago
I’ve also used WP on IIS with mixed success. However, I’ve never tried to use SQL Server to host the db. Your rewrite rules look right to me. How have you set your permalink settings up within WP (from the Admin area, it’s at Settings > Permalinks)?
-David
-
David Cavins started the topic Help with action variables and catching a URL in the forum Creating & Extending 13 years, 4 months ago
I’m adding an action to a simple plugin, and BP seems not to be catching the URL (WP returns a 404). Here’s what I’m trying to do:
User clicks on the link to perform the action. The anchor has the url:
http://site.com/members/username/library/delete-map/57/2/value?_wpnonce=cc13d43458The link returns a 404 page, but I’m able to check that the…[Read more]
@dcavins
Active 1 week, 1 day ago