Notifications
Clear all

And another problem with shoutbox...

5 Posts
4 Users
0 Reactions
1,422 Views
(@nutella)
Posts: 12
Active Member
Topic starter
 

I already skimmed through all the entries that have the string "shoutbox" in it. Sorry to put it up AGAIN

Okay here it is:

Page http://www.spn-vs.com/index.php

I obviously tried to put up a shoutbox. It did work exceptionally well when I did locally. But when I copied the data to my online server... poof:-(

I'm using the skin Murder though altered a lot.

This is how my index.tpl looks like


      <div class="block">   
      <div class="title">{shoutbox_title}TEST</div>
      <div class="content">{shoutbox_content}</div>
    </div> 

I added

$blocks["shoutbox"]["status"] = 2;

to my variables.php

and the block has been initialized in the admin-menu, set active.

But the only thing I see is the "Test" string I added for good measure.

And when I look at my source via left-click I get this

 <div class="block">    
      <div class="title">TEST</div>
      <div class="content"></div>
    </div>   

I'm probably just stupid and did forget something important but bear with me and help me out. Pretty please πŸ™‚

Also thanks in advance.


 
Posted : 12/01/2010 3:24 pm
 kali
(@kali)
Posts: 307
Reputable Member
 

Your code is correct.
Maybe try uploading the shoutbox block again?


Skins made by Kali are no longer supported!

 
Posted : 12/01/2010 7:41 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

This probably doesn't matter, but the 2 in


$blocks["shoutbox"]["status"] = 2;

means Index Only. It would only appear on the index page. (Whereas you set it to active in the Admin > Menu settings, which means everywhere. Not sure if it's mean to appear everywhere or not, and anyway the variables.php overrides the Admin > Menu settings.)

However it doesn't even appear on the index. This is mostly for future reference. (Source: https://efiction.org/wiki/index.php5?title=Variables.php)

I concur with Kali. Try reuploding the files.

I checked through to make sure all your divs match up, and they do, but I noticed there are two <center> tags but only one </center> tag around the affiliates block. Again, probably doesn't matter, but who knows.


 
Posted : 12/01/2010 10:47 pm
(@nutella)
Posts: 12
Active Member
Topic starter
 

Thanks for trying πŸ™‚

Haven't found a solution yet. Tried re-uploading shoutbox files, too. Even deleted the part in the variables  to see whether the admin ruling works now.

Not even a breath of life  πŸ˜₯

Will keep on trying but if anyone comes up with another idea I'd be happy to hear it.


 
Posted : 14/01/2010 10:49 am
(@merinxd)
Posts: 4
New Member
 

Hey I had the same problem as you. I changed the index.tpl and variables.php and nothing.

So I downloaded another skin that had shoutbox preset and looked at the css to see what was different.
This code was - #shoutlist {
font-size: 12px;
}
.sbshout {
border-bottom: #CCCCCC dotted thin;
margin-bottom: 3px;
}

So I copied it and pasted it into my css and bam! Shout box was working πŸ™‚


 
Posted : 01/12/2010 5:01 am
Share: