Forum Activity for @michael

michael
@michael
05/08/17 03:13:28AM
7,826 posts

Unable to put a link containing the string ".jpg" in a comment.


Using Jamroom

As I understand the update.
* Nothing was done to the editor
This means that if the editor did something special with .jpg urls, then that will still happen.

I believe the update was to change the way jamroom wrote urls. So I would expect that any new urls going forward would not have the issue and that any existing items would be fixed if they were updated.

not dense to ask questions. I don't have a complete picture of how to setup to test the scenario so my info may be wrong. Hope im not confusing the situation.
michael
@michael
05/08/17 01:04:33AM
7,826 posts

Server load in Dashboard?


Using Jamroom

Learning new stuff all the time around here too, mostly from brian.

Sometimes the server load will get high, like 5.56 15.21 9.46. but that's not a huge issue unless it stays like that.

If its over 1.0 but stays constantly under 5 it means that the server is overloaded and should be upgraded.

But if it starts climbing to 10+ this could be something stuck, try restarting the web server to get it going again.

As I understand it, the server can function at over 1.0 but anything that gets asked of it will be sent to the back of the queue to be done once its current load of stuff can be finished.
michael
@michael
05/07/17 11:45:02PM
7,826 posts

Server load in Dashboard?


Using Jamroom

Here's some light reading:
https://en.wikipedia.org/wiki/Load_%28computing%29

If those numbers are consistently above 1.0 consider upgrading. 1.0 is 100% of the CPU.

So if they all read 1.0 it would be
* the server has been using 100% of the cpu for the last 1 minute
* the server has been using 100% of the cpu for the last 5 minutes
* the server has been using 100% of the cpu for the last 15 minutes
michael
@michael
05/07/17 08:41:47PM
7,826 posts

Marketplace listing shows bbcode tags


Using Jamroom

Fixed in next jrMarketplace version.

Thanks.
michael
@michael
05/07/17 06:21:47PM
7,826 posts

Custom payment module.


Jamroom Developers

in JR4 we had a separate payment processor script for every payment gateway we supported. They each had to be maintained every time any of the processors changed something.

In JR5 we opted to integrate with Foxycart, so instead of many separate payment gateways to maintain, we only had to maintain one and it could connect to over 100 different payment processors.

This new module sort of goes back to the JR4 structure in that Foxycart become one of the options that plugs in to the module and other plugins can be created.

You probably can build a plugin for paystack, but it probably wont be built by us unless sponsored.
michael
@michael
05/07/17 06:15:49PM
7,826 posts

PAYPAL


Jamroom Developers

duke:
Will I be able to integrate a local payment system using their API ?

hard to comment on. You can directly use the paypal API right now, build your own module.
michael
@michael
05/07/17 06:13:16PM
7,826 posts

Invitation only users


Using Jamroom

We have the invite module:
https://www.jamroom.net/the-jamroom-network/networkmarket/291/invitations

and similar questions have been asked before:
https://www.jamroom.net/the-jamroom-network/forum/using-jamroom/50647/how-can-i-invite-a-mass-of-emails-like-in-a-csv-file
https://www.jamroom.net/the-jamroom-network/forum/suggestions/6336/any-plans-for-an-invite-module

But what you're after does not currently exist.

The invite module only allows users to send out invites to people already joined to the site AND following their profile.

What you're after is a way to email people who are not expecting your email and invite them to join your site.

This concept has possible problems.

If one of your members sends an email to someone who is not interested and they mark it as spam, then you will find your normal emails get harder to be delivered.

Too many spam complaints and our server company says to us that they are getting spam complaints and we have to figure out why or your server gets shut down.

If you must have this structure, then you'll need some custom modules built.
michael
@michael
05/06/17 05:38:53PM
7,826 posts

Unable to put a link containing the string ".jpg" in a comment.


Using Jamroom

From reading these
brian:..... That makes sense and now I remember why it's tricky - basically the editor (tinymce) is interpreting the link to the PAGE as an IMAGE URL. We're not going to change how the editor works, so let me see if changing the title so it removes the period or replaces it with an underscore or something would be the best route......

brian:....This should be fixed now in the latest Image Galleries module (1.8.8) update and let me know if that works. Basically the URL to the item detail page now has the extension removed.....

I think what brian is saying is that any image gallery urls that used to contain the .jpg now dont contain that. So the urls for pages in the gallery that were
site.com/profile/gallery/2/the-image-name.jpg

now are
site.com/profile/gallery/2/the-image-name-jpg

so when they are put into tinymce they dont register to the editor as an image url.

If you are pasting in something that ends in .jpg into the editor, thats still going to be treated as it ever was, but there should be no jamroom urls ending in .jpg that are not actual images.
michael
@michael
05/06/17 05:34:05PM
7,826 posts

Notification links to group discussions


Using Jamroom

Could be. The User module has some updated code in it to deal with user sessions in the beta version of jrUser ver 2.2.0b2

If it is related to active user, that should fix it. Another possibility is wrong variable if you've customized the template, check it against the current version. jrForum had a similar issue that was fixed a while back that was an incorrect link template variable.
michael
@michael
05/06/17 04:47:01PM
7,826 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
  225