generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: is it possible to

Previous Thread :: Next Thread 
UnbeatableChicken is not online. UnbeatableChicken
Joined: 30 Mar 2014
Total Posts: 10252
01 Dec 2016 10:14 AM
make a leader board script that display's a player's forum post count?


r+://557741958 Go Drink A Cup Of Water
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
01 Dec 2016 10:15 AM
Yes.
Report Abuse
UnbeatableChicken is not online. UnbeatableChicken
Joined: 30 Mar 2014
Total Posts: 10252
01 Dec 2016 10:16 AM
how would i do that then?


r+://557741958 Go Drink A Cup Of Water
Report Abuse
HumanXerxes is not online. HumanXerxes
Joined: 17 Apr 2011
Total Posts: 1351
01 Dec 2016 10:22 AM
To make something display on the leaderboards, insert an object named "leaderstats" into the player (any object will do as long as it's named "leaderstats" I'm pretty sure). Then insert a NumberValue named "Forum Posts" (or whatever you want it to be called). This will make there be a column in the leaderboards for "Forum Posts" now, and it will display whatever that NumberValue's value is for that player.

To get the player's forum posts, you'd have to use the HttpService, which unfortunately I'm not too familiar with. I'm pretty sure there is a user created API that will do it for you.
Report Abuse
UnbeatableChicken is not online. UnbeatableChicken
Joined: 30 Mar 2014
Total Posts: 10252
01 Dec 2016 10:23 AM
Yes i do want to get the player's forum post count from their account.


r+://557741958 Go Drink A Cup Of Water
Report Abuse
LegomasterNiko is not online. LegomasterNiko
Joined: 27 Feb 2013
Total Posts: 1176
01 Dec 2016 12:23 PM
So the leaderboard of forum posts, what would be the point of it?
Report Abuse
UnbeatableChicken is not online. UnbeatableChicken
Joined: 30 Mar 2014
Total Posts: 10252
01 Dec 2016 12:25 PM
The point of it is to show how many posts you have


r+://557741958 Go Drink A Cup Of Water
Report Abuse
LegomasterNiko is not online. LegomasterNiko
Joined: 27 Feb 2013
Total Posts: 1176
01 Dec 2016 12:30 PM
Ok. sounds cool.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
01 Dec 2016 12:31 PM
HttpService to some proxy to send a request to Roblox.

Send a GET request to https://www.roblox.com/users/USERID/profile
Find the post count from the HTML:

tonumber(data:match("Forum PostsLT/pGT.-GT(.-)GT"):gsub(",",""))
I didn't test this but I'm just going to assume I did it correctly

replace GT with > and LT with <
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image