Search found 990 matches

by kasimi
Sat Jul 11, 2020 10:10 am
Forum: phpBB Custom Coding
Topic: languages file
Replies: 16
Views: 477

Re: languages file

Fair enough. The error message could be translated for users who are on registration page which I would assume are a tiny fraction of your guests. Guests who don't want to register and just browse the forums don't have a way to select their language, unless you're using some custom code for that?
by kasimi
Sat Jul 11, 2020 9:21 am
Forum: phpBB Custom Coding
Topic: languages file
Replies: 16
Views: 477

Re: languages file

How do you decide which language to load? The current user language is stored in the database to which you don't have a connection.
by kasimi
Thu Jul 09, 2020 5:05 pm
Forum: phpBB Custom Coding
Topic: Search question
Replies: 23
Views: 717

Re: Search question

3Di wrote:
Thu Jul 09, 2020 9:51 am
Isn't that related to the search engine on use?
phpBB search backend and MySQL backend don't support it. It seems Sphinx does support it: https://wiki.phpbb.com/Sphinx_Fulltext_ ... _searching
by kasimi
Thu Jul 09, 2020 9:48 am
Forum: phpBB Custom Coding
Topic: Search question
Replies: 23
Views: 717

Re: Search question

Did you actually test it? https://www.phpbb.com/community/search.php?keywords=*phone&terms=all&author=&sc=1&sf=all&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search result= phone, smartphone, megaphone, cellphone, Iphone (and then I stopped looking) The posts with smartphone , megaphone etc also hav...
by kasimi
Sun Jul 05, 2020 10:01 am
Forum: Extension Writers Discussion
Topic: foreach within while
Replies: 4
Views: 181

Re: foreach within while

What's the purpose of this foreach? It doesn't do anything.

Code: Select all

foreach ($columns as $column)
{
    $column = $row[$column];
}
Why do you fetch all columns with sql_list_columns() before selecting the row(s)? You could probably just do this:

Code: Select all

foreach ($row as $column => $value)
{
    ...
}
by kasimi
Sat Jun 20, 2020 7:47 am
Forum: [3.3.x] Extensions Database Releases
Topic: SEO Metadata
Replies: 2
Views: 1040

Re: SEO Metadata

Extension Updated to version 1.3.1
See first post for Download Link
by kasimi
Thu Jun 11, 2020 8:16 pm
Forum: [3.2.x] Support Forum
Topic: Search with wildcard / MYSQL fulltext
Replies: 14
Views: 821

Re: Search with wildcard / MYSQL fulltext

It's not just a phpBB thing but rather a limitation of how the database works. If you use the MySQL search backend, you can't change it ( MATCH ... AGAINST only supports postfix wildcards). If you use phpBB's search backend, you could change it by editing core code, but it will degrade performance t...
by kasimi
Wed Jun 10, 2020 4:55 pm
Forum: [3.2.x] Support Forum
Topic: Search with wildcard / MYSQL fulltext
Replies: 14
Views: 821

Re: Search with wildcard / MYSQL fulltext

The wildcard character doesn't work as prefix *keyword or infix key*word for performance reasons. It only works when used as suffix keyword*. This is the case for the phpBB native index and the MySQL fulltext index, I haven't checked the others.
by kasimi
Tue Jun 09, 2020 10:41 pm
Forum: [3.3.x] Extensions Database Releases
Topic: Group Subscription (PayPal)
Replies: 1
Views: 298

Re: Group Subscription (PayPal)

Extension validated/released
by kasimi
Tue Jun 09, 2020 10:41 pm
Forum: [3.2.x] Extensions Database Releases
Topic: Group Subscription (PayPal)
Replies: 3
Views: 3754

Re: Group Subscription (PayPal)

Extension Updated to version 1.1.2
See first post for Download Link
by kasimi
Mon Jun 08, 2020 10:53 pm
Forum: [3.3.x] Extensions Database Releases
Topic: Member Avatar & Status
Replies: 1
Views: 352

Re: Member Avatar & Status

Extension validated/released
by kasimi
Mon Jun 08, 2020 10:53 pm
Forum: [3.2.x] Extensions Database Releases
Topic: Member Avatar & Status
Replies: 3
Views: 2021

Re: Member Avatar & Status

Extension Updated to version 3.1.2
See first post for Download Link
by kasimi
Mon Jun 08, 2020 6:30 pm
Forum: [3.3.x] Extensions Database Releases
Topic: Amazon Affiliate
Replies: 1
Views: 286

Re: Amazon Affiliate

Extension validated/released
by kasimi
Mon Jun 08, 2020 6:30 pm
Forum: [3.2.x] Extensions Database Releases
Topic: Amazon Affiliate
Replies: 2
Views: 1677

Re: Amazon Affiliate

Extension Updated to version 1.1.0
See first post for Download Link
by kasimi
Sun Jun 07, 2020 8:00 pm
Forum: phpBB Custom Coding
Topic: How can I use these two statements together? [RESOLVED]
Replies: 5
Views: 459

Re: How can I use these two statements together?

Wild guess as to what you want to achieve:

Code: Select all

<!-- IF FORUM_ID neq 37 and (not S_DISPLAY_FULL_LOGIN or not S_LOGIN_REDIRECT) -->

Go to advanced search