TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,913
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 561
  • Total: 562
  • @rjen

[block] Approved Articles / Sorted, Paginated, Categorized, & Customized

Started by tim antley, September 21, 2008, 11:13:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZarPrime

dimdom,

Though I haven't tried this snippet, ,it's my understanding that this code shows the articles in a list form so I don't see how there would be room for an image.  Have you even tried the snippet yet?  The next time Ianedres is on, perhaps he can comment on this since it's his code.

ZarPrime

dimdom

Yes, I am using it for the last 18 months.  :)

Watch it in action here: http://www.authorway.com/SMF/index.php?page=138

There is room for images.

IchBin


dimdom

Quote from: IchBinâ„¢ on October 15, 2009, 02:05:18 PM
So you want to add a tiny little image for each line?

Yes.  :)

The first image in every article (if there is one).

IchBin

But how would you tell what the image is when it would be tiny enough to fit on each line? Honestly, I don't see this happening. You'd have to do some sort of text search to find an image in the article text, which to me would be very, very complicated.

Ianedres

There would be several issues to address your request.

It would have to parse for BBC image tags in the article itself, thus adding many more queries (and code) to the script, and just would not seem practical.

Thanks Ich and Zar!

Rafferty

Does this script have to be updated for use with TP 1.0 Beta 5-1?

I have had the block up for sometime on the previous version but has stopped working since upgrading to beta 5

ZarPrime

Rafferty,

Welcome back to our new site.

Yes, undoubtedly, if this snippet has database calls, it will have to be updated for the latest version.  I'm sure that Freddy or Ichbin will take a look at this as soon as they can and see if it can easily be updated.  What version of SMF are you using?  They will ask.

ZarPrime

IchBin

There was a problem with the way that TP was saving code in beta 5.1. YOu should probably update to beta5.2

If you're still running SMF 1.1.x it should work fine regardless of the TP version. But if you're using SMF2 it will need to be converted. Let us know which version you're running.

Rafferty

Link to my site: https://aadaa.asn.au
SMF version: SMF ver. 2.0 RC3
TP version: TP ver. 1.0 Beta 5-2
Theme name and version: Default
Browser Name and Version: FF 3.6
Mods installed: many
Related Error messages: None


This website is proudly hosted on Crocweb Cloud Website Hosting.