Search found 11241 matches

by 3Di
Tue Oct 17, 2017 11:05 pm
Forum: [3.2.x] Support Forum
Topic: Missing "posts_approved" in database?
Replies: 2
Views: 46

Re: Missing "posts_approved" in database?

change
WHERE post_approved = 0

to be
WHERE post_visibility = 0

should do.
by 3Di
Tue Oct 17, 2017 5:18 pm
Forum: Extensions in Development
Topic: [3.1][3.2][RC] Top Poster Of The Month (reloaded)
Replies: 93
Views: 2624

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Too late. Please consider to open a feature request there at the github repo, don't hold your breath though. I have too many extensions to take care of first and I consider this project feature frozen at this point in time.

Thanks. :)
by 3Di
Tue Oct 17, 2017 12:33 am
Forum: Extensions in Development
Topic: [3.1][3.2][RC] Prime Note BBcode
Replies: 15
Views: 1402

Re: [3.1][3.2][RC] Prime Note BBcode

Prime Note BBcode v1.1.0-rc (validation release). See first posts. Changes Log since v1.0.0-rc1 [Fix] Compatibility with Rhea. (Thx JoshyPHP) [Fix] Compatibility with All styles. [Task] Code's Check-in prior to submit to CDB Raise version to 1.1.0-rc (submitted to the CDB) Housekeeping Update Exten...
by 3Di
Mon Oct 16, 2017 10:21 pm
Forum: Extension Writers Discussion
Topic: BBcode issue with 3.2.1
Replies: 11
Views: 188

Re: BBcode issue with 3.2.1

Yup, thanks for the explaination and help. :)
I sorted out that everything's correct and works as it should.
+100

Above stated issue due to unknown causes but surely my fault. :?

Well, time to adjust the migration to take care of two different versions of phpBB, now.
by 3Di
Mon Oct 16, 2017 9:31 pm
Forum: Extension Writers Discussion
Topic: BBcode issue with 3.2.1
Replies: 11
Views: 188

Re: BBcode issue with 3.2.1

Resuming the bbcodes (different spans) 'bbcode_match' => '[note]{TEXT}[/note]', '<span class="prime_bbcode_note_spur" onmouseover="show_note(this);" onmouseout="hide_note(this);" onclick="lock_note(this);"></span><span class="prime_bbcode_note">{TEXT}</span>', 'bbcode_match' => '[note={TEXT1}]{TEXT2...
by 3Di
Mon Oct 16, 2017 9:23 pm
Forum: Extension Writers Discussion
Topic: BBcode issue with 3.2.1
Replies: 11
Views: 188

Re: BBcode issue with 3.2.1

Ah I see, the XSL replaces the old HTML replacement, I thought that. Then I got rid of the note= bbcode and amended the note one to the above code.. There is an issue though, that bbcode doesn't work like [URL=http...etc...etc]your test here[/URL] But [note=]your test here[/note] notice the ending b...
by 3Di
Mon Oct 16, 2017 8:46 pm
Forum: Extension Writers Discussion
Topic: BBcode issue with 3.2.1
Replies: 11
Views: 188

Re: BBcode issue with 3.2.1

Well, no idea and no search results for to where to apply such XSL condition, absolutely no clue atm. :?
by 3Di
Mon Oct 16, 2017 8:26 pm
Forum: Extension Writers Discussion
Topic: BBcode issue with 3.2.1
Replies: 11
Views: 188

Re: BBcode issue with 3.2.1

JoshyPHP wrote:
Mon Oct 16, 2017 8:12 pm
It's probably related to this: https://tracker.phpbb.com/browse/PHPBB3-14357

Remove the note= BBCode and modify the other one to use a conditional.
Thanks Joshy, I will give this a shot. And report..
by 3Di
Mon Oct 16, 2017 8:21 pm
Forum: Extension Writers Discussion
Topic: BBcode issue with 3.2.1
Replies: 11
Views: 188

Re: BBcode issue with 3.2.1

It doesn't seems to reflect my situation, the first one is not parsed but the second. And I am not using multiple definitions IMO, but..

reading the tracker I see it could be a case-by-case basis
https://tracker.phpbb.com/browse/PHPBB3-14357
by 3Di
Mon Oct 16, 2017 7:50 pm
Forum: Extension Writers Discussion
Topic: BBcode issue with 3.2.1
Replies: 11
Views: 188

Re: BBcode issue with 3.2.1

BBcodes are installed via migration, here's the excerpt related /** * @var array An array of bbcodes data to install */ $bbcode_data = array( 'note' => array( 'bbcode_match' => '[note]{TEXT}[/note]', 'bbcode_tpl' => '<span class="prime_bbcode_note_spur" onmouseover="show_note(this);" onmouseout="hid...
by 3Di
Mon Oct 16, 2017 7:41 pm
Forum: Extension Writers Discussion
Topic: BBcode issue with 3.2.1
Replies: 11
Views: 188

BBcode issue with 3.2.1

Hi all, I just noticed a bbcode out of 2 isn't working any more in my extension (which is a port). Last time I checked time ago it worked just fine, I am unable to cactch the issue atm. Here is the repo: https://github.com/3D-I/notebbcode Here are 2 grabs of the usage, the red one is the faulty one....
by 3Di
Mon Oct 16, 2017 6:32 pm
Forum: Extensions in Development
Topic: [3.1][3.2][RC] Top Poster Of The Month (reloaded)
Replies: 93
Views: 2624

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

TPOTM v2.0.5-RC (Validation release). See first posts. Changes Log since v2.0.4-rc [Feature] ACP - (2) separated cache TTLs for Top Posters Ever's viewport (Hall of fame). [Fix] Corrected Bans' query, just User-IDs are catched but IPs/Emails. [Task] ACP layout re-ordered. [Task] Code's Check-in pri...
by 3Di
Mon Oct 16, 2017 2:59 pm
Forum: Extension Writers Discussion
Topic: Function to dynamically decrement the cache time
Replies: 10
Views: 267

Re: Function to dynamically decrement the cache time

I have to admit is way more elegant than mine, indeed. Still I have some doubt about the precision on Leap Years, the more I read the docs and search the more I am convinced to do not dismiss what I know it perfectly works for a new implementation. So to speak, if ain't broken don't repair it. :) Th...
by 3Di
Mon Oct 16, 2017 1:29 am
Forum: Extensions in Development
Topic: [3.1][3.2][RC] Top Poster Of The Month (reloaded)
Replies: 93
Views: 2624

Re: [3.1][3.2][RC] Top Poster Of The Month (reloaded)

Please expand/re-phrase the question, Thanks.
by 3Di
Mon Oct 16, 2017 1:25 am
Forum: Extension Writers Discussion
Topic: Function to dynamically decrement the cache time
Replies: 10
Views: 267

Re: Function to dynamically decrement the cache time

A bit shorter and more expressive: $ttl_diff = strtotime('last day of this month midnight') - time(); Hi kasimi, I would not trust the above code but mine. ;) Example: $end_last_month = strtotime('last day of last month midnight'); $end_this_month = strtotime('last day of this month midnight'); ech...

Go to advanced search

cron