Forum Activity for @michael

michael
@michael
01/01/17 10:43:59PM
7,826 posts

How to Include "Add to Timeline" for Forum/Create when posting as Admin?


Using Jamroom

its in the next release of jrForum Version 2.0.10.

Will be released soon, just need another set of eyes on the chosen solution.
michael
@michael
01/01/17 12:47:20AM
7,826 posts

Developing Modules


Jamroom Developers

General rule is:
* if its for your site only, prefix it with xx
* if you have a developer account on jamroom.net use your prefix from there.

sure use 'ds' if you like, that way if they ever are released they wont need any changes. good idea.
michael
@michael
12/31/16 07:09:03PM
7,826 posts

How to Include "Add to Timeline" for Forum/Create when posting as Admin?


Using Jamroom

Think I have figured out what was going on. What is happening is that when an admin user navigates to a profile, the get an 'user_active_profile_id' set as the current profile. Because this is set the admin user is treated as the owner of the profile, they can update any item on that profile in the same way as the owner of the profile does.

The only exception is that if the admin user updates a Blog post it wont be shared to the timeline.

Its this thats getting in the way in the current situation. For forum posts the admin wants to be himself in this case, not an admin user accessing that profiles stuff. This case is different from editing a Blog or Audio or Other on the profile owners behalf. Its the admin user being a normal user writing a normal forum post.

I've added in some code in the forum/create page that sets the admin user back to themselves when creating a forum post. Its working. Im reasonably confident that the solution is the correct one.

The uncertainty area comes around if the admin user had multiple things open in multiple tabs on that profile. eg: admin user starts to write a forum post, opens a new tab, starts to edit a blog post from that profile, goes back to edit the forum post and saves. (who is the admin user being in this case.....)

I've checked it and cant make it fail even doing that, but if you can, let me know the steps. May not be possible, but also maybe.

Thanks Strumeila for the detailed description of how to reproduce it. That helped a lot. :)
michael
@michael
12/31/16 01:43:38PM
7,826 posts

Activity Log Help


Using Jamroom

where are you seeing "... tinymce_imagetools failed to save the adjusted file though...."?

In the activity log? or on the screen when you try to upload stuff. First guess would be space on the harddrive to store the image if its just started happening.

Could you walk me through some steps for me to take to see that happening please.
michael
@michael
12/31/16 01:11:18PM
7,826 posts

Activity Log Help


Using Jamroom

You've tried running the integrity check?

The cause of the issue seams to be those activity timline entries on your-site.com/sos-band/action from 11 months ago with nothing in them.

They appear to supposed to be gallery images, but there is no details of them, the links show up as:
your-site.com//gallery//all

My guess is that the item they were supposed to be linked to may have been deleted...(?)... or maybe they are for a custom module...(?)....

Or it could be that the details in that row display template are using the wrong variable and the templates just need an update.

do you know how to get this situation to repoduce? I could follow those steps to see if i can recreate it. Might notice something.
michael
@michael
12/31/16 12:47:15PM
7,826 posts

Lost the trashcan/delete icon on Index page Timeline in jr6?


Using Jamroom

Well done Strumelia!!

Someone will be around.

--edit--
Worst case scenario: you delete the custom jrAction_item_list.tpl file you have in your skin and the default one gets used again and you site starts working. Then you can re-add your customizations to the working template.
updated by @michael: 12/31/16 12:48:35PM
michael
@michael
12/31/16 12:31:46PM
7,826 posts

Latest Update 12/31/2016


Installation and Configuration

Its definately that WWW in the ajax url thats causing the issue.

You can see in the red at the bottom its trying to load www.musicrush but the site is on the non-www version.

If your site is visible on both musicrush.com and www.musicrush.com that section will only load on the www.version but it seams like your main version is the non-www version. so best to keep it to just that one version for everything.
screenshot_musicrush.png screenshot_musicrush.png - 351KB
michael
@michael
12/31/16 12:23:49PM
7,826 posts

Activity Log Help


Using Jamroom

Dazed:..... makes a little sense but I did a search on "gallery" in the jrAudio templates with no luck. I did a search for "gallery_title_url" in the skins and came up empty also.....
You wont find other modules prefixes in the jrAudio module. We try to keep all modules separate, so if you're looking for a 'gallery_???????' then it will either be in the jrGallery module or in the skin.


--
With
{jrCore_item_list_buttons module="jrAudio" field="audio_file" item=$item}
its asking for "Give me all the buttons that should go here".

You're wanting some specific setup, so you'll want to explode that out so you have finer grained control.

Use:
{jrCore_item_create_button module="jrAudio" view="create" profile_id=$_profile_id title="Create Audio"}


Added some docs here:

Docs: "{jrCore_item_list_buttons}"
https://www.jamroom.net/the-jamroom-network/documentation/jamroom-developers-guide/4611/jrcore-item-list-buttons

Then just add the buttons you want individually and wrap them in whichever IF clauses you require.
michael
@michael
12/31/16 11:53:00AM
7,826 posts

Admin Password Reset


Using Jamroom

Click on the first column, so that you see 1's in the first column. That is all the entries for your first user.

see screenshot
screenshot_database.png screenshot_database.png - 244KB
  300