cardan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: get_the_author_link() is not WorkingNow I am using “the_author_posts_link()” and admin appears at the beginning..
adminThis article was written by Lorem ipsum
The code:
<p><?php printf( __( 'This article was written by ', 'my-theme' ), the_author_posts_link() );?><?php the_author_meta( 'description' ); ?></p>is a link though.. Previously when I used “get_the_author()”, “admin” appeared at the beginning and after “This article was written by” (yes, double!)
I see.. Thank you for your plugins and answers Opajaap 🙂
Hello, sorry for bumping an old thread.
I think I am on the same situation and add to that I can’t access the Setting page for this plugin. Maybe it is a plugin conflict issue, but I don’t think I can deactivate the other plugins (all are important).
Is there a way to “bypass” the setting page? I look at the code and found this:
<input name="video_thumbnails_custom_field" type="text" id="video_thumbnails_custom_field" value="<?php echo get_option( 'video_thumbnails_custom_field' ); ?>" />at the bottom and this near the top:
if ( $video_key = get_option( 'video_thumbnails_custom_field' ) ) { $markup = get_post_meta( $post_id, $video_key, true );I believe this is where we are inputting the custom field’s name? How do I “bypass”, so I can get my custom field name without opening the setting page? I am not good enough in PHP..
Other than that, the plugin works fine if I directly embed the video to the post.
Hi Opajaap,
Thank you for your answer. As I said I am going with another route because I have to make the gallery “sort-able” while they are displayed and to have more control on the thumbnails. I still use the plugin for the posts though.
One more question before I close this thread, is it possible to use wppa+ in WP’s conditional tags / loop? Probably something like:
$custom_query = new WP_Query(‘cat=5’);
while($custom_query->have_posts()) : $custom_query->the_post();
// fetch thumbnail from wppa
get_wppa_thumbnail()========
Hope you get what I mean.Thank you
Hi Opajaap,
thank you for your reply. I am using a different approach now (creating posts and then just looping them (their featured images / thumbnails – from template page – but I am planning to use the plugin for the homepage widget).
I think having the ability to setup thumbnail size in the widget(s) would help, yes. Maybe I can widgetize the content area and then use widgets repeatedly in it.
As for your suggestion, Thumbnail photo widget displays the whole photos of the album, while I want to display just the cover. And then, when we click on the cover (one photo) it will take us to the rest of the album / gallery, as usual.
I also noticed something strange. I made a widget area at the top, and then I was trying to use wppa+ text widget (after thumbnail photo widget) but when I clicked the photo / cover it took me to the homepage ..? I am using this in a custom template page, and the album definitely has nothing to do with Homepage.
I was using this command at the text widget:
%%wppa%%
%%album=1%%
%%cover=1%%It displays the album cover and the widget name, but when I clicked it, I was directed to the homepage. However, the same comment (different album of course) at the regular content area at the same page work as expected. (sorry for repetition and stating something obvious, just trying to make myself as clear as possible)
I am sorry if I missed this, but is there a way to skip the “medium display” and straight to lightbox mode? I mean, if we click the album cover, it would take us to “medium-size display” where we can view the EXIF, leave comment etc, and then, when we click on one picture, it would take us to Lightbox mode. So, can we skip this “medium-size display”?
Thanks again
Forum: Fixing WordPress
In reply to: Cloning Live Website to LocalhostHello,
Thank you for replying. It is resolved now. I forgot that the database I imported already has a name. So adjusting the database name (to the original name instead of what I create in phpmyadmin) in wp-config did the trick.
Regarding the links not really.. I don’t click every links but all looks good so far. I changed the permalink to default (that ugly p=1223 links) and all works.
Yeah, I saw that plugin too when I was researching of how to clone the website.
PS: Interesting nickname you have there 😉
Forum: Plugins
In reply to: [Plugin: Bulletproof Security] A possible bug on wordpress featured image.I have to take back my posts. Looks like it was a false alarm. Interestingly, I still have the problem everyonce in awhile, but if I refreshed to page, and try it (set the featured image) again, then everything works like it suppose to be. Maybe it was because the page didn’t loaded completely, but TBH, I’m not completely sure.
Thank you Ed for your concern (in the past two days he has been testing and exploring what could went wrong, definitely a pro!) and for the plugin.
Forum: Fixing WordPress
In reply to: Use as featured image link not workingbecause they can access the same gallery
*Media Library
Forum: Fixing WordPress
In reply to: Use as featured image link not working@infolock: Unfortunately it wasn’t work for me. Like crazywhistlepig said, Bulletproof security leaves behind .htaccess file, so if (and I am 99% sure) this was the problem for me, then I guess hacking the core wont change anything. Due to the nature of this problem (and of course, this is the public forum) let’s just say Bulletproof security disabled user to change a certain file. While I am sure this is done in a good intention, it is also preventing user to change / use featured image.
@crazywhistlepig: About a week ago, one of my problem is user (Author) can make changes and use other Authors’ images (not text-posts) because they can access the same gallery. I managed to hide the “Gallery” featured in Author level, and **maybe** this is the last update is all about. I mean, it should be obvious isn’t it? If an author can’t even access other Author’s text-post, why should they be able to access other’s image?
But, as I said, I have removed the gallery altogether before the update so.. although I have upgraded to the last version, I won’t fix what’s not broken hahaha.. When I have the time I would try to remove the code and see if 3.0.3 “fix” this issue, shouldn’t take so long, but for now, I’ll leave my code.
Forum: Fixing WordPress
In reply to: Use as featured image link not working@ crazywhistlepig: I thought it was Buletproof Security plugin as well, and I believe we both are right. I made another thread about this, you might want to check that out, especially my second post.
I don’t know if it is applicable to YAPB, but it works for thumbnail.
Forum: Plugins
In reply to: [Plugin: Bulletproof Security] A possible bug on wordpress featured image.I believe I have managed to isolate the problem, using a dumb but logically-should-be-effective method, that is commenting every single command until I found which one causes the problem :P.
That means I have a security hole in my site (probably shouldn’t write this in an open forum :P) but as a temporary solution, I take my chance. It’s just one command and compare to the other features this plugin given me.. it’s a very good trade-off for me, and I will keep trying to patch this hole.
If the plugin author would like to know about this issue, or any other user is having the same problem, that is a user with Author level can’t make a featured image on his / her post after installing this plugin, just let me know by replying to this thread (I have subscribed), and I will send the code. Yes, I am aware that this isn’t a bulletproof (;)) method to filter a potential hacker.
Or, you could try it yourself, simply by downloading the htaccess file and commenting each command until your problem solved.
Forum: Fixing WordPress
In reply to: Use as featured image link not working@infolock: thank you for providing a solution. I am having the same problem and will try your solution right after this.
Just to isolate the problem, when did this problem started to occur for you guys (infolog and zagriyen)? Mine was after I installed and activated bulletproof security plugin, hypercache and db-reloaded plugins. I was also do some backups but I really don’t think that was it.
Forum: Plugins
In reply to: [Plugin: Sidebar Login] Change the height before a user logging inHere’s the plugin, if anyone is interested (I highly recommend it)