Jump to content

All Activity

This stream auto-updates     

  1. Today
  2. Not at this time. Let me know where you set this up in EasySocial and I will add it as a task for a future update. If you want to attempt it yourself, now you have the file you would need to change.
  3. Ha! Almost identical. Thanks Alejandro. Is there anyway we can account for different Easysocial profile types? I made the change, and it shows a default avatar, but not the one for that user's easysocial profile type (we can choose a different default avatar for each easysocial profile type). In my case, the url for that particular profile's default avatar is /media/com_easysocial/avatars/defaults/profiles/3/02f75f53edd873097899af668a125c13_square.png I believe the 3 in the link is the profile type id.
  4. Thanks for letting me know about this issue. I will fix it in the next update. You can make the change here: /components/com_jreviews_addons/everywhere/cms_compat/joomla/models/everywhere/everywhere_com_easysocial.php var $default_thumb = 'media/com_easysocial/defaults/avatars/users/large.png'; to: var $default_thumb = 'media/com_easysocial/defaults/avatars/user/large.png'; You'll see there's just a very subtle difference 😉
  5. Alejandro

    Schema - Structured Data Issues

    To suppress the author for types that don't use it you would need to disable the setting in the configuration to hide it. The logic is that there's no need to have a listing owner appear on a product page. JReviews has it's own logic for schema because it doesn't use LD+JSON on detail pages, it uses microdata and that allows you to easily include custom fields as schema properties. Searching the docs for "schema" leads you to the How to add Structured data for rich snippets article.
  6. It turns out there was an issue with the name of the filter_functions.php file and it works after correcting it.
  7. TomH

    Schema - Structured Data Issues

    When I had set the type to Product or organization it didn't like the location of the author type as it is not a recognized property of Product. The author property may need to be supressed for some of these object types. I can't remember if the author type can be added under organization... Does JReviews use it's own logic for displaying schema or does it use a class like https://github.com/spatie/schema-org Just curious as I am planning to add schema to another project I am working on. BTW do you have the support link that shows how I can map custom fields to schema properties? Thanks
  8. Bodo Lamprecht

    error: The page you are looking for can't be found

    Thank you. It worked.
  9. n00bster

    Jreviews as a gallery :-)

    ok my idea was about more inspiring headercovers. for the covers i think it would very cool when not only a static image is presented. a sliding feature is there what i see in jreviews, but to get use of it in the headercovers it needs workarounds i guess. here i found a slider demo, i like it to browse through all the listing images in the header right away: http://demo.joomshaper.com/2016/empire/index.php/sp-property/properties/1-snake-river-capital-town maybe there is a way to make the headercovers more impressive, less static
  10. Hi, You can use an OR statement like below, or use the PHP in_array function to add multiple ids to an array. You can search for that on the PHP docs. <?php if ( $listing['User']['user_id'] == 100 || $listing['User']['user_id'] == 200 ): ?>
  11. Alejandro

    error: The page you are looking for can't be found

    Hi, Please open that file and replace line 92 with this: ( !isset($addressFields['country']) || ( isset($addressFields['country']) && !S2Array::get($listing,'Field.pairs.'.$addressFields['country']) ) ) Thanks for letting me know about this issue. I will fix it in the next update.
  12. Hi, under the Link the following error message appears: The page you are looking for can't be found Error 0 - Too few arguments to function S2Array::get(), 1 passed in /var/www/vhosts/jelbesberlin.de/httpdocs/components/com_jreviews_addons/maps/controllers/components/maps_geocoding.php on line 92 and at least 2 expected Bodo
  13. Wow, thanks. Runs. Now I have 2 User IDs how I can integrate this? with "," or ";" I get a failure
  14. n00bster

    Default Cover Images

    perfect, thx Alejandro 🙂
  15. I am using the following shortcode in an article (and numerous other places) [jreviews type="listings" listing="924" summary="1" editor_rating="0" extension="com_easysocial" tn_size="200x200" tmpl_suffix="_teachers"] The issue that I am getting is that when the user is assigned a default easysocial avatar on registration, the shortcodes do not show that avatar. If the avatar is specifically uploaded by the user then that avatar will show. If I don't assign a default avatar on registration and turn on the Easysocial option "Named Based Pictures for Users Without Picture," the avatar is still not shown ( I registered a new user and created a new listing to test this). If this is expected behaviour, could you perhaps point me in the direction of the relevant file that controls this behaviour? I first discovered the issue with Easysocial 2.2.4 and JReviews I was able to replicate the problem using Easysocial 2.2.7 and JReviews In both cases I was using Everywhere Addon v. Joomla version was 3.8.12
  16. Yesterday
  17. Alejandro

    Schema - Structured Data Issues

    I forgot to mention that datePublished and dateModified will only be used for Article, NewsArticle, BlogPosting types. Whereas before, datePublished was only being used for Article. Not all types accept these properties. In some cases you can use datePublished, like for Books, but here you should use a custom field and mark that up with yourself because you don't want the listing creation being used in this case.
  18. Alejandro

    Schema - Structured Data Issues

    Thanks for pointing these out. In the next update the dateModified property will be used if a listing has been updated and the modified date will be shown instead of the created date, per Google's recommendations. This of course with the corresponding markup for both datePublished and dateModified. I've also fixed the issue with the ratings below 1 by including the worstRating property instead of rounding up the ratingValue. JReviews already outs the bestRating property when the rating scale is different than 5.
  19. Alejandro

    Default Cover Images

    You got it! Coming out in the next update. You will be able to set a global cover and you can also have a different default cover per listing type.
  20. adam parker1424296087

    Default Cover Images

    yep, would like this too, +1
  21. I have been reviewing the structured data and trying to find the best fit for my different listing types while producing the least amount of errors in the schema and still being informative to the search engines. My Site offers reviews (which are the actual listings) of different product and services and allows users to submit their own reviews. Depending on how you read into things and the examples I have seen on the net I could set the object type to a number of different things: Article, NewsArticle, Product, Review, CriticReview, LocalBusiness The one thing I notice that the dateModified is missing. This is important as my listings once published never are removed. Can you add dateModified (using the Article Modified date) to the structured data to show Google that our "listings" have been updated and are current? This is also recommended by Google. The other thing I notice while using the Structure Testing Tool is that some user reviews ratingValue is listed at 0.6 which is out of the default range set. The low rating is fine but can you modify the output to set the ratingValue to the lowest of 1 so it doesn't generate these Schema errors? I was using Product and Organization before. I am thinking of keeping it Product but maybe switching to Article so that the Author property can be used properly and not create another structured error. I was also thinking of maybe using Review object type but this creates a warning since the aggregated Rating is within the object type. Thanks
  22. You used the correct path /templates/jreviews_overrides/filters/filter_functions.php I tested the code before posting it. Maybe try it once more and if it still doesn't work submit a ticket and I can take a look.
  23. I tried this but it did not work for me. I created an overrides folder in the path and file mentioned in the docs : /templates/jreviews_overrides/filters/filter_functions.php With the following text in the filter_functions.php file: <?php defined('MVC_FRAMEWORK') or die; function minimum_comment_length($validation, $params) { $comment = S2Array::get($params,'data.Review.comments'); $comment = strip_tags($comment); if ( strlen($comment) < 100 ) { $validation[] = 'The review comment needs to be at least 100 characters'; } return $validation; } Clickfwd\Hook\Filter::add('review_submit_validation', 'minimum_comment_length', 10); I then realized that perhaps I needed to make the path and put the file within the template parent folder (/templates/ireview3/jreviews_overrides/filters), like below, but that did not work either. I tried clearing cache too but no luck. Can you let me know if I missed a step? Thanks
  24. radiopol

    Can I pls have query for

    thank you will try to fix it
  25. Last week
  26. Alejandro

    [SOLVED] Description and Summary between custom fields!

    While having settings is useful, having too many of them just creates chaos. It's also not possible to have every customization option documented, but there is enough documentation, examples and forum posts to get ideas on what you can do to change the site according to your specific needs. The code in theme files is also typically well documented or easy to read. There are also several built-in tools you can use for theme customizations. 1. Easily find which theme file to change with theme debug 2. Override themes without changing core files with theme overrides 3. Customizing the listing detail page If you open the detail page theme file you'll find the code for the summary/description that you can remove. <?php /* SUMMARY - DESCRIPTION */ ?> <div class="jrListingFulltext <?php echo $char_limit > 0 ? 'jr-show-more' : ''; ?>" <?php echo $char_limit > 0 ? 'data-characters="'. $char_limit .'"' : ''; ?> itemprop="description"> <?php echo $listing['Listing']['text'] !== strip_tags($listing['Listing']['text']) ? $listing['Listing']['text'] : nl2br($listing['Listing']['text']);?> </div> You could potentially also use a developer filter. More specifically the Post_Get_Listing_Detailpage_Query. These are for development purposes and so not every possible example will be listed there, but there's one already for removing links that you can easily adjust. The idea would be to move the summary/description to a different place so the theme cannot see it, and so it doesn't output it, and then you can read it in your custom field using the example in my original reply. It would work like this. <?php function hide_detail_page_summary_desc($listing, $params) { // Uncomment line below to dump filter arguments to the screen // dd($listing, $params); $listing['Listing']['text_copy'] = $listing['Listing']['text']; $listing['Listing']['text'] = ''; return $listing; } Clickfwd\Hook\Filter::add('post_get_listing_detailpage_query', 'hide_detail_page_summary_desc', 10); Make sure you read the instructions for using developer filters from the beginning of the article. With that very little code you can hide the summary/description. Then in your banner custom field php format, instead of using the 'text' key, use 'text_copy'. return $entry['Listing']['text_copy'] !== strip_tags($entry['Listing']['text_copy']) ? $entry['Listing']['text_copy'] : nl2br($entry['Listing']['text_copy']);
  1. Load more activity

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Please refer to our Privacy Policy.