News: April 7th, 2019, The Tinyportal team is pleased to announce the release of ~~ TinyPortal 1.6.3! GET IT NOW!!!

Login  |  Register
HTML5 Icon HTML5 Icon
TP on Social Media
Welcome, Guest. Please login or register.
Did you miss your activation email?

September 16, 2019, 08:06:45 AM

Login with username, password and session length

Recent

Members
  • Total Members: 3752
  • Latest: Alizee
Stats
  • Total Posts: 188888
  • Total Topics: 20752
  • Online Today: 50
  • Online Ever: 629
  • (November 08, 2018, 01:36:54 PM)
Users Online
Users: 0
Guests: 35
Total: 35

Author Topic: "Read more..." = Offsite Link?  (Read 6940 times)

0 Members and 1 Guest are viewing this topic.

Offline anunlike

  • Friends
  • *
  • Posts: 560
"Read more..." = Offsite Link?
« on: June 30, 2006, 05:00:19 PM »
I was wondering if it's possible to be able to turn the "Read more..." link into an actual offsite link on an article by article basis?

So, say, I have an intro blurb about computer specs of a specific computer, but I want to link it up with an offsite article from the official site about that computer, for example, instead of my own article, would that be possible (on an article by article basis)?

akulion

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #1 on: June 30, 2006, 05:08:27 PM »
I think for that sort of functionality it would be better if you created a center block with just html which would include:

A Heading

Some intro text
Read more link...

the next item so on and so forth....

I hope i understood u correct?

Offline anunlike

  • Friends
  • *
  • Posts: 560
Re: "Read more..." = Offsite Link?
« Reply #2 on: June 30, 2006, 05:15:10 PM »
Yeah, I think you understand.

I just thought it'd be cool, even if a bit overkill, to turn the "Read more..." link into an actual offsite link, which will allow the reader to read more, just not on my site.

Though, that's not quite the same, as I see it. It may not be so important that I want it featured in any way, but just cycled through like the normal frontpage articles / forum posts.
« Last Edit: June 30, 2006, 05:17:42 PM by anunlike »

akulion

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #3 on: June 30, 2006, 06:03:13 PM »
personally what im interested in is a "news block" template

and i dont mean ur standard news block like in SMF

I am talking about a block with the following settings:

IMAGE URL: (for specifying a small image to appear)
IMAGE HEIGHT:
IMAGE WIDTH:
HEADLINE / TOPIC URL:
INTRO TEXT:

Now that may seem confusing to look at but what it will do is as follows:

Left aligned an image appears, next to it at the top the topic header, and under it is a small intro post with the Read More...<--link appearing at the end which is basically the Topic URL you originally specified.


-------------------

it would be a fast way to have a "In the news.." section on your main page

I am using something like that on my page currently >>MY PAGE but the coding for that is done in plain html so updating is a pain in the butt since I have to edit it manually everyday....

but with the above config it would be easier to just post the urls and get it over with asap making it easier to update daily


Xarcell

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #4 on: June 30, 2006, 07:41:12 PM »

akulion

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #5 on: June 30, 2006, 11:54:31 PM »
oh wow brilliant suggestions!!

thanks :D

Offline bloc

  • Founder
  • *
  • Posts: 5217
    • Bloc
Re: "Read more..." = Offsite Link?
« Reply #6 on: July 02, 2006, 06:50:07 PM »
personally what im interested in is a "news block" template

and i dont mean ur standard news block like in SMF

I am talking about a block with the following settings:

IMAGE URL: (for specifying a small image to appear)
IMAGE HEIGHT:
IMAGE WIDTH:
HEADLINE / TOPIC URL:
INTRO TEXT:

Now that may seem confusing to look at but what it will do is as follows:

Left aligned an image appears, next to it at the top the topic header, and under it is a small intro post with the Read More...<--link appearing at the end which is basically the Topic URL you originally specified.


-------------------

it would be a fast way to have a "In the news.." section on your main page

I am using something like that on my page currently >>MY PAGE but the coding for that is done in plain html so updating is a pain in the butt since I have to edit it manually everyday....

but with the above config it would be easier to just post the urls and get it over with asap making it easier to update daily



Looks interesting..the texts..pulled through RSS you mean or manually updated?

Techdomain

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #7 on: July 02, 2006, 09:37:37 PM »
oooh... you people posting links that us plebs cannot see!!!

I got around it by using the BB code in the forum: etc

Code: [Select]
[html]
<img src="/newspics/contents-6.jpg" align="right"></img>
[/html]Overclockers Online Reports:
The Ultra-120 is another "stand-up" cooler that detours away from the design that has made Thermalright famous with the heatpipes curling back overtop of base coming perpendicular to the CPU surface. Their most recent designs, like the Ultra-120, bend the heatpipes straight up into an array of aluminum fins to do the cooling. This leaves a somewhat smaller footprint while still allowing a massive 120mm fan mount. It also eliminates that downward air movement that helps cool motherboards, PWM areas, and memory like their more traditional design of the XP-120/90 so there is some draw back. I am excited to see the difference between the Ultra-120 and an XP-120 but there is plenty more to look at before testing.

Link: [url=http://www.overclockersonline.com/index.php?page=articles&num=395]Overclockers Online[/url]

which creates entries on my site http://www.techdomain.com.au

not exactly "read more" but it does the job, and if people want to comment on the item, then they can!

iwyen

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #8 on: July 03, 2006, 07:35:31 AM »
In respond to anunlike and akulion's suggestions, IMHO, I think it would be great to have the flexibility to set our own fields when writing articles and maybe the type of fields, such as text, image or hyperlink field so that when we use an image field, it will automatically add the image tags (like BBC codes) or link tags for hyperlink field. Something like those SMF's mods that add extra fields when writing a post or to the profiles. I would add silly fields like mood or song and use a category of the articles for a blog  :)

If anyone uses Yahoo!'s (taiwan) blog, the index lists each blog with an image and a little intro and that's probably like what akulion has done for his site (which looks really great btw ;) ).

Offline bloc

  • Founder
  • *
  • Posts: 5217
    • Bloc
Re: "Read more..." = Offsite Link?
« Reply #9 on: July 03, 2006, 10:53:14 AM »
Not a bad idea really..I have been planning a link-to-topic-feature next to comments in articles, but haven't got around to looking at it yet. Adding more fields could be something in this though. I see one problem..should such fields be global? ...or per-article-based?

iwyen

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #10 on: July 03, 2006, 11:38:30 AM »
Adding more fields could be something in this though. I see one problem..should such fields be global? ...or per-article-based?

Oophs.. I'm lost. Would "if it's empty, don't show it" work?

I don't know how others would use it, but I would actually prefer to set it within a category. The "same type" of articles probably uses the "same type" of fields. Just like the way we set post icons in SMF to specific boards when those icons don't fit other boards. But that doesn't flow with how things work now since we don't choose a category before writing.

Muziek4um

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #11 on: August 15, 2006, 02:40:04 PM »

Offline G6Cad

  • Friends
  • *
  • Posts: 12643
    • FamiljeGodis
Re: "Read more..." = Offsite Link?
« Reply #12 on: August 15, 2006, 02:57:41 PM »
The link works fine, but the board they are linking to is off limits to every one exept the staff and the Alpha testers on TinyPortal.

Muziek4um

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #13 on: August 15, 2006, 03:06:47 PM »
 :o Oooooow! :oThats the point :(

Thanks for telling me.

 ;)

Muldoon

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #14 on: November 10, 2006, 01:11:28 PM »
Ok, I must be an idiot...where is the 'read more' link function at. I can't seem to find it  :(
« Last Edit: November 10, 2006, 01:20:26 PM by Muldoon »

JPDeni

  • Guest
Re: "Read more..." = Offsite Link?
« Reply #15 on: November 10, 2006, 02:46:51 PM »
Ok, I must be an idiot...where is the 'read more' link function at. I can't seem to find it  :(
No, not an idiot. :) Those things are not easy to find.

The place where the link prints out is in TPortalBlocks.template.php:

Code: [Select]
echo $story['introtext'];
echo '
     <div class="smalltext" style="margin-top: 1ex; font-weight: bold;"><a href="' .$story['href']. '">'.$txt['tp-readmore'].'</a></div>';

The link ($story['href']) is defined in TPortal.php.