schmoukiz
Forum Replies Created
-
I can confirm, only going back to 3.8 makes it function. I tried several times 3.9.1, beta 3.9.1 and 3.9.2.
They display the gallery but open the image as a file, as if there is no lightbox.Thank you for your reply. I added that proposal to the poll. I’m sure many will find it useful.
So any idea how I can fix that error message caused by
str_replace(‘_’, ‘ ‘, $alttext);?From what I understand, adding this changes the “public static function” into a non-static function. But these notions are too complicated for me. I also tried to put it in the same line where it extracts the dot and the extension of the file. But my syntax is incomplete.
$path_parts = M_I18n::mb_pathinfo($picture); $alttext = (!isset($path_parts[‘filename’])) ? substr($path_parts[‘basename’], 0,strpos($path_parts[‘basename’], ‘.’)) : $path_parts[‘filename’];Forum: Themes and Templates
In reply to: Ignore padding for images inside paragraphI found something that helps on the vertical. Using a larger first letter also creates space between paragraph.
.article p:first-letter{ font-size:30px; }Still, this is of no help when you want really large padding on the sides and no padding for pictures :(.
Forum: Themes and Templates
In reply to: Ignore padding for images inside paragraphThank you for your reply. It’s a theme I’m trying to reshape now, so it’s not online. That’s also part of the problem as I have many articles already online, without classes specified for images, and would be impossible to change those. Here are the essentials.
The HTML part:
<div class="article"> <p><?php the_content($more_link_text , $strip_teaser, $more_file );?></p> </div>The CSS part:
.article { float:left; width:100%; padding:0; } .article p { padding:5px; } .article img{ padding:0; }I’ve tried different options, with or without <p> for the loop.
Forum: Plugins
In reply to: lightbox 2 -wordpress 3.3 conflict?The same problem after upgrade to WP 3.3, the image links were not opening at all.
I’ve disabled jQuery Lightbox and the links to images work.
I also have NextGenGallery.
Any suggestions for another lightbox plugin that works with 3.3 ?Forum: Fixing WordPress
In reply to: NextGen Gallery triggers 404 and MySQL errorI’m using the last version of both (WP does not indicate any updates).
Here is what it says in manage.php:/** * Display the pagination. * * @since 1.8.0 * @author taken from WP core * @return string echo the html pagination bar */ function pagination( $which, $current, $total_items, $per_page ) { [570] <strong>$total_pages = ceil( $total_items / $per_page );</strong> $output = '<span class="displaying-num">' . sprintf( _n( '1 item', '%s items', $total_items ), number_format_i18n( $total_items ) ) . '</span>';From what I’ve noticed if there are a few images in a gallery – let’s say 10 – it takes a lot, like 1 min, which is abnormal, but I get the success message. If there are more files, like 30, the problem occurs, but at least the first ALT values are entered in the database. Then, I hit Save once more or twice and the rest of the values get recorded, despite the 404 error message.
As you can see, at line 570 it says something about items per page but is something I can’t understand.Forum: Fixing WordPress
In reply to: NextGen Gallery triggers 404 and MySQL errorAnyone has any suggestion? The situation worsens 🙁
Forum: Fixing WordPress
In reply to: get just the URL of post thumbThank you for your reply. It doesn’t produce results in the meta area, outside the loop.
Since I don’t know to pass variables, I’ve continued searching and found this in a comment somewhere:<?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,’large’, true); echo $image_url[0]; ?>It works very well, though maybe your solution with the variable was simpler.
Forum: Plugins
In reply to: NextGEN Gallery album doesnt workI can’t help you, I only had problems in the administration area, the galleries were displayed fine. I’ve changed the folders of the plugin and of wordpress several times, now I have 1.8.1 and 3.1.3 together working, I’m sure it also works for 3.2 beta. Put the original files from the site for both and see what happens.
Forum: Plugins
In reply to: NextGEN Gallery album doesnt workAfter a day of work and search I got it to work with 3.1.3, using the new version of this plugin.
It seems that some tweaks I’ve made in some files of NextGen in order to display differently the galleries and the admin page had to be remade using the new files, which I was glad to find out, contain much less lines of code.
Good job, NextGen!Forum: Plugins
In reply to: NextGEN Gallery album doesnt workI found a partial solution on a website. Simply ad
?>
at the end of wp-config.php file.
This way I was able to enter some areas of the Admin area: not the main dashboard, but the Updates, Plugins even the NextGen Gallery Overview page.
I still can’t add or edit galeries, nor post or edit posts, so the situation is still dramatic.Some new hints for the developing team: I also tried WP 3.2 beta 2 and it’s the same and the last version of NextGen, 1.8.1, said to be compatible with WP 3.2, without success.
The problem might be a database related. After changing the files to a newer version of WP I got the message about upgrading the database, the announcement it was successful and after that the blank dashboard page.Forum: Plugins
In reply to: NextGEN Gallery album doesnt workI’m here exactly for this issue, on which my site totally depends :(.
After the upgrade to WP 313, I can’t access any section of the Admin area.It’s definately a NextGen incompatibility, as it works when deleting its plugin folder.
The galleries are visible in articles, but after loging in, I can’t get to the dashboard or any other page under wp-admin.
On the plugin page it says it’s compatible with 312.
The makers of this great plugin should know there are a lot of users who can’t wait for a fix of this issue. Don’t let us down, please :).