mjjinvincible
Forum Replies Created
-
Forum: Plugins
In reply to: [Data Tables Generator by Supsystic] Vue component doesn’t work inside tableThat works great. Thank you for sharing the code snippet.
Cheers!
Forum: Plugins
In reply to: [Data Tables Generator by Supsystic] Vue component doesn’t work inside tableOne workaround is waiting until the table has fully loaded or setting a timeout when creating the Vue object:
setTimeout(function() { new Vue( { el: '#app', components: { CartQuantity, CartPurchase, }, } ); }, 5000);Is there any way I can “Execute JS Script After Table Load” globally instead of per-table?
Thank you again!
Forum: Plugins
In reply to: [Loco Translate] Timber/twig compatibilityThat’s great timwhitlock.
Thank you for working on this feature!Forum: Plugins
In reply to: [Loco Translate] Timber/twig compatibilitywould it be possible to make Loco to support .twig files as well?
+1
If you want to generate POT files with Loco you can add the twig extension in the settings page and put the Twig comment at the top of the template(s):
{#<?php#}Forum: Requests and Feedback
In reply to: What Should 2011 Hold for WordPress?- Core plugins
Forum: Alpha/Beta/RC
In reply to: How do I add css to admin backend to display:none specific menu items?Checking first if the user level is not the admin one (i.e. 10):
function custom_colors() { global $user_level; if ($user_level != '10' ) { echo '<style type="text/css"> /* Styles here! */ </style>'; } } add_action('admin_head', 'custom_colors');Forum: Fixing WordPress
In reply to: WordPress and bbPress IntegrationInstalling it in a subdirectory gives this extra line when using the bbPress Integration plugin:
define( 'ADMIN_COOKIE_PATH', '/subdirectory ' );And then I could go without problems from bbPress to the WordPress admin page. I’ve tried adding that line to my original installation, but it doesn’t seem to work. In the first place I guess it’s not necessary, because it would be something like this, without any value:
define( 'ADMIN_COOKIE_PATH', '' );Anyways, I’m glad I found (or I think so) where the problem was.
Forum: Fixing WordPress
In reply to: WordPress and bbPress IntegrationWell, the thing is that when I log into bbPress and I visit the WordPress Mu homepage, I’m actually logged in and I can post comments in the blog. The only problem is the redirection when going to the admin page. I have to fill in the user/pass info again so it lets me in. When I do that I’ve seen another cookie is created, and I don’t understand why it is not created in the first place if everything is installed and configured correctly.
I intend to use BuddyPress (without forums integration) over there so it would not really be necessary for the users to log into any admin panel, and therefore there would be no problem. Indeed, I was thinking about only allowing users to log in through the homepage, and put a redirection in the forum’s login page.
But still, I wanted to solve this thing because I could integrate it perfectly when I was testing… and I don’t want any problems in the future with the cookies and stuff.
Anyways, I guess I will have to leave it as that…
thank you for your time and help parkstreet, I really appreaciate it.Forum: Fixing WordPress
In reply to: WordPress and bbPress IntegrationI’m still being redirected.
I placed the “define” lines after the keys, I pasted the bbPress keys after the keys in the WordPress config file. I added the line to allow user switching to the bbPress config file. I enabled XML-RPC in both WP and bbPress.
Forum: Fixing WordPress
In reply to: WordPress and bbPress Integration@parkstreet I installed everything from scratch again (I had messed the files trying to troubleshoot with this topic). So now I just installed Mu, installed bbPress with integration options, mapped user registration, installed the Integration plugin in WordPress, copied the cookies code, pasted it into wp-config.php, cleared the browser’s cookies, logged in WordPress (everything works fine), logged out, cleared the browser’s cookies again (just in case), logged in bbPress, and finally I cannot go to /wp-admin/ because I’m redirected.
Here are the files:
wp-config.php: http://paste.ideaslabs.com/show/i7W2aSSL91
bb-config.php: http://paste.ideaslabs.com/show/6KWQzrjutqForum: Fixing WordPress
In reply to: WordPress and bbPress Integration@mjjinvincible, have you tried clearing your cache and restarting your browser. And you are not using a subdomain for your forum, right?
Yup. I not only delete the cookies but restar the whole browser, or even switch to another one.
I’m not using a subdomain for my forum. It’s within a subdirectory in the root (with all the other WP Mu files).
Forum: Fixing WordPress
In reply to: WordPress and bbPress IntegrationHi parkstreet,
first of all thank you for replying me and leading me here.
I’ve tried everything you say over here…Putting the code in the bb-config.php and wp-config.php files
Enableing the XML-RPC thing
Tried also what works for driz, leaving blank the cookiepath, and deleting the cookie path and cookie domain lines… but still it’s not working. It ALWAYS redirects me to wp-login.php when trying to access WordPress admin panel (after loggin in bbPress in the first place).Forum: Fixing WordPress
In reply to: Basic php text removal questionYes, I was running it on 2.8.
I would say it’s some kind of compatibility issue because I could not change the options that come with the theme in the backend of WordPress.Forum: Fixing WordPress
In reply to: Change the word ‘page’ in domain.com/page/2/ ???Any way to change this permalink estructure that comes by default?
Forum: Fixing WordPress
In reply to: Basic php text removal questionHi Andy.
The file which is causing all the trouble is actually widget-tab.php. It’s the file which shows recent posts, comments and categories. I don’t think that one is needed for the slider, but I’m not 100% sure because I can’t get the slider to work. Anyway, the slider should probably work with slide.php and glide.php:
<div id="top-container"> <?php include(TEMPLATEPATH.'/includes/slide.php'); ?> <div class="clear"></div> <?php include(TEMPLATEPATH.'/includes/glide.php'); ?> <?php // include(TEMPLATEPATH.'/includes/widget-tab.php'); ?> <div class="clear"></div> </div><!-- /top-container -->