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,970
  • Latest: bynw
Stats
  • Total Posts: 196,061
  • Total Topics: 21,338
  • Online today: 234
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 202
  • Total: 202

BBC tag for ...Read More link

Started by fak3, May 22, 2009, 10:20:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fak3

Hi, this is a suggestion for you developers & co. :)
What about a BBC tag like [more] so you can choose where Read More link will be placed. Would be great if you use forum posts rather than TP articles.

I know my english is bad so here it is an example:
I love
[more]
TinyPortal.


Will be displayed in homepage as:
QuoteI love ...Read More

Skhilled

There are SMF mods that do this. I believe they are called "hide" and "spoiler". Do a search at SMF for those and you should find them. There may be others similar to those.

fak3

Quote from: Skhilled on May 23, 2009, 05:52:32 AM
There are SMF mods that do this.
They are not the same. They don't let you choose where to place the Read More link.
ATM, if you use forum posts instead of TP articles, the only setting to play with is the 'Number of characters to display per forum-post' in Admin - Settings and Frontpage.


JPDeni

What do you want to happen when someone clicks the link?

fak3

By clicking read more you can read the entire post...

JPDeni

How can you read the entire post? Go to the original post in the forum or expand the block so that the whole thing shows in the block?

The reason I ask is that going to the original post would be very difficult, if not impossible, to program.

fak3

Quote from: JPDeni on May 23, 2009, 02:06:48 PMHow can you read the entire post? Go to the original post in the forum or expand the block so that the whole thing shows in the block?

The reason I ask is that going to the original post would be very difficult, if not impossible, to program.
Go to the original post would be awesome.

JPDeni

QuoteGo to the original post would be awesome.

And impossible. So it's not going to happen.

Skhilled

Quote from: claudio_o on May 23, 2009, 11:12:52 AM
Quote from: Skhilled on May 23, 2009, 05:52:32 AM
There are SMF mods that do this.
They are not the same. They don't let you choose where to place the Read More link.
ATM, if you use forum posts instead of TP articles, the only setting to play with is the 'Number of characters to display per forum-post' in Admin - Settings and Frontpage.



Ah! Now I see what you mean.

JPDeni

I want to amend what I said before. I am correct that using BBC code for this is impossible. There's just now way to do it. However, it might be possible to have some sort of tag in a post and program TP to stop displaying it at that point. You wouldn't want it to be something that would print in the original post, but would be recognizable from the TP script. I don't know what that would be, though.

It would maybe be possible, although it's not something I would be willing to mess around with. Someone with >$foo than I have would need to do it. ;)

This website is proudly hosted on Crocweb Cloud Website Hosting.