 | |  | | | ReviewPost How do I...? Wondering how to do something in ReviewPost? |
December 15th, 2006, 10:24 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 116
| Paragraph Formatting
When placing a single, empty line between paragraphs, it turns into two lines after the review is submitted.
|
| |
December 16th, 2006, 08:35 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,801
|
I beleieve I responded in the other thread so which integration you using?
|
| |
December 16th, 2006, 10:09 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 116
|
My two posts are for two separate and different problems. In the Classifieds, a return produces a space. In ReviewPost, a return produces two breaks.
Integrated with FusionBB.
|
| |
December 16th, 2006, 10:22 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,801
|
It is not going to matter which integration you use but I did post the code in classifieds in the other thread feel free to modify that as you need but from what I see a RETURN will result in one break and a HARD RETURN (PARAGRAPH BREAK) results in two breaks. You can cut that down to one break by removing one of the <br /> tags.
It is the same in reviewpost the function is no different so alter that function in pp-inc.php as needed. Is this something your typing or are you copying and pasting already formatted code?
|
| |
December 17th, 2006, 01:43 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 116
| Quote:
Originally Posted by Chuck S It is not going to matter which integration you use but I did post the code in classifieds in the other thread feel free to modify that as you need but from what I see a RETURN will result in one break and a HARD RETURN (PARAGRAPH BREAK) results in two breaks. You can cut that down to one break by removing one of the <br /> tags.
It is the same in reviewpost the function is no different so alter that function in pp-inc.php as needed. Is this something your typing or are you copying and pasting already formatted code? | This happens when someone is typing.
I guess the question is, why do I have to change the code to make them work (as it does here) and why don't the Classifieds and ReviewPost work the same, without altering the code?
Here's what happens in both programs.
In ReviewPost, if I type this: Quote:
Paragraph One
Paragraph Two
Paragraph Three
| The end result is this: Quote:
Paragraph One
Paragraph Two
Paragraph Three
| ----------------------------------------------------------
In the Classifieds, if I type this: Quote:
Paragraph One
Paragraph Two
Paragraph Three
| The end result is this: Quote: |
Paragraph One Paragraph Two Paragraph Three
|
Last edited by CGMathis; December 17th, 2006 at 02:01 AM.
|
| |
December 17th, 2006, 02:03 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 116
|
Perhaps if you used the "webmaster" login I gave you and you tried each site, you'd see what I mean.
|
| |
December 17th, 2006, 10:37 AM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,801
|
If you do a carriage return it is replaced with the appropriate breaks according to how many carriage returns you do.
The code between reviewpost and classifieds is the same so they should display the same unless maybe your using old versions. My suggestion is still the same if you dont like two breaks between paragraphs when you do a hard return then remove one. It is simply how the program is coded and how the returns are interpreted. Make sure Code: Content visible to verified customers only.
|
| |
December 17th, 2006, 12:21 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 116
| Quote:
Originally Posted by Chuck S If you do a carriage return it is replaced with the appropriate breaks according to how many carriage returns you do. | Well, the problem is, it does not. You keep telling me what it's supposed to do, and I keep telling you what it does.
I looked at the code for both Classifieds and ReviewPost and it's the same, but they don't work the same.
I have the latest version of both programs. The code is the same for each (in this area). Why do they not perform the same when it comes to carriage returns?
|
| |
December 17th, 2006, 12:45 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,801
|
The do perform the same that I see now first lets clarify is this comments or actuals ad or product descriptions
|
| |
December 17th, 2006, 01:45 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Nov 2005
Posts: 116
| Quote:
Originally Posted by Chuck S The do perform the same that I see now first lets clarify is this comments or actuals ad or product descriptions | In the Classifieds: Content for the ads
In ReviewPost: Content for uploaded products.
This would be so much easier if you'd just go to the sites and place an ad and go to my Review site and upload a product. Then you could see for yourself what it's doing for yourself.
Shall I resend the login information?
|
| |
December 17th, 2006, 03:11 PM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,801
|
I dont know what your site is hense I always test on copies of the software which are always unmodified stock code.
These lines for the description on ads and products are exactly the same in both showproduct.php files. My testing as noted produces the same exact results with the same exact text in both situations Code: Content visible to verified customers only.
This is about as explicit as I can get with an example and I be darn if I see anything wrong here with the function. As stated if you dont want two break tags when doing a hard return by pressing enter twice then try editing the function as I noted to remove one break tag. http://www.reeftalk.com/classifieds/...5/limit/recent http://www.reeftalk.com/reviews/show...6/limit/recent |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 12:20 PM. | |