Search found 490 matches

by m157y
Fri Feb 26, 2010 1:09 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Last Posts/Topics Code Not Working Quite Right
Replies: 14
Views: 951

Re: Last Posts/Topics Code Not Working Quite Right

but if you plan don't use page_footer(); i think it'll be good if you'll call garbage_collection();. Because it's unloading cache(which was loaded on session init) and also it'll close connection to db, which was initiated at common.php.
by m157y
Thu Feb 25, 2010 10:32 pm
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61980

Re: Karma MOD

2 andrius757 Sorry, but currently not. It'll be at next releases. 2 ALL I think. That next release (after this which on validation) Karma MOD will be aimed to copy some key features of User Reputation Mod by idiotnesia (will be called URM next at text), like disable ability negative karma or Karma b...
by m157y
Thu Feb 25, 2010 4:52 pm
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61980

Re: Karma MOD

Sorry, but currently you can't edit karma comments.
by m157y
Thu Feb 25, 2010 12:44 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x
Replies: 17
Views: 1527

Re: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x

Your tables was converted not random ways. Converter just compared your permissions to roles. And half of your forums have permissions like default phpBB's roles and half not. And i'm glad to hear that your question have an answer :) And about displays_forums().. With lot of forums/topics/posts/user...
by m157y
Thu Feb 25, 2010 12:29 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: External Registration - Username check?
Replies: 6
Views: 1531

Re: External Registration - Username check?

You need start session managment for it, so you need this // Start session management $user->session_begin(); $auth->acl($user->data); $user->setup(); After this line include($phpbb_root_path . 'includes/functions_user.' . $phpEx); And if you want to include ./ucp.php lang-file you need this: $user-...
by m157y
Thu Feb 25, 2010 12:16 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x
Replies: 17
Views: 1527

Re: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x

You latest sql-snippet will cause an error :) because you set just forum_id and forum_name without table "pointers". Also if you don't need anything expect forum_id, you're right, you don't need phpbb_forums table. And some information about second part of union, i think you don't understand this: a...
by m157y
Wed Feb 24, 2010 11:31 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: External Registration - Username check?
Replies: 6
Views: 1531

Re: External Registration - Username check?

just add

Code: Select all

$error = validate_username($data['username']);
if ($error)
{
   // Or your error routine
   trigger_error($error);
}
before user_add($data)
by m157y
Wed Feb 24, 2010 10:54 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x
Replies: 17
Views: 1527

Re: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x

As for server-load distinct and union are same, so i'm prefer SELECT DISTINCT f.* FROM phpbb_forums f, phpbb_groups g, phpbb_acl_options ao, phpbb_acl_groups ag, phpbb_acl_roles_data ard WHERE ao.auth_option = 'f_read' AND ( (ag.auth_option_id = ao.auth_option_id AND ag.auth_setting = 1) OR (ard.aut...
by m157y
Wed Feb 24, 2010 9:54 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x
Replies: 17
Views: 1527

Re: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x

Yep, sorry me for my mistake. I missed checker for "Yes" state for auth settings. But we don't need distinct, because guests group can have only one 'f_read' role for each forum. Try this SELECT f.* FROM phpbb_forums f, phpbb_groups g, phpbb_acl_options ao, phpbb_acl_groups ag, phpbb_acl_roles_data ...
by m157y
Wed Feb 24, 2010 8:36 pm
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61980

Re: Karma MOD

Khm, sent to MODDB for validation.
Also i can release it via sourceforge and internal update-checker early then it'll be validated at mod db. :)
by m157y
Wed Feb 24, 2010 4:02 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Test on the domain name
Replies: 5
Views: 236

Re: Test on the domain name

Firstly, sorry me for my typo... You must use generate_board_url(true); . Secondly, you get error because session.php is a class with name session , which defined as $user object, so you need to call it like $user->extract_current_hostname(); . Also i want to say, that generate_board_url() is placed...
by m157y
Wed Feb 24, 2010 8:35 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x
Replies: 17
Views: 1527

Re: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x

No problem :)
P.S.
And it's perfectly looks on iPhone at landscape :)
by m157y
Wed Feb 24, 2010 4:52 am
Forum: [3.0.x] MOD Writers Discussion
Topic: How do I insert a link page into my template?
Replies: 5
Views: 269

Re: How do I insert a link page into my template?

First of all, why first line at html of lasttix.php look like this: <title>Last Minute Tickets</title> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> remove <title>…</title> from it.. after this browser will load DOCTYPE and ...
by m157y
Wed Feb 24, 2010 4:10 am
Forum: [3.0.x] MOD Writers Discussion
Topic: What do you like or not like about MODX?
Replies: 189
Views: 47588

Re: What do you like or not like about MODX?

How much experience do you have using MODX? It's simple, so it's fully written by hands. Do you like MODX? Yes Do you like MODX better than the Text template? Yes What do you like about MODX? It's simple for users understanding because it's perfectly styled. Also it's have a perfect "Select all" bu...
by m157y
Wed Feb 24, 2010 3:53 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x
Replies: 17
Views: 1527

Re: Duplicating phpbb2.0.x forums.auth_view in phpbb3.0.x

Khm, maybe this little description of permissions system is opportunity to correct those message for the article in the Knowledge Base.

Go to advanced search