phpBB

Development Discussion Board

phpBB's testing ground of bleeding edge code
Advanced search

Constants and 3.1

General discussion of development ideas and the approaches taken in the 3.x branch of phpBB. The next feature release of phpBB 3 will be 3.1/Ascreaus followed by 3.2/Arsia.

Re: Constants and 3.1

Postby brunoais » Fri Mar 16, 2012 9:51 pm

I just don't know about how performance is important but... Strings are slower to compare than integers, that's a fact.
brunoais
Registered User
 
Posts: 626
Joined: Fri Dec 18, 2009 3:55 pm

Re: Constants and 3.1

Postby Mii » Sat Mar 17, 2012 3:28 pm

Can't you just log all taken numbers in the dbal and make an automod feature picking the next one?
Mii
Registered User
 
Posts: 9
Joined: Sun Aug 14, 2011 6:31 pm

Re: Constants and 3.1

Postby MartinTruckenbrodt » Sat Mar 17, 2012 6:23 pm

Hello Mii,
there should be table with auto increment ids. And add_log, view_log and the ACP log modules just have to look for these ids. Maybe a good idea???!!! It would be a tiny but very usefull table.

Bye Martin
Advanced Block MOD 1.1.1 has been released! - Prevent spam on your phpBB3 board with Stop Forum Spam, BotScout, Akismet, Project Honey Pot and several IP-RBL and Domain-RBL DNS blacklists! - My MODs
MartinTruckenbrodt
 
Posts: 171
Joined: Sun Jan 29, 2006 1:00 pm
Location: Germany

Previous

Return to [3.x] Discussion

Who is online

Users browsing this forum: keith10456 and 11 guests