Search found 490 matches
- 14 Oct 2009, 18:51
- Forum: phpBB Modders
- Topic: Project Tindall Community Discussion
- Replies: 11
- Views: 15702
- 13 Oct 2009, 17:50
- Forum: MOD Feedback
- Topic: [RC] Crunch
- Replies: 25
- Views: 30175
- 13 Oct 2009, 13:02
- Forum: phpBB 3.0.x "Olympus" discussion
- Topic: what code to use to update sql table?
- Replies: 6
- Views: 12633
Re: what code to use to update sql table?
Okay. $data_input = ( isset($HTTP_POST_VARS['data_input']) ) ? $HTTP_POST_VARS['data_input'] : $HTTP_GET_VARS['data_input']; That checks to see if the data needed is in $_POST, and if it is not it checks for the same data in $_GET. data_input = '" . $data_input . "', That's one method for ...
- 12 Oct 2009, 05:10
- Forum: General Discussion
- Topic: What's up, guys :)
- Replies: 2
- Views: 2220
Re: What's up, guys :)
Oh, very much so, as you might be able to tell by our announcement of Project Tindall ([url=http://phpbbmodders.net/board/viewtopic.php?f=16&t=3773]link[/url])
- 08 Oct 2009, 23:27
- Forum: phpBB Development discussion
- Topic: Form with multiple submit buttons?
- Replies: 8
- Views: 12824
Re: Form with multiple submit buttons?
I'll look into this later. One thing I did notice, though, is that hack is violating the GPL. The hack's file states "This hack can be freely used, but not distributed, without permission. " The GPL version 2 (which is what phpBB is licensed under, and all derivatives and other works based...
- 08 Oct 2009, 17:46
- Forum: phpBB Development discussion
- Topic: Safe submission of data
- Replies: 2
- Views: 8875
Re: Safe submission of data
I would recommend link hashes. There's some functions in includes/functions.php that could help with that.
- 08 Oct 2009, 01:23
- Forum: General Discussion
- Topic: Update
- Replies: 5
- Views: 3816
Re: Update
Oh my, he lives!
- 06 Oct 2009, 19:55
- Forum: phpBB Modders
- Topic: Project Tindall Community Discussion
- Replies: 11
- Views: 15702
- 06 Oct 2009, 16:37
- Forum: Announcements
- Topic: New Featured MOD
- Replies: 0
- Views: 11239
New Featured MOD
It's that time again for the phpBBModders.net Featured MOD. It was a close vote, with the team split on the MOD to choose, as both were quite good. This time it is... [url=http://phpbbmodders.net/board/viewtopic.php?f=37&t=3553][img]http://phpbbmodders.net/misc/featured/13/[/img][/url] Ban Hamme...
- 06 Oct 2009, 14:16
- Forum: phpBB Development discussion
- Topic: Form with multiple submit buttons?
- Replies: 8
- Views: 12824
Re: Form with multiple submit buttons?
a) add the "mode" value to the form action URL (because it's always the same mode if the submit button is pressed), and This is what is done with phpBB3, so I would recommend this method. b) on the "submit" button, to submit the item number there (so name="offer_id" an...
- 02 Oct 2009, 18:46
- Forum: phpBB Development discussion
- Topic: Need help updating sql via template form
- Replies: 13
- Views: 15383
Re: Need help updating sql via template form
It looks like the second example initializes $mode if the appropriate GET or POST var isn't set anyways, which is actually a smart thing to do (as it is error-proofing that way), however the code itself isn't quite so clean and (if this were in phpBB3) could be a lot easier to read.
- 02 Oct 2009, 01:11
- Forum: phpBB Development discussion
- Topic: Need help updating sql via template form
- Replies: 13
- Views: 15383
Re: Need help updating sql via template form
Hmmm...I really don't have enough experience with phpBB2 coding methods, so I would suggest you try going to this site, http://www.phpbb2refugees.com/
- 01 Oct 2009, 17:09
- Forum: phpBB Development discussion
- Topic: Need help updating sql via template form
- Replies: 13
- Views: 15383
Re: Need help updating sql via template form
Uhh, not sure what you are trying to do there with the value of the submit button, because submit only returns 1 or 0 for post submission -- value is only the text displayed for the button's visible label.
You may need another hidden input there for the mode.
You may need another hidden input there for the mode.
- 01 Oct 2009, 15:36
- Forum: phpBB Development discussion
- Topic: Need help updating sql via template form
- Replies: 13
- Views: 15383
Re: Need help updating sql via template form
I just looked at this bit here, What I used for input=submit is this: <input type="submit" name="{offer.S_ADMIN_OFFER_EDIT}" value="{L_ADMIN_AUCTION_OFFER_FIELD_EDIT}"> Which references this line in the $Template->assign_block_vars: 'S_ADMIN_OFFER_EDIT' => append_sid(&q...
- 30 Sep 2009, 22:41
- Forum: phpBB Development discussion
- Topic: Need help updating sql via template form
- Replies: 13
- Views: 15383
Re: Need help updating sql via template form
The odd thing is, looking at the error message returned from the DB is showing, has blank values for most of the fields. UPDATE phpbb_auction_offer SET auction_offer_title = '', auction_offer_text = '', auction_offer_admins_uncensored_text = '', auction_offer_comment = '', auction_offer_price_start ...