solved Activity Timeline Suggestion

Ceri
Ceri
@adolygwr
9 years ago
370 posts
Would it be possible to increase the 140 character limit and include a 'status update' box in the activity timeline module? I am thinking that these features would be particularly useful on my new home page:- http://americymrunet.jamroomhosting.com/

Also in the Comments module would it be possible to include a link to the page or module item that the original comment was posted on? At the moment there is a link to the user profile BUT if someone wants to reply to the comment (for which there is also a link) they don't necessarily know what page or item was originally being commented on.


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 04/14/16 06:55:25PM
michael
@michael
9 years ago
7,715 posts
The 140 is not enforced when the notes are written, (so its really a its a suggestion). Its only enforced when something is generated on behalf, like a blog post.

In a blog post, its overrideable via
/modules/jrBlog/templates/item_action.tpl

Which you can override via your skin with these steps:

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

The one for blog looks like this:
  {$item.action_data.blog_text|jrCore_format_string:$item.profile_quota_id|jrCore_strip_html|truncate:170}

change that 170 to however big you want to show it.
Ceri
Ceri
@adolygwr
9 years ago
370 posts
OK great...I just put that to the test and you're absolutely right. Status updates are not truncated. In which case I still have two questions:-

Is it possible to remove this line:- "characters left: 140" altogether from profile page status update boxes? I feel that some people will be discouraged from posting if they think they are limited to 140 characters. Many of my members are not active on twitter for that very reason.

Also....would it be possible to include a status update field in the activity timeline widget so that people can update directly from the front page (assuming that the timeline activity widget is displayed there). I have it on the front page of my new JR site but I feel it would be much more convenient if people could update directly from there without having to go back to their home or profile pages.


--
Ceri Shaw - AmeriCymru
michael
@michael
9 years ago
7,715 posts
add:
#action_text_counter {
visibility: hidden;
}
To your skin should hide it.

I've never tried it on the top level of the site, I would expect that it would fail because there is no profile_id there.
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
If you're referring to the 140 character limit for status updates this can be configured in the module settings
brian
@brian
9 years ago
10,148 posts
Ceri:
Also....would it be possible to include a status update field in the activity timeline widget so that people can update directly from the front page (assuming that the timeline activity widget is displayed there). I have it on the front page of my new JR site but I feel it would be much more convenient if people could update directly from there without having to go back to their home or profile pages.

The problem here is that for master, admin, power and multiple profile users, their "profile_id" is NOT set when viewing a skin page, so the system would not know which profile to post to. When creating items the user needs to be ON the profile they want the item created for - that's very low level in Jamroom and how it works.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ceri
Ceri
@adolygwr
9 years ago
370 posts
gary.moncrieff:
If you're referring to the 140 character limit for status updates this can be configured in the module settings

Many thanks....Why didn't I think to look there?? I have become so engrossed in fiddling with templates that I forgot the obvious :) I note also that I can enable the editor for status updates which is perfect. I upped the character limit to 1000 so that people can post mini blog posts to the timeline. Which is exactly what I wanted and a vast improvement on Ning 3 which, despite giving me the option in the dashboard, would never allow me to increase character limits beyond 140. This I suspect, is a bug in Ning 3, but not one they intend to fix anytime soon :)


--
Ceri Shaw - AmeriCymru
Ceri
Ceri
@adolygwr
9 years ago
370 posts
brian:
Ceri:
Also....would it be possible to include a status update field in the activity timeline widget so that people can update directly from the front page (assuming that the timeline activity widget is displayed there). I have it on the front page of my new JR site but I feel it would be much more convenient if people could update directly from there without having to go back to their home or profile pages.

The problem here is that for master, admin, power and multiple profile users, their "profile_id" is NOT set when viewing a skin page, so the system would not know which profile to post to. When creating items the user needs to be ON the profile they want the item created for - that's very low level in Jamroom and how it works.

OK I guess that will work because people arrive on their profile pages as soon as they log in.

I think that it it is vitally important to make posting as easy and attractive as possible so I was wondering the following:-

1. How can I make the Timeline view the default landing page on all profiles?

2. How can I get the share buttons (I am using the share this code) to display on the Timeline Activity profile page view? Just cannot seem to find the right template or template position. I have included a screenshot of where I would like to put them Please excuse my lack of expertise with the GIMP text tool :)

3. Is it possible to provide tooltips which will make it plain to people that posting on their profile page will also appear on the site home page?

4. Does the following code display ALL site activity?
{jrCore_list module="jrAction" profile_id=$_profile_id order_by="_item_id numerical_desc"}
and if so how can I limit the number of items displayed in this view?

p.s. The screenshot below is how I would like member profile pages to look (default view) when they login, together with share buttons and a tooltip if poss explaining that they can post whatever they like here including pics, vids etc and that whatever is posted will appear on the site home page. Hope I've explained that ok.


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 12/29/15 09:55:59AM
michael
@michael
9 years ago
7,715 posts
1. How can I make the Timeline view the default landing page on all profiles?
A: It is for most skins, if it isn't for yours, you can alter the default index via the profile_index.tpl template in your skin.

2. How can I get the share buttons (I am using the share this code) to display on the Timeline Activity profile page?
A: We already went over this in this thread:
https://www.jamroom.net/the-jamroom-network/forum/new_posts/36475/share-this-at-top-of-page/search_string=share

3. Is it possible to provide tooltips which will make it plain to people that posting on their profile page will also appear on the site home page?
A: There is the TIPS module:
https://www.jamroom.net/the-jamroom-network/networkmarket/147/system-tips
Or something custom in your skin

4. Does the following code display ALL site activity?
A: No, you have a profile_id in there, so it will limit to that profile_id
Use pagebreak, or limit, see docs here:

Docs: "{jrCore_list}"
http://www.jamroom.net/the-jamroom-network/documentation/development/89/jrcore-list

Gimp is a good tool, I use it for all the screenshots in the docs.
Ceri
Ceri
@adolygwr
9 years ago
370 posts
Diolch :) Dealt with 3 already....looking at 1,2 and 4 :)


--
Ceri Shaw - AmeriCymru
Ceri
Ceri
@adolygwr
9 years ago
370 posts
RE 4: If I simply remove the profile id (which I just did) is all well? AND how do I determine the number of items that will display. This is important because as I sell more ads in the left column I want to be able to ensure that content scrolls as far as ads.


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 12/29/15 08:28:08PM
michael
@michael
9 years ago
7,715 posts
need to get familiar with that {jrCore_list} function, its everywhere. Its the Swiss army knife of getting stuff you want.

What you have:
{jrCore_list module="jrAction" profile_id=$_profile_id order_by="_item_id numerical_desc"}
"Get me all the action modules items from profile X and order them by newest first"

What you want:
"Get me all the action modules items and order them by newest first and just show 10"
{jrCore_list module="jrAction" limit="10" order_by="_item_id numerical_desc"}

OR
"Get me all the action modules items and order them by newest first and just show 10 per page"
{jrCore_list module="jrAction" pagebreak="10" order_by="_item_id numerical_desc"}

"Get me all the action modules items and order them by newest first and just show 10 per page and show page 2"
{jrCore_list module="jrAction" pagebreak="10" page="2" order_by="_item_id numerical_desc"}


"Get me all the action modules items and order them by newest first and just show 10 per page and allow the user to go to the next page"
{jrCore_list module="jrAction" pagebreak="10" pager="true" page=$_post.p order_by="_item_id numerical_desc"}
Ceri
Ceri
@adolygwr
9 years ago
370 posts
You are correct and I must. It's just that I am bogged down with copy and paste at the moment. I am still six months behind. My migration is complicated by the fact that my backup is 1 and a half years old. However, I will prevail :)


--
Ceri Shaw - AmeriCymru
Ceri
Ceri
@adolygwr
9 years ago
370 posts
btw...many thanks...that works perfectly :)


--
Ceri Shaw - AmeriCymru
Ceri
Ceri
@adolygwr
9 years ago
370 posts
4 is solved :)


--
Ceri Shaw - AmeriCymru

updated by @adolygwr: 12/29/15 11:20:40PM
gary.moncrieff
gary.moncrieff
@garymoncrieff
9 years ago
865 posts
Hi Michael

I always assumed System tips was just for the admincp, as I never seen an easy way to add new tips, is this not the case?
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
gary.moncrieff:
Hi Michael

I always assumed System tips was just for the admincp, as I never seen an easy way to add new tips, is this not the case?

I've always assumed that as well. ?


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Ceri
Ceri
@adolygwr
9 years ago
370 posts
Appears to be the case....just realised :)

Did what I needed to with the language editor anyway :)


--
Ceri Shaw - AmeriCymru
Strumelia
Strumelia
@strumelia
9 years ago
3,603 posts
Was sorry to see your latest choice Ning FB post disappear today...I guess someone at Glam 'finally' noticed it...must have taken a short break from their 'holiday celebrations'.... l o l o l


--
...just another satisfied Jamroom customer.
Migrated from Ning to Jamroom June 2015
Ceri
Ceri
@adolygwr
9 years ago
370 posts
Yes it's a great shame that I will be closing down my Ning site soon. I will miss the opportunity to 'communicate' with my old chums at Glam/Mode :)


--
Ceri Shaw - AmeriCymru
michael
@michael
8 years ago
7,715 posts
gary.moncrieff:...Hi Michael

I always assumed System tips was just for the admincp, as I never seen an easy way to add new tips, is this not the case?...
Its a wrapper module for the jquery plugin 'qTip2'

http://qtip2.com

So while the intention certainly was to get started with modules in the ACP, if its there, it can be used. Haven't done much work with it.