Forum Activity for @michael

michael
@michael
05/06/17 04:47:01PM
7,827 posts

Timeline refers to gallery name, not item


Using Jamroom

How to figure this problem out.
* The template that controls how items are displayed in the timeline is the item_action.tpl file found in any module that writes to the timeline.

We want to change the Comment module's structure, so the template is:
jrComment/templates/item_action.tpl

Docs: "Altering a modules template"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/1051/altering-a-modules-template

in that template we have a series of headers. I added some markers HEADER1 HEADER2 HEADER3 to understand which section is actually showing when looking at the timeline. (add_markers.png and results.png)

--
So you need to alter the second section of item_action.tpl to get the header out.

Currently that section looks like this:
......
{elseif isset($item.action_data.comment_item_title) && strlen($item.action_data.comment_item_title) > 0}

    <span class="action_item_desc">{jrCore_lang module="jrComment" id="12" default="Posted a new Comment on"}</span>
    {jrCore_module_url module=$item.action_data.comment_module assign="curl"}
    <span class="action_item_title"><a href="{$item.action_original_item_url}#cm{$item.action_item_id}" title="{$item.action_data.comment_item_title|strip_tags|jrCore_entity_encode}">{$item.action_data.comment_item_title|strip_tags}</a>:</span>

{else}
......

Its checking if the item -> action_data -> comment_item_title is set and if it is then show this section.

I added a {debug} to the template and refreshed.

Docs: "{debug}"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/1477/debug

And can see that the title we are after IS there, but on a different variable. Its there on item -> action_original_data -> gallery_title_url

so if you use that and add a section before the current comment_item_title section then it will fire first.

......
{elseif isset($item.action_original_data.gallery_title_url) && strlen($item.action_original_data.gallery_title_url) > 0}

    <span class="action_item_desc">{jrCore_lang module="jrComment" id="12" default="Posted a new Comment on"}</span>
    {jrCore_module_url module=$item.action_data.comment_module assign="curl"}
    <span class="action_item_title"><a href="{$item.action_original_item_url}#cm{$item.action_item_id}" title="{$item.action_original_data.gallery_title|strip_tags|jrCore_entity_encode}">{$item.action_original_data.gallery_title|strip_tags}</a>:</span>

{elseif isset($item.action_data.comment_item_title) && strlen($item.action_data.comment_item_title) > 0}

    <span class="action_item_desc">{jrCore_lang module="jrComment" id="12" default="Posted a new Comment on"}</span>
    {jrCore_module_url module=$item.action_data.comment_module assign="curl"}
    <span class="action_item_title"><a href="{$item.action_original_item_url}#cm{$item.action_item_id}" title="{$item.action_data.comment_item_title|strip_tags|jrCore_entity_encode}">{$item.action_data.comment_item_title|strip_tags}</a>:</span>

{else}
......

results.jpg results.jpg - 357KB
michael
@michael
05/06/17 12:40:35AM
7,827 posts

Proxima User With Profile Name


Proxima

Also seeing this.
michael
@michael
05/04/17 05:05:41PM
7,827 posts

Proxima User With Profile Name


Proxima

Without digging deep into it I would say no. When you're creating a user, the profile is auto-generated for that use via hooks.

With a custom module you definitely could by listening for the same events that the profile listens for when the user is created and search for your incoming proxima variable, then setting that.

Without a custom module I don't believe a profile_name variable being passed in will be accepted.

So you could get around it by either a custom module doing the listening, or resending a second request after creation with an UPDATE to the profile datastore.
michael
@michael
05/03/17 06:04:37PM
7,827 posts

Facebook Share - Error


Using Jamroom

might not be able to find it. you GAVE me the link to that URL. If I was browsing the site by myself, the link probably would not have been shown to me in any list. (because I can not see it if i clicked)
michael
@michael
05/03/17 05:59:05PM
7,827 posts

Facebook Share - Error


Using Jamroom

Looks like the quota has a maximum number of items allowed.

Best guess: The profile was in a quota that allowed for 100 or more or unlimited uploads. They uploaded heaps, then they were changed to a different quota that only allowed 4, or other low number.
michael
@michael
05/03/17 05:56:29PM
7,827 posts

Facebook Share - Error


Using Jamroom

could be related to limiting of that item. (screenshot)
max_number.jpg max_number.jpg - 61KB
michael
@michael
05/03/17 05:54:09PM
7,827 posts

Installing Facebook Pixel In Meta.tpl issues.


Installation and Configuration

You're assuming people reading this know what the "Facebook pixel tracking code" is. I don't know what that is, but the error in the screenshot looks like it probably requires a {literal} wrap. Try this:

Docs: "{literal}{/literal}"
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/3011/literal-literal
michael
@michael
05/03/17 05:50:25PM
7,827 posts

problem with clone skin tool


Using Jamroom

Yes, just hit the "execute" button. You should see a line of green saying x rows effected.

It reads: "change the strucutre of the jr_jrcore_skin database. Add a new column with the title skin_cloned_from. Things added to that column can be any character, but only up to a limit of 128 characters. If no input comes in when a row is created, dont write NULL instead, just put the contents that you find within these two apostrophes. (which is an empty set)"

After that the cloning of a skin should work without error.
michael
@michael
05/03/17 05:38:13PM
7,827 posts

jrSearch errors in Activity Log


Using Jamroom

Im using:
mysql  Ver 15.1 Distrib 10.1.22-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
and am unable to reproduce the issue.

1.6.5 is where I got the code from.

Checking here:
https://blogs.oracle.com/mysqlinnodb/entry/innodb_full_text_search_is

It looks like you're JUST below the cut-off point.
Quote:
InnoDB Full-Text Search is in MySQL 5.6.4
.........

But its also written in 2011. any chance of upgrading mysql?
michael
@michael
05/03/17 01:46:51AM
7,827 posts

Timeline refers to gallery name, not item


Using Jamroom

You can adjust it so it works that way for your site. The main reason for it being as it is I would think is that its not certain that each photo will have a title.

When you create a gallery you can upload 10 images at a time. None of those images have titles at this point. To give them a title you'd need to edit the individual image in the gallery and give it a title.

Should be able to adjust it in the jrGallery -> item_action.tpl file.
  226