Lucas
Forum Replies Created
-
Forum: Plugins
In reply to: [Front-end Editor] How to add a full edit link?This isn’t a client’s project… no one is paying us to do this, it’s our private project… Long story, I don’t like to give details…. You might have heard that before, but this one is true. I don’t blame you for not believing me though… You would be surprised…
Forum: Plugins
In reply to: [Front-end Editor] How to add a full edit link?Yeah me and my partner really intend to learn javascript and php. We are working on this project to see if things get better for us =p we are working for 12 hours (or more) straight for the last 7 days (and incountable hours for the last 6 months) to see this come true… We want to release it fast because we can’t handle it anymore… You have no idea how frustrating it can be… But we are almost over, finally… We just need to finish this, start selling, pay our debts and do some courses, preferably with private teacher for us both, that’s what we intend to do – In the meantime we have no time to stop everythign to learn, you know? things are really fucked up. We are brazilians, we intend to expand this project to outer borders and stuff, this is big for us….
Forum: Plugins
In reply to: [Front-end Editor] How to add a full edit link?Maybe it’s easier to create a button to redirect to the “Page Edit” in back-end? With no specific page id, just like:
wp-admin/edit.php?post_type=page
Forum: Plugins
In reply to: [Front-end Editor] How to add a full edit link?scribu… As you can see I have very limited programming knowledge… I don’t know if it’s too hard to do this, but I would be simply amazed if you could help make it come true… It isn’t about not willing to do, it’s just that I have absolutelly no idea how even to start =/
Forum: Plugins
In reply to: [Front-end Editor] How to add a full edit link?Here’s my lame try :s
}, base.prototype.edit_button = function () { var _this = this; return jQuery("<?php edit_post_link( __( 'Full Edit',) ?> ", { })Forum: Plugins
In reply to: [Front-end Editor] How to add a full edit link?More detailed 🙂
http://oi45.tinypic.com/jkf221.jpgForum: Themes and Templates
In reply to: Help converting nav-menus.php to HORIZONTALHello Paulwpxp!
Yes, I’m doing a heavily modified wp based system, a project to create mass-websites extremely easily customized by the end-customer, with no tech knowledge at all.
I have no intention to update this wp website to newer versions, neither install new plugins after it’s release. It will be as it is, after I test everything and fix all the bugs, it won’t be touched again. 🙂
Forum: Hacks
In reply to: Simple Menu ManagementHello Christine!
I’ll be selling mass websites for cheap prices, I’m brazilian, many ppl who’s gonna use them have pretty limited computer knowledge, so I can’t afford to have anything too complicated… I’ve already stripped up a lot of the menu functions, and I’m left with this:
http://oi50.tinypic.com/35jjn6x.jpg
What I want to change in it:
- Disable submenus
- Fix drag-and-drop to work in horizontal (or disable it and sort order by a text box like “Order: 0”
- Set the two postbox from the bottom side by side, and 50% width each
wp-admin/nav-menus.php http://pastebin.com/EmbhG4G5
wp-admin/includes/nav-menu.php http://pastebin.com/PZtbKRMm
wp-admin/css/wp-admin.css http://pastebin.com/ykYtM7pyIf you can help with any of these items, I would be extremely glad 🙂
Forum: Plugins
In reply to: [Menu Manager] Update to work on 3.4.2 – I REALLY need it =/Can anyone give me some tips about how to do it? Function changelog and thing I should be aware when trying to adapt it 3.4.2?
Forum: Plugins
In reply to: Execute plugin if EDITOR is onlineI think I MADE IT!
function deactivate_plugin_conditional() { if (!is_user_logged_in()) { if ( is_plugin_active('online-chat/online-chat.php') ) { deactivate_plugins('online-chat/online-chat.php'); } } if (is_user_logged_in()) { activate_plugins('online-chat/online-chat.php'); } } add_action( 'admin_init', 'deactivate_plugin_conditional' );I think I MADE IT!!!
function deactivate_plugin_conditional() { if (!is_user_logged_in()) { if ( is_plugin_active('online-chat/online-chat.php') ) { deactivate_plugins('online-chat/online-chat.php'); } } if (is_user_logged_in()) { activate_plugins('online-chat/online-chat.php'); } } add_action( 'admin_init', 'deactivate_plugin_conditional' );Ok, I’m almost done with it!!
function deactivate_plugin_conditional() { if ( is_plugin_active('online-chat/online-chat.php') ) { deactivate_plugins('online-chat/online-chat.php'); } } add_action( 'admin_init', 'deactivate_plugin_conditional' );I just need a “if” condition for editor online!! If userid 1 is online, or something like that!
Forum: Plugins
In reply to: Execute plugin if EDITOR is onlineOk, I’m almost done with it!!
function deactivate_plugin_conditional() { if ( is_plugin_active('online-chat/online-chat.php') ) { deactivate_plugins('online-chat/online-chat.php'); } } add_action( 'admin_init', 'deactivate_plugin_conditional' );I just need a “if” condition for editor online!! If userid 1 is online, or something like that!
Forum: Plugins
In reply to: Execute plugin if EDITOR is onlineHmm, but let’s suppose that’s the code:
add_action( ‘init’,’oc_init’,1);
How would I adapt it to my needs? :3
Forum: Plugins
In reply to: Execute plugin if EDITOR is online