News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

nneonneo's Shoutbox

Started by nneonneo, December 26, 2006, 06:58:11 PM

Previous topic - Next topic

scenerip2k

#4820
Powered by SMF 2.0 Beta 4 i did the install manually top left corner shows:

[unplugged]

What version of the shoutbox did you install? Any reason in particular why you installed it manually? What theme are you using?
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



scenerip2k

i installed: SB_1.22.zip
reason why i did it manyally is because every time i try to install a mod it always times out

[unplugged]

What theme? Can you provide a link to your site, either here or through PM? Also, if need be, you can attach files here and I can edit them for you. I have installed it on probably 60 or 70 sites to date. ;)
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



scenerip2k

it was installed on the default theme. What files do you want me to provide?

[unplugged]

I guess for starters, just your index.template.php.

Did you put the yshout folder and all of it's contents into your forum's root folder already?
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



scenerip2k

yes i putted everything from that folder to my root directory

[unplugged]

Your index.template.php seems right. Attach your yshout.js please (forum/yshout/js/yshout.js). Also you have a Message.
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



scenerip2k


savek

Nneonneo, please help me

I want to insert toggle to show or hide shoutbox, so i insert this code to index.template.php. But it error template parse error.

I think this error occured about incorrect ' sign or " sign. Please help me, Thanks in advance.


<div class="tborder" style="margin-top: 0; margin-bottom:7px;' , $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'width: 100%;' : '', '">
        <div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center; "><span style="float:left; margin-left:5px;"><img src="', $settings['images_url'], '/messenger.gif" alt="" /></span>คุยกันสดๆ</div>
        <table border="0" width="100%" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 1px;">
            <tr>
            <td class="windowbg2" width="80%">
            <script type="text/javascript">
            <!--
                function toggle_visibility(id) {
                var e = document.getElementById(id);
                   if(e.style.display == 'block')
                      e.style.display = 'none';
                   else
                      e.style.display = 'block';
                }
            //-->
            </script>
            <a href="#" onclick="toggle_visibility('yshout');">show/hide chat</a>

            <div id="yshout">
            include_once($boarddir.'/yshout/yshout.php');
            echo '
            </div>
            <div class="smalltext" style="padding-left:25px;"><a href="javascript:collapse1.slidedown()">ใช้ไอค่อนอารมณ์</a> | <a href="javascript:collapse1.slideup()">ปิดไอค่อน</a>';
                     require('mymod/smiley.php');
                     loadSmileys();
                  echo '

GhostWalker

#4830
I have SMF 1.1.7 and tried to install the current SB_1.22 version and I am getting a "FTP Information Required
Some of the files the package manager needs to modify are not writable. This needs to be changed by logging into FTP and using it to chmod or create the files and folders. Your FTP information may be temporarily cached for proper operation of the package manager."

Any ideas??

[unplugged]

#4831
@savek

Your code inside the <script> needs backslashes in front of the single quotes, and you are missing a ';. Here is what the piece of code should look like.

<div class="tborder" style="margin-top: 0; margin-bottom:7px;' , $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'width: 100%;' : '', '">
        <div class="catbg" style="padding: 6px; vertical-align: middle; text-align: center; "><span style="float:left; margin-left:5px;"><img src="', $settings['images_url'], '/messenger.gif" alt="" /></span>คุยกันสดๆ</div>
        <table border="0" width="100%" cellspacing="1" cellpadding="5" class="bordercolor" style="margin-top: 1px;">
            <tr>
            <td class="windowbg2" width="80%">
            [b]<script type="text/javascript">
            <!--
                function toggle_visibility(id) {
                var e = document.getElementById(id);
                   if(e.style.display == \'block\')
                      e.style.display = \'none\';
                   else
                      e.style.display = \'block\';
                }
            //-->
            </script>
            <a href="#" onclick="toggle_visibility(\'yshout\');">show/hide chat</a>[/b]
            <div id="yshout">';
            include_once($boarddir.'/yshout/yshout.php');
            echo '
            </div>
            <div class="smalltext" style="padding-left:25px;"><a href="javascript:collapse1.slidedown()">ใช้ไอค่อนอารมณ์</a> | <a href="javascript:collapse1.slideup()">ปิดไอค่อน</a>';
                     require('mymod/smiley.php');
                     loadSmileys();
                  echo '


@GhostWalker

That is a normal request by SMF. Just provide your FTP info and it will make the necessary changes to the files. ;)
« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



savek

Thank You!!! SunKing!!! YOU SAVED MY LIFE  ;D

[unplugged]

« Next Edit: Tomorrow at 08:34:45 PM by SunKing »   <---- « someone stole my sig... :o »



Picobrain

Hi guys I need your help, I am lost :S I have SMF 1.1.7 with mystic jade theme and i've installed shoutbox. On the default SMF theme its working fine but when i switch to mystic jade theme its not showing up. I searched everywhere but still I can't get it working. Somebody told me to install tiny portal, do I have to? Please help.

defcrash

Quote from: Picobrain on January 06, 2009, 08:04:54 AM
Hi guys I need your help, I am lost :S I have SMF 1.1.7 with mystic jade theme and i've installed shoutbox. On the default SMF theme its working fine but when i switch to mystic jade theme its not showing up. I searched everywhere but still I can't get it working. Somebody told me to install tiny portal, do I have to? Please help.

Go to the 1st page on this topic and find "Installation to Other Themes"! ;)

nwobhm

Although this mod is really great i had to remove it because im re-desing my whole forum. I did remove the shoutbox manually and now I get error message that copyright is missing from my forum?

What did I do wrong?

Picobrain

#4837
Quote from: defcrash on January 06, 2009, 08:15:01 AM
Quote from: Picobrain on January 06, 2009, 08:04:54 AM
Hi guys I need your help, I am lost :S I have SMF 1.1.7 with mystic jade theme and i've installed shoutbox. On the default SMF theme its working fine but when i switch to mystic jade theme its not showing up. I searched everywhere but still I can't get it working. Somebody told me to install tiny portal, do I have to? Please help.



Go to the 1st page on this topic and find "Installation to Other Themes"! ;)


yeah I saw that, but the 2nd part is confusing: Second, find the desired location of the shoutbox and place at that location (in the index.template.php file!) *one* of the two blocks below..

What that means?

vidhyaprakash85


i have tis error please tell me y

Fatal error: require_once() [function.require]: Failed opening required '/Subs-Post.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a7592045/public_html/sample/yshout/yshout.php on line 195

ameo

#4839
@ Picobrain: well, that simply means that there are 2 blocks of text, and you just pick one of them, and copy-paste into your index.template.php   It's that simple Picobrain.

@ nwobhm: maybe you placed your shoutbox code next to copyright code and deleted to much???
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

Advertisement: