Strona 1 z 1

ajax shoutbox jak zainstalować na stylu SEO?

: 19 kwietnia 2009, 07:24
autor: IceG
Witam
Chciałbym zainstalować sobie na forum ajax shoutbox1.0.3a ale instrukcja instalacji dotyczy stylu prosilver i tu tkwi mój problem.. nie wiem jak zainstalować go na moim stylu. Styl SEO* przypomina trochę składnią subsilver2.
Pozdro

Re: ajax shoutbox jak zainstalować na stylu SEO?

: 19 kwietnia 2009, 08:41
autor: Dares
jesteś pewny? z tego co widzę jest instrukcja dla subsilver: subsilver2.xml

Re: ajax shoutbox jak zainstalować na stylu SEO?

: 19 kwietnia 2009, 09:12
autor: IceG
Plik jest, tylko że jak go otwieram w firefox 3 to mam coś takiego

Kod: Zaznacz cały

http://opensource.org/licenses/gpl-license.php GNU General Public License v2
    Ajax ShoutBox
    This mod add a shoutbox to your forum index.
    This mod requires for the user visiting the forum that he has eneblad JavaScript. Without JavaScript, the shoutbox isn't displayed.

You can place this shoutbox eveywhere on the forum, the only thing you has to do is editing the correct html file, with the changes that are normally done for index_body.html.
    
		  
        Paul Sohier
        mods@paulscripts.nl
        Paul
        http://www.paulscripts.nl/
        
      
    
    
      1
      0
      3
    
    
      easy
      100
      
        3.0.RC7
        3
        0
      
    

    
  
  
    
      
    

		
		    
			    	for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++)
				try
{
				
			
			
				      // we ignore the end value for IE, this is already dirty enough and we don't need it
      caretPos.start = txtarea.sel_start;
      caretPos.end = txtarea.sel_start;
                }
catch(e)
{
}
				
			

		
    
    
      
        <!-- IF not S_USER_LOGGED_IN -->
	<br clear="all" />

	<form method="post" action="{S_LOGIN_ACTION}">


        <!-- INCLUDE shout_body.html -->
      
    
    
      
        </head>
        
<script type="text/javascript" src="{U_SHOUT_STATIC}"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
<script type="text/javascript" src="{U_SHOUT}"></script>
      
        
    
    	
	    	.username-coloured {
		font-weight: bold;
	}
	    	
	#msg > li.row1 {
	display: block;
	list-style-type: none;
	margin: 0;
	height: auto;
	width:98%;
	float: left;
}

#msg > li.row2 {
	display: block;
	list-style-type: none;
	margin: 0;
	height: auto;
	width:98%;
	float: left;
}

#msg > li > dl{
	vertical-align: middle;
	width: 100%;
}

#msg > li > dl > dt{
	width: auto !important;
	white-space: nowrap;
	margin-right: 2px;
}

#msg > li > dl > dd > input{
	margin: 3px;
}

#msg > li > dl > dd#msgbody{
	display: inline;
	padding: 3px 0 1px 0px !important;
	vertical-align: middle;
	float:none !important;
}

#base_ul
{
	list-style:none;
	margin-left: 0;
}

Re: ajax shoutbox jak zainstalować na stylu SEO?

: 19 kwietnia 2009, 09:30
autor: Dares
to otwórz w IE

Re: ajax shoutbox jak zainstalować na stylu SEO?

: 19 kwietnia 2009, 09:52
autor: IceG
Ok zrobiłem SB dyga tylko chciałbym je przenieść wyżej bo na razie mam tak http://s4.zapodaj.net/images/39365147.jpg jak mogę to zrobić?? co i gdzie muszę zmienić??

Re: ajax shoutbox jak zainstalować na stylu SEO?

: 19 kwietnia 2009, 09:55
autor: daroPL
Wklejałeś kod HTML podczas instalacji moda w pliku .../template/index_body.html. Ten sam kod musisz przenieść w tym samym pliku gdzieś wyżej.

Re: ajax shoutbox jak zainstalować na stylu SEO?

: 19 kwietnia 2009, 10:22
autor: IceG
Dzięki udało mi się przenieść :) ale mam jeszcze ostatnie pytanie o shoutbox.. a mianowicie jak i gdzie się czyści pamięć shoutboxa??