Forum Activity for @douglas

douglas
@douglas
11/23/13 11:26:46AM
2,808 posts

Add a new menu at the top of website


Using Jamroom

You can add links to the profile drop down menu, the one next to the ACP drop down menu, via the Core > Tools > Skin Menu Editor.

If you want it on the main nav menu, you would need to modify the header template and add the link in.

Hope this helps,
Douglas
douglas
@douglas
11/23/13 05:30:16AM
2,808 posts

New "Like It" module has been released!


Announcements

blindmime:
I just purchased the VIP membership. I don't see the backstage, etc.

There should be a link in your "blindmime" drop down menu.
douglas
@douglas
11/23/13 04:30:00AM
2,808 posts

Video Genre Field


Using Jamroom

I just tried changing the URL from Music to Audio and it is possible and not that hard to do...

1. Go to your Audio modules info tab and change the URL to something other than audio so we can use that for the URL.

2. Rename your music.tpl to audio.tpl

3. In the audio.tpl file, there are 5 links that you'll need to change the URL from music to audio.

4. In your side_music.tpl and music_genres.tpl file, change the form action parameter to use audio instead of music.

5. In your header.tpl, change the music links to audio.

6. Clear the cache and test.

Hope this helps,
Douglas
douglas
@douglas
11/22/13 04:24:25PM
2,808 posts

Video Genre Field


Using Jamroom

pch:

Then could you please confirm to me whether direct URLs (see the example below) from the top menu to the genres/categories will work?

Example:

<a href="{$jamroom_url}/music/search_area=audio_genre/search_string=conferences">Conferences</a>

<a href="{$jamroom_url}/music/search_area=audio_genre/search_string=debates">debates</a>

Thanks

If you have audio tracks with those genres set, conferences and debates, then yes they should work.

Hope this helps,
Douglas
douglas
@douglas
11/22/13 09:06:00AM
2,808 posts

Video Genre Field


Using Jamroom

pch:
@Douglas

Update:

I have managed to see the genre tab you were talking about. I saw it on this site showcased here in JR:

http://www.mixposure.com/music

Why isn't the Genres tab showing on my site? Same on JR demo.

Now there is another concern popping up:

My guess would be that you aren't using all of the templates from the latest version of ProJam. Have you modified any templates via the ACP > Skins > Templates editor?

If you have, those files will not be overwritten when you update the skin via the Marketplace. Try going back to the default templates and see if the tab shows for you then.

pch:
The Genres tab and the drop down seem to be powered by ajax. The genres load on the same page than the music page (/music). So There is no way to know or grab the direct URL to a specific gernre/category.

I would like to have these URLs because I would like to add genres/categories to the top menu bar.

Since JR skins don't have Genre/Category Pages like on Youtube yet ( http://www.youtube.com/sports)

What is a direct URL to a specific Genres/Categories based on the modification yo gave to me: (/search_area=audio_genre/search_string=.....)

Thanks

The URL's in the drop down are exactly the same as the ones I gave you... you just don't see them in the browser address bar because they are hidden inputs in the drop down form.

To change the word music in the URL, you would need to rename the music.tpl template to what you want it to be, other than audio.tpl of course. Then you would need to modify all the links in the skin templates that lead to the music page so they match the name of the template you just renamed. That is how JR works as far as SEO URL's... ie. the URL for a template named audio_tracks.tpl would be yoursite.com/audio_tracks

Creating a genre page like YouTube would take some time to do. You may want to wait on Steve's module, I don't know what it does, but it may work for what your wanting to do.

Hope this helps,
Douglas
douglas
@douglas
11/22/13 05:01:56AM
2,808 posts

Video Genre Field


Using Jamroom

pch:
Well, I must confess to you that won't be easy for me. :)
Hope, one day you guyz will add genre/category page to skins like in Youtube.

Brian has posted a start to creating a genre page here:

https://www.jamroom.net/the-jamroom-network/forum/design-and-skin-customization/2305/genre-list
douglas
@douglas
11/22/13 04:56:36AM
2,808 posts

Video Genre Field


Using Jamroom

pch:
@Douglas

Thanks a lot for the great support.

douglas:
If you are using ProJam, make sure you have the latest templates, there is a drop down in the genre tab on the right side of the music/video pages that has a dynamic drop down for genres/categories on your site.

Sorry Douglas, I don't see either a genre tab nor a drop down. I am using ProJam 1.0.8. Are you sure they are there?

Sorry, in the ProJam skins, the genre tab I'm referring to is on the left side, not right. There should be a tab next to the Stats and Online tabs at the top left of the music and video pages. If you are not seeing it, then you are probably not using all of the latest templates.

Did you modify the music.tpl via the skins template editor?


pch:
douglas:
You can go to the ACP > Skins > Language tab and change the text there, this way when you upgrade, your changes will not be effected since they get saved to the database. That goes for the module language tabs as well.

Changing the text "music" to "audio" from ACP > Skins > Language tab, will it also change the text "music" from the modification you gave me?

Instead of having:
<a href="{$jamroom_url}/music/search_area=audio_genre/search_string={$item.audio_genre}">{$item.audio_genre}</a>

will we have:

<a href="{$jamroom_url}/audio/search_area=audio_genre/search_string={$item.audio_genre}">{$item.audio_genre}</a>

note: "music" was replaced with "audio"

No, it will not change the music to audio in the URL, that link will not work because the template for the music page is named music.tpl and if you try using audio, it will use the jrAudio/templates/index.tpl instead of the ProJam skins music template.

pch:
douglas:
You can use a jrCore_list function to show a genre/category page, just add a group_by="audio_genre" to the function to list one of each genre on your site. The same would go for the video_category.

Well, I must confess to you that won't be easy for me. :)
Hope, one day you guyz will add genre/category page to skins like in Youtube.

Thanks

If I ever get some free time, I'll see about adding a genre page.

Thanks,
Douglas
douglas
@douglas
11/21/13 09:04:10AM
2,808 posts

form/contact_us


Off Topic

Yes, that looks like it is the latest version, however... If you've made any modifications to your footer template via the template editor, the new code may have not been added.

You should see a Forms drop down section in the admin menu if you have the Custom Forms module installed. It is the same section where the Chained Select, TinyMCE Embed Button and TinyMCE Image Upload modules are. If you don't see it, then you don't have the module installed.

If you don't have the module installed, and your footer link doesn't take you to the new contact_us.tpl file, then your footer code probably hasn't been updated to the latest.

Try switching back to the default footer template and see if the link works then.

Hope this helps,
Douglas
douglas
@douglas
11/21/13 08:52:28AM
2,808 posts

Video Genre Field


Using Jamroom

pch:
Thanks a lot Douglas. It is exactly what I was looking for. I am going to apply the mod and let you know.

Still have few questions:

- Is there a way to shorten theses genre/Category URLs/Links and make them SEF?

Not without making some major modifications to how the music/video templates work. They are already complicated templates as it is and is one of the main reasons for the drop down genre selection, that and so the URL didn't show the search_area=audio_genre etc...

pch:
- Considering the code you gave me, how to have a straight and manually made url to genres and Categories instead of having them dynamically pulled from the database? I would like to create a custom menu or dropdown menu leading to each Genre and Category.

If you are using ProJam, make sure you have the latest templates, there is a drop down in the genre tab on the right side of the music/video pages that has a dynamic drop down for genres/categories on your site.

pch:
- I am not running a music/artist-based site. My audio/videos files are mainly conference recordings, debates, podcasts, seminars, preachings etc. So I have replaced the genre field word: "genre" with the word "audio". I wouldn't like to have the word "music" appeared anywhere in the site since I don't deal with music.

How to get rid of the word "music" in the modification you have just given to me?

- What about if I update my template via Marketplace, will I loose all my changes?


You can go to the ACP > Skins > Language tab and change the text there, this way when you upgrade, your changes will not be effected since they get saved to the database. That goes for the module language tabs as well.

This is also good for templates, just modify them through the ACP > Skin or Module > Templates tab and you won't lose your changes when you upgrade through the Marketplace.

pch:
Last but not least, any idea/clue on how to create something custom to get a video category page?

You can use a jrCore_list function to show a genre/category page, just add a group_by="audio_genre" to the function to list one of each genre on your site. The same would go for the video_category.

Hope this helps,
Douglas
douglas
@douglas
11/21/13 08:23:23AM
2,808 posts

Share Buttons - PJ


Installation and Configuration

Yeah, they were removed since they were not a Jamroom feature or module, it came from http://sharethis.com.

In your account settings you can link your action updates to social sites, Facebook, Twitter etc., using the oneall module.

Or you can use the code below to add those links back in if you like.

Look for something like this in your row templates...

    {if jrCore_module_is_active('jrComment')}
        <span class="normal"> | <a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}#comments"> {$item.blog_comment_count|default:0} {jrCore_lang module="jrBlog" id="27" default="comments"} &raquo;</a></span>
    {/if}
    <hr>

right above the hr tag add this:

    <span class="normal"> | </span>
    <span class='st_facebook' st_title='{$item.blog_title|escape}' st_url='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}'></span><span class='st_twitter' st_title='{$item.blog_title|escape}' st_url='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}'></span><span class='st_email' st_title='{$item.blog_title|escape}' st_url='{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.blog_title_url}'></span><span class='st_sharethis'></span>

then below the closing div tag, that is after the hr tag, add this:

{* share this http://sharethis.com *}
<script type="text/javascript">var switchTo5x = true;</script>
<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
<script type="text/javascript">stLight.options({ldelim}publisher:"388dfdea-9f20-4afd-ad57-a451dd00eac1"{rdelim});</script>

Hope this helps,
Douglas
  268