thematrixit
Forum Replies Created
-
Found that the same thing happens when sharing comments on Facebook with Simple Facebook Connect – the post url is not correct, there is this same kind of url with the same “rcwd-ngg” string.
Big thanks, works now.
Added it after the 352nd row in comments.php (version 0.1.5), also tried the one from readme file, but still not working.
Found it, have to replace
$nggRewrite->get_permalink ( $args );
with:
qtrans_convertURL($nggRewrite->get_permalink ( $args )).'/';
in nggfunctions.php
For WP 3.2.1, NextGen 1.8.3 and qTranslate 2.5.24, it’s not working and $nggRewrite->get_permalink is not found on lib/rewrite.php.
And with the first method, Query Mode (?lang=en), redirection stops, but it is not loading gallery.
I figured removing text from the post and adding it as an album description would work better. Since showing album description isn’t displayed by defaulf, you need to call it from your theme file or Nextgen album template file (album.php):
<?php echo esc_attr( $album->albumdesc ); ?>
Phew, sorted it out, just had to add those line in my theme after when it calls the content (<?php the_content(); ?>), though calling the content didn’t seem to work it this case:
$GLOBALS[‘nggShowGallery’] = true;
$GLOBALS[‘subalbum’] = true;Grazie, works now, only I needed to remove the regular post/album comments on my theme, because it shows commenting field twice on gallery.
When I try to also use Simple Facebook Connect plugin for comments, connecting with Facebook actually works, which is great, but it shows the gallery wit commenting before the content. It doesn’t depend from a theme.
Not working, gallery has the same comments as on album/post, as before.
What do you mean by editing the gallery? Under manage gallery there are no options about commenting.
Also, if you have Simple Facebook Connect(for commenting) on, it displays gallery three times, two extra times before the content, but this is SFC plugin’s error and disabling it shows a gallery only once. Still, disabling any plugins won’t make gallery comments work…
Using the latest version of WP (3.2.1) and NGG.
Good thing though that I found it just the time when I needed it, let’s hope that it will get to work.
—
Edit: Inserting a comment on gallery redirects to /wp-comments-post.php, stops loading and shows a blank page. Inserting comment on album post will show them still on gallery.Another and much easier way would also to convert all the galleries into regular posts, but there seems to be no easy way to do it.