Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Ultrabubble:
Installed Sefjam But,...
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 09/20/08 06:58 
Hello all,

I installed sefjam but how I can edit in the proton theme the section: Comments and Friends. There are still the members URLS.

For example: http://psyrec.com/Plague_Sequence/


Greetz,
Acidphantom

Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 09/20/08 13:15 
You can edit the index page Friends in the same way, so /members/57/ becomes /Frog_Outside/ you can use {$BAND_NAME} for this as well.

For comments, I think you will have to continue using the script rather than moving them within the band profile, as the "script" pages are not strictly part of the artist profile.


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
Acidphantom



Joined: 01 Apr 2008
Posts: 783
Location: Germany

Posted: 09/21/08 01:04 
For example the member_fan_gallery.tpl the {$FAN_URL} ....
I already tryt to make from that a sefjam friendly url but nothing works.

I already replaced all {$ARTIST_URL} with
{$JAMROOM_URL}/{$BAND_NAME|jr_theme_string}/

now I need to know how to make that for fans.

it looks very strange if everything is friendly sefjam URLs and just the section comments and fans not. Sad



Code
{math equation="x % y" x=$FAN_RANK y=3 assign="row_counter"}
{if $FAN_RANK == 1}
<tr>
{/if}

<td width="25%" style="text-align: left" valign="bottom"> 
    <br />
    <a href="{$FAN_URL}"><img src="{$FAN_IMAGE_URL}&amp;width=128" width="128" alt="{$USER_NICKNAME}" title="View {$USER_NICKNAME}" /></a><br />
    <a href="{$FAN_URL}">{$USER_NICKNAME}</a>
    <div class="font-10px">{$USER_CREATED|jr_date_format:"date2"}</div>


<span class="font-10px">
{if $USER_EDITOR == 1}
<a href="{$JAMROOM_URL}/index.php?t=jr_editor">editor</a> |
{/if}
</span>

{jr_user_online user_id="$USER_ID" online_time="300"}
{foreach from=$JR_USER_ONLINE key="user_id" item="epoch"}
{if $epoch > 0}
<span class="online">online</span>
{else}
offline
{/if}
{/foreach}


</td>

{if $row_counter == 0}
</tr>
  {* see if we are starting our next row *}
  {math equation="x % y" x=$FAN_RANK y=3 assign="end_counter"}
  {if $end_counter != 0}
   <tr>
  {/if}
{/if}


Back to top
SteveX
Ultrabubble


Joined: 30 Aug 2005
Posts: 8792
Location: Ultrabubble

Posted: 09/21/08 03:41 
Looking at your profile index page, if I take the link /members/57/ and replace it with the member name /Frog_Outside/ it works. So you will need to use whatever variable is producing the band name there.

You can put {debug output="html"} into your template to see which variables are available and producing the band name.

For comments to appear within the profile you would need to use a different set of theme templates to bring the comments within a profile page. I am not aware of any commercially available Jamroom templates that work in this way, but it would be possible.


_________________
Kulshi Mezian!

"Stranger from another planet, welcome to our hole. Just strap on your guitar and we'll play some rock and roll"

Ultrabubble create things.
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Ultrabubble

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.