Newbie Spellweaver
- Joined
- Jun 29, 2011
- Messages
- 70
- Reaction score
- 94
Hello RagoZone!,
Its long time from the last time i released something but here i'm [The most boring intro i know]
That's a live guild time reset [just like the title say], and as usual all my scripts are open-sources not crypted/encoded.
first of all i would like to give the main simple guild time script's credit to Zelda, copying the few lines of it was faster than rewriting them ^^ [lazy style]
Live preview (Not connected to database):
The release will be for two targets:
First the Server Owners:
Second my dear Developers <3:
This script contain two parts, the live submit, and the action done after the submit,
-The live submit is simple JavaScript script called Live Form Submit, Which stop refreshing the page after submitting the targeted form, then send the content of the inputs to the selected PHP file, and get the returned data and print it,
So if we use it with form that contain only submit input, then the result will be live execute button to do whatever we want!.
-The action done after the submit is the Guild reset query which reset the guild time.
Script content:
and finally live_guild_reset.txt which contain the script will be used in the home page.
Regards,
J3lackSwOrD / Jivex
Its long time from the last time i released something but here i'm [The most boring intro i know]
That's a live guild time reset [just like the title say], and as usual all my scripts are open-sources not crypted/encoded.
first of all i would like to give the main simple guild time script's credit to Zelda, copying the few lines of it was faster than rewriting them ^^ [lazy style]
Live preview (Not connected to database):
You must be registered to see links
The release will be for two targets:
- Server Owner (which know a little about development).
- Developer (which would like to know the details about the script).
First the Server Owners:
- Download the attached file and extract it (NOT into your website folder).
- Copy the folder "live_guild_reset" into your website main folder.
- Open "live_guild_reset/config.php" and edit the connection info.
- Open the file you want to add the live reset button into (usually index.php).
- Paste the content of "live_guild_reset.txt" where you want to show your button.
Second my dear Developers <3:
This script contain two parts, the live submit, and the action done after the submit,
-The live submit is simple JavaScript script called Live Form Submit, Which stop refreshing the page after submitting the targeted form, then send the content of the inputs to the selected PHP file, and get the returned data and print it,
So if we use it with form that contain only submit input, then the result will be live execute button to do whatever we want!.
-The action done after the submit is the Guild reset query which reset the guild time.
Script content:
Code:
live_guild_reset (folder)
|
|--css (folder)
| |- style.css (Contain the button and the success tip styles)
|
|--js (folder)
| |- jquery.js (The jQuery lib.)
| |- jquery.form.js (The main JS script that do the live submit)
| |- jquery.custom.js (Where we define the form and the PHP file)
|
|--config.php (Required database connection info)
|
|--action.php (The targeted PHP file which contain the guild reset query)
and finally live_guild_reset.txt which contain the script will be used in the home page.
Notice: I didnt test that script because i don't have local database at the moment ^^
Regards,
J3lackSwOrD / Jivex
Attachments
You must be registered for see attachments list
Last edited: