[DEV] Ranks Pages

MODs and Styles for phpBB3.

To post your MOD or style, go to the STG MOD Manager
Forum rules
Go to http://startrekguide.com/mods to submit your MOD or style

Re: [DEV] Ranks Pages

Postby TimN » 21 Dec 2008, 08:29

Thank you sir. I knew I'd seen that someplace but I never bookmarked it.
Appreciate the link.
Tim
"Just smile and wave boys, smile and wave. Remember, cute and cuddly." - The Penguins
User avatar
TimN    
Supporter
Supporter
 
Posts: 372
Joined: 17 Nov 2008, 16:24
Location: Ceti Alpha V
Favorite Team: London Silly Nannies
Gender: Male
phpBB Knowledge: 5




phpBB Academy at StarTrekGuide
Support STG
Using PayPal Donate

[DEV] Ranks Pages

Postby Gonculator » 26 Dec 2008, 22:38

A new version has been added by the MOD author.

For details, please see the first post in this topic

This is an automated message posted by STG?s MOD Manager version 0.2.0
I am Gonculator, the STG Forum Robot -- Please do not PM me, I will not answer, but I will eat users who PM me. :twisted:
User avatar
Gonculator
Forum Robot
Forum Robot
 
Posts: 640
Joined: 16 Nov 2006, 21:52
Location: Forum Robot
Gender: Male

Re: [DEV] Ranks Pages

Postby TimN » 26 Dec 2008, 22:42

I had assumed (wrongly of course) that when users posted, their rank was set in the users table to match the rank they acheived. Of course, checking the ranks table every time someone posted would be inefficient, so the masters at phpbb.com didn't program it to work that way. Only special rank id's are listed in the users table. Therefore, I had to adjust my code to properly display post based ranked users. Please download the update and replace /root/ranks.php for the corrected file.
Tim
"Just smile and wave boys, smile and wave. Remember, cute and cuddly." - The Penguins
User avatar
TimN    
Supporter
Supporter
 
Posts: 372
Joined: 17 Nov 2008, 16:24
Location: Ceti Alpha V
Favorite Team: London Silly Nannies
Gender: Male
phpBB Knowledge: 5

Re: [DEV] Ranks Pages

Postby oikos » 05 Feb 2009, 14:43

does this work with 3.02
oikos    
Cadet I
Cadet I
 
Posts: 18
Joined: 02 Feb 2009, 16:25
Gender: Male
phpBB Knowledge: 2

Re: [DEV] Ranks Pages

Postby TimN » 05 Feb 2009, 18:12

What's developed so far should work with 3.0.2
Tim
"Just smile and wave boys, smile and wave. Remember, cute and cuddly." - The Penguins
User avatar
TimN    
Supporter
Supporter
 
Posts: 372
Joined: 17 Nov 2008, 16:24
Location: Ceti Alpha V
Favorite Team: London Silly Nannies
Gender: Male
phpBB Knowledge: 5

Re: [DEV] Ranks Pages

Postby noname82 » 21 Feb 2009, 19:56

at; ranks.php?mode=u -when Show All Ranked Users is clicked-
its give these errors..

Code: Select all
[phpBB Debug] PHP Notice: in file /ranks.php on line 134: Undefined variable: mx_posts
[phpBB Debug] PHP Notice: in file /ranks.php on line 112: Undefined variable: mx_posts
noname82
Crewman
Crewman
 
Posts: 4
Joined: 21 Feb 2009, 17:38
Gender: Male
phpBB Knowledge: 2

Re: [DEV] Ranks Pages

Postby TimN » 22 Feb 2009, 08:36

Thanks, I'll look into that later this week. I'm off Wedensday and should be able to get some code written.
Tim
"Just smile and wave boys, smile and wave. Remember, cute and cuddly." - The Penguins
User avatar
TimN    
Supporter
Supporter
 
Posts: 372
Joined: 17 Nov 2008, 16:24
Location: Ceti Alpha V
Favorite Team: London Silly Nannies
Gender: Male
phpBB Knowledge: 5

Re: [DEV] Ranks Pages

Postby JerryEvo » 13 Apr 2009, 06:05

When there is user with maximum rank (highest rank on the list) there is SQL error message - there is no mx_posts protection in one of the queries.

Moreover on my page the data of users with ranks in the table is not the same like in detalied view when I click on range name.
JerryEvo    
Crewman
Crewman
 
Posts: 1
Joined: 05 Apr 2009, 09:14
Gender: Male
phpBB Knowledge: 4

Re: [DEV] Ranks Pages

Postby TimN » 13 Apr 2009, 08:26

JerryEvo wrote:When there is user with maximum rank (highest rank on the list) there is SQL error message - there is no mx_posts protection in one of the queries.

Moreover on my page the data of users with ranks in the table is not the same like in detalied view when I click on range name.


I'll look into the sql error.

Data of users with ranks is different......
I'm not sure what you mean by this.

Tim
"Just smile and wave boys, smile and wave. Remember, cute and cuddly." - The Penguins
User avatar
TimN    
Supporter
Supporter
 
Posts: 372
Joined: 17 Nov 2008, 16:24
Location: Ceti Alpha V
Favorite Team: London Silly Nannies
Gender: Male
phpBB Knowledge: 5

Re: [DEV] Ranks Pages

Postby TimN » 16 Apr 2009, 18:30

Could you post me a screen shot of the error message?
Thanks,
Tim
"Just smile and wave boys, smile and wave. Remember, cute and cuddly." - The Penguins
User avatar
TimN    
Supporter
Supporter
 
Posts: 372
Joined: 17 Nov 2008, 16:24
Location: Ceti Alpha V
Favorite Team: London Silly Nannies
Gender: Male
phpBB Knowledge: 5

PreviousNext

Return to phpBB3 Customizations

Who is online

Users browsing this forum: Bingbot and 10 guests