Firefox PHP

Last post listing on index page

Posted by Brian Moon 
Re: Last post listing on index page
September 04, 2004 05:10PM
was man hier macht, man machts grundsätzlich falsch!
Re: Last post listing on index page
September 05, 2004 12:51PM
I've disabled that module in viewcvs now to avoid further confusion.


Thomas Seifert
Re: Last post listing on index page
December 22, 2004 10:55AM
Great add-on, but I'm now trying to get it on the right just under de "last post date".

Whats best way to start doing that ?

Also maybe nice to ad a settings page so you can choose where it has to been placed.

I'm not so good at php that I can do that by myself I think.

Hope that I can fixed it with some help.
Re: Last post listing on index page
December 28, 2004 11:52PM
sammyfilez Wrote:
-------------------------------------------------------
> Great add-on, but I'm now trying to get it on the
> right just under de "last post date".
>
> Whats best way to start doing that ?
>
> Also maybe nice to ad a settings page so you can
> choose where it has to been placed.
>
> I'm not so good at php that I can do that by
> myself I think.
>
> Hope that I can fixed it with some help.


Edit lastforumpost.php in /mods/lastforumpost/
by changing the line of:
Quote

$forum["description"]="<div style='margin-bottom: 5px;'><strong>{$PHORUM['DATA']['LANG']['LastPost']}</strong>: <a href='$url'>$message[subject]</a> {$PHORUM['DATA']['LANG']['by']} $message[author]</div>".$forum["description"];
to:
Quote

$forum["last_post"]="<a href='$url'>$message[subject]</a> {$PHORUM['DATA']['LANG']['by']} $message[author]<br />".$forum["last_post"];

Or at least that's what I did. :)

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

"Everything we see or seem, is but a dream within a dream." -Edgar Allan Poe
Re: Last post listing on index page
January 22, 2005 06:08AM
how to display all last posts of all forums (allowed to be seen) even those in the folders
like in phorum3?

Forum:
Last Post

Forum2:
Last Post
...

so you don't have to switch into the folder
to see the last message?
Re: Last post listing on index page
January 22, 2005 06:18AM
ok, just removed
//if(!$forum["folder_flag"]){

this works.

but instead of
{$PHORUM['DATA']['LANG']['LastPost']}

if would like to have the link
to the forum and it's name

<a href='forum_link'>forum_name</a>:
last_post
Re: Last post listing on index page
February 04, 2005 04:21PM
can nobody tell me? :(
Re: Last post listing on index page
February 04, 2005 04:27PM
There was nothing in Phorum 3 that could do this. If you had something, it was a add on script. you might check the modules/addon forum.

Brian - Cowboy Ninja Coder - Personal Blog - Twitter
Re: Last post listing on index page
February 04, 2005 04:29PM
i ment my last question:
>
but instead of
{$PHORUM['DATA']['LANG']['LastPost']}

if would like to have the link
to the forum and it's name

<a href='forum_link'>forum_name</a>:
last_post
<
Re: Last post listing on index page
May 02, 2005 07:47PM
Hi,

Is it possible to add a «NEW» flag to the end of the last topic if the user has new messages to read on that forum?

Thanks and Regards,

Edit: I found already. It's on the template.

Thanks anyway :)




Edited 1 time(s). Last edit at 05/02/2005 08:06PM by canoramix.
Sorry, only registered users may post in this forum.

Click here to login