Top Stats

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Top Stats (Percent)

Post by Rhyno »

Stoker wrote:It will be available in next version.
OK no problems :)
Bl4d3 x wrote:
Rhyno3000 wrote:Heya

How would i get percentage stat on top stats like you have here?

Cheers

viewtopic.php?f=49&t=1955&p=12442&hilit=collapse#p12442 cough

its withing the edits on this topic
Hmmmm i will see if i can use that hehe

Top Stats (Percent)

Post by martin123456 »

Infact the whole code in that topic will give you this
22.png
You do not have the required permissions to view the files attached to this post.

Top Stats (Percent)

Post by Rhyno »

Bl4d3 x wrote:Infact the whole code in that topic will give you this
22.png
OK just gotta work out which bits of code i need as i dont need it all

Do i need the HTML file and the includes edits?

Top Stats (Percent)

Post by martin123456 »

if you have the collapse on your site then take all of them edits ;)

Top Stats (Percent)

Post by Rhyno »

martin123456 wrote:if you have the collapse on your site then take all of them edits ;)
Nah don't have collapse, so which bits would i need for the percent?

Top Stats (Percent)

Post by Rhyno »

No matter just copied the html code i needed and the few lines in the functions top stats file as well... works a treat :)

Download Top Stats

Post by Stoker »

Updated to version 1.0.9
Thanks to Steve for his great help :thumb:

Update intructions: look in contrib

Top Stats Referals!

Post by tudorionut »

Hello Stoker, i have installed invite a friend mod!
I am new on php learning! Do you think than i could modify top stats to show top referals users?

Top Stats Referals!

Post by Stoker »

Sorry, dont know the invite mod.

Top Stats 1.09 Help

Post by Rhyno »

Heya Stoker

I swear i had top stats 1.08 installed before the new version, but following the instructions in the install file, it says the only file to edit is the common.php in language folder.

Code here :

Code: Select all

'MOST_VIEWED'				=> 'Most viewed topics',
	'MOST_REPLIED'				=> 'Most replied topics',
	'NEWEST_TOPICS'				=> 'Latest Topics',
	'NEWEST_POSTS'				=> 'Latest Posts',

Code: Select all

'MOST_VIEWED'				=> 'Most viewed topics',
	'MOST_REPLIED'				=> 'Most replied topics',
But I had to edit this part of the commom.php as well because i had errors in the language text.

Code: Select all

// BEGIN Top Stats
$lang = array_merge($lang, array(
	'MOST_VIEWED'				=> 'Most viewed topics',
	'MOST_REPLIED'				=> 'Most replied topics',
	'NEWEST_TOPICS'				=> 'Latest Topics',
	'NEWEST_POSTS'				=> 'Latest Posts',
	'RECENT_ACTIVE'				=> 'Recent Active Topics',
	'MOST_ACTIVE_USERS'			=> 'Most active users',
	'JOINED_US'					=> 'Joined us',
	'MOST_ACTIVE_FORUMS'		=> 'Most active forums',
	'PREVIOUS_SCROLL'			=> 'Previous',
	'NEXT_SCROLL'				=> 'Next',
	'START_SCROLL'				=> 'Start',
	'STOP_SCROLL'				=> 'Stop',
	'LAST_REGISTERED_USERS'		=> 'Last registered users',
	'LAST_VISITED_BOTS'			=> 'Last visited bots',
));
// END Top Stats
Is that something missed or did i update from an earlier version perhaps?

p.s. Also with the new version, if i have a URL in my forum description it comes out weird now :

Image