tommo77funk
Forum Replies Created
-
Forum: Plugins
In reply to: [NextScripts: Social Networks Auto-Poster] Twitter: not valid url formatah edit to your instructions if anybody has this problem also.
Create your access token, then go to settings page, url in website field will now parse, change to read and write settings, then go back to details page, and recreate you access token.
now all works ??
Forum: Plugins
In reply to: [NextScripts: Social Networks Auto-Poster] Host Namesolved – i ran out of room on my shared server so install was only ever half the files, which is where this odd problem came from.
Phew !
cheers,
tom
Forum: Plugins
In reply to: [Plugin: Register Plus] Changing text of ‘Approved Registration’ emailplease someone ?? the problem will not go away.
Forum: Plugins
In reply to: [Plugin: Register Plus] Changing text of ‘Approved Registration’ emailCan someone quickly try this for me and determine if problem is my end or not ??
many thanks,
tom
Forum: Plugins
In reply to: [Plugin: Sidebar Login] Does not work in FirefoxHi,
I now have this problem and cant find an answer. It was working earlier today, but i did some modifications to register plus and common.js, which i ended up putting back how they were, and now sidebar login does not work with firefox, i.e is ok luckily.
Its a great plug-in and I would love to fix, i noticed Korelin suggested
From:
$pageURL .= “://”;To:
$pageURL .= “://www.”;was this changed in version 2.2 because it looks like this solution has now been implemented.
Any advice I’d be mega grateful, you can see it in action here down the bottom right sidebar https://www.panoraks.co.uk
many thanks,
tom
Hi,
I am displaying a gallery using the tags, as seen on this page https://nextgen.boelinger.com/gallery-tags/ is it possible to apply a template to the outputted images.
I like what you have done for the albums and have looked at nggfunctions.php but cant find similar code to change.
Any help or advice I’d be mega grateful. I am just trying to display certain catergories on pictures without making new galleries.
Thanks,
tom
hi Alex,
Thanks for reply. Latest update ? I have Version: 1.0 which before next-gen upgrade added buy-now buttons to all images in the gallery, which is what I’m after doing again, its good to have it for single pics, and I’m grateful for that, but would really like to put all the images I have up for sale, as i’m pretty skint ??
Is it possible to do this action in view/gallery.php ?
Cheers !
hi Alex,
I hope this might be helpful to you, but a good soul found a way to get the buttons to work on a single pic, here Hope this is useful to you.
Have a great weekend ??
Forum: Fixing WordPress
In reply to: How to edit home.php or use myhome.php – problem with posts page :(Hi,
Managed to solve my problem with delicate deleting of elements in home.php.
Guess we’re both sorted then ??
Hi rdsherwood,
Nice site ?? erm what you describe is a problem I have with my own site and have not found the answer yet. The problem seems to be when you use the search for posts as well as images. Aengus’s search is just for images and works as intended. It is mentioned in this thread that future updates to next-gen might hopefully intergrate next-gen tags with wordpress tags, and this would solve the problem. For now though I’m sorry I cant help other than to have one searchform for posts and another for images on a dedicated image search page. Which I seem to remember being a little tricky getting a searchform to use a different search.php template. If I find any other solutions, I’ll let you know.
Best wishes,
tom
hey Aengus,
What you say makes a lot of sense, so I will now try to make the searchform in my image library just for images. Its a bit trickier than I thought it would be though ;(
Anyway I cant thank you enough for all the help given on this post, and wish you the very best for the future. Talking of which I was wondering what you think of my idea here as I try to evolve my site into fully blown picture library.
Hope your well, please pass on my gratitude to your partner 1 last time ??
cheers,
tom
p.s. yeah, I know our fireworks are piddly, ha ha.
p.p.s. Ever thought of doing some underwater 360 degree panorama’s ? do a search on google and it has already been done but is in its infancy. Would love to do it myself, but I cant get water in my ears, so this is next best thing ?? If you ever need any advice on it, please do not hesitate to contact me. I owe you….
still a bit ropey on the tags, but much improved ?? in fact i’m not sure the tags are being searched at all, how are your tags Aengus ?
WOOOOOOOO HOOOOOOOOOOOOOO !
I think I fixed my problem, I took out “object_id and” from this line “WHERE pid = object_id and term_id = term_taxonomy_id and” and it seems to have got rid of the bogus images. I will keep testing but things are on the up ??
tom
hey AengusM,
Thanks for that, its very generous of you to help and share your code, i appreciate it !
Although it is working for me, I am getting some odd results.
Try it yourself and see, here The search bar is in the header. Also I have image library page with tags here
do a search for “lion” and you will get lion pics and hippo pics.
do a search for “seal” and you will get seal pics and waterfall pics.
gorilla brings up gorilla pics and birds !
I could go on, but i’m sure you are getting the idea, there is something untoward, and I just cant put my finger on it. I have tried disabling all plug-ins, checking next-gen galleries, but after that I am flummoxed on what to try next. At least it is bringing relevant results, which is much better than nothing, so I am thankful for that.
Do you happen to know how to check webpages for php errors ? Hopefully that will help, I will do a Google search now ?? I guess maybe its the same as validating a web page.
Anyway many many thanks Aengus, if you are’nt experiencing problems, you should mark this post as resolved, sorry I’ve hijacked it…
Cheers buddie, have a great day/night !
tom
hi AengusM,
HOO- nearly-RAY !!! Well done mate and please thank your v.clever girlfriend from me !!! I’ve been at meetings away from home all day, and got back an hour ago. I checked this post before even making my obligatory cuppa ??
Just wanna check my overall code with you guys cos although much improved its bringing up a few weird results, but that could be for any number of strange wordpress reasons, and if its perfect for you guy’z then I’ll know it must be something else.
So here you go
## Function to do searchs on gallery pics from NextGen Gallery plugin
##
## 2 vars : (1) $keywords (usually coming from the standard search query from wordpress)
## (2) $numberPicCol (number of pic by row, if null it takes 4 )
function ngg_get_search_pictures ($keywords, $numberPicRow = NULL) {
global $wpdb;
$count=1;
if (!$numberPicRow) { $numberPicRow = “4”; }
$nngquery = “
SELECT pid,description,alttext
FROM wp_ngg_pictures
WHERE MATCH (description, filename, alttext) AGAINST (‘*$keywords*’ IN BOOLEAN MODE)
AND exclude = ‘0’
UNION
SELECT pid,description,alttext
FROM wp_ngg_pictures, wp_terms, wp_term_relationships
WHERE pid = object_id and term_id = term_taxonomy_id and
MATCH (name) AGAINST (‘*$keywords*’ IN BOOLEAN MODE)
AND exclude = ‘0’
“;
$pictures = $wpdb->get_results($nngquery, ARRAY_A);
if ($pictures) foreach($pictures as $pic) {
$out .= ‘‘;
$out .= ‘<img class=”ngg-gallery” style=”border: .1em solid #FFFFFF” src=”‘.nggGallery::get_thumbnail_url($pic[pid]).'” alt=”‘.stripslashes($pic[alttext]).'” title=”‘.stripslashes($pic[alttext]).'” />’;
$out .= “\n”;
if ($count == 0) {
$out .= “”;
}
++$count;
$count%=$numberPicRow;
}
return $out;
};I will be testing and tweaking a little anyway. How is it working for you ?
I hope it works great and i’ve just another problem somewhere else.
Anyway thanks so much, I am mega grateful !!!
Great wishes,
tom
p.s. Saw your website today and your underwater pictures are worthy of wildlife photographer of the year competition, have you ever entered ? They really are amazing !