Jump to content

JayPee

Members
  • Posts

    633
  • Joined

  • Last visited

Everything posted by JayPee

  1. I have a working demo here at: http://www.agonyro.net/fluxcptest
  2. Version 1.0

    873 downloads

    This is a an alternative solution for those who cant make there Email Verification feature to work in there Registration System. It uses Facebook to identify if the user has a valid Email Address. Guides: 1.) Making your Facebook Application within Facebook As you may know in order for this Addon to work you must create an application in facebook. 1.1: Login to your facebook account at http://www.facebook.com 1.2: After you login to your facebook account kindly goto https://developers.facebook.com 1.3: In developers homepage yoo will see a link name App, click it 1.4: When your already in the apps facebook you will see the Create New App button, now click it 1.5: A dialog box will appear, just fill up the necessary fields. 1.6: After you finished filling up the on the dialog box you will be redirected to your newly created Application Settings 1.7 The default page whenever you want to edit your application is the Basic Settings page. 2.) Basic Settings Application Configuration 2.1: In the Basic Settings page the most important field you need to edit is the App domain ( You will put here the Address where you want to run the Application ex: http://www.mydefaultro.com if you do not specify the App domain the Addon might not work properly), now click also the Website you will enter there also the Address where you will run the Application. 2.2: Now Save it. It might take several minutes for the settings to take effect. 3.) Auth Dialog Settings Application Configuration 3.1: In the Auth Dialog Settings Page just scroll at the very bottom and you will see Authenticated Referrals, now click it. 3.2: In Authenticated Referrals, in User & Friends Permission kindly enter the value "email" without the doubles quotesbecause the application must ask first a permission to know about the user's email. 3.3: Now click Save Changes. 4.) FluxCP Addon Configuration 4.1: We are now in the FluxCP Addon. Put the addon in the addons folder of your FluxCP. 4.2: Now edit the config/addon.php and fillup the following: * For "FB_API_KEY" enter the Api Id that facebook provided to you, this can be seen in the basic settings of your Facebook Application. This key will be your public api id. * For "FB_API_SECRET_KEY enter the Api Secret that facebook provided to you, this can be seen in the basic setting of your Facebook Application. This key will be your private apli id. Kindly do not share this to others. Other Configuration's are: * 'NoCase' - set to true if you dont want a case sensitive comparison * 'UseMD5' - set to true if you want to use MD5 password * 'level' - set this to what will be the default level/group_id of the user after registration. 5.) The Database 5.1: In schemas folder you will find a .sql file named cp_fb_register, kindly import in your database. This will use for the Facebook Login Addon that I will develop in the future. Now run the Addon, Hope it works and Hope you understand my English Sorry I cant provide the Screenshot version of the guide because Im having a hard time making the screenshot due to make broken touchpad. Updated version of this addon can be found at: https://github.com/m...-Facebook-Addon Future Updates: Login Feature - you can use your facebook account to login to the Control Panel Auto Login after Registration
    Free
  3. File Name: FluxCP Registration Addon via Facebook File Submitter: JayPee File Submitted: 11 Apr 2012 File Updated: 11 Apr 2012 File Category: Web Resources This is a an alternative solution for those who cant make there Email Verification feature to work in there Registration System. It uses Facebook to identify if the user has a valid Email Address. Guides: 1.) Making your Facebook Application within Facebook As you may know in order for this Addon to work you must create an application in facebook. 1.1: Login to your facebook account at http://www.facebook.com 1.2: After you login to your facebook account kindly goto https://developers.facebook.com 1.3: In developers homepage yoo will see a link name App, click it 1.4: When your already in the apps facebook you will see the Create New App button, now click it 1.5: A dialog box will appear, just fill up the necessary fields. 1.6: After you finished filling up the on the dialog box you will be redirected to your newly created Application Settings 1.7 The default page whenever you want to edit your application is the Basic Settings page. 2.) Basic Settings Application Configuration 2.1: In the Basic Settings page the most important field you need to edit is the App domain ( You will put here the Address where you want to run the Application ex: http://www.mydefaultro.com if you do not specify the App domain the Addon might not work properly), now click also the Website you will enter there also the Address where you will run the Application. 2.2: Now Save it. It might take several minutes for the settings to take effect. 3.) Auth Dialog Settings Application Configuration 3.1: In the Auth Dialog Settings Page just scroll at the very bottom and you will see Authenticated Referrals, now click it. 3.2: In Authenticated Referrals, in User & Friends Permission kindly enter the value "email" without the doubles quotesbecause the application must ask first a permission to know about the user's email. 3.3: Now click Save Changes. 4.) FluxCP Addon Configuration 4.1: We are now in the FluxCP Addon. Put the addon in the addons folder of your FluxCP. 4.2: Now edit the config/addon.php and fillup the following: * For "FB_API_KEY" enter the Api Id that facebook provided to you, this can be seen in the basic settings of your Facebook Application. This key will be your public api id. * For "FB_API_SECRET_KEY enter the Api Secret that facebook provided to you, this can be seen in the basic setting of your Facebook Application. This key will be your private apli id. Kindly do not share this to others. Other Configuration's are: * 'NoCase' - set to true if you dont want a case sensitive comparison * 'UseMD5' - set to true if you want to use MD5 password * 'level' - set this to what will be the default level/group_id of the user after registration. 5.) The Database 5.1: In schemas folder you will find a .sql file named cp_fb_register, kindly import in your database. This will use for the Facebook Login Addon that I will develop in the future. Now run the Addon, Hope it works and Hope you understand my English Sorry I cant provide the Screenshot version of the guide because Im having a hard time making the screenshot due to make broken touchpad. Updated version of this addon can be found at: https://github.com/m...-Facebook-Addon Future Updates: Login Feature - you can use your facebook account to login to the Control Panel Auto Login after Registration Click here to download this file
  4. JayPee

    V4P problem..

    As far as I know, my V4P is not fully working in old fluxcp coz it happens also to me. My solution is to use a fresh fluxcp(I use fluxcp renewal) and I transfer my themes there and it works like a charm. I'll try to see if I can make a solution on it but it will take some days coz my touchpad is currently not working and its giving me a hell of pain in debugging stuff's.
  5. Try this: - script RandomPokemon -1,{ OnInit: setarray .Pkmn[0], 2694,2702,2704,2705,2707,2709,2716,2698,2717,2723,2725,2729,2731,2736,2744,2739,2748,2749,2750,2751,2752,2753,2754,2755,2758,2759,2760,2762,2763,2764,2765,2766,2767,2768,2769,2770,2771,2772,2775,2776,2777,2778,2779,2780,2774,2781,2782,2788,2789,2791,2792,2793,2773,2790; OnClock0115: OnClock0330: OnClock0445: OnClock0600: OnClock0715: OnClock0830: OnClock0945: OnClock1100: OnClock1215: OnClock1330: OnClock1445: OnClock1600: OnClock1715: OnClock1830: OnClock1945: OnClock2100: OnClock2215: OnClock2330: OnClock0030: set .@random, .Pkmn[rand(0,getarraysize(.Pkmn)-1)]; monster "elysium", 0, 0, ""+getmonsterinfo(.@random,MOB_NAME)+"",.@random, 1, strnpcinfo(0)+"::OnKilled2"; end; OnKilled2: close; } My guess is your scheduling a monster to be summoned. I change the $Pkmn to .Pkmn so it will be an npc variable not a global permanent variable and also put this set .@random, .Pkmn[rand(0,getarraysize(.Pkmn)-1)]; below OnClock0030: so it monster to be summon will be randomize. and also made Instead of: rand(getarraysize(.Pkmn)) I made it: rand(0,getarraysize(.Pkmn)-1); so the generation of randomize numbers which will be used to access the .Pkmn array variable wont exceed to the number of elements in that variable. Take note also that script array can only handle 128 elements/values.
  6. Im the one who develop this addon.
  7. Maybe your flux is using `level` while your login table has `group_id` (vice versa) this will cause you some errors. Hi, login is required because in the listing of the voting sites the system checks whether you can now vote or not and give you the date where you can vote. Its possible but it will be another page which only gives the list of voting sites your server is registered. Sorry If I don't respond to this post this past few days coz Im busy making updates in our server and website. And currently studying and trying facebook API since I'm interested of making a Facebook Registration and Login Addon on fluxcp. Do you mean captcha system? Coz I dont see any point of putting a captcha system on this. @All For bug reports and other concerns please post them here at mygithub repo:https://github.com/mandark022/VoteForPoints
  8. Is it linux? if linux try chmod a+x /data/tmp/
  9. Hi, please put a write permission on you data/tmp/ folder
  10. About sa WiKi, guide sya na para maconvert mo ung lua files mo .lub files. Lub files kasi are encrypted version of lua files. Naitry mo bang icheck kung tama ung format ng mga idnum2itemdesctable,idnum2itemdisplaynametable,idnum2itemresnametable mo?.
  11. JayPee

    Flux CP Error

    hi, give/set a write permission in your data/logs/
  12. Wala talagang kahit anong error na lumalabas?, kasi possible errors na makuha mo sa adding ng custom items is LUA error and Gravity Error(Sprite Error).
  13. I think security code in flux is only available on registration. For ceres i think you can find it @ config.php
  14. I think thats a script error where a string and a number is being compared. The arguments in the compare must be both strings. Can you post the script?
  15. Hi, for the mob_skill_db2 its in db/mob_skill_db2.txt. I think the _db2.txt files are outsite pre-re and re folder
  16. I guess he means bots? @KeyWorld You are so awesome! More power to you.
  17. Hi, are you using phpMyAdmin? Try using another import tool such as MySQL Query Browser.
  18. Hi!, try this set .@date$,""+20120404; if(gettimestr("%Y%m%d",21)==.@date$) { //Do stuff } %Y - year %m - months with leading zero when the value is 1 - 9 %d - day with leading zeros when the value is 1 - 9
×
×
  • Create New...