AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Facebook Connect 1.0 (https://forums.alliedmods.net/showthread.php?t=130829)

ÜnLoCo 06-28-2010 00:35

Facebook Connect 1.0
 
3 Attachment(s)
http://pic.leech.it/i/79984/3f94cb6facebook43.jpgFacebook Connect 1.0 (fbconnect 1.0) by ÜnLoCo

:arrow: integrates facebook connect feature to your counter strike server.
  • players will be identified by their facebook accounts.
  • players will be able to view other players profiles.
  • admins will be able to ban players by their facebook ID/profile.
Requirements :
  • fbconnect plugin.
  • facebook application (php + sql => hosted).
Commands : (no cvars for this version 1.0)
  • for all players: say /fb to view profiles
  • for admins: say /fban to ban profiles
  • for admins: amx_fban to ban profiles
Installation :
  • Install Plugin : you have to open the sma and edit lines 14 15 [16 optional]. you can also comment any lines if you know what you doing !
  • make a free hosting site
some tips:
in Canvas :
http://pic.leech.it/i/6a7ee/289620e228061229.png
in Connect :
http://pic.leech.it/i/43a50/ee4493528062731.png
  • upload the php files to the root of your site
    • import the sql script
    • configure Connect/require/config.php
    • configure include.js
    • remind me if i forgot something
    • ask good questions gently :)
Usage :
Players (including admins) have to:
  • follow the link in the console when kicked for the first time
  • go to application (liking the app if they want)
  • click the OK button.
    • maybe yu will have to allow popups .. i recommend google chrome.

to Do :
✔ - release the plugin 1.0
X - add option: immunity
X - add feature: unban
X - add feature: amx_fban "name" instead of menu only
X - add cvars (feel free to suggest)
  • announce players requesting profile
  • announce players connecting
  • announce players verified successfully
your ideas really count here.

http://pic.leech.it/i/756c9/22ba0b7a280631722.png
Credits :
  • everyone ! especially Emp` for the good menu tutorial
[https://forums.alliedmods.net/showthread.php?t=46364]

and for bugsy for the Sockets example.

note : feel free to modify the connect.jpg to your liking.
needless to say : this fbconnect attaches a fb ID to an IP address .. so every time your ip changes you have to click the ok button again in order to join with your new fresh IP.

example :
facebook app: http://apps.facebook.com/noexitpro/ but the sv is down for now !

KadiR 06-28-2010 00:40

Re: Facebook Connect 1.0
 
Wow good job! :)

#8 SickneSS 06-28-2010 00:40

Re: Facebook Connect 1.0
 
omg u own the awesome

wrecked_ 06-28-2010 00:43

Re: Facebook Connect 1.0
 
Well, I guess Facebook's implementation was imminent...

Great job, though.

SpILL 06-28-2010 00:44

Re: Facebook Connect 1.0
 
Just amazing... Good job and thanks.

ÜnLoCo 06-28-2010 00:49

Re: Facebook Connect 1.0
 
thank you guys :)))
@wrecked: yes someone will make it better i know :))

KzFun.小鱼 06-28-2010 03:17

Re: Facebook Connect 1.0
 
omg !!!!
Good job and thanks.

5c0r-|3i0 06-28-2010 03:36

Re: Facebook Connect 1.0
 
Very very nice :)) ..........................

K.K.Lv 06-28-2010 04:31

Re: Facebook Connect 1.0
 
I have found this line :
PHP Code:

/* sorry for any bad coding or bad inglish ;)*/ 

but my english is poor too !:mrgreen:

good plugin guy :up:!

s33k 06-28-2010 05:23

Re: Facebook Connect 1.0
 
Good job :up:


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

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