Grumbledook
Forum Replies Created
-
I think I’ve worked it out.
<?php if ($image->ngg_custom_fields["link"]!=NULL) { echo '<a class="more-icon" title="Read Article" href="http://'; echo $image->ngg_custom_fields["link"]; echo '">Read More'; } ?>I don’t know if that’s the best way of doing things but it seems to work. If anyone more clued up on php wants to tidy it up or give some pointers then I’m all ears!
Obviously if you wanted to check your custom field contained something specific rather than it being empty you can change
!=NULLto=="123"assuming you wanted to check that the custom field was 123. The above code I got it to check if it wasn’t empty, and if it wasn’t that insert the start of the link, then insert the content from the custom field and then insert the end of the link. If the custom field is empty then it does nothing.I believe that is just down to which “lightbox” plugin you are using. Try changing it to a different one from what you currently have.
Go to the options for the plugin and it is the drop down box under the effects heading.
Forum: Fixing WordPress
In reply to: WP-stats plugin is broken since todaySame for me as well
Forum: Installing WordPress
In reply to: not displaying in WP 2.8ok latest update seems to have fixed that o27k one
now the wp_theme one has no border (though that might be the skin)
had to switch to default (wp_theme used to look the same as the default)
any plans to add the o27k silver skin as well to the drop down list before I stark hacking at stuff?
Forum: Installing WordPress
In reply to: not displaying in WP 2.8Ah ha!
Had a brainwave and it is the skin that is the problem. If you change it to “default” or “wp_them” then it works ok. (though both look the same to me)
If you leave it as “o27k” which was the default after upgrading the plugin then it doesn’t work.
Still doesn’t work at all if you have users must be logged in turned on, though I don’t use that.
Hope this helps
Forum: Installing WordPress
In reply to: not displaying in WP 2.8Right, I upgraded my other blog which I also have this installed on.
After upgrading to 2.8 I checked a thread and it was still working fine. I then remembered that the plugin wasn’t the current version as well so I upgraded that, then it did the same thing as my other blog.
So you lose the buttons at the top and the text area is just white with no border (fine on one but the other site has a white bg as well so you can’t tell it is there unless you click and get a typing cursor)
As mentioned in the first post it displays the same in the preview area on the admin MCEComments Options page, so I didn’t think it was theme related.
Now it has done the same thing on two different blogs using different themes it makes me think it is less likely to be the themes. If you want me to do any testing then I’ll be happy to.
I also tried turning on the logged in users as well and as reported above it appears that the plugin “turns off” and you get the normal text box as if the plugin wasn’t activated.
Forum: Plugins
In reply to: [Plugin: Robots Meta] NoFollow on tag cloudi seem to have the same thing my tag pages have noindex, follow on them
the single post pages, the tags on those also don’t have nofollow on them either
also it doesn’t add it to the external links on the homepage if i select that option as well
the following options seem to work fine though:
Nofollow category listings on pages
Nofollow category listings on single posts
Nofollow login and registration linksForum: Fixing WordPress
In reply to: [Plugin: Robots Meta] Plugin not workingerrr nevermind i was being stupid and have now sussed it
/me facepalms
Forum: Fixing WordPress
In reply to: Images Not Showing on my new themethe images need to up uploaded into the themes
/wp-content/themes/premiumnews/images/ folder otherwise it will not workif you want to edit this then you need to edit the /includes/featured.php file
if you upload the image to the theme image folder then you just need to put the full url into the box at the very bottom of the edit post page
should work fine then
you may need to use a FTP program to get the image there as the build in media uploader in wordpress will put them in the uploads folder instead
the editing method will take more explantion so I suggest you just use that images folder instead
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Show exif with lightboxWell I was after having the exif in the image description (which gets used for the lightbox caption) and tried messing around with the code
Unfortunately my programming knowledge isn’t what it used to be and I decided to stop wasting time and just typed it in. Maybe in the future I won’t have to but for now it does the job.
I got the same idea as you did from the fact that it shows up in the admin area but to no avail.
As to it looking bad, I think that is a matter of opinion. I think it looks better than the display from the meta link. You can take alook if you like unseeingeye.com Still working on tweaking some things at the moment though.
As for your suggestion of having a link to do that, i don’t see why it isn’t possible to lift the code for making that link in the admin area and putting it in the effects code you are using. Though it may not work cause of the variables used on that page might not be the same.
Please post if you get it working though and how you did it.
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Show exif with lightboxfor now I just put the exif in the description and it shows up as the caption
though this needs doing for each picture you want doing
Forum: Plugins
In reply to: [Plugin: NextGen Gallery] Feature Request EXIF ShowUpForum: Plugins
In reply to: [Plugin: NextGEN Gallery] Effects Problemyou need to install the others as plugins as they aren’t included within the nexgen plugin unlike the two you mentioned
personally I use WP-Slimbox2 and set the effect to “lightbox” in the gallery plugin
Forum: Fixing WordPress
In reply to: [Plugin: NextGEN Gallery] EXIF as descriptionThe meta is there for when you click the link in the manage images section of the admin area.
Is it not possible to have an option that would take some of the exif data and put it as the image description. The description gets shown anyway for gallery views when using lightbox etc. So surely having the exif in the description box shouldn’t cause a high cpu load over what is happening now?
Obviously I can just type the exif in at the moment though that could get time consuming.
Setting up something in the admin area to allow users to customise what is displayed could also be handy and a lot more flexible.
For example I have seen other sites apply this. Not sure he uses the ngg but it shows what I mean http://kruyt.org/photo-gallery/collections/mt-qingcheng. I tried implementing what was put in this thread, though given the date of when it was done, I couldn’t get it working and it might be cause of the newer versions?
$exifdata[camera] .' @ '. $exifdata[focal_length]. ' - '.$exifdata[shutter_speed].', ' . $exifdata[aperture] .', ISO '.$exifdata[iso];Having something along those lines as a customisable option in the admin area would be spot on. Would allow users to pick and choose what they wanted to display.
I hope you can implement this as I appeared to be too thick to do so at this time. Wasted hours yesterday trying to do so ;]
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] Plugin: SlimboxAnyone know how to get the exif data to show up as the image description? I wasted hours yesterday messing around with stuff trying to get it to work.
Thanks in advance.