ZeZeN_wp
Forum Replies Created
-
Forum: Plugins
In reply to: [UnPointZero Slider] unpointzero slider not working on wordpress 3.8?I can just see a grey square …
did you resolve that issue ?
I’m trying every setting I find but nothing works!Forum: Fixing WordPress
In reply to: tinymce, media upload buttonok I think the problem was to add
enctype="multipart/form-data"
to the form.
I tried a ton of things and it worked when I did that …
sorry for that !
Hey!
I have the same issue for non-english characteres, did you solve the problem ?
also I’d like to translate the plugin, is that possible easily with po-mo files or do we have to completely change the plugins files?Forum: Plugins
In reply to: [Wordpress File Upload] dificult sizing with width argsyes, that is what I did, adding the css in the content of the page, I’ll add that in my child theme style.css if I keep using the plugin, thank you for your help!
Forum: Plugins
In reply to: [Wordpress File Upload] dificult sizing with width argshi! Sorry I was not at work before today.
I can’t do that ’cause it is for an intranet and so I’m working on a local virtual machin not accessible through the internet … I’m sorry!
My issue have been almost resolved by doing a trick with css :<style>#input_1{left:0;}</style>
but each time I re-post the page I have to do that in text-mode or that line is erased …
Forum: Themes and Templates
In reply to: [Hueman] pages featured thumbnailsyeah! It worked!!!
Thank you very much I mark that topic resolved but if you can improuve your answere by saying me how to display this image on posts and not on pages it will be perfect ! ??
Thank you and see you !Forum: Plugins
In reply to: [Active Directory Thumbnails] Is this possible to automate the photo update?OK, I tried to automate that and my CRON doesn’t work. I tried to do that :
crontab -e ##and I added : 30 16 * * * php-cli -f /var/www/test_wp2/wp-content/plugins/active-directory-thumbnails/php/bulk-scheduled-process.php
it does nothing.
after trying I tried to do that :
php-cli -f /var/www/test_wp2/wp-content/plugins/active-directory-thumbnails/php/bulk-scheduled-process.php
but it seems thatPHP Warning: require(../../../../wp-load.php): failed to open stream: No such file /bulk-scheduled-process.php on line 10 PHP Fatal error: require(): Failed opening required '../../../../wp-load.php' (inc /active-directory-thumbnails/php/bulk-scheduled-process.php on line 10
but this file exists and I can read it whith nano or vim etc…
so what is my problem here ?
Forum: Plugins
In reply to: [Active Directory Thumbnails] Is this possible to automate the photo update?Ok that’s interesting. I’m not going back at work before next tuesday! I’ll look around that and will come back here if i need more information.
Thank you very much for your help!!
Forum: Plugins
In reply to: [Active Directory Thumbnails] Is this possible to automate the photo update?Mmmh do you mean that’s something I have to set up on the server? ‘Cause I’m using it to build an intranet for a 140 persons company.
Forum: Plugins
In reply to: [Active Directory Thumbnails] Is this possible to automate the photo update?That’s it! I’d like to automate the bulk script so that when I add a user or update a photo in the active directory the photo will be generated automatically instead of re-execute this bulk link… You see? So I’ve 2 questions :
_ is that possible that my server does it without me to click the bulk link periodically
_ or making the active directory integrator plugin generate this photo when a user is created or updated?Thank’s
Forum: Plugins
In reply to: [Active Directory Thumbnails] Is this possible to automate the photo update?That’s it! I’d like to automate the bulk script so that when I add a user or update a photo in the active directory the photo will be generated automatically instead of re-execute this bulk link… You see? So I’ve 2 questions :
_ is that possible that my server does it without me to click the bulk link periodically
_ or making the active directory integrator plugin generate this photo when a user is created or updated?Thank’s
Forum: Plugins
In reply to: [WP User Listing and Searching] popup false listingOK the probleme was in what I commented!
instead of commenting it, replace it by :
$SQL .= " ORDER BY display_name ASC LIMIT " . $sql_limit;
Forum: Plugins
In reply to: [WP User Listing and Searching] popup false listingOk, now I can’t have the pagination working!
When I change the number of users that have to be shown in the option page, I get the good number of pages but :
I have all my users shown on each page!!!
The options are not well filled ?
to give you the ability to help me I post here a part of my code witch could maybe be interesting for this issue:
<?php require_once('paging.class.php'); $paging = new paging; $SQL = "SELECT distinct(wp_users.ID) as ID,display_name FROM wp_users"; if (isset($_POST['search_name']) && trim($_POST['search_name']) != '') { $SQL .= " INNER JOIN wp_usermeta ON (wp_users.ID = wp_usermeta.user_id) INNER JOIN wp_usermeta AS mt1 ON (wp_users.ID = mt1.user_id) "; } $SQL .= " INNER JOIN wp_usermeta AS mt6 ON (wp_users.ID = mt6.user_id) WHERE 1=1 "; if (isset($_POST['search_name']) && trim($_POST['search_name']) != '') { $SQL .= "AND ( (wp_usermeta.meta_key = 'first_name' AND CAST(wp_usermeta.meta_value AS CHAR) LIKE '%" . $_POST['search_name'] . "%') OR (mt1.meta_key = 'last_name' AND CAST(mt1.meta_value AS CHAR) LIKE '%" . $_POST['search_name'] . "%') ) "; } $TSQL = $SQL . " AND (mt6.meta_key = 'wp_capabilities' AND CAST(mt6.meta_value AS CHAR) LIKE '%Subscriber%') ORDER BY display_name ASC "; $t_record = $wpdb->get_results($SQL); $total_records = count($t_record); $record_per_page = get_option('wp_user_plugin_record_per_page'); $paging->assign(get_permalink(), $total_records, $record_per_page); $sql_limit = $paging->sql_limit(); /* //pour filtrer sur les suscribers seulement... pas besoin moi je veux tout le monde ! $SQL .= " AND (mt6.meta_key = 'wp_capabilities' AND CAST(mt6.meta_value AS CHAR) LIKE '%Subscriber%') ORDER BY display_name ASC LIMIT " . $sql_limit; **/ $fivesdrafts = $wpdb->get_results($SQL);
if someone can help… thank’s
Forum: Plugins
In reply to: [WP User Listing and Searching] popup false listingOK, I did something else!
I integrated this in the begining of the code :
<script> function toggledisplay(elementID) { (function(style) { style.display = style.display === 'none' ? '' : 'none'; })(document.getElementById(elementID).style); } </script>
and replaced the link (with TB_inline…) by this one:
<a href="#<?php echo $i;?>" onclick="toggledisplay('user_full_info_<?php echo $i;?>');">More info...</a>
with the $i which increments alone in the foreach…
then I have something beautiful and usable.
no popup but do we realy need it ?
Forum: Plugins
In reply to: [WP User Listing and Searching] popup false listingThe issue for the users shown is resolved. I went into the wp_user_listing.php and commented those lines:
$SQL .= " AND (mt6.meta_key = 'wp_capabilities' AND CAST(mt6.meta_value AS CHAR) LIKE '%Subscriber%') ORDER BY display_name ASC LIMIT " . $sql_limit;
it’s around lines 63…
Before it was looking for suscribers, now it looks for all users.
The other issue is not resolved yet. I’ll try to do that with a “classic popup” in php (with the code onclick…) instead of the “native” thickbox.
don’t forget to help me if possible !!!
regards