Page 1 of 1

Ajax chat within Portal

Posted: 14. April 2010 11:37
by vantoria
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://forum.anivera.com/

What have you done before the problem was there?
Tried to insert the code instructed
http://www.net4seven.de/phpbb3/forum/vi ... ?f=9&t=278
here and added the code into the center custom block

Code: Select all

    <div class="forabg">
       <div class="inner">
          <span class="corners-top"><span></span></span>
          <ul class="topiclist">
             <li class="header">
                <dl>
                   <dt>Shoutbox</dt>
                </dl>
             </li>
          </ul>
          <ul class="topiclist forums">
             <li>
                <dl>
                   <dd style="width: 99%; border: 0; font-size: 1.2em; padding: 3px; margin: 0 auto;">{SHOUTBOX}</dd>
                </dl>
             </li>
          </ul>
          <span class="corners-bottom"><span></span></span>
       </div>
    </div>
    <br style="clear: both" />
[/i]

What have you already tryed to solve the problem?
Googled a lot and search within this forum.

Description and Message
As the detail mentioned. tried to add the code into the center block and it seems that the problem occurs that the function was not being recognized. Do i have to add custom function into the portal funtion?

Image

BTW i was talking about the ajax chat by https://blueimp.net/ajax/

Re: Ajax chat within Portal

Posted: 14. April 2010 12:49
by Marc
Template vars won't be parsed inside the custom block. You will have to create one yourself:
viewtopic.php?f=21&t=310

Re: Ajax chat within Portal

Posted: 14. April 2010 12:51
by vantoria
Urm thanks for the info.

urm one more question how to i change the width of the block? cause it seems that the middle of the block is too long that it pushed the left hand side block outside the range of the forum's overall width limit.