Loading...
 
Skip to main content

Custom Share Module 0.1dev

Features / Usability

Features / Usability


Re: User Reports not inserting proper User

posts: 42

Update:

Inside the file
~/lib/core/Reports/Send/EmailBuilder/WikiPageChanged.php
the output table is populated properly using the code:

$output = tr(
"%0 edited the wikipage %1 (this history, all history)",
"{$change'data''editUser'}",
"{$change'data''pageName'}",
"\"{$base_url}tiki-pagehistory.php?page={$change'data''pageName'}&diff_style=sidediff&compare=Compare&newver=$newVersion&oldver={$change'data''oldVer'}\"",
"\"{$base_url}tiki-pagehistory.php?page={$change'data''pageName'}&diff_style=sidediff&compare=Compare&newver=0&oldver={$change'data''oldVer'}\""
);

BUT inside the other email building files such as
~/lib/core/Reports/Send/EmailBuilder/StructureAdd.php
the out put table looks like:

$output = tr(
"%0 added %1 wiki page to a structure",
"{$change'user'}", //added editUser
"{$change'data''name'}"
);

and is not populating the table with the proper user inside the '%0' variable. What is the difference here?

There are no comments at this time.

Upcoming Events

1)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3) 
Tiki birthday
4)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting