Search found 363 matches

by daroPL
Mon Dec 27, 2010 11:00 pm
Forum: General Discussion
Topic: Lecture in Computer Science
Replies: 8
Views: 2437

Re: Lecture in Computer Science

RMcGirr83 wrote:The birth of the internet itself?
It seems to be a good choice.
Darth Wong wrote:What kind of group is it? Do they have any particular focus, other than not being necessarily tech-literate?
It's a group that contains math and computer science students. But they don't have any special knowledge yet.
by daroPL
Sat Dec 25, 2010 9:07 am
Forum: General Discussion
Topic: Lecture in Computer Science
Replies: 8
Views: 2437

Lecture in Computer Science

I'm looking for a material for a speech about some Computer Science things. It has to be about 15-20 sheets. It should be something easy to understand for people without an advanced IT knowledge. I thought about a speech about phpBB, but I think it's hard to talk (generally) about that for 10-15 min...
by daroPL
Wed Dec 22, 2010 9:55 am
Forum: phpBB Discussion
Topic: [Discuss] UMIL 1.0.4 Released
Replies: 32
Views: 5434

Re: [Discuss] UMIL 1.0.4 Released

It's mainly used by MOD authors. You don't need to update your package.
by daroPL
Tue Dec 14, 2010 2:58 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Phpbb Hash Function
Replies: 2
Views: 1374

Re: Phpbb Hash Function

phpbb_hash is an unique hashing function created by phpBB Group. It allows only to encode a string. Decoding isn't possible.
by daroPL
Sun Dec 05, 2010 11:27 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Writing and reading data to the Database
Replies: 4
Views: 227

Re: Writing and reading data to the Database

Have a look at the following articles
http://wiki.phpbb.com/display/DEV/Using ... +Functions (the 1.4.1. User input section)
http://wiki.phpbb.com/display/DEV/Using ... BB3.0+DBAL

it doesn't as easy as you suppose ;-).
by daroPL
Sun Dec 05, 2010 8:06 am
Forum: [3.0.x] MOD Requests
Topic: user gender
Replies: 34
Views: 1607

Re: user gender

Did you tried the igorw's MOD? I guess it should work on the phpBB 3.0.8.
by daroPL
Sun Dec 05, 2010 8:02 am
Forum: [3.0.x] Support Forum
Topic: Sql error when deleting post
Replies: 1
Views: 235

Re: Sql error when deleting post

It looks very strange. Did not you click twice on the delete icon?
by daroPL
Sun Dec 05, 2010 7:53 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help with my block code
Replies: 4
Views: 283

Re: Need help with my block code

I guess it's caused by this part of the code             $message_parser = new s5_parse_message($blockData['block_content']);             $message_parser->parse($allow_bbcode, $allow_urls, $allow_smilies);             $text_center = $message_parser->message;             $bbcode_uid = $message_parser...
by daroPL
Sat Dec 04, 2010 8:46 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Need help with my block code
Replies: 4
Views: 283

Re: Need help with my block code

Try this code function display_s5_blocks($position) {     global $db, $auth, $user, $template;    global $phpbb_root_path, $phpEx, $config, $script_path;     $s5_block = array();     $sql = 'SELECT *         FROM ' . S5_BLOCKS . '         WHERE block_position = "' . $position . '"         ...
by daroPL
Sat Nov 20, 2010 1:10 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: UserID Variable? [found out ignore]
Replies: 1
Views: 319

Re: UserID Variable? [found out ignore]

$user->data['user_id'] is correct.
Does another PHP code in that block work?
by daroPL
Sat Sep 18, 2010 2:49 pm
Forum: [3.0.x] MOD Requests
Topic: Display Total Registered Members in Stats
Replies: 7
Views: 5105

Re: Display Total Registered Members in Stats

You must use the WHERE clause. Use the following code and put the group ID within. //$total_users    = $config['num_users']; $sql = 'SELECT COUNT(user_id) AS total_users     FROM ' . USERS_TABLE . '     WHERE group_id = <group id here>'; $result = $db->sql_query($sql); $total_users = (int) $db->sql_...
by daroPL
Thu Sep 09, 2010 6:18 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Pagination
Replies: 5
Views: 1188

Re: Pagination

As you saw that's only an example. What specifically don't you understand in that code?
by daroPL
Thu Sep 09, 2010 12:57 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Pagination
Replies: 5
Views: 1188

Re: Pagination

by daroPL
Mon Aug 23, 2010 12:33 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Mass creation of topics (at once)
Replies: 4
Views: 293

Re: Mass creation of topics (at once)

You can write a script that uses the method $db->sql_multi_insert().
by daroPL
Fri Jun 04, 2010 9:03 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: [Solved] Want to disable confirmation after login.
Replies: 4
Views: 3457

Re: Want to disable confirmation after login.

In /includes/functions.php find             $redirect = meta_refresh(3, $redirect);             trigger_error($message . '<br /><br />' . sprintf($l_redirect, '<a href="' . $redirect . '">', '</a>'));  and replace with             /*$redirect = meta_refresh(3, $redirect);             trigg...

Go to advanced search