5 Latest updates...
upload_file() 1 month
upload_image() 1 month
stripfilename() 1 month
image_exists() 1 month
filename_exists() 1 month
Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Sponsors
Shoutbox
You must login to post a message.

29/06/2010
Nice work m8 Grin

30/05/2010
Just updated the site to latest version of v7.01 Smile

26/03/2010
shoutbox spam removed.

26/02/2010
Fixed!

26/02/2010
Ereg alert in fusion_functions/i
ncludes/inc.functi
ons.php !

User Options
Function - newsposter (PHP-Fusion 6, PHP-Fusion 7)
<< newsopts openside >>
newsposter - Render news author

Description

newsposter ( array $info [ string $sep [ , string $class ] ] )

This function will display the author of the news time along with the publication date and time and is used within the render_news function only. There is an identical function for articles which is name articleposter.

Parameters

info

The news item information array which holds all data about the news item.

sep

Separator which is used to separate the different parts.

Return Values

Returns a string with the author name and time and date the news item is posted.

Example#1 newsposter() basics

Download Example  PHP
  1. <?php
  2. echo newsposter($info," &middot;");
  3. ?>

Output to Example#1

<!--news_poster--><span class='bullet'>&middot;</span> <a href='profile.php?lookup=1'>Digitanium</a> on Dec 29 2008 at 14:47:41\n

Changelog

VersionDescription
7.01.00 The function now uses the profile_link function to display the article author's name and profile link.
Note

This function is for the render_news function only. Use the articleposter function for the render_article function.

Related Functions

newscat itemoptions newsopts

Latest refering sites

Domain: Visits: Last:
www.phpfusion-mods.com 1 visit 30/06/2010

Was this helpful?

Back to all functions...
Comments
No Comments have been Posted.
Post Comment
Please Login to Post a Comment.