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!