Forum Activity for @iamtimbo

iamtimbo
@iamtimbo
06/10/15 07:56:21AM
301 posts

Image URLs


Using Jamroom

I'm trying out some conditional formatting to override the CSS in a template for certain quotas. What I would like to happen is that if a profile image has been added, then that is used as the background image for the profile name div.

I know I can do this with an inline style tag, and an if/else requirement for the opening div tag, but I can't fathom how to get the profile image url into the inline styling:



             div.specbackground
              {
                background: url(shouldbethelinktotheprofileimage);
                border: 2px solid black;
                background-width: 100%;
                background-size:100%;
                background-repeat: no-repeat;  
                background-size: cover;
                background-position: center;
              }


I know how to display Images under normal circumstances using the jrImage functions, but not how to construct the URL......
updated by @iamtimbo: 07/19/15 06:09:22AM
iamtimbo
@iamtimbo
06/10/15 06:54:49AM
301 posts

Tag cloud only for $_items


Using Jamroom

I'd like to add a tag cloud, but only for the items that are returned in a template.

I've added this, but to no avail....


{jrTags_cloud height="300" search="gallery_image_title in '$_items'"}


But get no cloud.....
updated by @iamtimbo: 08/08/15 08:40:56PM
iamtimbo
@iamtimbo
06/03/15 01:44:44AM
301 posts

'Normal' users cannot upload photos in 'Embed Local Media'


Using Jamroom

Indeed, it now works perfectly at my end, too. Of course it does.

Thank you for looking, sorry to apparently have wasted your time. Nice bark, though.
iamtimbo
@iamtimbo
06/03/15 01:09:34AM
301 posts

'Normal' users cannot upload photos in 'Embed Local Media'


Using Jamroom

Have you tried adding an image in a comment (say to one f the pictures)?
iamtimbo
@iamtimbo
06/03/15 12:58:02AM
301 posts

'Normal' users cannot upload photos in 'Embed Local Media'


Using Jamroom

support [at] jamroom.net

-------------

Edit: just saw your edit!
updated by @iamtimbo: 06/03/15 12:58:34AM
iamtimbo
@iamtimbo
06/03/15 12:14:46AM
301 posts

'Normal' users cannot upload photos in 'Embed Local Media'


Using Jamroom

Hi there - I've just emailed a standard user login.....
iamtimbo
@iamtimbo
06/02/15 03:15:20PM
301 posts

Cannot access site after attempting to downgrade


Using Jamroom

I'll have a bash at that on Friday and let you know how I get on - thank you! :)
updated by @iamtimbo: 06/02/15 03:16:14PM
iamtimbo
@iamtimbo
06/02/15 03:14:18PM
301 posts

'Normal' users cannot upload photos in 'Embed Local Media'


Using Jamroom

Hi there - I upgraded to 1.3.4 and the issue was still there. For other reasons, I promoted myself to Profile Admin, but a knock-on effect was that the problem went away...but obviously all other normal users will still have it.
iamtimbo
@iamtimbo
06/02/15 02:57:05PM
301 posts

Reassigning action_title in Activity Feed


Using Jamroom

Hi, Paul,

I did a {debug}, but the target variable changes based on what module caused the action - for example, a rating (the first item in the image above) has this in the debug:

action_item => Array (63)
_created => "1433270334"
_updated => "1433270334"
_user_id => "4"
rating_ip => "94.175.19.254"
_profile_id => "10"
rating_index => "1"
rating_title => "Allsorts"
rating_value => "4"
rating_module => "jrGallery"
rating_item_id => "347"
rating_image_size => "141959"
rating_profile_id => "10"
rating_profile_url => "iamtimbo"

where it's using rating_title as my 'target'. In a comment, though, you end up with:

action_item => Array (8)
comment_module => "jrGallery"
comment_item_id => "340"
comment_profile_id => "10"
comment_profile_url => "iamtimbo"
comment_ip => "94.175.19.254"
comment_text => "I took this while I was down at th..."
comment_item_title => "Allsorts"
comment_item_url => "allsorts"
action_shared_by_user => 0
action_shared_by_count => 0

and my 'target' is comment_item_title.

I don't see the image title showing up anywhere in the debug console. Surely there could be lots of different variables that need changing to cover every eventuality?
iamtimbo
@iamtimbo
06/02/15 12:00:44PM
301 posts

Reassigning action_title in Activity Feed


Using Jamroom

I'd like the Activity Feed to show the image title, rather than the gallery it's from, in the activity feed. Two items can appear to refer to the same thing when in fact they don't (see screengrab).

Looking in the jrAction datastore, I can't quite fathom how action_title is set - and how to reengineer it to show the image title....
actfeed.PNG.png actfeed.PNG.png - 6KB

updated by @iamtimbo: 07/07/15 01:17:12PM
  15