arapacana
Forum Replies Created
-
Forum: Plugins
In reply to: [BJ Lazy Load] Conflict with Jetpack!Same issue here. With BJ Lazy load and Photon, I get no images in the content, but images in the sidebars load fine.
Solutions?
Forum: Plugins
In reply to: [qTranslate] [Plugin: qTranslate] Slideshow plugin outputting both languagesHey drizzle,
I just found how to get qtranslate to work with the listic slider (at least v1.1.1 and WP v3.5.1).It involves adding the following code around php elements in two of the listic slider php files, in numerous places. I basically took the idea from qTranslate’s support forum, which gives the basic idea and instructions:
https://www.qianqin.de/qtranslate/forum/viewtopic.php?f=3&t=294
In listic_1.php, you want to find references to $post_title, $slider_content, and wrap with a function that implements qTranslate.
so you’ll find something like the following (in at least two places in listic_1.php):
$post_title = stripslashes($data->post_title); $post_title = str_replace('"', '', $post_title); $slider_content = $data->post_content;
and replace it with:
if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $post_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage(stripslashes($data->post_title)); if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $post_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage(str_replace('"', '', $post_title)); if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $slider_content = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($data->post_content);
In order to get it to work with the rest of the features of the slider, I also did the same basic procedure (wrapping variables with the qTranslate code) for other variables, like $sldr_title, from:
else $sldr_title = $listic_slider_curr['title_text'];
to:
else if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $sldr_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($listic_slider_curr['title_text']);
also places (i found it twice i think) like:
if(!empty($title)){ $sldr_title = $title;} else{ $sldr_title = $listic_slider_curr['title_text']; }
to:
if(!empty($title)){ if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $sldr_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($title);} else{ if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $sldr_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($listic_slider_curr['title_text']); }
and:
$sldr_title = $listic_slider_curr['title_text']; if(!empty($sldr_title)) { $slider_title_margin = "5px 0 10px 0"; } else {$slider_title_margin = "0";}
to:
if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $sldr_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($listic_slider_curr['title_text']); if(!empty($sldr_title)) { $slider_title_margin = "5px 0 10px 0"; } else {$slider_title_margin = "0";}
Then it also seemed necessary to edit the shortcodes_1.php file too, with the same basic idea.
From:
if($listic_slider_curr['title_from']=='1') $sldr_title = get_listic_slider_name($slider_id); else $sldr_title = $listic_slider_curr['title_text']; if(!empty($sldr_title)) { $sldr_title = '<div class="sldr_title" '.$listic_slider_css['sldr_title'].'>'. $sldr_title .'</div>';
to:
if($listic_slider_curr['title_from']=='1') $sldr_title = get_listic_slider_name($slider_id); else if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $sldr_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($listic_slider_curr['title_text']); if(!empty($sldr_title)) { if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $sldr_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage('<div class="sldr_title" '.$listic_slider_css['sldr_title'].'>'. $sldr_title .'</div>');
and
if(!empty($title)){ $sldr_title = $title;} else{ $sldr_title = $listic_slider_curr['title_text']; } if(!empty($sldr_title)) { $sldr_title = '<div class="sldr_title" '.$listic_slider_css['sldr_title'].'>'. $sldr_title .'</div>';
to:
if(!empty($title)){ if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $sldr_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($title);} else{ if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $sldr_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($listic_slider_curr['title_text']); } if(!empty($sldr_title)) { if(function_exists('qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage')) $sldr_title = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage('<div class="sldr_title" '.$listic_slider_css['sldr_title'].'>'. $sldr_title .'</div>');
I hope this helps. I am NOT a php coder so the above might be a bit overkill, but it works for me, and translates the titles, content, and also works with the shortcodes. I had to edit the shortcode file because I am using the shortcode to get listic to display posts in a particular category, and it seemed that was necessary.
Good luck; i know this took me many hours to solve…
Same problem; the solution was to remove spaces from filenames!
Forum: Plugins
In reply to: [Google Analytics Dashboard] GDatainsufficientPermissionsUser Borked configExact same problem here. I suspect I can laboriously go into the SQL database for wordpress, find the associated tables where this login info is stored by the plugin, and change it there, but there should be an easier way.
I tried deactivating and deleting and then reinstalling the plugin but on activating the plugin did not go to the screen where it asked for authentication; it just gave the error immediately.
Suggestions?
Forum: Plugins
In reply to: [Flickr Gallery] Speed of changing to next photoIt also takes a while for photos switch for me… not ten seconds; more like 4, but it seems forever cause I’m spoiled.
Well I thought that the solution from Thorned Rose and Nathan worked… but it doesn’t. I still get the images (except the first!) loading at the top left: https://www.boasaida.com/
I have the following code:
<div id="gallerycontainer"> <div class="gallery"> [slideshow id=1] </div> </div>
and (I’m using Thesis, hence the .custom bit):
.custom #gallerycontainer { width:100%; text-align:center; margin-bottom: 25px; } .custom div.gallery { width:627px; display:inline-block; margin:0 auto; }
Any ideas on what I’m missing?
Forum: Fixing WordPress
In reply to: How do I make a page redirect to my static website?Awesome fix.
Three minutes? Try ONE!I used this with the Constructor theme, which does not include a “Home” link in the header, which only displays pages, so I had to make a PAGE so it would show up in the header as a link… but I wanted it to go to the actual home page, not a sub page. This fix did the job perfectly.
THANKS!!!
UPDATE:
If Brian’s solution doesn’t work, you can edit or create an .htaccess file to make your php files run with php5, since Apache by default may be running an earlier version of php.Just put the following in the file on its own line:
AddType x-mapp-php5 .phpThe .htaccess file can be in the root directory of your blog or website, and is just a text file.
Hope this helps – it worked for me and others for this problem.
Forum: Plugins
In reply to: Activating Plugin causes Error 500 – Plugin interface disappearsAlso, if Peter’s solution doesn’t work, you can edit or create an .htaccess file to make your php files run with php5, since Apache by default may be running an earlier version of php.
Just put the following in the file on its own line:
AddType x-mapp-php5 .phpThe .htaccess file can be in the root directory of your blog or website, and is just a text file.
Hope this helps – it worked for me and others for this problem.
Forum: Fixing WordPress
In reply to: Wp-admin Error 500 messageraymond’s solution also worked for me!
Also, if Brian’s solution doesn’t work, you can edit or create an .htaccess file to make your php files run with php5, since Apache by default may be running an earlier version of php.
Just put the following in the file on its own line:
AddType x-mapp-php5 .phpThe .htaccess file can be in the root directory of your blog or website, and is just a text file.
Hope this helps – it worked for me and others for this problem.
Forum: Fixing WordPress
In reply to: Need to edit htaccess to enable PHP 5f1f:
you are the RoxkZorz!
After trying the php.ini with memory=128mb (which didn’t work), adding your fix did!
THANKS!I too am on 1 and 1 (I even made the horrible mistake of calling their tech support… ugh), and making the change as Brian <THANKS BRIAN!!!!> indicated DID help me to install one more plugin… but the next one, BAM, same error. Trying memory=30MB, or even 128, didn’t help either.
Assuming that this is an issue with memory allocation to php on the server, is there any way to reliably increase the memory allocation so I can run an insane amount of plugins?
Here’s what presently WORKS (but I wanted a few more, like GD-Star Rating, Subscribe2, WP-Polls… you know, irrelevant but fun things):
Add to Any: Share/Save/Bookmark Button .9.8.7
Akismet 2.2.3
All in One SEO Pack 1.4.6.16
Alternate Recent Posts Widget 0.2
Anarchy Media Player 2.5
Collapsing Archives 1.0.3
Contact Form 7 1.9.1
DandyID Services 1.1.3
Google XML Sitemaps 3.1.2
IntenseDebate 2.0.18
Plugin Output Cache 4.0.8
Quotes Collection 1.2.3
Random Image Widget 1.5
Scissors 0.95
SEO Friendly Images 2.3.1
Simple:Press Forum 4.0
TinyMCE Advanced 3.2
WordPress.com Stats 1.3.5
WP-Print 2.40
WP Auto Tagger 1.3.2
WP Super Cache 0.8.7Any suggestions?
Should I call 1 and 1 back and complain?