Firefox PHP

Latest X Posts in a templated Phorum-Page

Posted by Thomas Seifert 
Re: Latest X Posts in a templated Phorum-Page
January 04, 2007 04:49AM
all i'm saying is a list of the newest posts chronologically across all forums you are allowed to read is a very cool feature.

it's my number 1 most active page on my site and i have a feeling would do it's share to expand the phorum5 user base if this were in the features list.

that is all.

happy new year.
Re: Latest X Posts in a templated Phorum-Page
April 23, 2007 03:29AM
Does this add-on work with virtual roots?

For some reason it seems to come up empty if it is in a virtual root.



Edited 1 time(s). Last edit at 05/02/2007 02:58PM by rheo.
Re: Latest X Posts in a templated Phorum-Page
May 02, 2007 02:49PM
strange behaviour i have noticed with this..

when I merge 2 threads every post in those threads are suddenly included at the top of the newest no matter how old the posts are.



Edited 1 time(s). Last edit at 05/03/2007 04:08PM by rheo.
Re: Latest X Posts in a templated Phorum-Page
May 09, 2007 07:11PM
is this add-on still being supported?
Re: Latest X Posts in a templated Phorum-Page
May 10, 2007 02:44AM
the addon either shows messages from *all* forums or from a given forum.
there's no support to show only the ones from a vroot.

the merged threads "issue" is not related to this addon, its coming from the way phorum handles merges - it adds new messages for that - and therefore they show on top.


Thomas Seifert
Re: Latest X Posts in a templated Phorum-Page
May 10, 2007 05:03PM
Quote

the merged threads "issue" is not related to this addon, its coming from the way phorum handles merges - it adds new messages for that - and therefore they show on top.

ah i see. do you think this behaviour is something that should be corrected? it's a little misleading when users come to the site and check the "newest" page and see the moderators attempts to tidy up by grouping some threads this way..
Re: Latest X Posts in a templated Phorum-Page
May 21, 2007 06:45PM
Hi,

I downloaded newest.zip and followed all the intructions contained in the readme.txt file.

Maurice, you mention that it is necessary to modify index.tpl but I cannot locate the file in /templates/default/

The only ressembling files i got are :
index_classic.tpl
index_new.tpl


And I'm on Phorum 5.1.

Thanks, I would like to make the MOD work asap.

Regards,
Constantin.
Re: Latest X Posts in a templated Phorum-Page
May 21, 2007 06:56PM
Change index_new.tpl. That is probably the index template that you are using right now.


Maurice Makaay
Phorum Development Team
my blog linkedin profile secret sauce
Re: Latest X Posts in a templated Phorum-Page
August 15, 2007 02:50PM
FYI, I'm using Newest11 in my Drupal 4.7/phorum 5.1.22 embedded forum. I had to make some minor changes in newest11.tpl.

Essentially I removed the .php on the links to the Show 20/50/100. Drupal didn't care for that, or else it's because I'm using clean URLs. Also the primary link to newest11.php is just newest11, for the same reasons stated above.

I also removed the navigation links since they were redundant or unnecessary.

Steel Rat
[infinite-realities.com]
Re: Latest X Posts in a templated Phorum-Page
September 28, 2010 04:49AM
I've upgrade to 5.2.15a from 5.015
everything works fine beside this mod. It is used very intensively, so need to get it going asap.
I get the message:

Quote

An error occurred in the application.
The error was logged to the Phorum event log.

no idea what is happening. I've been looking but I cannot find the phorum event log. anyone any idea where I can find it?

thanls

Franc

edit:
I've found the errolog

this is what it says

Quote

Additional details:

Message:

PHP error: phorum_get_file_contents: file "./templates/purplexity/newest.tpl" does not exist

PHP error generated at /xxx/xxx/domains/xxxx.nl/public_html/xxx/forum/include/templates.php:741

Back trace:

Function trigger_error called at
{path to Phorum}/include/templates.php:741
----
Function phorum_read_file called at
{path to Phorum}/include/templates.php:132
----
Function phorum_import_template_pass1 called at
{path to Phorum}/include/templates.php:49
----
Function phorum_import_template called at
{path to Phorum}/common.php:1586
----
Function phorum_get_template called at
{path to Phorum}/newest.php:91
----

Request info:

REQUEST_URI = /xxx/forum/newest.php

but the newest.tpl is in the directory of the template.

anyone who can help?

thanks

Franc


Things are not always what they seem to be.



Edited 1 time(s). Last edit at 09/28/2010 05:13AM by Franc.
Sorry, only registered users may post in this forum.

Click here to login