Adding sql database inserts to phpbb3.0 Install Script

Discuss the development of future releases of phpBB (phpBB 3.x minor releases) and MODing/Coding related questions.
User avatar
bbrian017
Member
Member
Posts: 64
Joined: 12 Apr 2007, 21:36

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby bbrian017 » 20 Jun 2007, 17:59

| | |

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

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby igorw » 20 Jun 2007, 18:23

Yes, that's another SQL command...

- we're poor!

User avatar
bbrian017
Member
Member
Posts: 64
Joined: 12 Apr 2007, 21:36

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby bbrian017 » 20 Jun 2007, 18:25

| | |

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

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby igorw » 20 Jun 2007, 19:25


- we're poor!

User avatar
bbrian017
Member
Member
Posts: 64
Joined: 12 Apr 2007, 21:36

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby bbrian017 » 20 Jun 2007, 21:12

| | |

User avatar
Ganon_Master
Past Contributor
Past Contributor
Posts: 311
Joined: 20 Nov 2006, 16:23
Real name: Hidde
Location: Soesterberg, Utrecht, The Netherlands

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby Ganon_Master » 21 Jun 2007, 19:52


User avatar
bbrian017
Member
Member
Posts: 64
Joined: 12 Apr 2007, 21:36

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby bbrian017 » 21 Jun 2007, 20:10

from the error message do you think the other command went through in the database alright?

and does it matter where I add it in every file because your find, isn't always there :(
| | |

User avatar
Ganon_Master
Past Contributor
Past Contributor
Posts: 311
Joined: 20 Nov 2006, 16:23
Real name: Hidde
Location: Soesterberg, Utrecht, The Netherlands

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby Ganon_Master » 21 Jun 2007, 21:05


User avatar
bbrian017
Member
Member
Posts: 64
Joined: 12 Apr 2007, 21:36

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby bbrian017 » 21 Jun 2007, 22:12

Thanks guys it works perfect :)
| | |

User avatar
poyntesm
Member
Member
Posts: 70
Joined: 19 Oct 2006, 10:13
Location: Dublin, Ireland

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby poyntesm » 15 Aug 2007, 19:00

If you are adding lots of tables or new field i HIGHLY recommend you look at create_schema_files.php in the /develop folder in the CVS.

In there you store the schema as an array and then let the script generate the schema files. This is better than editing the schema files as datatypes can be different across the DBMS that phpBB supports.
My Mods :, ,
My Blog :

User avatar
Lord Le Brand
Website Team
Website Team
Posts: 223
Joined: 08 Sep 2006, 15:44
Real name: Leroy
Location: Parkstad, Limburg, the Netherlands (GMT+1)

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby Lord Le Brand » 29 Aug 2007, 20:03

good thing i was bored and checked this topic :o
Thanks for that tip poyntesm! :) VERY useful for phpBB Project

User avatar
poyntesm
Member
Member
Posts: 70
Joined: 19 Oct 2006, 10:13
Location: Dublin, Ireland

Re: Adding sql database inserts to phpbb3.0 Install Script

Postby poyntesm » 29 Aug 2007, 20:08

Yes, very important. I have a post nearly ready on it all.
My Mods :, ,
My Blog :


[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 “phpBB Development discussion”

Who is online

Users browsing this forum: No registered users and 0 guests