Forum Activity for @tomb

alt=
@tomb
06/21/21 06:47:18AM
10 posts

jrSeamless_list in selfmade extension


Jamroom Developers

TomB:
Hi Paul,
we did a substring query on the index site with the extension, without getting results. But when we did the same query on your test site, detached from the extension, we get results. We used exactly the same template code in both queries. The curious thing is, that if we search for "M" we get results, but searching for "rtin" we only get the correct results on the test site.


Thank you
Best regards

Hi Paul,
we found the error, we didn´t fill the fulltext search correctly.

Best regards
alt=
@tomb
06/21/21 04:04:48AM
10 posts

jrSeamless_list in selfmade extension


Jamroom Developers

Hi Paul,
we did a substring query on the index site with the extension, without getting results. But when we did the same query on your test site, detached from the extension, we get results. We used exactly the same template code in both queries. The curious thing is, that if we search for "M" we get results, but searching for "rtin" we only get the correct results on the test site.


Thank you
Best regards
updated by @tomb: 06/21/21 04:05:36AM
alt=
@tomb
06/09/21 02:09:05AM
10 posts

Birthdate with year


Jamroom Developers

Hi Paul,
it would be sufficient if the function jrCore_date_birthday_format() interprets one of the formats like %d %b %Y without jumping into the datetime function. In the European standard, the interpretation would be identical to %d %b %Y, but with ".".
The error seems to be caused by the fact that the datetime function cannot handle negative timestamps. Fixing this might be more extensive than adding another option to jrCore_date_birthday_format.
alt=
@tomb
06/07/21 02:10:47AM
10 posts

search bar


Jamroom Developers

Thank you for your quick answer.
The question is, is the order parameter JrCore_list overwritten, or do we have to exclude it?
The example:
{jrCore_list module="jrRedBook" template="{$_conf.jrRedBook_redbook_view_index}.tpl" quota_check=false order_by="redbook_order_string asc" pagebreak=30 page=$_post.p pager=true fdebug=false search1="profile_quota_id in 1,6,7,9" search2="profile_lastname != NULL" search3="redbook_deactivate_entry != on" search4="profile_lastname like `$_post._1`%" }
The search results order is always redbook_order_string, although other fields in the RedBook have a higher weighing.
A possible solution may be: We intercept the search parameter {if isset($_post.ss)}, so that we can exclude the order_by, to get the wanted searching criteria?
alt=
@tomb
06/07/21 02:00:49AM
10 posts

Birthdate with year


Jamroom Developers

Is it possible to implement an European format for the birthdate, like %d. %B %Y or %d. %m. %Y as fourth or fifth case?
Thank you
alt=
@tomb
06/07/21 01:49:44AM
10 posts

jrSeamless_list in selfmade extension


Jamroom Developers

Hi Paul,
we think its a custom datastore module (see attached picture). What we want to create is comparable to an adress book, IDs are linked with personal data.
{jrSeamless_list 
                                    	modules="jrRedBook,jrProfile"                                       
                                        template="redbook_item_list.tpl" 
                                        pagebreak=30
                                        page=$_post.p
                                        pager=true
                                        search1="profile_quota_id in 1,6,7,9"
                                        search2="profile_lastname != NULL" 
                                        search3="redbook_deactivate_entry != on"
                                        search4="profile_lastname LIKE %`$_post['ss']`% || profile_firstname LIKE %`$_post['ss']`%"
                                       }
search 1 to 3 are standard search criteria, search 4 was created as a test to get a result at all.
Thank you
Databrowser.JPG Databrowser.JPG - 44KB
alt=
@tomb
06/07/21 12:42:18AM
10 posts

jrSeamless_list in selfmade extension


Jamroom Developers

Hi everyone,
we used the jrSeamless_list in a selfmade extension, but we only receive results from the profile, not from the new extension. Isn´t the condition the _profile_id, which is given in the extension? Or does the extension need another link field? The only condition according to the Documentation is the datastore ( https://www.jamroom.net/the-jamroom-network/documentation/modules/289/seamless), which is given.

Thank you for your help
updated by @tomb: 09/20/21 10:28:59AM
alt=
@tomb
06/07/21 12:26:14AM
10 posts

search bar


Jamroom Developers

Hi everyone,
I have a question about how the search bar works. The JrCore_list creates an output of a list of elements. If it is combined with the jrSearch_module_form with specific search parameters, how do these two influence each other? Is there a weighing of certain parameters? And are the two searching parameters combined with a "with" or "and" query?

Thank you for your help
updated by @tomb: 09/07/21 02:46:50AM
alt=
@tomb
06/04/21 12:34:11AM
10 posts

Birthdate with year


Jamroom Developers

Hi Paul,
we found a possible solution: In the smarty.php we used the template {$item.user_birthdate|jrCore_date_birthday_format:"%d %b %Y"}, which leads to the wanted result. Before that we used %d. %b, which resulted in the default selected case jrCore_default_time, that probably can´t output the correct date.
alt=
@tomb
06/03/21 07:21:34AM
10 posts

Birthdate with year


Jamroom Developers

Hello everyone,
I have a question about the correct output of the birthdate. We changed the default setting that exists since version v.5.4.0 (exclude_year =false) and used the jrCore_date_birthday_format() in our template. This works fine for all dates after the year 1970, but for the years before there is no output at all. (The dates in the database are all correct)
Is this a known issue? And does anyone know how to fix it?
Thank you for your help.
updated by @tomb: 09/07/21 02:43:05AM