Firefox PHP

TopUsers in a templated Phorum-Page

Posted by Thomas Seifert 
Re: TopUsers in a templated Phorum-Page
August 26, 2004 08:54PM
Looks like this needs an upgrade...

Fatal error: Call to undefined function: phorum_db_read_newflags() in /home/public_html/forum/topusers.php on line 53
Re: TopUsers in a templated Phorum-Page
August 27, 2004 03:41AM
hmm, yes, just remove that part about the newflags.
they are useless there.


Thomas Seifert
Re: TopUsers in a templated Phorum-Page
December 17, 2004 08:36AM
Exellent ;)

Thanx ts77.

Re: TopUsers in a templated Phorum-Page
March 20, 2006 12:28AM
How about adding a lang file to this mod so that we do not have to change the original language file ?

--
Amilcar Lucas
www.kdevelop.org webmaster
Re: TopUsers in a templated Phorum-Page
March 20, 2006 10:14AM
I have no plans to do this for 3 simple entries.
if you want to implement it, go along.
its not a module which can have language files loaded so this would be kind of tricky and require a dummy module.


Thomas Seifert
Re: TopUsers in a templated Phorum-Page
March 20, 2006 10:57AM
> if you want to implement it, go along.
I started it. I'll post the result here once I finished.

> its not a module which can have language files loaded
I'll try to bypass that.

> tricky and require a dummy module
Well, let's see if I'm cleaver enough. :)

--
Amilcar Lucas
www.kdevelop.org webmaster
Re: TopUsers in a templated Phorum-Page
March 24, 2006 08:15PM
OK, I've done it.
Now it does not require you to edit the english.php file (it includes it's own language file)
I've also fixed some navigation links and simplified the code.

This module version REQUIRES PHORUM >= 5.1.10 !!!

--
Amilcar Lucas
www.kdevelop.org webmaster
Attachments:
open | download - topusers-1.1.zip (3.1 KB)
TopUsers-Template for next version 5.2
April 18, 2006 03:37AM
Hi,

because of the changes in the template system for the next version (5.2) the topusers-template doesn't work with the snapshot from CVS.

Here is an updated topuser.tpl. Just replace this file in your template directory.

Attention! This template-file will not work with Version 5.1.10 or before!

Bye
Oliver


Using Phorum since 7/2000: forum.langzeittest.de (actual version 5.2.23)
Modules "Made in Germany" for version 5.2: Author_as_Sender, CarCost, Close_Topic, Conceal_Message_Timestamp,
Format_Email, Index_Structure, Mailing_List, Pervasive_Forum, Spritmonitor, Terms_of_Service and German_Language_Files_Package.




Edited 1 time(s). Last edit at 04/18/2006 04:38AM by Oliver Riesen.
Attachments:
open | download - topusers.tpl (1.5 KB)
Re: TopUsers in a templated Phorum-Page
April 25, 2006 10:32PM
There's also a reference to a loginout_menu.tpl that's not found in the templates folder.

Steel Rat
[infinite-realities.com]
Re: TopUsers in a templated Phorum-Page
April 25, 2006 11:21PM
I modified the SQL query slightly so this can be used as a Member List for the site as a whole. One of the first things my users requested.

Steel Rat
[infinite-realities.com]
Sorry, only registered users may post in this forum.

Click here to login