• Resolved meingarten

    (@meingarten)


    Hello and ty – great plug in.

    I tried to use your plugin to generate featured images for geodirectory.
    It works, when i put the shortcode into the title. I ve a white background with my theme.

    Post Title:
    <span style=”color:white”>[browser-shot url=”https://www.blumenscheid.com/&#8221; width=”400″ height=”300″]</span><br>Blumenhaus, G?rtnerei und Gartenbau Scheid

    ok i get 1 empty line because of the <br> which is necessarry to get the Title text left.

    My Problem is, i dont want any linking of the image. Or linking to the post itself – like the read more = link to the posts detail page.

    When not using the shortcodes link option, it links to the site of the screenshot.
    When using link ” ” i get 404 Erros, which is clear.

    Do you have an idea – either to switch off linking with the link option
    Or to include the permalink of the post where the shortcode is used.
    I could do this manually but i e 1000ds of addresses to prepare.

    Excuse my English – Have a nice day – Markus

    The page I need help with: [log in to see the link]

Viewing 11 replies - 16 through 26 (of 26 total)
  • Plugin Author binarymoon

    (@binarymoon)

    I’ve updated the plugin with a small fix.

    I’ve tested with the shortcode you gave me above and see nothing when I mouse over the image. If you’re still seeing it then what browser and operating system are you using?

    I’m currently testing in Chrome on MacOS.

    Thread Starter meingarten

    (@meingarten)

    @binarymoon
    hey macs – i was using from Plus on to fx, powermac … loved em.
    Now i am using win7 chrome, but tested as well with firefox explorer and opera

    I installed your last github version 10 mins ago.

    Shortcode used in the title field of geodir entry:
    <p style=”visibility:hidden”>[browser-shot url=”https://www.anjas-zauberwald.de/&#8221; alt=”Adresseintrag Ania’s Zauberwald” width=”400″ height=”300″ display_link=”false”]<br></p>Anja’s Zauberwald Blumen</p>

    Screenshots with mouse over:
    https://mein-garten.de/adressen//wp-content/uploads/2019/markus/1-entry-mouse-over-wired-text.PNG

    https://mein-garten.de/adressen//wp-content/uploads/2019/markus/2-entry-mouse-over-ok-geodir-category-name.PNG

    Plugin Author binarymoon

    (@binarymoon)

    Thanks for the screenshots.

    So screenshot 1-entry-mouse-over-wired-text.PNG is not very good at all.

    The second screenshot is what I would expect to happen.

    Are you still seeing screenshot 1 happen? I can’t reproduce it with the shortcode you gave me above.

    Plugin Author binarymoon

    (@binarymoon)

    If you have a public link to a website that shows the problem that would be very helpful.

    Thread Starter meingarten

    (@meingarten)

    Hi binarymoon,

    this is the public link:

    https://mein-garten.de/adressen/search/?geodir_search=1&stype=gd_place&s=zauber&snear=&sort_by=&slandkreis___stadtkreis=&sgeo_lat=&sgeo_lon=

    Its a serach in the geodirectory.

    May be geodirectory handles title different than normal wordpress posts.
    Nice eve – markus

    Thread Starter meingarten

    (@meingarten)

    Hi again binarymoon,

    i made a contact to the geodirectory support as well, telling them the Problem.

    Could you poste here which shortcode did u use in a normal WP posts Title, where you did not have that strange text, when mouse over.

    I ask that because i told gd support that the cryptic text when mouse over does not happen in normal posts, as you wrote me here above.

    But i tested a normal post now with the shortcode in the title.
    And i dont get any screenshot – only the full text of the shortcode i used.

    Could you generate a preview with the shortcode in the titel field of a normal wp poste? – its driving me crazy.
    tx for your time anyway ??

    Plugin Author binarymoon

    (@binarymoon)

    Sorry – I didn’t get an email notification of your replies for some reason.

    The shortcode I am testing currently is:
    [browser-shot url="https://mein-garten.de/adressen/search/?geodir_search=1&stype=gd_place&s=zauber&snear=&sort_by=&slandkreis___stadtkreis=&sgeo_lat=&sgeo_lon=" width="400" image_class="alignright"]caption for the screenshot[/browser-shot]

    It still works fine for me. No errors and the title is as I would expect. The only thing I can think is there’s some bad html on the page that’s causing the error.

    Do you have a public page with the problem that I can see? Perhaps you could create a secret page that you don’t link from anywhere? Then you can delete it once we’re done

    Thread Starter meingarten

    (@meingarten)

    Hi binarymoon,

    ty.

    I put this shortcode to a post – which is public – here

    https://mein-garten.de/adressen/4593/browser-shot-urlhttp-www-anjas-zauberwald-de-width400%E2%80%B3-height300%E2%80%B3-display_linkfalseanjas-zauberwald-blumen/?preview_id=4593&preview_nonce=238b84da77&post_format=standard&_thumbnail_id=-1&preview=true

    The result with my browsers show the text of the shortcode now, instead of a title – as well there is a warning on top of the page

    Warning: Illegal offset type in /homepages/20/d778183532/htdocs/clickandbuilds/WordPress/MyCMS3/wp-content/plugins/geodir_location_manager/includes/class-geodir-location-permalinks.php on line 89

    Though I d be happy if u have an idea, but am short before giving up. I am not a coder so my abilities are limited. And i dont want to waste your time.

    But may be interesting the response of geodirectory.
    The ask their developers why gd behaves different to wp posts.

    And may be interesting for you – they dont know any other solution by now to generate screenshots for a preview. As gd is the main plug for wp directories with a huge amount of indtallations. May be its of interest for u both to cooperate with that subject.

    I think its a very important feature which is missing at gd. When u ve 10000ends of addresses, all with the same boring category image, instead of a individual pic.
    Its easy to generate the shortcode in a spreadsheet from the content.

    Anyway – take care and ty – markus

    Thread Starter meingarten

    (@meingarten)

    oops forgot to tell you that i use the shortcode in that linked post as well in the text area. WHich works fine. Just to avoid making u confused becaus of the image below the title. this is an exra shortcode in the post text.

    Thread Starter meingarten

    (@meingarten)

    Hello again,
    additional info.

    I tried to enter your shortcode into the field image_post for importing data into gd via csv.

    Sure would be the better place for your shortcode than the title. Unfortunately it doesn’t work either. I also asked the gd support, but no answer yet.

    Here the public link to the result: Its the first entry top, left. with a broken link image.

    https://mein-garten.de/adressen/standort/germany/niedersachsen/oldendorf/

    The error message after the import:
    Please transfer all new images to ‘wp-content/uploads/sites/2/2019/06’ folder.

    So my question – can I save the image files generated by your shortcode locally? That would solve my problem, too.

    Have a nice day – markus

    Plugin Author binarymoon

    (@binarymoon)

    Warning: Illegal offset type in /homepages/20/d778183532/htdocs/clickandbuilds/WordPress/MyCMS3/wp-content/plugins/geodir_location_manager/includes/class-geodir-location-permalinks.php on line 89

    This is an error with the geodirectory plugin. Should be a relatively easy fix for the developer.

    Regarding your problem – are you always adding the shortcode into the title of the post? That won’t work unfortunately. Shortcodes don’t work in post titles. They would have to be added to the body of the post.

    They also won’t work in the fields. The shortcodes have to be in the main post content since that’s the only place they work properly.

    Regarding saving the images, that’s not something the plugin supports. Unfortunately there’s no way for the plugin to know if the image has been generated or not, so it’s likely that the ‘generating image’ image would be saved rather than the actual screenshot.

Viewing 11 replies - 16 through 26 (of 26 total)
  • The topic ‘featured image with geodirectory’ is closed to new replies.