Search found 490 matches

by m157y
Thu Mar 04, 2010 8:52 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: Error of BBCode in External Page
Replies: 6
Views: 411

Re: Error of BBCode in External Page

And why it must it shows? You don't called bbcode parser: $bbcode->bbcode_second_pass($message, $bbcode_uid, $bbcode_bitfield); don't forget a checker if ($bbcode_bitfield) { // bbcode routine here } also you need init your bbcode class $bbcode = new bbcode(base64_encode($bbcode_bitfield)); and fina...
by m157y
Thu Mar 04, 2010 10:01 am
Forum: [3.0.x] MOD Writers Discussion
Topic: jGrowl sticky on Forum
Replies: 12
Views: 634

Re: jGrowl sticky on Forum

Want with cookies? Khm, use this: include/function.php FIND define('HEADER_INC', true); AFTER ADD $s_jgrowl = false; if ($user->page['page_name'] == 'index.' . $phpEx) { $jgrowl = request_var($config['cookie_name'] . '_jgrowl', 0, false, true); $s_jgrowl = (!$jgrowl) ? true : false; unset($jgrowl); ...
by m157y
Thu Mar 04, 2010 9:33 am
Forum: [3.0.x] MOD Writers Discussion
Topic: Action on user delete
Replies: 1
Views: 135

Re: Action on user delete

includes/functions_user.php function user_delete() place it here.. best way if in your table you have a field user_id, just update an $table_ary array, by default it looks like $table_ary = array(USERS_TABLE, USER_GROUP_TABLE, TOPICS_WATCH_TABLE, FORUMS_WATCH_TABLE, ACL_USERS_TABLE, TOPICS_TRACK_TAB...
by m157y
Wed Mar 03, 2010 7:20 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: [QUESTION] Image from /images/ from css
Replies: 2
Views: 155

[QUESTION] Image from /images/ from css

I have an a little question to MOD team. Can i put an image to ./images/ folder at root of phpbb and use it from css-file at style, does it agree with coding-guidelines?
P.S.
I want it because ajax-loading image will be same for all styles, as i think.
by m157y
Wed Mar 03, 2010 1:22 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: jGrowl sticky on Forum
Replies: 12
Views: 634

Re: jGrowl sticky on Forum

Of course i doesn't work at WordPress, because SCRIPT_NAME is a variable of phpBB, also, as i remember at WordPress used little different way for if-else statements at templates. PS My nickname is m157y, not m157y ;) Edit: Some google and i'm right :) At wordpress it must be something like this: <?p...
by m157y
Wed Mar 03, 2010 12:41 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: jGrowl sticky on Forum
Replies: 12
Views: 634

Re: jGrowl sticky on Forum

as i think this plugin must be at <head> section of html.
so you can use this:

Code: Select all

<!-- IF SCRIPT_NAME == 'index' -->
YOUR SCRIPT ROUTINE HERE
<!-- ENDIF -->
by m157y
Tue Mar 02, 2010 10:00 pm
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61963

Re: Karma MOD

you set default value for new users, so it's okay. :)
by m157y
Tue Mar 02, 2010 9:45 pm
Forum: [3.0.x] MOD Writers Discussion
Topic: [RFC] UMIL design proposal: Data providers
Replies: 3
Views: 1018

Re: [RFC] UMIL design proposal: Data providers

2 evil<3 Khm, i thinks that php will be better here, we don't need spend time to parse it, just include the file, also most mod developers don't love xml :) what about yaml.. i think my opinion will be not objectively, because i don't like yaml. :mrgreen: And one more plus to PHP-schemas most author...
by m157y
Tue Mar 02, 2010 9:30 pm
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61963

Re: Karma MOD

Agrh. For 1.4.0 this question added to FAQ: I was changed toplist users value at ACP, but board still shows 3 users at list. That's not problem, because you're changed default value, which will be used for guests and while registration, but not for already exists users. They must change it via User ...
by m157y
Mon Mar 01, 2010 8:41 am
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61963

Re: Karma MOD

Yep, it works like on 3.0.6, but as you see little problem at phpbb updater.
by m157y
Mon Mar 01, 2010 7:58 am
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61963

Re: Karma MOD

3.0.7 release was earlier then i wait, so update for karma mod wasn't released :(
by m157y
Mon Mar 01, 2010 6:22 am
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61963

Re: Karma MOD

2 channelasian & krawlingkaos & channelasian & Anyasha
Sorry me for this error. Please use this quick fix

2 SuperFedya
It's already done for 1.6.0
by m157y
Sun Feb 28, 2010 8:49 pm
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61963

Re: Karma MOD

Sorry, just a typo:

Code: Select all

      global $db, $user, $phpbb_root_path, $phpEx;

      // Load additional user functions, if not loaded
      if (!function_exists('user_ban'))
      {
         include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
      }

      // Catch username
by m157y
Sun Feb 28, 2010 8:29 pm
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61963

Re: Karma MOD

Of course. Catch it. OPEN includes/mods/functions_karma.php FIND global $db, $user; // Catch username REPLACE WITH global $db, $user, $phpbb_root_path, $phpEx; // Load additional user functions, if not loaded if (!function_exists('user_ban')) { include($phpbb_root_path . 'includes/functions_user.' ....
by m157y
Sun Feb 28, 2010 8:21 pm
Forum: [3.0.x] MOD Database Releases
Topic: Karma MOD
Replies: 283
Views: 61963

Re: Karma MOD

2 dragnaar Ooops, my mistake. We'll be fixed at next release. Thanks for your report. 2 ALL I have some questions to you: Does we need karma approve? (Can be enabled/disabled via ACP) Does we need sort/search by average karma value for post/topic? If you'll go to post details page at mcp, you'll see...

Go to advanced search