Bug Preview Removes All Images and Videos

Status
Not open for further replies.

CharlieDelta

Customer
When you preview a review it removes all the images and youtube videos.

There is no problem when you submit without previewing.

A side question; my primary image was larger than 800x600 and it would not let me submit. I thought it would be fine because it resizes images??
 
I'll check on the preview part, it was a last minute addition and has some bugs to work out heh.

On the image part, if you open dbtech/review/includes/class_core.php

Find at about line 673
PHP:
        if (self::$vbulletin->options['dbtech_review_resize'] == false)
        {
            if (($source_image_width > 800) || ($source_image_height > 600))
            {
                $thisimgerr['has_error'] = true;
                $thisimgerr['error_txt'] .= construct_phrase($vbphrase['dbtech_review_err_bad_size'], $thisimgerr['filename'], 800, 600);
            }
        }

and remove it. That should fix the large image problem.
 
Status
Not open for further replies.

Legacy DragonByte Reviews

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
194
Customer rating
0.00 star(s) 0 ratings
Back
Top