Raised This Month: $51 Target: $400
 12% 

[L4D & L4D2] Custom Player Stats v1.4B121


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
kennyist
Member
Join Date: Jan 2010
Old 03-27-2012 , 22:08   Re: [L4D & L4D2] Custom Player Stats v1.4B117
Reply With Quote #11

Quote:
Originally Posted by el_psycho View Post
Just use it WITHOUT an api key. Just change the lines i changed and just place an x for the api key.

I have done that but it does not work. :/

-------------------------------------------------------------------------

EDIT - Fixed config file, left an ";" out.

Also to anyone whom may be interested, I've added Google+, twitter and facebook buttons to this and they are fully configurable from the config.php. To install just replace the files you have already uploaded, Its in the right file structure already, Then its good to go.

Added config lines:

PHP Code:
// Google Plus
$contentgp "L4D and L4D2 stats"// Google plus page discription
$gp_size "Medium"// Sizes can be, Inline (24px), Small (15px), Medium (20px) and Tall (60px)
$gp_annotation ""// Leave blank for bubble, None and Inline  

// Facebook AppId, To get yours go here: http://developers.facebook.com/docs/reference/plugins/like/ - Press get code and copy the app id from this part "#xfbml=1&appId=153904504627267"  ONLY THE NUMBER!
$fbid "x";
$fbsite "Link here"// Link to your site, Or any page on your site.
$fb_send "False"// True/False - Display send button
$fb_showface "False"// True/False - Display faces of those who liked
$fb_layout "button_count"// Styles are button_count, box_count or leave blank for standard.

// Twitter settings
$twitter_name "x"// Your twitter name
$twitter_text "Check out our stats!"//Share text E.G Check out our stats!
$twitter_size ""// Large or leave blank for normall 
Example page: http://lg.site.nfoservers.com/stats/

If people are interested I will add more stuff, add more variables to change ETC. At the moment they are all on and cannot be turned off unless you edit them out, I will try to add a toggle for each, but I can't work it out at the moment.

-- Updates --
28/03 - Added 4 new config controls - Facebook button layout - Google plus size - Google plus annotation style - Twitter button size.
27/03 - Fixed config file

Kennyist.
Attached Files
File Type: zip V1.3 -L4D stats share buttons.zip (12.9 KB, 114 views)
__________________


Last edited by kennyist; 03-28-2012 at 12:44.
kennyist is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode