admin0712
Forum Replies Created
-
I am not sure it is network, I have asked to test some of my friends they are also facing the same issue
This article also has the same issue, some images are not loading
https://thereviewstories.com/dialogues-from-interstellar-movie/
Hi
Here is another URL with same issue
See the screenshot
https://thereviewstories.com/what-is-short-selling-is-it-legal/
I am not able to see the image, this is just one example, there are quite a few that doenst work
I get this “We cannot complete this request, remote server returned an unexpected status code (400)”
Thanks for that clarification
I am from India, but my website gets visits from India and US the most. With other countries
BTW which country are you opening the link from
- This reply was modified 1 year, 10 months ago by admin0712.
It is enabled, you can check here
https://thereviewstories.com/wp-content/uploads/2023/04/jetpack.png
I am unable to upload the image, so please click this article to see a broken image. The image is present in the backend, but even then this error is shown
https://thereviewstories.com/best-signwriting-company/
We cannot complete this request, the remote server returned an unexpected status code (400)- This reply was modified 1 year, 11 months ago by admin0712.
Forum: Themes and Templates
In reply to: [ColorMag] Colormag Theme not replicating on importI have the elementor installed still, it does not work
https://prntscr.com/13hgl9g<?php
global $bupr;
$bupr_type = ‘integer’;
$bupr_avg_rating = 0;
/* Gather all the members reviews */
$bupr_args = array(
‘post_type’ => ‘review’,
‘posts_per_page’ => -1,
‘post_status’ => ‘publish’,
‘category’ => ‘bp-member’,
‘meta_query’ => array(
array(
‘key’ => ‘linked_bp_member’,
‘value’ => ‘userid goes here’,
‘compare’ => ‘=’,
),
),
);$reviews = get_posts( $bupr_args );
$bupr_total_rating = 0;
$rate_counter = 0;
$bupr_reviews_count = count( $reviews );
$bupr_total_review_count = ”;
if ( 0 != $bupr_reviews_count ) {
foreach ( $reviews as $review ) {
$rate = 0;
$reviews_field_count = 0;
$review_ratings = get_post_meta( $review->ID, ‘profile_star_rating’, false );
if ( ! empty( $review_ratings[0] ) ) {
if ( ! empty( $bupr[‘active_rating_fields’] ) && ! empty( $review_ratings[0] ) ) :
foreach ( $review_ratings[0] as $field => $value ) {
if ( array_key_exists( $field, $bupr[‘active_rating_fields’] ) ) {
$rate += $value;
$reviews_field_count++;
}
}
if ( $reviews_field_count != 0 ) {
$bupr_total_rating += (int) $rate / $reviews_field_count;
$bupr_total_review_count ++;
$rate_counter++;
}
endif;
}
}if ( $bupr_total_review_count != 0 ) {
$bupr_avg_rating = $bupr_total_rating / $bupr_total_review_count;
$bupr_type = gettype( $bupr_avg_rating );
}$bupr_stars_on = ”;
$stars_off = ”;
$stars_half = ”;
$bupr_half_squar = ”;
$remaining = $bupr_avg_rating – (int) $bupr_avg_rating;
if ( $remaining > 0 ) {
$stars_on = intval( $bupr_avg_rating );
$stars_half = 1;
$bupr_half_squar = 1;
$stars_off = 5 – ( $stars_on + $stars_half );
} else {
$stars_on = $bupr_avg_rating;
$stars_off = 5 – $bupr_avg_rating;
$stars_half = 0;
}
$bupr_avg_rating = round( $bupr_avg_rating, 2 );if ( $bupr_avg_rating > 0 ) {
?>
<div class=”aggregateRating” itemprop=”aggregateRating” itemscope itemtype=”https://schema.org/AggregateRating”>
<span itemprop=”ratingValue” content=”<?php echo esc_attr( $bupr_avg_rating ); ?>”></span>
<span itemprop=”bestRating” content=”5″></span>
<span itemprop=”ratingCount” content=”<?php echo esc_attr( $rate_counter ); ?>”></span>
<span itemprop=”reviewCount” content=”<?php echo esc_attr( $bupr_reviews_count ); ?>”></span>
<span itemprop=”itemReviewed” content=”Person”></span>
<span itemprop=”name” content=”<?php echo esc_attr( bp_core_get_username( bp_displayed_user_id() ) ); ?>”></span>
<span itemprop=”url” content=”<?php echo esc_url( bp_core_get_userlink( bp_displayed_user_id(), false, true ) ); ?>”></span>
<?php
echo “<div class=’member-review-stars’>”;
for ( $i = 1; $i <= $stars_on; $i++ ) {
?>
<span class=”fas fa-star bupr-star-rate”></span>
<?php
}for ( $i = 1; $i <= $stars_half; $i++ ) {
?>
<span class=”fas fa-star-half-alt bupr-star-rate”></span>
<?php
}for ( $i = 1; $i <= $stars_off; $i++ ) {
?>
<span class=”far fa-star bupr-star-rate”></span>
<?php
}
echo ‘</div>’;
echo “<div class=’member-review-stats’>”;
?>
<span><?php
esc_html_e( ‘Rating ‘, ‘bp-member-reviews’ );
echo ‘ : ‘ . esc_attr( $bupr_avg_rating ) . ‘/5 – ‘;
echo esc_attr( $bupr_reviews_count ) . ‘ ‘ . esc_attr( $bupr[‘review_label’] );
?>
</span>
</div>
</div>
<?php } ?><?php
}
?>- This reply was modified 5 years, 4 months ago by admin0712.
Can you provide the custom code here or some link where i can find it
Thanks