Jump to content
Dastgir

Facebook Share

Recommended Posts

thumb-0e9e8abd23f8ea0808dc5fd7f31ac206-fbshare.png

File Name: Facebook Share

File Submitter: Dastgir

File Submitted: 12 Mar 2014

File Category: Utility

 

Facebook Share System(Works Only with New Clients)

 

Configuration:

Edit NPC FacebookShare.txt

.link$ = "http://www.yourdomain.com/fbshare/";	//Trailing with "/"

Edit the link with the link where you have PHP Scripts(Trailing with "/" or "/index.php")

 

WebSite:

Edit config.php

$host = "127.0.0.1";		//MySQL Host$user = "root";				//MySQL Username$pass = "";				//MySQL Password$database = "fb_share";		//Ragnarok Database$site = "http://yourdomain.com/fbshare/";	//Link to FBShare Page(Directory where these scripts are installed)

$site should match with .link$(in the npc), Other Info are self explanatory.

 

It is a Simple Script Illustrating the usage of linking to website.

 

Click here to download this file

Share this post


Link to post
Share on other sites

 

http://herc.ws/board/index.php?app=downloads&module=display&section=screenshot&id=111

File Name: Facebook Share

File Submitter: Dastgir Pojee

File Submitted: 12 Mar 2014

File Category: Utility

 

Facebook Share System(Works Only with New Clients)

 

Configuration:

Edit NPC FacebookShare.txt

.link$ = "http://www.yourdomain.com/fbshare/";	//Trailing with "/"
Edit the link with the link where you have PHP Scripts(Trailing with "/" or "/index.php")

 

WebSite:

Edit config.php

$host = "127.0.0.1";		//MySQL Host$user = "root";				//MySQL Username$pass = "";				//MySQL Password$database = "fb_share";		//Ragnarok Database$site = "http://yourdomain.com/fbshare/";	//Link to FBShare Page(Directory where these scripts are installed)
$site should match with .link$(in the npc), Other Info are self explanatory.

 

It is a Simple Script Illustrating the usage of linking to website.

 

Click here to download this file

Thank you for this one.

 

 

 

btw is it possible to add more feature like what equips is the player currently using? refines cards zeny etc?

Share this post


Link to post
Share on other sites

@karazu

Its possible, but maybe I have to add a privacy option if I add the option for showing equips, since some player may not be comfortable for sharing their equips(especially, the refine,cards and zeny)

Share this post


Link to post
Share on other sites

Also add a option for custom tables, for displays like pvp ladder position, kills, deaths, cashpoint amount, etc :)

Share this post


Link to post
Share on other sites

 

hey there... can u tell me what exactly happens here?? i am sorry for asking this but no description is given there.

 

*bump*

Its a NPC, you install npc to vps and webscript to webserver

When someone click npc, it will show a link in npc, clicking that link will share a url to FB.(That url will contain the character Info)

Share this post


Link to post
Share on other sites

Hello Dastgir

You have a point there but how about just enable it and we will just uncomment if I dont want to enable it in our servers?

I mean just put all the possibilities but we can just comment and uncomment it if we dont want to include it in the share.



 

Share this post


Link to post
Share on other sites

@karazu

Its possible, but maybe I have to add a privacy option if I add the option for showing equips, since some player may not be comfortable for sharing their equips(especially, the refine,cards and zeny)

 

I tried to install it, but when i share my stats, the link on facebook contains nothing but the image (logo.png) :(

 

XU7jyAF.jpg

 

npc:

 

MxEU1QR.jpg

 

 

config.php

NgrcVfq.jpg

the $port was // disabeld, i tried it with and without port, with " and without. I can't figure whats wrong q.q

(root is generic username,)

(ip of the server, password and database are correct and tripple checked)

the website can access the db for the server online/offline check, so this should work as well?

Edited by Medusalem

Share this post


Link to post
Share on other sites

 

@karazu

Its

possible, but maybe I have to add a privacy option if I add the option

for showing equips, since some player may not be comfortable for sharing

their equips(especially, the refine,cards and zeny)

 

I tried to install it, but when i share my stats, the link on facebook contains nothing but the image (logo.png) :(

 

XU7jyAF.jpg

 

npc:

 

MxEU1QR.jpg

 

 

config.php

NgrcVfq.jpg

the $port was // disabeld, i tried it with and without port, with " and without. I can't figure whats wrong q.q

(root is generic username,)

(ip of the server, password and database are correct and tripple checked)

the website can access the db for the server online/offline check, so this should work as well?

 

 

@karazu

Its

possible, but maybe I have to add a privacy option if I add the option

for showing equips, since some player may not be comfortable for sharing

their equips(especially, the refine,cards and zeny)

 

I tried to install it, but when i share my stats, the link on facebook contains nothing but the image (logo.png) :(

 

XU7jyAF.jpg

 

npc:

 

MxEU1QR.jpg

 

 

config.php

NgrcVfq.jpg

the $port was // disabeld, i tried it with and without port, with " and without. I can't figure whats wrong q.q

(root is generic username,)

(ip of the server, password and database are correct and tripple checked)

the website can access the db for the server online/offline check, so this should work as well?

I think you are Using A wrong Database

 

Did you create Fb_share table

Edited by alvin182

Share this post


Link to post
Share on other sites
if (($table = mysqli_query($sql,"SELECT * FROM `char` WHERE `char_id`='".$_GET['char']."'")) )

 

 

 

 How do I add a table? I'm trying to have my "pvp_rank" table included so i can add how many kills, deaths, etc. my player has

Share this post


Link to post
Share on other sites

Where is the Table Script for this? anyone ^^ thanks



anyone update this script ^^ with points like on rathena, and exhange for items, more info with pics, ^^ ty

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.