Jump to content


Last Posts with Permissions 1.0


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

#1 visiblesoul

  • Administrators
  • 551 posts
  • Location:Earth
  • Texas

Posted 02 November 2004 - 10:35 PM

File Name :: Last Posts with Permissions 1.0
Author :: visiblesoul
Category :: MKportal Mods and Blocks
Description
+---------------------------------
| MkPortal Last Posts with Permissions Block 01.11.2004
| by visiblesoul
| Adapted from: "Derniers posts sur l accueil du portail last post in forum" by lolo04
| and last_forum_post.php by meo
+---------------------------------

Block is for MKPortal 1.0.1a Final

* This block displays:
1) Topic title
2) "getlastpost" link for Topic
3) Last Post author
4) Last Post time
5) Number of Topic Replies
6) Number of Topic Views

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

* Change the number of forum posts to show with the "$limit = 5;" variable.

* Change the cutoff for the number of title characters to display with the "$cutoff = 20;" variable.

* Hardcoded font colors may be changed by changing the "color" style attribute.

* Of course the block appearance may be formatted to suit your needs.

* Time formatting may be changed to suit your needs.

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 Wozzer

  • Members
  • 2 posts
  • United Kingdom

Posted 09 November 2004 - 01:44 AM

Nice mod this VS....
Have been looking for a latest thread block with permissions.
Currently I use a scrolling block to show the latest threads but have had to limit it to my 'public' forum categories.

One question I have with regard to your block... I realise that you have a $limit variable, would it be difficult to make the block scrollable?
I would like to have 10 last topics but keep a bit of screen estate by scrolling them vertically.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users