php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#312682 - 01/14/07 10:49 PM [7.0.x] Top Posters in Last X Days
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC

   [7.0.x] Top Posters in Last X Days to Del.icio.us Add to del.icio.us
  Digg [7.0.x] Top Posters in Last X Days Digg it
Mod Name / Version: Top Posters in X Days

Description: This changes the Top Posters Portal box to reflect top posters in last X days
which keeps the list more current. Otherwise the same people tend to stay on that list.

Working under: 7.0.2

Any pre-requisites: none

Author: JoshPet www.JoshuaPettit.com
for discussion and bugs go to www.ubbdev.com

Date: 1/14/07

Credits: One of my clients for commissioning it

Files Altered: /cache_builders/top_posters.php, /languages/english/island_top_posters.php

Database Altered: none

Info: Make this modification, set the number of days you'd like to use, and clear your cache



Attachments
2339-TopPostersLastXDays.txt (175 downloads)

_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#312689 - 01/15/07 06:32 AM Re: [7.0.x] Top Posters in Last X Days [Re: JoshPet]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
Works fine in 7.1 - only difference being the location of the language string.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#312696 - 01/15/07 07:02 AM Re: [7.0.x] Top Posters in Last X Days [Re: Ian_W]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Looks good Josh, keep up the good work smile
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#312727 - 01/16/07 04:48 PM Re: [7.0.x] Top Posters in Last X Days [Re: Gizmo]
jgeoff Offline
Power User

Registered: 04/05/01
Posts: 93
Loc: NJ

Nice idea!

What if I wanted to have both though?
Could it be converted to a custom island?
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0

Top
#312730 - 01/16/07 06:35 PM Re: [7.0.x] Top Posters in Last X Days [Re: jgeoff]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
Yes, you'd need to add the appropriate code into your custom island tho. (php code above to the top and the template code down below).
_________________________
- Allen wavey
- What Drives You?

Top
#313273 - 02/25/07 07:54 PM Re: [7.0.x] Top Posters in Last X Days [Re: AllenAyres]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 85
Loc: UK
Does anyone have the Code for this as Custom Island.
Ive been trying but get an error when i submit it?

Its probably because i havnt split it correctly like Allen sugests.

Thanks in advance.

Mark.

Top
#313276 - 02/25/07 08:22 PM Re: [7.0.x] Top Posters in Last X Days [Re: Mark_S]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
This only works in 7.0; see this for 7.1
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313278 - 02/26/07 04:51 AM Re: [7.0.x] Top Posters in Last X Days [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 85
Loc: UK
Gizmo there two diffrent subjects.
I have that one running you linked too.

Ive seen this "Top Posters in Last X Days "
Running on a 7.1 board, Ian W's.

I think its a really neat addon,
but i'm having problems with the code.

Maybe Ian would be so kind to share the code?

Mark.

Top
#313279 - 02/26/07 05:12 AM Re: [7.0.x] Top Posters in Last X Days [Re: Mark_S]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Sorry, it was late when i posted, i was confusing it for another mod; but I haven't heard of this running succuessfully in 7.1 other than ian's forum
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#313287 - 02/26/07 03:53 PM Re: [7.0.x] Top Posters in Last X Days [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 85
Loc: UK
I'm going to have another go at this tonight.
Probably screw it up lol...

If i get it working will post below. 7.1

Top
#313288 - 02/26/07 04:30 PM Re: [7.0.x] Top Posters in Last X Days [Re: Mark_S]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
Should be pretty much the same code, with the exception of Ian's noted language string difference.
_________________________
- Allen wavey
- What Drives You?

Top
#313290 - 02/26/07 05:10 PM Re: [7.0.x] Top Posters in Last X Days [Re: jgeoff]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 85
Loc: UK
I realised my mistake frown

For what ever reason? ( I blame too much coffee )

I had in my head that it was a custom island add in?

Originally Posted By: jgeoff

What if I wanted to have both though?
Could it be converted to a custom island?


I was trying to get it as a custom island,
so i could have both, but i was being greedy....

So i'm having problems converting it too a custom island.

Summary..

The code works great smile
I cant suss a second island to run at the same time.

Thanks to JoshPet for a better Top Posters.

p.s Is there anyway to modify out a banned user?

Top
#313293 - 02/26/07 07:50 PM Re: [7.0.x] Top Posters in Last X Days [Re: Mark_S]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yeah, I'm running this on 7.1 sites, no changes.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#313295 - 02/27/07 04:06 PM Re: [7.0.x] Top Posters in Last X Days [Re: Gizmo]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
Originally Posted By: Gizmo
Sorry, it was late when i posted, i was confusing it for another mod; but I haven't heard of this running succuessfully in 7.1 other than ian's forum


Runs fine - no issues - just change the string mentioned and you will be fine smile
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#314492 - 06/19/07 09:31 PM Re: [7.0.x] Top Posters in Last X Days [Re: Ian_W]
Carte Blanche Offline
Newbie

Registered: 10/08/06
Posts: 19
Loc: Auckland, NZ
I've made this work with both Top Posters in Last 30 Days and Top Posters overall. Example of both in play

I've taken Josh's instructions and updated them on how to have BOTH on your forums.

Sorta my first foray off my own back...and it's a bit trickier to do with custom islands because of the way the system forces content creation on the customs. Hopefully this works for you smile

Oh, and this is working on 7.1.1


Attachments
2418-Update_to_TopPostersXDays.txt (78 downloads)



Edited by Carte Blanche (06/19/07 09:32 PM)

Top
#314493 - 06/19/07 10:45 PM Re: [7.0.x] Top Posters in Last X Days [Re: Carte Blanche]
sirdude Moderator Offline
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
nice mod

and i love that dark theme you have...

:rawk:
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#314626 - 06/28/07 01:43 AM Re: [7.0.x] Top Posters in Last X Days [Re: sirdude]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2570
Loc: England
The original mod works fine in 7.2 smile

Except as previously mentioned the language file is now in /languages/xxxx/portal_islands.php

_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#315965 - 10/06/07 10:40 PM Re: [7.0.x] Top Posters in Last X Days [Re: Ian_W]
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 134
Loc: Orlando, FL
I attempted this and I got

Parse error: syntax error, unexpected '<' in /home/riddle6/public_html/hprpg/cache_builders/custom/portal_box_7.php on line 2
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#315966 - 10/06/07 10:58 PM Re: [7.0.x] Top Posters in Last X Days [Re: AshtarRose]
AshtarRose Offline
Journeyman

Registered: 09/22/05
Posts: 134
Loc: Orlando, FL
Is here anything like 'Top Poster of the Month' out there that could display the top poster of the month instead of a list. Or if I can get this working, can I edit it to do that?
_________________________
http://www.riddledindarkness.com * Yeah I need the Crazy Mods.

Top
#315967 - 10/06/07 11:37 PM Re: [7.0.x] Top Posters in Last X Days [Re: AshtarRose]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Ensure you're pasting content between the EOF lines
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
Page 1 of 3 1 2 3 >


Moderator:  sirdude 
Top Posters Last 30 Days
AllenAyres 12
Gizmo 10
S7ARBVCK 2
Cambridge 1
Murphdog 1
MattUK 1
Kevin H 1
Who's Online
0 Registered (), 39 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
BeyondCompare v3.00
by blaaskaak
09/05/08 02:46 PM
Noob - need help, or a reality check!
by Gizmo
09/04/08 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks