PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Classifieds Support > Classifieds Bug Reports

Classifieds Bug Reports Post any problems you may be having with Classifieds here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 13th, 2005, 08:22 PM   #1 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Location: Socorro, NM
Posts: 54
BBCodes Not Workin in 2.4.2's Ad Category Display?(FIXED)

Hi. I've managed to get 2.4.2 working like a champ now except for a couple of things. The most annoying of thse things is that Classifieds seems to ignore BBCodes when displaying the ad text preview that shows up in the ad categroy display. Oddly, BBCodes are working everywhere else. When you display an ad containing the codes, I see blue and red and bold text and images and larger font sizes and all that stuff. But when I look at the ad category display, I see the darned codes.

I have attached a screen snapshot to provide an example. The area with the red oval drawn around it in the lower center of the screen is what I'm referring to here.

Can someone tell me if this is "normal" behavior or not? I DO have all 3 forms of vb3enhanced support turned ON in the admin/options area.

As I said, when I display the main ad, the codes are working just fine. The second attached screen shot shows that the centering, font, color and IMG formatting instructions are clearly working when the ad is displayed.

If it's not normal for the program to do this. Then I'd like some advice and support on how to find and fix the problem.

Frankly, I think it looks real crappy.

Thanks.

PS - For some reason (apparently size), the uploaded images did not show up here in this post and I could not figure out how to add them in edit mode. So I replied to this thread and attached them to my reply. Sorry.

Last edited by websissy; October 13th, 2005 at 08:35 PM.
websissy is offline   Reply With Quote
Old October 13th, 2005, 08:30 PM   #2 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Location: Socorro, NM
Posts: 54
Oops! No images...

For some reason, the images did not make it when I attched them to the last post. So, I'm trying again...
Attached Images
File Type: jpg bbcodes_snapshot.jpg (36.6 KB, 7 views)
File Type: jpg bbcodes_snapshot2.jpg (45.3 KB, 4 views)

Last edited by websissy; October 13th, 2005 at 08:37 PM.
websissy is offline   Reply With Quote
Old October 13th, 2005, 09:08 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
Try this add the line in bold above the code here in showcat.php

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 13th, 2005, 10:24 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Location: Socorro, NM
Posts: 54
Quote:
Originally Posted by Chuck S
Try this add the line in bold above the code here in showcat.php

Code:
Content visible to verified customers only.
I guess you could say that sort of worked. It was certainly better than seeing all those codes. What it actually did was process and convert the code that was displayed before and a bit more as well. Here's what I got as a result

John Hershey Email: 12

You can visit the actual page involved here and see for yourself exactly what it did.

Notice the "12" at the end of this example. That's actually a malformed hyperlink. I assume it's trying to represent the link to the advertiser's email address but fails to do so correctly. The link it provides is erroneous. It apparently points to a garbaged up URL for a site somewhere on the far side of the Andromeda Galaxy. As a result, when I click the "12", I get what amounts to a page not found error.

You can see the exact way the actual ad looks in the second image attached to my last post. But it basically looks like this:

John Hershey
Email: Send John Email Here
or call: 505-336-1901

In other words, the post begins with the advertiser's First and Last name on the first line followed by the word "Email: and a hyperlink to his email addy on the second line. The hyperlink brackets the words "Send John Email Here". The third line contains: "or call: 505-336-1901" . After that the ad contains a large photo of the advertiser followed by more text.

So, it actually displayed the first three words of text inside the post in the colors indicated by the BBCode and in bold (and italics) as indicated in the BBCode, but it ignored the large font indicated in the BBCode. That supression of the large font is probably a good thing. The font was large enough it probably would not have fit in the small space provided on this screen. My only objection to what it did is the malformed hyperllink. I would rather that it had left it out that to provide an invalid link on the category page.

May I ask if there's a way to just have it suppress and hide the bbcodes in the attached ad when displaying the preview on the showcat page? On the category page, I rather just have it strip out the BBCodes altogether and display as much of the text from the underlying ad as it can in the space it has to work with and leave it at that..

I'll play with this more in the morning and see how well it does with other ads it encounters.

Thanks, Chuck!

Last edited by websissy; October 13th, 2005 at 10:28 PM.
websissy is offline   Reply With Quote
Old October 13th, 2005, 11:15 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
How about just trying this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 14th, 2005, 09:26 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Aug 2005
Location: Socorro, NM
Posts: 54
Quote:
Originally Posted by Chuck S
How about just trying this...
I tried this and it did exactly the same thing. However, I now realize that the "12" that was showing above is actually the value that is supposed to be appearing in the Views column.

If you look closely at the category display page, you'll soon realize that the content that's supposed to be showing in the Views column has completely disappeared. Instead of showing the number of views, the views column now shows: "None" and the location column noew shows the zip code question and the Condition column shows the date and the date column has vanished completely! If you look for yourself and view the ad a time or two and then refresh the category screen after each viewing, you'll see the "15" which is what is showing there now increase to 16 and then to 17, etc.

In short, I guess this solution doesn't work so well after all.
websissy is offline   Reply With Quote
Old October 14th, 2005, 10:03 AM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,069
It actually works fine as noted if you want to show it but there is a reason why we dont parse the code.

http://www.reeftalk.com/classifieds/...hp?cat=2&page=

I see your issue and it is this. When using bbcode the issue is this we only show x many characters on showcat which is why we dont parse bbcode on that page cause it will break since the string in the middle of the code can be cut resulting in non proper html

You can do one of two things here.

Either live with the default coding of not converting html in showcat which is why we do not for the above explanation or take this line and increase the 175 to something higher that might still look good but not interfere in the bbcode

if ( strlen($desc) > 175 ) $desc = substr($desc,0,175) . " ... ";
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
2 level cat display problem(FIXED) justb Classifieds Bug Reports 9 August 29th, 2005 11:23 PM
How to display category images? rcsmith Photopost Pro How Do I...? 5 February 23rd, 2005 12:10 PM
Display Category ConqSoft vBGallery Suggestions 2 December 13th, 2004 10:15 AM
Display category only if Visible Ghostsuit Bugs From 1.0.0 11 December 12th, 2004 12:20 AM


All times are GMT -5. The time now is 04:13 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0