Jump to content


[Block] Forum News without SSI 1.0.1


  • You cannot reply to this topic
1 reply to this topic

#1 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 23 November 2004 - 01:25 AM

File Name :: Forum News without SSI 1.0.1
Author :: visiblesoul
Category :: MKportal 1.1 Mods & Blocks
Description ::
+--------------------------------------------------------------------------
| MkPortal Forum News without SSI Block (1.0.1) 23.11.2004
| by -=DKC=- aka."visiblesoul"
+--------------------------------------------------------------------------

!!! NOTE: PLEASE RESPECT THE WORK OF OTHERS. DO NOT REMOVE AUTHOR CREDITS.

CREDITS FOR TRANSLATION OF THIS BLOCK/READ-ME INTO OTHER LANGUAGES SHOULD READ "Translated to [language] from original English by [translator]" NOT "block by [translator] based on/adapted from MkPortal Forum News without SSI Block by visiblesoul".

+--------------------------------------------------------------------------

Block is for MKPortal 1.1 Final
For use as center block.

This block displays posts from forum as Portal News block. It does not use ssi.

* This block displays:
1) Topic title (link to topic)
2) Topic description (if any)
3) Topic starter (link to profile)
4) Topic start date & time
5) Number of Topic Comments
6) Number of Topic Views
7) "View Comments" link (link to topic)
8) "Post a Comment" link (link to topic last post)
9) Topic starter avatar

* Block uses permissions to display only the Topics which a user has permission to view.

* Choose News forum(s) ID

* Choose number of news articles to display

* Choose number of characters to display in topic description

* Choose number of characters to display in news text

* Choose whether or not to use avatar in news block

* Block correctly displays content with limitations (see "KNOWN ISSUES" below).

* Block displays emoticons with limitations (see "KNOWN ISSUES" below).

* Block displays user posted images.

* QUOTE, CODE, HTML, and SQL tables are replaced in order to prevent block from breaking Portal template.

* Date and time formatting may be changed to suit your needs.

* Of course the block appearance may be formatted to suit your needs. Default formatting for MKP "default" skin.


+--------------------------------------------------------------------------
| KNOWN ISSUES:
+--------------------------------------------------------------------------
1) If "newscut" value occurs in the middle of an emoticon URL the emoticon will not show and the "Read more" link will not function.

2) If "newscut" value occurs in the middle of an html table (within a "dohtml" tag) the block template will break.

3) If "newscut" value occurs at the beginning of a QUOTE, CODE, HTML or SQL block the "Read More" link may be bold text.

4) Block does not display post attachments including attached images.

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


+--------------------------------------------------------------------------
| CHANGELOG:
+--------------------------------------------------------------------------
Forum News without SSI Block (1.0.1) 23.11.2004

1) Fixed description display issue that caused a topic with no description to display the previous topic's description text.
---------------------------------------------------------------------------


-=DKC=-

View File


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard

#2 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 04 January 2005 - 10:02 PM

If you do not want to include pinned topics in the news block...

FIND:
ORDER BY t.pinned DESC, t.start_date DESC
REPLACE WITH:
ORDER BY t.start_date DESC
-=DKC=-


Please note that I offer free support on this forum in my free time. Depending on how much work I have backlogged it may take me a week or more to answer questions. I am not ignoring you. I answer everyone but please be patient. Thanks.

Disclaimer: All forum posts, including code examples, on this forum are offered for free in the hope that they will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Use code examples at your own risk.

"If at first you don't succeed, keep on suckin' til you do succeed." -Curly Howard





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users