Loading...
 
Skip to main content

Category: Easy for Newbie Dev

Easy for Newbie Dev
Show subcategories objects

Name Type
Orphan feature, Include a link to enable jQuery Sortable Tables as it is needed
{syntax type="tiki" editor="plain"}
On a fresh Tiki27 at tiki-admin.php?page=orphanprefs the admin will see the following message:

"The jQuery Sortable Tables feature must be activated for the sort feature to work."

A link or an option to enable the jQuery Sortable Tables feature should be added as well.

{img fileId="3050" thumb="box"}

tracker item
Page buttons: Remove action not aligned with other items in the drop-up
See {img fileId="1237" thumb="box"}
tracker item
Page not found - perhaps you are looking for... listing should be sorted A-Z
"Perhaps you are looking for:" list of similar pages should be listed alphabetically. For example you can see it here it is not sorted at all:
https://tiki.org/Roundtable-Meeting-2020-01
tracker item
Page history button bar is ugly
The pagehistory button bar is ugly.
Look at : https://dev.tiki.org/tiki-pagehistory.php?page=Profiles+revamp

{img fileId="1253" thumb="box"}
tracker item
Directory parent level is missing when moving a file within a file gallery
{syntax type="tiki" editor="plain"}
Using the Tiki File Gallery feature (not Elfinder) it is possible using the bottom dropdown in a file gallery to move a file from a tiki file gallery to a different tiki file gallery. However only children are displayed but not the parent galleries.

I have this in my File Galleries

MainA
/ SubA
// File1
// File2
/ SubB
// File3
MainB
/ SubC
// File4


Let say I want to move File2.
When I select the option "Move" and go back to the selector to select the destination, only these will be displayed
MainA > SubA
MainA > SubB
MainB > SubC

MainA or MainB options are missing.

"Bug report images" and "File galleries" are missing and this is a regression.
{img fileId="3220" thumb="box"}
tracker item
Payments, memberpayment plugin; Payment is done but user is not assigned in the right group
I'm testing the PayPal capabilities of Tiki and this is about the "memberpayment" wiki plugin : https://doc.tiki.org/PluginMemberPayment

Following the doc I used the plugin as simple as possible as well as other requirements;
https://doc.tiki.org/Payment


__Groups__
I created a group;
* Enabled "User can assign himself or herself to the group"
* Set Membership expiry, Number of Days to 365
* Set Pro-rata Membership to "year".

__Payments__
* Payment system: Paypal
* Currency: Euro
* PayPal ID: paypal email
* PayPal environment: Production
* Enable PayPal instant payment notification (IPN)
* Enable Payment data transfer (PDT)
* Set the Payment data transfer (PDT) token
* Redirect after PDT payment: https://dev.domain.org/BernardPremium_homepage

__Subscribe page__
I set a plugin:
{CODE()}
{memberpayment group="BernardPremium" price="1" returnurl="https://dev.domain.org/BernardPremium_homepage"}
{CODE}

---
Use cases
Notes: payment are completed in all cases and it create an row in the Outstanding table (tiki-payment.php#content_payment1-1)

If a member of the Admins group subscribe himself and do a manual payment: He is assigned to the group. The user is redirected to tiki-payment.php?invoice=nn (almost good)

If a member of the Admins group subscribe another user and do a Paypal payment: The user is NOT assigned to the group, he is not returned to the Tiki site automatically. If he clicks on "return to merchant" the user is redirected to tiki-payment.php?invoice=nn (bad)

If a registered user and do PayPal payment: The user is NOT assigned to the group, he is not returned to the Tiki site automatically. If he clicks on "return to merchant" he is returned back to "tiki-payment.php?invoice=nn" (bad)


While I'm not getting into the code I understand 2 mechanism are invoked and not working.
Group assignment
Returning from Paypal

I'm not sure if they are required together to have the user assigned.
tracker item
Payments, registermemberpayment plugin; Payment is done but user is not assigned in the right group
I'm testing the PayPal capabilities of Tiki and this is about the "memberpayment" wiki plugin : https://doc.tiki.org/PluginRegisterMemberPayment

Following the doc I used the plugin as simple as possible as well as other requirements;
https://doc.tiki.org/Payment


__Groups__
I created a group;
* Enabled "User can assign himself or herself to the group"
* Set Membership expiry, Number of Days to 365
* Set Pro-rata Membership to "year".

__Payments__
* Payment system: Paypal
* Currency: Euro
* PayPal ID: paypal email
* PayPal environment: Production
* Enable PayPal instant payment notification (IPN)
* Enable Payment data transfer (PDT)
* Set the Payment data transfer (PDT) token
* Redirect after PDT payment: https://dev.domain.org/BernardPremium_homepage

__Subscribe page__
I set a plugin:
{CODE()}
{registermemberpayment group="BernardPremium " price="1" returnurl="https://dev.domain.org/BernardPremium_homepage"}
{CODE}

---
Use cases (Paypal payment is completed in all cases)

If a member of the Admins group subscribe himself and do a manual payment: I got a WSoD (https://dev.domain.org/tiki-payment.php). (bad)

If a member of the Admins group subscribe himself and do a Paypal payment: The user is NOT assigned to the group, he is not returned to the Tiki site automatically. If he clicks on "return to merchant" the user is redirected to tiki-payment.php?invoice=nn (bad)

If a registered user and do a Paypal payment: The user is NOT assigned to the group, he is not returned to the Tiki site automatically. If he clicks on "return to merchant" he is returned back to "tiki-payment.php?invoice=nn" (bad)

While I'm not getting into the code I understand 2 mechanism are invoked and not working.
Group assignment
Returning from Paypal

I'm not sure if they are required together to have the user assigned.
tracker item
Peculiar layout in tiki-calendar_edit_item.php conflicts with localization
The GUI layout in tiki-calendar_edit_item.php breaks if localization comes into play. Look at the screenshot (attachment) to see these issues, that surface when you want to introduce a repeated event. They are:
a) in "monthly" all ordinals below 10 have a leading zero, which is unnessary. It would do no harm, but surprisingly the leading 0 is separated by the number with a space, which together render wider than the space that was allocated for that, leaving only the leading 0 visible... There is no dot, although ordinals in German have a dot "sixth" is spelled "6." in German.
b) in "yearly", where you can for instance define "every 6th of a month", there is the dot, but as a text input field? Actually you cannot write in there, but is is layouted as a text input field (white background). And here also the width is highly insufficient.

c) I cannot translate the "End period" string. Even if I add the array_merge to custom.php (see the bug report for that). And in tiki-calendar_edit_item.php I do see tr in curly braces, so it should respond to language.php and custom.php, but it doesn't?
tracker item
Permission error on feature is broken (translation ?)
Since recent update on Tiki23 when I have a "feature" error permission the feature is not displayed as it used to be and it show "%0"

{CODE()}
Required features: %0. If you do not have permission to activate these features, ask the site administrator.
{CODE}
tracker item
Permissions, File gallery; Clarifying what "Can download files" mean (can view image)
To allow groups to see a picture or a video stored as a file in Tiki it is necessary to enable "Can download files (tiki_p_download_files)".
On the technical point of view, allowing to download a file store in a file gallery allow to view this file content on a page if the file is a media.

But this is quite confusing for common mortal and new admins. Many time I saw people stuck with this.

For example, an admin want to __display__ a image from the file gallery, to __make visible it__ to his Anonymous visitor. He need to enable "Can __download__ files (tiki_p_download_files)".

Re-wording the name of the permission to "Can download or view files content (tiki_p_download_files)" look still too technical in my point of view.
... Adding a clone of this permission (same of the same) with a different label "Can view media (images, video, Audio, diagram, etc.) (tiki_p_download_files)"

Someone clever should suggest the good way to do it. ;-)
tracker item
PHP warning by lib/setup/javascript.php
{CODE(Colors="Tiki")}
NOTICE (E_NOTICE): Undefined index: mobile_mode
At line 208 in lib/setup/javascript.php
{CODE}

Is constantly shown (to admin only). I have never used the mobile mode...
tracker item
Please add a timeout or mouseout to mouseover popup box with user info
Please add a (small) timeout to the popup box that is launched on mouseover that contains user info, avatar etc.

Or add a mouseout that kills the popup, which would even be better IMHO.

Reason: If you navigate "classic style", i.e. with a mouse, over sites like dev.tiki.org, you constantly mouseover peoples' user info, and this means you have to stop in your mouse movement and go back to the info that caused the popup, which in long lists might take a while, and not before you found the source will it go away... So this behaviour blocks you in your tracks...

Thanks alot!
tracker item
Please add info for admins regarding Google analytics
{syntax type="tiki" editor="plain"}
Tiki has the option to interact with Google Analytics.

Now the first court rulings are there: Google Analytics directly violate the GDPR, therefore they are illegal throughout the EU. Fines are VERY heavy, so this must not be taken lightly. The fines range up to 20 million Euro or 4 percent of a year's turnover (sic! Not profit!), whichever is HIGHER.

Yes, Analytics is optional, and it's the decision of an admin, correct.

But IMHO Tiki should inform the admin when he/she activates this, that compliance with current law must be observed, and that Analytics can be (very) problematic in this regard. And to be on the very safe side, IMHO there should be a checkbox that spells out as confirmation "Yes, I am aware of the compliance issues imposed by this".
tracker item
Please add MIME types for hyperlinks
The list of MIME types that Tiki supports is missing text/x-uri and text/uri-list (RFC 2483 Section 5).

x-uri could also be opened (in a new window), if a user clicks on such a file (basically a text file, which is why currently it gets classified as text/plain.
tracker item
Please rename the start button in the wizards
{syntax type="tiki" editor="plain"}
Please rename the start button of the wizards.

The reason is that the translation function tra() is completely ignorant of context. And at least in German the problem arises that the imperative of starting, that "start" means, is different from the noun that marks the beginning of a calendar event. In English both are "start", but not in German.

In German that is "Beginn" (as with all nouns with upper case 'b'), while the imperative of starting would be "beginne" (as with all verbs with lower case 'b'), or in the preferred more professional looking passive construction "beginnen". The verb "starten" also exists, with that it would either be "starten" or "starte", but this arises the problem that if I rename one, I must as a consequence also rename the other. It is not possible to correctly translate both!

Because tra() is igorant of context... So I have to make a decision which wrong translation does lesser damage... So please find a different string for "Start". Preferrably, since it might take aeons before tra() becomes context sensitive, one that carries the context inside the string itself, like "start wizard". This should be a recommendation FOR ALL STRINGS throughout Tiki...
tracker item
Possible bug at creating base Tiki DB tables
The basic Tiki DB initalization IMHO contains an error. Maybe this is due to a change introduced later that made the INSERT incompatible to the CREATE. /db/tiki.sql contains this at lines 2867-2878:
{CODE(Colors="Tiki")}
DROP TABLE IF EXISTS `users_usergroups`;
CREATE TABLE `users_usergroups` (
`userId` int(8) NOT NULL default '0',
`groupName` varchar(255) NOT NULL default '',
`created` int(14) default NULL,
`expire` int(14) default NULL,
PRIMARY KEY (`userId`,`groupName`(225))
) ENGINE=MyISAM;

INSERT INTO users_groups (`groupName`,`groupDesc`) VALUES ('Anonymous','Public users not logged');
INSERT INTO users_groups (`groupName`,`groupDesc`) VALUES ('Registered','Users logged into the system');
INSERT INTO users_groups (`groupName`,`groupDesc`) VALUES ('Admins','Administrator and accounts managers.');
{CODE}

This should not work. Maybe the resulting error is just ignored? Values are entered into the non-existent column "groupDesc"...
tracker item
Possible wrong feedback diplayed when you access an item from a tracker for whom the field is an itemlink from a group selector field
{syntax type="tiki" editor="plain"}
In a Tiki 29 I use groups for member of the same team.
In a trackerA I set a group selector field1 to select from which group is a contact.
In a trackerB I have an itemlink field2 that display and link to the trackerA field1.

On a wiki page I display information on a plugin list from the trackerB.
The information is displayed but I can also see a feedback from the lib/core/Tracker/Field/GroupSelector.php, a warning on ther top of the page.

{CODE()}
} elseif (empty($includedGroups) && ! $perms->admin_trackers) {
// user not in any of the required groups, use the global default $group and warn
$defGroup = $group;
Feedback::warning(tr('User not in any of the required groups for GroupSelector field'));
{CODE}

For some reason displaying the tracker field2 is running this code and display an error where there is none.

tracker item
Possibly wrong help text for facets
(or, alternatively, wrong user input method) The admin UI for the facet feature describes, that the user shall enter a comma-separated list of categories, yet a multiselection window is presented.

Interestingly, in /lib/prefs/category, where this help string comes from, is text input specified ?! If that would be presented, the text would be right, but somehow it is not...

{CODE(Colors="Tiki")}
'category_custom_facets' => [
'name' => tr('Generate custom facets from categories'),
'description' => tr('Comma-separated list of category IDs.'),
'type' => 'text',
'size' => 15,
'filter' => 'int',
'separator' => ',',
'default' => '',
'profile_reference' => 'category',
],
{CODE}

cf. screenshot (attachment)
tracker item
Printable forms
Provide print and save option in insert new item mode
and print in view mode.

This would enable to create fillable forms.

Provide a "denomination" option: tracker/form.
In some instances calling a form "tracker" may deter users...
Form option could offer more presentation features.
tracker item
Remove flash parameters (and code ?) from the banner feature
On the banner feature there is still mention (and certainly strains of code) of Flash. (flash is dead)

See: http://bsfez-11581-7922.show2.tikiwiki.org/tiki-edit_banner.php

The parameters and the strains of code should be removed.
tracker item
Reply comment should use (more of the) available width
When we have a reply, of reply of reply on the comments (and forum I think) the message width is shrined to something really not useable and good.

https://dev.tiki.org/tiki-view_tracker_item.php?itemId=7838&threadId=9472
tracker item
Reset scores
{syntax type="tiki" editor="plain"}
Sometimes, it's nice to start over...

https://doc.tiki.org/Score-Details
https://doc.tiki.org/Score
tracker item
RSS support broken
Firefox has the RSS feed reader function removed for some while now, MS Edge still carries it. You can add a feed into MS Outlook.

When you add the Feed Indicator add-on to Firefox, it will display RSS feeds available (if you turned the feature on in the Control Panels.

So you can have Outlook and Firefox display, for instance, the Article feed from your Tiki. It will display just headlines and the introduction, and display a link to read the full article. But that link is broken...

Example: Link to article #72 is this:
{CODE(Colors="Tiki")}
WEBSITE/tiki-read_article.php%3FarticleId%3D72
{CODE}

This will only produce a 500 Internal Server Error... The correct syntax would have been:
{CODE(Colors="Tiki")}
WEBSITE/tiki-read_article.php?articleId=72
{CODE}

A look into the generated XML shows this:
{CODE(Colors="Tiki")}
<entry>
<title type="html">TITLE TEXT</title>
<summary type="html">
<strong>HEADLINE</strong>
</summary>
<published>2022-03-02T03:53:00+00:00</published>
<updated>2022-03-02T03:53:00+00:00</updated>
<link rel="alternate" type="text/html" href="WEBSITE/tiki-read_article.php%3FarticleId%3D72"/>
<id>
WEBSITE/tiki-read_article.php%3FarticleId%3D72
</id>
</entry>
{CODE}

So both the question mark and the equals sign got encoded into hex, which shouldn't be...
tracker item
Saved wiki page, the page properties show Description = 1 and Title = 1.
{syntax type="tiki" editor="plain"}
On master, any page I save have the value of 1 added for the Properties: Description and Title.
All my pages have now the title of "1".

It is coming back each time I edit a page, I have to fix manually for each editing.

It is possible more options are affected, I could see only these for the options/features I enabled.
tracker item
Scheduler admin remarksbox warning wrongly displayed
{syntax type="tiki" editor="plain"}
On A Tiki 29 running successfully different scheduler task everyday I can see the " The Scheduler does not seem to have been executed recently." warning
tracker item
Show PHP error messages