Forum Activity for @michael

michael
@michael
05/18/17 06:44:31PM
7,826 posts

Change color of menu icon


Design and Skin Customization

put that data:image into the address bar and you will see what it is an image of:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAADhJREFUeNpi/P//PwOtARMDHQBdLGFBYtMq3BiHT3DRPU4YR4NrNAmPJuHRJDyahEeT8Ii3BCDAAF0WBj5Er5idAAAAAElFTkSuQmCC

--edit---
Make the box 'transparent' to have the background gradient show through.
white_lines.jpg white_lines.jpg - 57KB

updated by @michael: 05/18/17 06:46:27PM
michael
@michael
05/18/17 02:08:38AM
7,826 posts

How to leave? (How to delete, or how to remove, own account?)


Using Jamroom

You can put this smarty function in a profile template if its not there already for you:
{jrProfile_delete_button profile_id=$_profile_id}

It comes from the profile_header.tpl file of all the jamroom made skins and relies on that setting you pointed out:
ACP=>Profiles=>Profile=>Profile Options=>Allow Profile Deletion

The button to delete will be where you put it. On the Elastic2 skin its here:
allow_delete_off.jpg allow_delete_off.jpg - 260KB
michael
@michael
05/17/17 07:25:44PM
7,826 posts

Video Stream URL


Jamroom Developers

There are other options too in there, Check out the datastore. any of the options that has _extension will probably stream.

.....
1	1	video_file_track	0	1
1	1	video_image_name	0	jrVideo_1_video_image.jpg
1	1	video_image_size	0	77949
1	1	video_image_time	0	1495066249
1	1	video_image_type	0	image/jpeg
1	1	video_file_length	0	00:00:05
1	1	video_image_width	0	1280
1	1	video_file_bitrate	0	1205
1	1	video_file_preview	0	0
1	1	video_image_height	0	720
1	1	video_display_order	0	1
1	1	video_file_extension	0	flv
1	1	video_file_resolution	0	1280x720
1	1	video_image_extension	0	jpg
1	1	video_file_mobile_name	0	jrVideo_1_video_file_mobile.m4v
1	1	video_file_mobile_size	0	342358
1	1	video_file_mobile_time	0	1495066249
1	1	video_file_mobile_type	0	video/mp4
1	1	video_file_stream_count	0	2
1	1	video_file_original_name	0	SampleVideo_1280x720_1mb.mp4
1	1	video_file_original_size	0	1055736
1	1	video_file_original_time	0	1495066233
1	1	video_file_original_type	0	video/mp4
1	1	video_file_mobile_extension	0	m4v
1	1	video_file_original_extension	0	mp4
......
so:
* video_file
* video_file_mobile
* video_file_original

Are worth a try. _original probably wont stream, not sure.
michael
@michael
05/17/17 05:57:51PM
7,826 posts

Change color of menu icon


Design and Skin Customization

There's your problem, you dont have enough blah...'s add a few more and see if it fixes it.

Seriously, though, I need to see the code to help. :)

--edit--
Or a URL of a page where I can see the button. Then I can use Firebug to figure out what to change.
updated by @michael: 05/17/17 06:05:11PM
michael
@michael
05/17/17 05:32:03PM
7,826 posts

Change color of menu icon


Design and Skin Customization

Which icon do you want to change?

There are a couple of ways to do it, you can use CSS to target the item using tags on the page and change the background color that way. Just need to find some useful classes somewhere on the page that allows you to target the icon you're after.

The other way is to change it in the .tpl files.

The template code for an icon looks like this:
{jrCore_icon icon="gear"}
but you can change its size and color like this
{jrCore_icon icon="gear" size="20" color="444444"}
michael
@michael
05/17/17 05:21:50PM
7,826 posts

Video Stream URL


Jamroom Developers

#1 yes.

#2 I just ran a quick test here. Uploaded a .mp4 and a .flv video. When I went to the stream url for the first one, I got a .mp4 file, for the second a .flv. There might be a trigger somewhere in there to request a different format, I'll look for you.

--
The function that fires when a 'stream' url is called is view_jrCore_stream_file().

Inside that function there is a part that checks for the name of the file and it has the extension that is retrieved from the datastore. among the data that is returned from the datastore, there is another similar datastore field that you might be looking for, its 'video_file_mobile'. so instead of streaming the /video_file/ try streaming the /video_file_mobile/ that will return a .m4v file.

#3 ask that again if the above solution doesn't get you what you need.
michael
@michael
05/15/17 04:56:19PM
7,826 posts

v4 Hold Out


Using Jamroom

2tunes:......B the .htaccess file was lost in the transfer .....
not .htaccess, .htpassword
brian:.....you just need to copy over the ".htpasswd" from the Jamroom 4 /config directory......
michael
@michael
05/14/17 10:12:37PM
7,826 posts

Using the URL redirection module "r" to make a shorter URL


Using Jamroom

Perfectly valid use for the redirection module. Well done.

We use it for URL's that might change. So for something like "Recommended Hosting", currently it is company X but if they start to suck and need to be changed to company Y we can update all locations everywhere via one location.

This strategy is particularly useful if you publish things like PDF's. With a PDF, if you put a link in it you can not change the location later on. So if you had a pdf with a link to your recommended hosting company and that destination changed, its still the old destination in all of the PDF's.

1. yes, it receives the incoming link, records the date it was clicked, increments the click count and sends them on to anywhere.

2. yes, purpose is you maintain control of that link and can collect data on its usage.

3. sure.

4. maybe one of the link shortener services could make even shorter links if they were required.
eg: https://is.gd
michael
@michael
05/14/17 07:35:59PM
7,826 posts

add to search database for elevated users


Suggestions

You could use the jrAparna module to create a skeleton module, then use the Form Designer to add the fields you want to that modules form.

Use the quota system to only allow the module to be accessible for profiles in the board members quota.

Maybe even a module for each type:
CONTACT LISTS | MEMBER STATUS | FUNDRAISING LEADS | PAST GRANTS

Then use something like this:
{jrSearch_module_form fields="(YOUR MODULE PREFIX)_name,profile_bio,profile_genre"}

Docs: "Search"
https://www.jamroom.net/the-jamroom-network/documentation/modules/950/search#development

Some reference docs:

Docs: "HowTo: Form Designer + Aparna = Custom Page Module with RSS feed "
https://www.jamroom.net/the-jamroom-network/documentation/module-developer-guide/2463/howto-form-designer-aparna-custom-page-module-with-rss-feed
  223