Forum Activity for @michael

michael
@michael
09/13/15 11:41:43PM
7,832 posts

need specifics of how video uploads are handled to diagnose an issue


Ning To Jamroom

You're going to need to track down the source of the error to continue further. Start at any javascript errors in the console when it reaches 100%.

That might give a clue as to where to look next.

If its a jamroom problem chances are high there will be something in the activity log/error log/ debug log.

If its a server thing then the server error logs.

--edit--
also look in the:
/core/data/cache/(THE MODULE)
directory to see if there is anything left over ther that looks like temporary stuff. If there is then its the moving phase that has the issue.
updated by @michael: 09/13/15 11:43:53PM
michael
@michael
09/13/15 09:58:25PM
7,832 posts

need specifics of how video uploads are handled to diagnose an issue


Ning To Jamroom

I don't know anything about cloudflair system sorry.

Once the file is fully uploaded 100% to the temp directory then the file is moved into the /media/ directory and given its correct name.

If its failing at the copy point then look for the issue in the destination directory, maybe limit on diskspace, or permissions. For whatever reason the newly uploaded file cant be moved to where it needs to go.

Take a look at the jrAudio module to see the save flow from a form, maybe check out view_jrAudio_create_save() to see how its done in a form.

During the form submit save process the function jrCore_save_all_media_files() fires. That saves the file to the /data/ directory in a format like:

/core/data/cache/jrCore/12046f3177d5079e5528aa7a34175c73/1_audio_file
/core/data/cache/jrCore/12046f3177d5079e5528aa7a34175c73/1_audio_file.tmp

The that file then retrieved with jrCore_get_uploaded_media_files() function if you want it.

Another function to look at is jrCore_save_media_file() which processes the individual files.

Sounds like what your attempting to do is pretty advanced, it would be easier if you setup a debugger.

http://www.jamroom.net/the-jamroom-network/documentation/development/129/setting-up-a-debugging-environment
michael
@michael
09/13/15 05:19:30PM
7,832 posts

Subscribe to a Forum?


Ning To Jamroom

Thanks for the clarification. I'm clear now.
michael
@michael
09/13/15 04:09:03PM
7,832 posts

Insert images into Forum Category ' Category Note ' field


Suggestions

Just tried and you can add HTML in there:
<img src="https://www.jamroom.net/user/image/user_image/1211/icon96/_v=1420678452">
would put a picture of you. :)

The HTML editor is a good idea too if your using that in other places it makes sense.
michael
@michael
09/13/15 04:01:57PM
7,832 posts

cannot copy template to cache error


Ning To Jamroom

Where is the page that that link is coming from?

The link it should be pointing to is:
https://www.dreadlockssite.com/daniela-jameelah-dublin/

That's her profile URL.

(guess) What it looks like is happening is you have a like button somewhere to be able to like her profile, then you have a list of items that you have liked somewhere. The list links to the item and that's where the full URL is coming from. Wherever that link is, it needs to be fixed up to point to the correct location.

What the error is saying is the file:
/modules/jrProfile/templates/item_detail.tpl

doesn't exist (or the cache is not writeable, but in this case its 'doesn't exist'.) so cant be copied. That is because the jrProfile module doesnt have an 'item_detail.tpl' file.

item_detail.tpl file is to show the item ON the profile. you cant show a profile ON a profile, so the template isn't needed or useful.

--edit--
Found the link on here timeline
https://www.dreadlockssite.com/daniela-jameelah-dublin/timeline

I'll go see if I can recreate.
updated by @michael: 09/13/15 04:03:23PM
michael
@michael
09/13/15 03:54:27PM
7,832 posts

Making the "human check" more robust for simple forms


Suggestions

Fair enough concern, but the concern is only valid if you start getting spam. Getting spam?

If not then there's no need to make the system any more complicated.

There are a lot of checks in place on that seemingly simple system. :)
michael
@michael
09/13/15 03:48:07PM
7,832 posts

Subscribe to a Forum?


Ning To Jamroom

ah, gotcha. so your thinking the button does:
* notify me once whenever a new thread is created in this group and also whenever a new comment is posted to the group.

That's different than I was understanding.

That makes it so that if there is a discussion going on in the comments for the group a lot of emails are sent out. Seams like the behaviour is different. Since your only getting 1 notification for the whole topic, but a notification for each comment post.

Not trying to be difficult or confusing, just trying to understand to build the right thing.

Concern is that someone might want to be notified for new topics but not for each comment added to the group. (slightly worried that the comments section gets thought of as a way to communicate to all the watchers of every topic.)

Thoughts?
michael
@michael
09/12/15 08:00:01PM
7,832 posts

Subscribe to a Forum?


Ning To Jamroom

Good to hear you're both talking about the same thing.

This seams different though:
Strumelia:....if new Comments from the Group's Comment Wall could be included in notifications, along with emails for new group discussions, it would be fabulous!....

Seams unconnected to me.

"A new discussion has been started in xxxxxxxx group"
"a new discussion: 'what are we doing on the weekend' has been created in GROUP-SOMETHING, login to check it out, and here are the latest comments from that group:
* xxxx xx xxx x xxxxxx,
* xxxx xx xxx x xxxxxx,
* xxxx xx xxx x xxxxxx,
"

Seams like the topic is the focus of the email and the newst comments on the group are un-related?

Im working on the forum system now and will see if I can feel what your saying when I get to the groups part.
michael
@michael
09/12/15 02:23:38AM
7,832 posts

thumbs up/down every reply in a discussion?


Ning To Jamroom

If its a formatting issue, you could try putting it inside a div, the position the div with css. eg:
<div class="like_buttons">{jrLike_button item=$item action="like" module="jrComment"}
{jrLike_button item=$item action="dislike" module="jrComment"}
</div>

Then position .like_buttons to how you want them.

It looks to me like it probably would go in item_detail.tpl of the jrComment module, perhaps in the .block_config at a guess.
michael
@michael
09/12/15 02:19:09AM
7,832 posts

login page redirecting


Using Jamroom

Those guys know about servers much more than I do, I'd suggest doing what they say. If it doesn't work, Brian is very wise in the ways of servers, so he'll know.

Try it though, I suspect it will sort the issue out.

Well done in your persistence and finally finding it.
  486