* User

Welcome, Guest. Please login or register.
Did you miss your activation email?

08 Sep 10, 14:22:53

Login with username, password and session length

Select language:

* Recent Topics



Donate

Donate for PortaMx !
Your donation is safe and helps support the issues and causes you care most about.

* Stats

  • *Total Members: 2448
  • *Latest: ElNikez

  • *Total Posts: 10789
  • *Total Topics: 1629
  • *Online Today: 20
  • *Most Online: 157
(27 Aug 09, 03:54:53)
  • *Users: 0
  • *Guests: 13
  • *Total: 13

Author Topic: Recent topics block  (Read 784 times)

0 Members and 1 Guest are viewing this topic.

Offline sybaritic

  • Newbie
  • *
  • Posts: 5
Recent topics block
« on: 07 Feb 10, 05:20:54 »
I'd like my recent topics block to display a summary of the first 250 characters or 25 words of each topic. Is there currently a way to do this through PortaMX's block manager WITHOUT having to create a custom PHP block?

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 3367
  • Gender: Female
Re: Recent topics block
« Reply #1 on: 07 Feb 10, 17:43:18 »
Try the block "New Posts" ...  ;)

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Offline sybaritic

  • Newbie
  • *
  • Posts: 5
Re: Recent topics block
« Reply #2 on: 08 Feb 10, 03:52:02 »
Indeed, that would be the easiest solution if there were a way to prevent the block from displaying any replies to the topics... which I'm sure there probably is...  ???

So yeah, All I'm looking to accomplish is a block on my frontpage that displays:
1. the first twenty or thirty words of...
2. the first posts of the...
3. five newest threads in a particular forum.

Offline sybaritic

  • Newbie
  • *
  • Posts: 5
Re: Recent topics block
« Reply #3 on: 08 Feb 10, 04:13:07 »
... and for some reason, it's not working when I set the block as "board news".

Offline sybaritic

  • Newbie
  • *
  • Posts: 5
Re: Recent topics block
« Reply #4 on: 08 Feb 10, 08:01:19 »
... and apparently that reason is because the forum in question is not visible to guests. I'm not too thrilled about the idea of letting guests browse. Absurd, I know... but still.

I'm open to suggestions.

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 3367
  • Gender: Female
Re: Recent topics block
« Reply #5 on: 08 Feb 10, 13:26:13 »
1. the first twenty or thirty words of...
That can be done with the New Post block
Quote
2. the first posts of the...
3. five newest threads in a particular forum.
For that you have make your own block with php

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 3367
  • Gender: Female
Re: Recent topics block
« Reply #6 on: 08 Feb 10, 13:30:21 »
... and for some reason, it's not working when I set the block as "board news".
Board news use the SSI function boadnews, they show only the first post of each topic in a board.
Quote
... and apparently that reason is because the forum in question is not visible to guests.
The board you use for Boardnews MUST readable for Guests, that is a SMF restriction and have nothing to do with PortaMx.

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Offline Mihac

  • Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Zagreb-Forum
Re: Recent topics block
« Reply #7 on: 09 Feb 10, 11:01:06 »
Hi Feline, what do I edit or alteration to my Recent topics on the block looked like portamx.com.
My appearance has no curved portion Recent topics block.


Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 3367
  • Gender: Female
Re: Recent topics block
« Reply #8 on: 09 Feb 10, 11:32:20 »
The new look (as here) is available in the next update.

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Offline Mihac

  • Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Zagreb-Forum
Re: Recent topics block
« Reply #9 on: 09 Feb 10, 11:46:06 »
Thank you feline. I hope soon.
Portal for me now is very functional and without any mistakes

Offline feline

  • CO PortaMx corp.
  • Administrator
  • *
  • Posts: 3367
  • Gender: Female
Re: Recent topics block
« Reply #10 on: 09 Feb 10, 14:45:18 »
On you life site I see a very old version of PortaMx  :o

Fel
Many are stubborn in relation to the path, a few in relation to the target.

Offline Mihac

  • Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Zagreb-Forum
Re: Recent topics block
« Reply #11 on: 09 Feb 10, 16:14:34 »
Of course, the first edit here http://test.zagreb-forum.com/  , and then switch to http://zagreb-forum.com/

Offline sybaritic

  • Newbie
  • *
  • Posts: 5
Re: Recent topics block
« Reply #12 on: 11 Feb 10, 09:43:53 »
[The board you use for Boardnews MUST readable for Guests, that is a SMF restriction and have nothing to do with PortaMx.

Yeah, I understood as much. Believe me, I went through each setting and option half a dozen times making sure everything was properly configured. In the end the culprit was a line I had inadvertently saved into the ssi.php file.

What is the lesson in all this? If you are aimlessly playing in an important file such as ssi.php, make sure to deactivate Notepad++'s autosave.

Offline Mihac

  • Newbie
  • *
  • Posts: 17
  • Gender: Male
    • Zagreb-Forum
Re: Recent topics block
« Reply #13 on: 14 Feb 10, 16:26:23 »
The new look (as here) is available in the next update.

Fel

Hi Feline,
resolved the appearance of new posts. You see Here  , so if you have a better suggestion, I will be happy to receive