SQL Query script

Tools by the phpBBModders team and Community contributed tools.
Forum rules
Only post tools related to modding in here, simple.
User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

SQL Query script

Postby igorw » 08 Apr 2007, 19:07


- we're poor!

blazes816
Past Contributor
Past Contributor
Posts: 187
Joined: 07 Oct 2006, 03:00
Real name: Tyler
Location: Wichita, Kansas

Postby blazes816 » 09 Apr 2007, 01:16

What was the problem? You were accidentally appending 'TRUNCATE *;' to the query?
User Number 9e071a3a594a8964cbefe784f8a6afaa94c0de17
My MODs:

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Postby igorw » 09 Apr 2007, 14:08


- we're poor!

bbjimbb
New member
New member
Posts: 6
Joined: 22 Jan 2008, 06:43

Re: SQL Query script

Postby bbjimbb » 21 Feb 2008, 19:16

Maybe a bad question.

But how does this thing know what query I need? :\

User avatar
Mike TUMS
Member
Member
Posts: 162
Joined: 16 Jan 2007, 05:51
Real name: Mihail
Location: Moscow, RU

Re: SQL Query script

Postby Mike TUMS » 21 Feb 2008, 19:22


Introduction forum's welcome bot. Guru of Indian-style coding .
Russian spy. Master of copypasta. Google's right hand.
Advanced lamer of Modders.


May translate your MOD to Russian.

bbjimbb
New member
New member
Posts: 6
Joined: 22 Jan 2008, 06:43

Re: SQL Query script

Postby bbjimbb » 21 Feb 2008, 19:23

How? (In code with this thing)

User avatar
Mike TUMS
Member
Member
Posts: 162
Joined: 16 Jan 2007, 05:51
Real name: Mihail
Location: Moscow, RU

Re: SQL Query script

Postby Mike TUMS » 21 Feb 2008, 19:27


Introduction forum's welcome bot. Guru of Indian-style coding .
Russian spy. Master of copypasta. Google's right hand.
Advanced lamer of Modders.


May translate your MOD to Russian.

bbjimbb
New member
New member
Posts: 6
Joined: 22 Jan 2008, 06:43

Re: SQL Query script

Postby bbjimbb » 21 Feb 2008, 19:29

:O Nice! :checkyes:
Wrong from me! :thumbsdown: :checkno:
I was thinking it going automaticly if I go to that page.

Solved! :checkyes:

Whiskeyjack
New member
New member
Posts: 5
Joined: 30 May 2007, 07:51

Re: SQL Query script

Postby Whiskeyjack » 27 Feb 2008, 11:50

could you package this up into a module for the admin cp? that'd be quite handy, and much more secure.

User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: SQL Query script

Postby igorw » 27 Feb 2008, 15:58

I wrote this a while ago, i don't know how well it works though...

http://phpbbmodders.net/mods/temp/acp_s ... _0.1.0.zip

- we're poor!

Whiskeyjack
New member
New member
Posts: 5
Joined: 30 May 2007, 07:51

Re: SQL Query script

Postby Whiskeyjack » 28 Feb 2008, 11:09

thanks a lot, haven't test any SQL in it yet, but it installed just fine.

User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian

Re: SQL Query script

Postby Obsidian » 02 Jun 2008, 15:52


User avatar
igorw
Past Contributor
Past Contributor
Posts: 1967
Joined: 01 Jun 2006, 20:48
Real name: Igor

Re: SQL Query script

Postby igorw » 02 Jun 2008, 15:56

Whoopsies, fixed. I think i need to update this script some time.

- we're poor!

User avatar
Kamahl
Member
Member
Posts: 135
Joined: 02 Jan 2008, 13:08
Real name: Martin
Location: Slovakia

Re: SQL Query script

Postby Kamahl » 03 Jun 2008, 12:25

wow, very useful mod, it saves a lot of time :)
||




User avatar
Obsidian
Supporter
Supporter
Posts: 736
Joined: 13 May 2008, 15:20
Real name: Damian

Re: SQL Query script

Postby Obsidian » 03 Jun 2008, 12:59

Hey, evil, does this display a success/error message upon submit, or do we just get the general error of doom page if something is incorrect?


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “Tools for MOD authors”

Who is online

Users browsing this forum: CommonCrawl [Bot] and 0 guests