Alyson
Forum Replies Created
-
i fix this add one more plugin
Forum: Plugins
In reply to: Search registered Usersup
Forum: Plugins
In reply to: [Plugin: Post Thumb Revisited] admin not working in 2.6someone could make a fix for this problem?
A member try somethinq, but no have sucess
http://www.alakhnor.com/post-thumb/bbpress/topic.php?id=109Forum: Plugins
In reply to: Removing options in upload tablemy final code:
<?php function ms_attachment_fields_to_edit($form_fields, $post) { if ( substr($post->post_mime_type, 0, 5) == 'image' ) { // align: (radio) $form_fields['align']['value'] = 'aligncenter'; $form_fields['align']['input'] = 'hidden'; // image-size: (radio) $form_fields['image-size']['value'] = 'thumbnail'; $form_fields['image-size']['input'] = 'hidden'; // Caption: (radio) $form_fields['image-caption']['value'] = 'caption'; $form_fields['image-caption']['input'] = 'hidden'; } return $form_fields; } add_filter('attachment_fields_to_edit', 'ms_attachment_fields_to_edit', 11, 2); ?>π
Forum: Plugins
In reply to: Removing options in upload tablemy final code:
<?php function ms_attachment_fields_to_edit($form_fields, $post) { if ( substr($post->post_mime_type, 0, 5) == 'image' ) { // align: (radio) $form_fields['align']['value'] = 'aligncenter'; $form_fields['align']['input'] = 'hidden'; // image-size: (radio) $form_fields['image-size']['value'] = 'thumbnail'; $form_fields['image-size']['input'] = 'hidden'; // Caption: (radio) $form_fields['image-caption']['value'] = 'caption'; $form_fields['image-caption']['input'] = 'hidden'; } return $form_fields; } add_filter('attachment_fields_to_edit', 'ms_attachment_fields_to_edit', 11, 2); ?>π
Forum: Plugins
In reply to: Removing options in upload tableWOW!
i got it!!!!!!
thanks a lot!
I put your code in my wp-admin/includes/media.php
In first line and all right now!Forum: Plugins
In reply to: Removing options in upload tableπ
Forum: Plugins
In reply to: Removing options in upload tablei found somethinq in wp-includes/js/tinymce/langs/wp-langs.php
I try remove:
contextmenu:{ align:"' . mce_escape( __('Alignment') ) . '", left:"' . mce_escape( __('Left') ) . '", center:"' . mce_escape( __('Center') ) . '", right:"' . mce_escape( __('Right') ) . '", full:"' . mce_escape( __('Full') ) . '" },size:"' . mce_escape( __('Size') ) . '",Nothinq happen…
Copying the code to html editor i get:
<table cellspacing="0" cellpadding="0"> <tr> <th scope="row" valign="top"><label for="attachments[11][align]">Alinhamento <br /> </label></th> <td><input name="attachments[11][align]" id="image-align-none-11" value="none" checked="checked" type="radio"> <label for="image-align-none-11">Nenhuma</label> <input name="attachments[11][align]" id="image-align-left-11" value="left" type="radio"> <label for="image-align-left-11">Esquerda</label> <input name="attachments[11][align]" id="image-align-center-11" value="center" type="radio"> <label for="image-align-center-11">Centro</label> <input name="attachments[11][align]" id="image-align-right-11" value="right" type="radio"> <label for="image-align-right-11">Direita</label> </td> </tr> <tr> <th scope="row" valign="top"><label for="attachments[11][image-size]">Tamanho <br /> </label></th> <td><input name="attachments[11][image-size]" id="image-size-thumb-11" value="thumbnail" type="radio"> <label for="image-size-thumb-11">Miniatura</label> <input name="attachments[11][image-size]" id="image-size-medium-11" value="medium" checked="checked" type="radio"> <label for="image-size-medium-11">MΓ©dio</label> <input name="attachments[11][image-size]" id="image-size-full-11" value="full" type="radio"> <label for="image-size-full-11">Tamanho original</label></td> </tr> </table>Forum: Plugins
In reply to: Removing options in upload tableI thank you so much for your help michael, but not working for me, a lot of erros and conflict with outhers modifications π
You do not know where these menus in php files?
align
show
http://img165.imageshack.us/img165/7515/menusfu9.jpg
I am search in all wp-admin files and nothinq π
Yes, hack this menu is only way to me πobs: this language is portuguese
miniatura = thunbnail
tamanho original = full sizeForum: Plugins
In reply to: [Plugin: Post Thumb Revisited] admin not working in 2.6we need update or fix =|
Forum: Plugins
In reply to: Removing options in upload tableI am confused, look like is my themes functions.php
<?php if ( function_exists('register_sidebar') ) register_sidebars(2, array( 'before_widget' => '<div id="%1$s" class="sb-bot"><div class="sb-top"><div class="sb-right"><div class="sb-left"><div class="sb-rb"><div class="sb-lb"><div class="sb-rt"><div class="sb-lt">', 'after_widget' => '</div></div></div></div></div></div></div></div>', 'before_title' => '<h2>', 'after_title' => '</h2>', )); ?> <?php function widget_search() { ?><?php } if ( function_exists('register_sidebar_widget') ) register_sidebar_widget(__('Search'), 'widget_search'); ?>I need add this lines correct?
<?php function ms_attachment_fields_to_edit($form_fields, $post) { if ( substr($post->post_mime_type, 0, 5) == 'image' ) { // align: (radio) $form_fields['align']['value'] = 'aligncenter'; $form_fields['align']['input'] = 'hidden'; // image-size: (radio) $form_fields['image-size']['value'] = 'thumbnail'; $form_fields['image-size']['input'] = 'hidden'; } return $form_fields; } add_filter('attachment_fields_to_edit', 'ms_attachment_fields_to_edit', 11, 2); ?>And:
<?php include_once('wp-config.php'); include_once('wp-includes/wp-db.php'); ?>But i get a lot of erros.
I am trying resolve the 2 first lines.No, i donΒ΄t modify the plugin flexive-upload yet with your instructions
I will try use photojar with your instructions.
Forum: Plugins
In reply to: Removing options in upload tablehi michael
I hack almost all my wordpress 2.6 , lol
Is because my client need a personal version for your project, but ok.
Is everythinq perfect at this moment.
About this little problem, is last problem to finish my work ^_^————————–
The plugin i am using is to do resize big images and do a thumbnail.
Your name: flexible-upload————————–
I will try do your new instructions
( yes, my english is very poor )
Forum: Plugins
In reply to: Removing options in upload tablei try injet this function in functions.php of my template
and i get this error:
Warning: Cannot modify header information – headers already sent by (output started at /themes/Aspire/functions.php:19) in /blog/wp-includes/pluggable.php on line 770
and i try in functions.php of wp-includes
and:
Fatal error: Call to undefined function add_filter() in /blog/wp-includes/functions.php on line 2339
Forum: Plugins
In reply to: Removing options in upload tableok shoe, i will test and do feedback.
Thanks so much π
Forum: Plugins
In reply to: Removing options in upload tableMy cliente want to remove this options for registred users π
Yes i try search in any archive , media.php, upload.php and much more and nothinq….
thanks for your help =/