Jump to content


- - - - -

(DP30) Top Reputation


  • Please log in to reply
62 replies to this topic

#1 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 04 July 2009 - 02:10 PM

Posted Image

File Name: (DP30) Top Reputation
File Submitter: DawPi
File Submitted: 4 Jul 2009
File Updated: 15 Dec 2009
File Category: IP.Board v3.0.x Mods
Resource Type: Hook
Version: 1.0.3

Show top X repped users.

Functions:
  •      enter your own hook title displayed on board
  •      choose which groups can see content block,
  •      choose how many row you want to show.


Changes from 1.0.0 to 1.0.1:
  • fixed error with green/red rep points

Changes from 1.0.1 to 1.0.2:
  •      cleared and optimised code,
  •      added replacing X by how many items will be show in table title,
  •      removed option to disable hook - this is default option in ACP.

Changes from 1.0.2 to 1.0.3:

  •      fixed wrong displaying on old browsers ( Fx 3.0 )

Click here to download this file
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#2 ChrisJB

ChrisJB

    Member

  • Members
  • PipPipPip
  • 45 posts
  • IPB Version:N/A

Posted 04 July 2009 - 02:17 PM

Nice Hook.

Just one small problem, it doesnt seem to be aligned correctly?

Posted Image

Same in IE

Plus the Green / Red Rep box values dont seem to be rounded (IE only)

#3 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 04 July 2009 - 02:22 PM

Hym, on Fx and Chrome it's work good.

I must check it. If anyone of skin coders find bug please report it. ;) My CSS skills are not good. :)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#4 ChrisJB

ChrisJB

    Member

  • Members
  • PipPipPip
  • 45 posts
  • IPB Version:N/A

Posted 04 July 2009 - 02:37 PM

Advise when its updated and I will re-try it.

Cheers!

#5 Muhammad

Muhammad

    Coder

  • Members
  • PipPipPipPipPip
  • 181 posts
  • Real Name:Muhammad
  • IPB Version:v3.2.x

Posted 05 July 2009 - 05:59 PM

Working fine for me but one problem

Title is : Top X users .. can i change X to the number of members ?

EX: Top 5 users ?

Nice Hook  ;)

#6 Hi my name is KaoS

Hi my name is KaoS

    Member

  • Members
  • PipPipPip
  • 35 posts
  • Real Name:Joe
  • IPB Version:v3.0.x
Contributor

Posted 05 July 2009 - 06:05 PM

goto:
/www/forum/cache/lang_cache/1/forums_public_boards.php

Open and Find:
'dp30topx_title' => "Top X users",

Change Top X users to whatever you want.

Posted Image
IPB n00blet


#7 Muhammad

Muhammad

    Coder

  • Members
  • PipPipPipPipPip
  • 181 posts
  • Real Name:Muhammad
  • IPB Version:v3.2.x

Posted 05 July 2009 - 06:10 PM

View Postjoewozniak, on Jul 5 2009, 09:05 PM, said:

goto:
/www/forum/cache/lang_cache/1/forums_public_boards.php

Open and Find:
'dp30topx_title' => "Top X users",

Change Top X users to whatever you want.
;)

also can i change viewing order ?
it's the first one now i want to move it to the last one

#8 Hi my name is KaoS

Hi my name is KaoS

    Member

  • Members
  • PipPipPip
  • 35 posts
  • Real Name:Joe
  • IPB Version:v3.0.x
Contributor

Posted 05 July 2009 - 06:21 PM

Try This (untested)

Goto:
/www/forum/hooks

Open:
dp30topxreputation.php

Find:
'order'		=> 'pp_reputation_points DESC',

Change To:
'order'		=> 'pp_reputation_points ASCE',


Like i said its untested but im sure thats the short term for Ascend.

Hope it works for you

Posted Image
IPB n00blet


#9 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 05 July 2009 - 06:57 PM

View Postjoewozniak, on Jul 5 2009, 08:21 PM, said:

Change To:
'order'		=> 'pp_reputation_points ASCE',
ASC.

In next version i'll option for this. ;)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#10 webbdh2003

webbdh2003

    Member

  • Banned
  • PipPipPip
  • 31 posts
  • IPB Version:v3.0.x

Posted 05 July 2009 - 07:06 PM

Can you possibly add a way to change the name from Top X users to something custom without the file edit?

#11 Hi my name is KaoS

Hi my name is KaoS

    Member

  • Members
  • PipPipPip
  • 35 posts
  • Real Name:Joe
  • IPB Version:v3.0.x
Contributor

Posted 05 July 2009 - 08:11 PM

View PostDawPi, on Jul 5 2009, 02:57 PM, said:

View Postjoewozniak, on Jul 5 2009, 08:21 PM, said:

Change To:
'order'		=> 'pp_reputation_points ASCE',
ASC.

In next version i'll option for this. ;)


thanks for clearing that up for me, i was just unsure on the abbreviation on the word

Posted Image
IPB n00blet


#12 Muhammad

Muhammad

    Coder

  • Members
  • PipPipPipPipPip
  • 181 posts
  • Real Name:Muhammad
  • IPB Version:v3.2.x

Posted 05 July 2009 - 09:41 PM

View Postjoewozniak, on Jul 5 2009, 09:21 PM, said:

Try This (untested)

Goto:
/www/forum/hooks

Open:
dp30topxreputation.php

Find:
'order'		=> 'pp_reputation_points DESC',

Change To:
'order'		=> 'pp_reputation_points ASCE',


Like i said its untested but im sure thats the short term for Ascend.

Hope it works for you

Driver Error

#13 webbdh2003

webbdh2003

    Member

  • Banned
  • PipPipPip
  • 31 posts
  • IPB Version:v3.0.x

Posted 05 July 2009 - 09:44 PM

View PostScripteen, on Jul 5 2009, 05:41 PM, said:

View Postjoewozniak, on Jul 5 2009, 09:21 PM, said:

Try This (untested)

Goto:
/www/forum/hooks

Open:
dp30topxreputation.php

Find:
'order'		=> 'pp_reputation_points DESC',

Change To:
'order'		=> 'pp_reputation_points ASCE',


Like i said its untested but im sure thats the short term for Ascend.

Hope it works for you

Driver Error


Try ASC instead of ASCE.

#14 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 05 July 2009 - 09:53 PM

View PostWebby-Kins, on Jul 5 2009, 09:06 PM, said:

Can you possibly add a way to change the name from Top X users to something custom without the file edit?
You want editable section in ACP to change table header title? ;)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#15 webbdh2003

webbdh2003

    Member

  • Banned
  • PipPipPip
  • 31 posts
  • IPB Version:v3.0.x

Posted 05 July 2009 - 09:57 PM

View PostDawPi, on Jul 5 2009, 05:53 PM, said:

View PostWebby-Kins, on Jul 5 2009, 09:06 PM, said:

Can you possibly add a way to change the name from Top X users to something custom without the file edit?
You want editable section in ACP to change table header title? :)

Exactly. ;)

Either that or whatever number you enter as the amount of users shown, it replaces 'X' with that number if it's a number greater than 1 and displays:

Top # Repped Users

Else, if it's equal to 1 then it displays:

Top Repped User

Edited by Webby-Kins, 05 July 2009 - 10:05 PM.


#16 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 05 July 2009 - 10:17 PM

Sure. In next version i'll add this and replace X with number. ;)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#17 Muhammad

Muhammad

    Coder

  • Members
  • PipPipPipPipPip
  • 181 posts
  • Real Name:Muhammad
  • IPB Version:v3.2.x

Posted 06 July 2009 - 12:48 AM

View PostWebby-Kins, on Jul 6 2009, 12:44 AM, said:

View PostScripteen, on Jul 5 2009, 05:41 PM, said:

View Postjoewozniak, on Jul 5 2009, 09:21 PM, said:

Try This (untested)

Goto:
/www/forum/hooks

Open:
dp30topxreputation.php

Find:
'order'		=> 'pp_reputation_points DESC',

Change To:
'order'		=> 'pp_reputation_points ASCE',


Like i said its untested but im sure thats the short term for Ascend.

Hope it works for you

Driver Error


Try ASC instead of ASCE.

this ordered the members inside the table .. i want to move the table to the button

that's what happened

user1
user2
user3
user4
user5

to

user5
user4
user3
user2
user1

#18 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 06 July 2009 - 09:04 AM

You want order members by .... ? Rep points or names? Please provide example with members names and rep points. ;)
Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence

#19 Adriano Faria

Adriano Faria

    ...a curious guy...

  • Modders
  • PipPipPipPipPipPipPipPipPipPip
  • 3,268 posts
  • Location:Brazil
  • Real Name:Adriano
  • IPB Version:v3.3.x
Contributor

Posted 06 July 2009 - 11:08 AM

Hey Dawpi, misaligned for me, as well.

Posted Image

FF 3.0.11

#20 Muhammad

Muhammad

    Coder

  • Members
  • PipPipPipPipPip
  • 181 posts
  • Real Name:Muhammad
  • IPB Version:v3.2.x

Posted 06 July 2009 - 02:42 PM

View PostDawPi, on Jul 6 2009, 12:04 PM, said:

You want order members by .... ? Rep points or names? Please provide example with members names and rep points. ;)

thats what i mean :)

Attached File  Untitled_1.jpg   24.64K   0 downloads

i want to make it

3
2
1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users