I am trying to install the shoutbox on the amber theme on the sidebar, however whenever I do I always get parse errors.
I have the box setup for it, but frankly I have no clue were the code is supposed to go.
//The "Shoutbox" box.
echo '<br /><div style="padding: 2px 5px 2px;" class="titlebg0"><center><b>Shoutbox (on hold)</b></div>
<div class="windowbg02" style="padding: 28px;">
<div style="padding: 5px;" class="smalltext">
<b>', $context[', smfshout(), '], '</b>
</div>
</div>';
That is what I have so far: http://dragonhut.roxr.com/forum <<< so you can see where I want to put this thing.
Been trying here for a week and a half but to no avail. Guidance please?
it would appear that you aren't using tinyportal. instead of coding all those little blocks by hand, you could simply post in the "next betas" topic, and then get permissions to download tinyportal and the TP version of amber. then you can use a GUI to set up those blocks, including the same shoutbox you see here, no coding required.
Permission to download the beta versions is not needed any more. Beta is open to the public.
the line...
<b>', $context[', smfshout(), '], '</b>
needs to be....
<b>', smfshout(), '</b>
You were referencing a variable instead of calling the shout function.
Ok thanks Bloc, it seems to be working now. ;) Thanx for the quick response
New problem.
Since I installed the shoutbox (which works by the way), the side bar skewed across the page....I needed to disable guests from viewing the forum without registration and I thought this would of hide the problem...but when they go to register:
(https://www.tinyportal.net/proxy.php?request=http%3A%2F%2Fi27.photobucket.com%2Falbums%2Fc194%2FRedDrake%2FSkewproblem.jpg&hash=bb2b0ef38debcb4f6c2bf323e68da7b902718123)
I get this little issue
Any ideas?
Cannot read on the image what your issue is.
No no, that's just the registration screen. There's nothing to read on it. As you can see, the sidebar is strewn across the screen and not on the left side were it is supposed to be.
Go dragonhut.roxr.com/forum (http://dragonhut.roxr.com/forum) and click on register. You will see what I mean
But when you register, it turns back to normal...very bizarre
EDIT: And I just noticed something new...the shoutbox expands and collapses when you refresh the browser window. It's size depends on how many posts I allow to be shown at one time. Is there a way to anchor this, so that it doesn't expand when refreshing?
I'm sorry for all of the questions, and greatly appreciate the help :)
oh, lol i had no idea tp was public now
It appears you don't have SMF/TP install anymore.
Right right, but now I do. And by god it works now...even with the Amber theme. After reading this thread over and over again I finally saw the AmerTP theme...and went looking. It works like a charm now...shoutbox and everything. ;)
Thanks much for all of your help :)
;) good you got it resolved.