Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Third Party Products and Support:
New Addon: Shout Box (Free!)
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 08/26/09 08:49 
Do you have a link I can take a look at?

I'm not sure if this will be possible.

Thanks Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
boplive



Joined: 03 May 2006
Posts: 817

Posted: 08/29/09 10:57 
Hi...whats up Six....

Hope ur weekend is going well...
here is a link that I found....
I'm trying to do something like that....just adding an extra input box in the form...
but its not working out....

I'll send you a link later of my test page....

http://comments.gentleprojects.com/

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 08/29/09 12:23 
Have you added the variable to the template that displays the comments? That would be the shoutbox_scroller.tpl file

Hope this helps Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
boplive



Joined: 03 May 2006
Posts: 817

Posted: 08/29/09 15:21 
yup... Wink

I been trying this and a few other ways...no go... Rolling Eyes

<a href="{$COMMENT_USER_URL}"><b>{$COMMENT_NICK}</b></a>



Last edited by boplive on 08/29/09 15:42; edited 1 time in total
Back to top
boplive



Joined: 03 May 2006
Posts: 817

Posted: 08/29/09 15:34 
Idea ok....I got it to work.... Laughing
the extra imput field...

I'm going to try it a few times to see...that it's not me bugging Shocked


I'll keep you posted Six...

Thanx for u help...

Back to top
mixy



Joined: 24 Jan 2009
Posts: 429

Posted: 01/04/10 14:43 

SixString:
Its simple and the instructions are for setting it up on the Flashback Forum index page, but you could put this anywhere on your site using any skin with a little know how.

http://www.jamroom.net/index.php?m=td_market&o=browse&category=Jamroom+Addons

I might make templates for the other Jamroom default skins if I see an interest in it.

Hope You Enjoy It! Smile


great initiative but i cant seem to have this work for my Proton2 template.
I change every instance of flashback to Proton 2 and uploaded all files to my proton2 folder but nothing showed up.
Can someone please help to tell me what else i need to do?
Thanks.

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 01/04/10 15:40 

mixy:

great initiative but i cant seem to have this work for my Proton2 template.
I change every instance of flashback to Proton 2 and uploaded all files to my proton2 folder but nothing showed up.
Can someone please help to tell me what else i need to do?
Thanks.


Can you show me what you have so far?

Thanks Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
mixy



Joined: 24 Jan 2009
Posts: 429

Posted: 01/04/10 15:49 
Nothing's showing up on the site yet.Or do you mean the files i edited?
Sorry am asking too many questions but i dont understand what you want me to show you.

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 01/04/10 15:50 
Sorry, I should have been more clear...

can you show me the code you've added and to which template you've added it to?

Thanks Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
mixy



Joined: 24 Jan 2009
Posts: 429

Posted: 01/04/10 16:13 
I followed ur instructions on adding the codes to the cfg and css files.Although i could find the

Code
{include file="$SKIN_DIR/jr_overall_header.tpl"}
in the proton 2 template.
I also changed nova to proton2 in the following shout files

Code
{* load some defaults from our config file *}
{config_load file="`$SKIN_DIR`/Proton2.cfg"}
{* bring in our language strings *}
{jr_lang_prepare skin="Proton2" default="en-US"}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html dir="{jr_lang id="direction" default="ltr"}">
<head>
<title>{$system_name}: Shout Box!</title>
<meta http-equiv="Content-Type" content="text/html; charset={jr_lang id="charset" default="utf-8"}">
<meta http-equiv="Content-Language" content="{jr_lang id="name" default="en-US"}">
<meta name="description" content="{$meta_description}">
<meta name="keywords" content="{$meta_keywords}">
<meta name="designer" content="Talldude Networks, LLC.">
<meta name="generator" content="Jamroom {$version}">
<link href="{$JAMROOM_URL}/skins/Proton2/Proton2.css" type="text/css" rel="stylesheet" media="screen">
<script type="text/javascript" language="javascript" src="{$JAMROOM_URL}/include/js/jamroom_javascript.inc.js"></script>
{* Google analytics *}
{jr_google_analytics page=$title}
{literal}
<script language="javascript">
<!--
function vaultpop(URL) {
  day = new Date();
  id = day.getTime();
  eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=0,width=650,height=600,left = 50,top = 50');");
}
//-->
</script>
{/literal}

{literal}
<script TYPE="text/javascript">
<!--
function targetopener(mylink, closeme, closeonly)
{
if (! (window.focus && window.opener))return true;
window.opener.focus();
if (! closeonly)window.opener.location.href=mylink.href;
if (closeme)window.close();
return false;
}
//-->
</script>
{/literal}
</head>

<body style="padding:15px 10px 10px 10px;">
<div class="title">Your Shout!</div>
<div class="body_2">
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
 {if isset($SUCCESS_TEXT)}
  <tr>
   <td width="100%" style="text-align:center;">
    <h2>&raquo; {$SUCCESS_TEXT}</h2>
   </td>
  </tr>
  <tr>
   <td width="100%" style="text-align:center;">
    <br />
    Use the close button below to close this window and refresh the shout box.
   </td>
  </tr>
 {/if}
  <tr>
   <td width="100%" style="text-align:center;">
    <a name="form"></a>
    <form name="comment" method="post" action="{$JAMROOM_URL}/comment.php?mode=save_comment">
    <input type="hidden" name="band_id" value="{$smarty.config.block_shoutbox_id}">
    <input type="hidden" name="type" value="artist">
    <input type="hidden" name="tpl_dir" value="skin">
    <input type="hidden" name="skin" value="Proton2">
    <input type="hidden" name="template" value="shout_comment.tpl">

    {* we need to check and see if a login is required to post a new review/comment - if it is, show the visitor a message to indicate so *}
    {if $member_login_comment == 'yes' && strlen($_USER.user_nickname) === 0}

      <h2>&raquo; <a href="{$JAMROOM_URL}/login.php" onClick="return targetopener(this,true)"><u>{jr_lang id="61" default="you must be logged in to post an entry"}</u></a></h2>

    {else}

      {if isset($ERROR_TEXT)}
        <h2>&raquo; {$ERROR_TEXT}</h2>
      {/if}

      {* if the user is already logged in to the system, we do not need to show everything, since
         we can get that information from the users profile *}
      {if strlen($_USER.user_nickname) === 0}
        {jr_lang id="54" default="email address"}:<br />
        <input type="text" name="c_email" value="{$c_email}" class="jform input"><br />
        {jr_lang id="62" default="your name"}:<br />
        <input type="text" name="c_nick" value="{$c_nick}" class="jform input"><br />
        {jr_lang id="63" default="your comment"}:<br />
        <textarea name="c_body" class="jform">{$c_body}</textarea><br /><br />
        {jr_form_captcha width="250" height="80"}<br /><br />
        {jr_lang id="55" default="enter the 5 digit validation code from the image"}:<br />
        <input type="text" name="captcha_code" class="jform input" style="width:245px"><br />
      {else}
        <textarea name="c_body" class="jform">{$c_body}</textarea><br />
      {/if}
      <br /><input type="submit" value="Shout!" class="jform button">&nbsp;
      <input type="reset" value="Reset" class="jform button">&nbsp;
      <a href="{$JAMROOM_URL}/forum.php?band_id=0" onClick="return targetopener(this,true)"><img src="{$SKIN_URL}/images/shout_close_button.png" style="vertical-align:middle;margin-bottom:3px;"></a>
      </form>
    {/if}
   </td>
  </tr>
</table>
</div>

</body>
</html>



Code
<tr>
   <td width="100%" class="shoutbox_bckgrnd" style="text-align:center;">

{literal}
<script type="text/javascript">

/******************************************
* Scrollable content script II- © Dynamic Drive (www.dynamicdrive.com)
* Visit http://www.dynamicdrive.com/ for full source code
* This notice must stay intact for use
******************************************/

iens6=document.all||document.getElementById
ns4=document.layers

//specify speed of scroll (greater=faster)
var speed=5

if (iens6){
document.write('<div id="container" style="position:relative;width:689px;height:150px;overflow:hidden">')
document.write('<div id="content" style="position:absolute;width:689px;left:0;top:0">')
}
</script>
{/literal}

<ilayer name="nscontainer" width=689 height=150 clip="0,0,515,150">
<layer name="nscontent" width=689 height=150 visibility=hidden>

<!--INSERT CONTENT HERE-->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td align="center">
  {jr_ranking mode="comment" type="band" band_id=$smarty.config.block_shoutbox_id row_template="shoutbox_scroller.tpl" tpl_dir="skin" skin="Proton2" assign="SHOUTBOX"}
  {if strlen($SHOUTBOX) > 0}
   {$SHOUTBOX}
  {else}
   <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center" style="height:125px;">
    <tr>
     <td align="center" valign="middle" style="font-weight:bold;font-size:13px;">
      Be the first to SHOUT!</span>
     </td>
    </tr>
   </table>
  {/if}
</td>
</tr>
</table>
<!--END CONTENT-->

</layer>
</ilayer>

{literal}
<script language="JavaScript1.2">
if (iens6)
document.write('</div></div>')
</script>
{/literal}


{literal}
<script language="JavaScript1.2">
if (iens6){
var crossobj=document.getElementById? document.getElementById("content") : document.all.content
var contentheight=crossobj.offsetHeight
}
else if (ns4){
var crossobj=document.nscontainer.document.nscontent
var contentheight=crossobj.clip.height
}

function movedown(){
if (iens6&&parseInt(crossobj.style.top)>=(contentheight*(-1)+100))
crossobj.style.top=parseInt(crossobj.style.top)-speed+"px"
else if (ns4&&crossobj.top>=(contentheight*(-1)+100))
crossobj.top-=speed
movedownvar=setTimeout("movedown()",20)
}

function moveup(){
if (iens6&&parseInt(crossobj.style.top)<=0)
crossobj.style.top=parseInt(crossobj.style.top)+speed+"px"
else if (ns4&&crossobj.top<=0)
crossobj.top+=speed
moveupvar=setTimeout("moveup()",20)

}

function getcontent_height(){
if (iens6)
contentheight=crossobj.offsetHeight
else if (ns4)
document.nscontainer.document.nscontent.visibility="show"
}
window.onload=getcontent_height
</script>
{/literal}
   </td>
  </tr>


i uploaded all files into my proton2 folder.[/code]

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 01/05/10 08:41 
Do you have a link to the page?

I can tell you that you'll want to go through the templates and change the class parameters to use the Proton2 CSS classes. I don't have a copy of Proton2 so I can't tell you what to change them to.

Hope this helps Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
mixy



Joined: 24 Jan 2009
Posts: 429

Posted: 01/05/10 09:45 
Just thought i should ask this question,is there any code that i need to place on the template for it to show on the page?Because all i did was install.
Thank you

Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 01/05/10 10:32 
As long as you followed the instructions, you shouldn't have any issues with the templates other then the css classes being different.

Hope this helps Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
Douglas
Jamroom Team


Joined: 08 Oct 2004
Posts: 6639
Location: Tornado Alley!

Posted: 01/05/10 10:35 
This code from the instructions page is the code that displays the shoutbox:


Code
{if $smarty.config.block_shoutbox == '1'}
<div class="title">{$system_name} Shout-Box</div>
<div class="body_1">
<table width="100%" cellpadding="0" cellspacing="5">
  {include file="`$SKIN_DIR`/shoutbox.tpl"}
  <tr>
   <td width="100%">
    <table cellpadding="0" cellspacing="0" border="0" align="center">
     <tr>
      <td width="10%"style="text-align:left;">
        <a href="{$JAMROOM_URL}/comment.php?mode=view_comments&type=band&band_id={$smarty.config.block_shoutbox_id}&template=shout_comment.tpl&tpl_dir=skin&skin=Flashback" onclick="popwin(this.href,'shout_comment','{$smarty.config.shout_popup_width}','{$smarty.config.shout_popup_height}','yes');return false"><img src="{$SKIN_URL}/images/shout_button.png"></a>
      </td>
      <td style="text-align:center;">
       <small>Please do not abuse the Shout-Box or your account<br />may be removed from our database!</small>
      </td>
      <td width="10%" style="text-align:right;">
        <a href="#" onMouseover="moveup()" onMouseout="clearTimeout(moveupvar)"><img src="{$SKIN_URL}/images/chart_up.png" border=0></a>&nbsp;<a href="#" onMouseover="movedown()" onMouseout="clearTimeout(movedownvar)"><img src="{$SKIN_URL}/images/chart_down.png" border=0></a>
      </td>
     </tr>
    </table>
   </td>
  </tr>
</table>
</div>

<br />
{/if}


Hope this helps Smile


_________________
Douglas Hackney
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
mixy



Joined: 24 Jan 2009
Posts: 429

Posted: 01/05/10 17:32 
So should i paste the code in my template where i want it to show?
Thank you.



Last edited by mixy on 01/05/10 17:59; edited 1 time in total
Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Third Party Products and Support

< Previous123Next >
 
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.