Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Review Text


Guest

Recommended Posts

Hello all

 

I was wondering if anyone new how and where to set the Maximum text review to display as the reviews are short and getting cut off when customers are typing reviews.

 

 

thks

 

in advance

Link to comment
Share on other sites

Ok let refine this a little more.........

 

 

 

When writing a Review you fill the text box up with text.

 

 

When you go to read the review all you see is the first few lines,,,,,

 

example: you you write youwrite alll allla ;;;;a a;a;;a;dsjadjsdjshdjsjsdhsjdhjsadhsjadhjasdhsjahdjsadhj

ashdjasdhsjadhjashdsahdsjadhjashdjsahjasdjhasdhasj

dhasjdhsjajhasdasjdjhasdhasjdhjashddjasdhsjahdjasdhj

asdjashdjashd

 

 

All you when looking at the Review is this much when reading review the rest is cut off.

 

you you write youwrite alll allla ;;;;a a;a;;a;dsjadjsdjshdjs

jsdhsjdhjsadhsja

dhjasdhsjahdjsadhja

 

 

 

There is only the option in the ADMIN Panel to set a Minimum Lenth for the Text, but know setting the Maximum length.

 

 

any help would be appreciated.

Link to comment
Share on other sites

Thks Beardedone

 

But still I have not found this one out yet.

 

I set the minimum of course in the beginnings when I started out with this cart.

 

But I only started getting the questions from customers on how come the reviews are being cut off.

 

When going past 100 characters the reviews are cut short.

 

The minimum is set at 25 characters.

 

I have no idea where the Maximum Encoding is I looked on all the rveiews PHP pages and can't figure out where the encoding is for the Maximum, only found the Minimum.

 

Their has to be a Maximum setting, Unless my Reviews encoding is not correct.

 

I would asume that the Minimum setting at 25 should suffice that setting and anything over 100 should be allowed, but in my case it is not.

 

If anyone can help here please do so.

Link to comment
Share on other sites

you could check in the database sql that reviews_description review_text is set to full text

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

After looking into the SQL database the Review Text is there all complete.

 

The problem is We don't see all of the review on the review page, only some of the review text is shown.

 

This one has got me guys........

 

I moved the Review Box to the left side colum along time ago, I fixed the problems of the reviews not showing up after moving the review box to the left colum a long time ago.

 

But now after complaints from customers only now not before...

 

 

That the problem of the entire review is not diplayed.

 

any help would be apprciated.

 

thks.

Link to comment
Share on other sites

Ok does anyone know how to increase the size of the Review Text Box, I Think If i can increase the Height of the Review Box then all of the text should show.

Link to comment
Share on other sites

Could this bit of code be what you seek?

in catalog/reviews.php

 

 ((strlen($reviews['reviews_text']) >= 100) ? '..' : '')

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Ok tried to increase that to 500 also the 60 i left alone, then tried to increase the 60, but nothing worked to increase the text viewed.

 

 

All I can see is 2 lines of text from customers reviews on the

products_reviews.php page also in the Review Box the samething.

 

I see at the cutoff point at the end of the text is dots ...... to show that there is more to read but no way to read it.

 

I do see that it is am Infox style of a BOX but I don't find anywhere to increase its size or even the reviews box.

 

tks.......... do you have anymore suggestions for this matter.

 

anyone help please.......

Link to comment
Share on other sites

the reviews box contains a reference to the max description of a review and also to the random display of reviews

 

It does have this part of code in the random review

 

 $review_query = tep_db_query("select substring(reviews_text, 1, 60) as reviews_text from " . TABLE_REVIEWS_DESCRIPTION . " where reviews_id = '" . (int)$random_product['reviews_id'] . "' and languages_id = '" . (int)$languages_id . "'");
? ?$review = tep_db_fetch_array($review_query);

? ?$review = tep_break_string(tep_output_string_protected($review['reviews_text']), 15, '-<br>');

 

however I dont think that is what you are after.

 

Did you get my earlier post about the sql and checking that it was set for full text as we seemed to post at about the same time?

 

it said this

 

you could check in the database sql that reviews_description review_text is set to full text

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Yes the SQL database reviews description is set to fulltext, the review box maximum description is short also, i am not sure but if i increase this mabe it will show whatever in the review box then same under the product_review.php page.

 

Also I see that it is a Class info Box, but this is weird i can't seem to find the encoding to increase the text allowed for it.

 

Even when looking under View Source I don't see it.....

 

anything else i should check......

 

 

thanks

Link to comment
Share on other sites

backing up a bit

 

((strlen($reviews['reviews_text']) >= 100) ? '..' : '')

have you tried changing the part '..'

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

sorry i meant the part '..' and not the part = 100)

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

I am not that sure maybe '' wthout the..

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

If you click on the name of the person whom wrote the review does it now show the whole review or does it still only show the first 2 lines

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...