Search found 85 matches

by hah
Sat Nov 20, 2010 5:56 pm
Forum: phpBB Discussion
Topic: Discuss phpBB-3.0.8 released
Replies: 143
Views: 15568

Re: Discuss phpBB-3.0.8 released

Finally its here.Nice. :)
by hah
Sat Nov 20, 2010 3:34 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Use time translations
Replies: 3
Views: 111

Re: Use time translations

Yes I found the functions from viewtopic, but I forgot to post here.
Thanks. :)
by hah
Wed Nov 17, 2010 8:16 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Use time translations
Replies: 3
Views: 111

Use time translations

Hello I want to display some time with php.
The day time date("D M d, Y g:i a", $row['time']),, its in English and I want to display it in other language as in the posts.How to do that?

For example Wed Nov 17, 2010 10:11 pm => Сря Ное 17, 10:11 (bg).
by hah
Fri Nov 12, 2010 5:03 pm
Forum: [3.0.x] Support Forum
Topic: gen_sort_selects error
Replies: 2
Views: 156

Re: gen_sort_selects error

Thanks it worked. :)
by hah
Fri Nov 12, 2010 10:39 am
Forum: [3.0.x] Support Forum
Topic: gen_sort_selects error
Replies: 2
Views: 156

gen_sort_selects error

Hello I have a page.php and I wanted to use bbcodes from php for the texts there. But when I include functions_content.php I get the error: Fatal error: Cannot redeclare gen_sort_selects() (previously declared in public_html/includes/functions_content.php:44) in public_html/includes/functions_conten...
by hah
Thu Nov 11, 2010 7:20 am
Forum: [3.0.x] Abandoned MODs
Topic: [ABD] BBcode shortcuts
Replies: 4
Views: 1748

[ABD] BBcode shortcuts

Modification Name: BBcode shortcuts Author: hah Modification Description: With this mod you can use shortcuts for BBcodes, with CTRL+B, CTRL+I, CTRL+U. Notice that with this shortcuts there are already functions in your browser.In this mod, the functions are working CTRL+B (bookmarks) for example, ...
by hah
Thu Nov 04, 2010 8:08 pm
Forum: [3.0.x] Support Forum
Topic: Can't change DST
Replies: 4
Views: 349

Re: Can't change DST

Yes.
by hah
Thu Nov 04, 2010 5:16 pm
Forum: [3.0.x] Support Forum
Topic: Can't change DST
Replies: 4
Views: 349

Re: Can't change DST

Yes, yes I realized that there is option in the thing I need.
In acp is only for the global timezone..thanks.
by hah
Thu Nov 04, 2010 5:04 pm
Forum: [3.0.x] Support Forum
Topic: Can't change DST
Replies: 4
Views: 349

Can't change DST

Now the time was changed with 1 hour backward and the time on the board is wrong, but when I turn on or off DST the posted time in new topics is wrong again.I change the DST to on/off even the timezone and its the same time..
by hah
Sat Oct 16, 2010 9:20 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help: I want to update a column in database ...
Replies: 14
Views: 248

Re: Need help: I want to update a column in database ...

<?php /** /* * @package - Donation MOD * @version 1.0b5 * @copyright 2010 (c) Dugi. * @license http://opensource.org/licenses/gpl-license.php GNU Public License * */ /** * @ignore */ define('IN_PHPBB', true); $current_dir = './'; $phpbb_root_path = $current_dir . '../'; $phpEx = substr(strrchr(__FI...
by hah
Sat Oct 16, 2010 8:46 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help: I want to update a column in database ...
Replies: 14
Views: 248

Re: Need help: I want to update a column in database ...

WHERE config_name = 'submitted_amount'";
should be
WHERE config_name = '$submitted_amount'";

The config_name has missing variable $.
by hah
Fri Oct 15, 2010 7:33 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help: I want to update a column in database ...
Replies: 14
Views: 248

Re: Need help: I want to update a column in database ...

What you said is just cleaning up the column in the database, it get's empty after executing the SQL, but doesn't grab anything from the <input> Well, can't you just set it up? I made it with $_POST['submitted_amount']; if its other just change it, that you can't replace a simple text, doesn't mean...
by hah
Fri Oct 15, 2010 4:59 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help: I want to update a column in database ...
Replies: 14
Views: 248

Re: Need help: I want to update a column in database ...

$sql = ("UPDATE phpbb_table SET submitted_amount = '$submitted_amount'");
by hah
Thu Oct 14, 2010 5:20 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help: I want to update a column in database ...
Replies: 14
Views: 248

Re: Need help: I want to record a value in database...

Here is some example. CREATE TABLE phpbb_table (submitted_amount varchar(255) NOT NULL); <?php define('IN_PHPBB', true); $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './'; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpb...
by hah
Thu Oct 14, 2010 4:45 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Remove Re: from Quick replies
Replies: 4
Views: 106

Re: Remove Re: from Quick replies

In viewtopic.php replace

Code: Select all

'SUBJECT'                => 'Re: ' . censor_text($topic_data['topic_title']),
with

Code: Select all

'SUBJECT'                => censor_text($topic_data['topic_title']),

Go to advanced search