Home
>
Outdated forums
>
Phorum 3 forums (READ ONLY)
>
Finished Mods and Plug-ins (READ ONLY)
>
Topic
Top X Authors Hack
Posted by Vulpes
Top X Authors Hack March 12, 2001 03:08AM |
Here it is, code and hack instructions inside.
As always please post with what phorum/php version/database you got it working and with what you didn't.
This hack is pretty easy to install, but it took me 2 days to make the script for it and make it "perfect", so
if you got any good addons to that hack or you changed something to make it look/work Better/faster i'd be glad to see what you did and how you did it.
enjoy :) and please post your comments, addons, or queston below.
Vulpes
As always please post with what phorum/php version/database you got it working and with what you didn't.
This hack is pretty easy to install, but it took me 2 days to make the script for it and make it "perfect", so
if you got any good addons to that hack or you changed something to make it look/work Better/faster i'd be glad to see what you did and how you did it.
enjoy :) and please post your comments, addons, or queston below.
Vulpes
Re: Top X Authors Hack March 23, 2001 12:50AM |
Re: Top X Authors Hack March 26, 2001 07:45PM |
Re: Top X Authors Hack March 29, 2001 02:43AM |
Re: Top X Authors Hack April 01, 2001 06:15AM |
Re: Top X Authors Hack April 01, 2001 11:56PM |
It works great Vulpes... April 11, 2001 03:11PM |
Re: Top X Authors Hack April 18, 2001 07:46AM |
Vulpes wrote:
> Here it is, code and hack instructions inside.
Thanx !
> This hack is pretty easy to install, but it took me 2 days to
> make the script for it and make it "perfect", so
For non-English-native users, it will be more perfect if U can include $lAuthor variable.
Of course, synchorize the colour setting of the title bar in top.php with setting of this forum will be ABSOLUTELY PERFECT !!
However, appreciated Ur hare working.
> Here it is, code and hack instructions inside.
Thanx !
> This hack is pretty easy to install, but it took me 2 days to
> make the script for it and make it "perfect", so
For non-English-native users, it will be more perfect if U can include $lAuthor variable.
Of course, synchorize the colour setting of the title bar in top.php with setting of this forum will be ABSOLUTELY PERFECT !!
However, appreciated Ur hare working.
Re: Top X Authors Hack April 25, 2001 07:25AM |
Thank you Vulpes!
This was truly a great feature/hack to the Phorum! I've used your Views hack earlier with great success and this adds even more to the great Phorum.
I'm running a PHP-Nuke based site myself, but wanted to use Phorum as a forum and not the one that was included in the "package", so I (with some help of others) have integrated Phorum into PHP-Nuke and I also did an integration (which is nothing more than including the themes header/footer really) of your top X authors hack.
Thanks again!
My url to see it in action is [www.conan.no].
- Ståle
This was truly a great feature/hack to the Phorum! I've used your Views hack earlier with great success and this adds even more to the great Phorum.
I'm running a PHP-Nuke based site myself, but wanted to use Phorum as a forum and not the one that was included in the "package", so I (with some help of others) have integrated Phorum into PHP-Nuke and I also did an integration (which is nothing more than including the themes header/footer really) of your top X authors hack.
Thanks again!
My url to see it in action is [www.conan.no].
- Ståle
3.3.dev - change code in list.php and english.php May 01, 2001 05:14PM |
Hi Vulpes
I tryed out your hack but it needed a few adjustments for the 3.3 dev
the code is as follows:
List.php:
// Mark all read
addnav($menu, $lMarkRead, "$list_page.$ext?f=$num$GetVars&r=1");
<b>// Top 10
addnav($menu, $ltop10, "top.$ext?f=$num$GetVars&top=10");</b>
$nav=getnav($menu);
$TopLeftNav=$nav;
$LowLeftNav=$nav;
Also in english.php I added:
$ltop10 = "Top10";
Malcolm Darwen
Be sure to remove the <b>BOLD</b> tags - I just put them in so you could see where the code is to be inserted.
I tryed out your hack but it needed a few adjustments for the 3.3 dev
the code is as follows:
List.php:
// Mark all read
addnav($menu, $lMarkRead, "$list_page.$ext?f=$num$GetVars&r=1");
<b>// Top 10
addnav($menu, $ltop10, "top.$ext?f=$num$GetVars&top=10");</b>
$nav=getnav($menu);
$TopLeftNav=$nav;
$LowLeftNav=$nav;
Also in english.php I added:
$ltop10 = "Top10";
Malcolm Darwen
Be sure to remove the <b>BOLD</b> tags - I just put them in so you could see where the code is to be inserted.
Re: 3.3.dev - change code in list.php and english.php May 02, 2001 10:08AM |
Jules
Top 10 authors of all forums... May 03, 2001 12:40AM |
Re: Top 10 authors of all forums... May 03, 2001 09:51AM |
Re: Top X Authors Hack October 05, 2001 09:05PM |
To the end of each $nav variable right after last </a>, add:
| <a href=\"top.$ext?f=$num$GetVars&top=10\"><FONT color='$ForumNavFontColor'>Top 10</font></a>
OK,
Here I am again with a silly question. When I add the above code directly after the last </a> I get a parse error from phorum when trying to display a forum. Does the code go directly after the </a> or after the close quotes that define the $nav variable ?
Thanks for any assistance!
| <a href=\"top.$ext?f=$num$GetVars&top=10\"><FONT color='$ForumNavFontColor'>Top 10</font></a>
OK,
Here I am again with a silly question. When I add the above code directly after the last </a> I get a parse error from phorum when trying to display a forum. Does the code go directly after the </a> or after the close quotes that define the $nav variable ?
Thanks for any assistance!
Name versus username February 12, 2002 06:27PM |
Registered: 23 years ago Posts: 153 |
I noticed that this (very nice) code counts the number of posts made by a certain NAME....is it possible to have it bu username instead? a matter of a little tweaking or a whole rewrite?...
on my phorum i have had complaints about people not being on the list anymore because they changed their names! I told them Vulpes had an answere...
on my phorum i have had complaints about people not being on the list anymore because they changed their names! I told them Vulpes had an answere...
Sir Fice
Re: Name versus username February 13, 2002 07:10AM |
hi, i'm running 3.3.1a, how do i get this to work in there? i don't have these lines in list.php
if($ActiveForums>1){
$nav = "<div class=nav><FONT color='$ForumNavFontColor'> [it keep on going]
}
else{
$nav = "<div class=nav><FONT color='$ForumNavFontColor'> [it keep on going]
please help, thanks.
if($ActiveForums>1){
$nav = "<div class=nav><FONT color='$ForumNavFontColor'> [it keep on going]
}
else{
$nav = "<div class=nav><FONT color='$ForumNavFontColor'> [it keep on going]
please help, thanks.
How to set the script up in version: 3.3.2a February 16, 2002 06:12PM |
Re: Top X Authors Hack August 19, 2002 09:54PM |
Registered: 22 years ago Posts: 6 |
Re: Top X Authors Hack August 20, 2002 11:26AM |
Registered: 23 years ago Posts: 8 |
Re: Top X Authors Hack November 04, 2002 02:09PM |
I'm running 3.3.2c and I cant find the code in list.php to modify. Instructions say to open list.php and find these lines and modify code after </a>
Well I can't find </a> or these lines
f($ActiveForums>1){
$nav = "<div class=nav><FONT color='$ForumNavFontColor'> [it keep on going]
}
else{
$nav = "<div class=nav><FONT color='$ForumNavFontColor'> [it keep on going]
help?
Well I can't find </a> or these lines
f($ActiveForums>1){
$nav = "<div class=nav><FONT color='$ForumNavFontColor'> [it keep on going]
}
else{
$nav = "<div class=nav><FONT color='$ForumNavFontColor'> [it keep on going]
help?
Sorry, you do not have permission to post/reply in this forum.