News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

nneonneo's Shoutbox

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

Previous topic - Next topic

Gryzor

Sigh... I'm another victim of the parse error:
2.   Execute Modification   themes/install-2.0b4.xml   Modification parse error
   3.   Execute Modification   themes/install-2.0b4.xml   Modification parse error
   4.   Execute Modification   languages/english_all.xml   Modification parse error
   5.   Execute Modification   languages/english_all.xml   Modification parse error
   6.   Execute Modification   permissions/install-perms-2.0.xml   Modification parse error
   7.   Execute Modification   permissions/install-perms-2.0.xml   Modification parse error

I've seen a few questions here, but no definite answer. Is there one?

oOo--STAR--oOo

#5921
Auto scroll not working.
How do you add a BBC bar.

Shoutbox tends to time out when you goto a new tab or exit webbrowser to look at something else even if its just for 1 min
How do you add a link on the SHOUTBOX history to navigate back to the forums?

Also there is not a small bug on the forums when using Internet Explorer.. I can no longer highlight any text on the forums.
Its not letting me click and drag accross.. I have no idea what could be causing this.
Need help to fix this issue
You can't fool a sufficiently talented fool.

http://www.uniquez-home.com
In Design Phase!

Mods I am designing,  No refresh Collapse Categories , Poll Redesign , Pure CSS Breadcrumb , Profile Statuses, Profile Views.

giorgoscy16

Thanks. i ve tried to install nneonneo's Shoutbox. I did half of the manual installation . That is because i dont know how to do the other half. Well when it says

"..., find the desired location of the shoutbox and place at that location (in the index.template.php file!)"

i dont know what to do. I want the shoutbox to be at the header of the forum, above the boards, how can i do that . After what code should i paste my given code ?

TheKillers

And in SMF 2.0 RC3 this shoutbox works?

minos

where's admin settings i can see it in modification Features and Options ??????
https://freerockdownloads.xyz

Gryzor

No help for this whatsoever? :(

Quote from: Gryzor on July 17, 2010, 03:19:31 AM
Sigh... I'm another victim of the parse error:
2.   Execute Modification   themes/install-2.0b4.xml   Modification parse error
   3.   Execute Modification   themes/install-2.0b4.xml   Modification parse error
   4.   Execute Modification   languages/english_all.xml   Modification parse error
   5.   Execute Modification   languages/english_all.xml   Modification parse error
   6.   Execute Modification   permissions/install-perms-2.0.xml   Modification parse error
   7.   Execute Modification   permissions/install-perms-2.0.xml   Modification parse error

I've seen a few questions here, but no definite answer. Is there one?

euandre

Quote from: TheKillers on July 20, 2010, 04:17:34 AM
And in SMF 2.0 RC3 this shoutbox works?

For me it works. But i have a problem with it. The PM popup doesn't open because of this line of yshout  :-\

window.onload=function(){
loadChat();
};


When i delete this code, PM popup works. Do someone have a solution for this please? :'(

Artanisx

Hi and thank you very much for this great mod :)

Unfortunately I have a problem. I've got SMF 1.1.11 and TinyPortal. I've installed the latest version and the shoutbox appears with no problem at all, with all the options and the text field to shout.
Problem is... I can't shout. If I try to write something and then click on Shout... nothing happens! It's not a permission problem because I'm using my Admin account.
The very odd thing is that if I try to access the shoutbox using /yshout/index.php link it works, I can see the shoutbox and I can write in it. What I write in the /yshout/index.php separate page shows up in the regular Shoutbox too.

What can be the problem? Shouldn't be a ftp permission since I can shout in the separate page. Can you help me? Thank you ^^

thatjustit

Everything works great, just it doesn't collapse messages, what can be wrong?

Cocofreis


Hello community,

my English is not so good, because I'm a german  ;D.

I downloaded version 1.22 and the nneonneo Shoutbox installed by a package manager in my SMF 2.0RC3.

I also changed the Index.template already, but I do not see the shoutbox, but only the title Shout Box.
Can not see the shoutbox itself also.

What am I doing wrong?
What I have to change?

I have been running the Shoutbox to the already once on another forum, but I do not remember how I had done it (almost a year since white).

I thank you in advance for the help.

Greeting

ameo

it looks like this shoutbox is not so much compatible with current version of smf 2.0.RC3 and that author has, probably because he's busy,
discontinued support for it, and discontinued debugging it for current version of SMF.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

Chen Zhen

#5931
The version attached to this post is for use with a portal

nneonneo shoutbox for -SMF 2.0 rc3 with a portal installed- is attached.
This is the regular version with smileys.

block codes are shown during install.  (you can not use the old initialize code)

The following index.template style edit must be performed to all your theme's like files...  (installation already places this edit for your default theme)




Navigate to:  Themes -> YOUR_THEME -> index.template.php

Find:

// If we're in a board, or a topic for that matter, the index will be the board's index.
if (!empty($context['current_board']))
echo '
<link rel="index" href="', $scripturl, '?board=', $context['current_board'], '.0" />';



Add this after the above code:

/* YSHOUT START */
/* Set    $action_b    to the url (whole or in part) to flag when you want the specific style to take effect */
$action_a = $_SERVER["REQUEST_URI"];
$action_b = "action=CHOOSE_BOARD_OR_URL";
global $boardurl,$shoutFile;
/* Yshout START <head> code for specified action */
if ((strstr($action_a,$action_b)))
{
   $shoutFile='home';
   $scripturlparsed = parse_url($scripturl);
   $scriptpath=isset($scripturlparsed['path'])?$scripturlparsed['path']:'/';
   $args='';
   foreach($_GET as $key => $value) // passthrough $_GET
      $args.='&'.urlencode($key).'='.urlencode($value);
   echo '
   <script src="',$boardurl,'/yshout/js/moo.ajax.js" type="text/javascript"></script>
   <script src="',$boardurl,'/yshout/settings.js" type="text/javascript"></script>
   <script type="text/javascript"><!-- // --><![CDATA[
   window.onload=function(){loadChat();};
   var shoutFile="',$shoutFile,'";
   var yshout_php="',$scriptpath,'?yshout',$args,'";
   // ]]></script>
   <script src="',$boardurl,'/yshout/js/yshout.js?July062008" type="text/javascript"></script>
   <style type="text/css">
      #yshout {
         font-size: 13px;
         overflow: hidden;
      }
      #yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
      }
      #yshout #shouts {
                         overflow: visible;
                         width: 100%;     
                         height: 300px;                     
      }
      #yshout .shout { /* one shout */
         margin: 0 0 0; /* Top Bottom Linespacing */
         line-height: 1;
      }
      #yshout .shout-timestamp {
                        font-size: 0pt;
         font-style: normal;
         font-weight: normal;
      }
      #yshout .shout-adminlinks { /* del and ban buttons */
         font-size: 6pt;
         color: #141414;
      }
      #yshout #shout-form {
         margin: 0;
         padding: 0;
      }
      #yshout #shout-form fieldset {
         border: none;
      }
      #yshout #forum-name {
         color: #cccccc;
         width: 90px;
         margin-right: 2px;
      }
      #yshout #shout-text {
         width: 130px;
         margin-right: 2px;
      }
      #yshout #shout-button {
         width: 55px;
      }
      #yshout .shout-invalid { /* invalid shout (shout textbox) */
         background: #FFFDD1;
      }
   </style>'; 
}
/* YSHOUT END -  <head> code for specific action  */

/* YSHOUT START - <head> code for regular style setup  */
else
{
   $shoutFile='home';
   $scripturlparsed = parse_url($scripturl);
   $scriptpath=isset($scripturlparsed['path'])?$scripturlparsed['path']:'/';
   $args='';
   foreach($_GET as $key => $value) // passthrough $_GET
      $args.='&'.urlencode($key).'='.urlencode($value);
   echo '
   <script src="',$boardurl,'/yshout/js/moo.ajax.js" type="text/javascript"></script>
   <script src="',$boardurl,'/yshout/settings.js" type="text/javascript"></script>
   <script type="text/javascript"><!-- // --><![CDATA[
   if (window.addEventListener){
      window.addEventListener("load", function(){loadChat();}, false);
   } else if (window.attachEvent){
      window.attachEvent("onload", function(){loadChat();});
   }
   var shoutFile="',$shoutFile,'";
   var yshout_php="',$scriptpath,'?yshout',$args,'";
   // ]]></script>
   <script src="',$boardurl,'/yshout/js/yshout.js?July062008" type="text/javascript"></script>
   <style type="text/css">
      #yshout {
         font-size: 11px;
         overflow: hidden;
      }
      #yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
     
      }
      #yshout #shouts {                       
                         font-size: 13px;
                        overflow: visible;
                         width: 100%;     
                         height: 100%; 
                           
      }
      #yshout .shout { /* one shout */
         margin: 0 0 0; /* Top Bottom Linespacing */
         line-height: 1;
      }
      #yshout .shout-timestamp {
         font-size: 6pt;
         font-style: normal;
         font-weight: normal;
      }
      #yshout .shout-adminlinks { /* del and ban buttons */
         font-size: 6pt;
         color: #141414;
      }
      #yshout #shout-form {
         margin: 0;
         padding: 0;
      }
      #yshout #shout-form fieldset {
         border: none;
      }
      #yshout #forum-name {
         width: 90px;
         margin-right: 5px;
      }
      #yshout #shout-text {
         width: 310px;
         margin-right: 5px;
      }
      #yshout #shout-button {
         width: 55px;
      }
      #yshout .shout-invalid { /* invalid shout (shout textbox) */
         background: #FFFDD1;
      }
   </style>';   
}
/* YSHOUT END - <head> code for regular style setup */
/* YSHOUT END */





That code can be edited so the first set of style attributes pertain to certain boards (side blocks perhaps).
The default setup is for top/bottom blocks.







My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

MC73

 Every so ofter I come across this this error message ... it may happen maybe once a month and it does not show up in the error log on smf 2.0 rc3. Any ides of why this happens just once a month? If it is a server ordeal, what should i tell them?

the Error code that shows up on shout is posted below ... Thanks, MC


HTTP/1.1 200 OK Date: Sat, 25 Sep 2010 19:51:15 GMT Server: Apache Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1
OK
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Over 1100 Online Flash Games 

JayH

Having some issues when trying to install this with TinyPortal. 

So, from a fresh install of 2.0 R3, I install several themes and then install Tiny Portal.  After that I install the package from -Underdog- (thanks :)) I did try to hand install as well.  Both display the following error:

QuoteNotice: Undefined index: show_download in /home/jhaegele/novahomebrew.com/Sources/TPSubs.php on line 201

The web site is hxxp:novahomebrew.com [nonactive]

Any help is greatly appreciated.  I will be continuing to see if I can find the issue.

-Jay

Chen Zhen

Quote from: JayH on October 06, 2010, 08:03:15 PM
Having some issues when trying to install this with TinyPortal. 

So, from a fresh install of 2.0 R3, I install several themes and then install Tiny Portal.  After that I install the package from -Underdog- (thanks :)) I did try to hand install as well.  Both display the following error:

QuoteNotice: Undefined index: show_download in /home/jhaegele/novahomebrew.com/Sources/TPSubs.php on line 201

The web site is novahomebrew.com

Any help is greatly appreciated.  I will be continuing to see if I can find the issue.

-Jay





That's your Tiny Portal checking a variable that is undefined.  ::)

Navigate to: Sources / TPSubs.php

Find:

function tp_getbuttons()
{
global $scripturl, $txt, $context;

loadlanguage('TPortal');

$buts = array();


Add after above code:

if (empty($context['TPortal']['show_download'])) {$context['TPortal']['show_download'] = 0;}



My SMF Mods & Plug-Ins

WebDev

"Either you repeat the same conventional doctrines everybody is saying, or else you say something true, and it will sound like it's from Neptune." - Noam Chomsky

qubbah

hope somebody can make auto chat operator thats can shout random with several text.

emonk

#5936
Hi nneonneo; I make a roll dice command (like /roll in wolrd of warcarft)



In yshout.php

Put after:

        case "/wh":
                $newText = cleanupShout($args.' ');
                $shoutName=$user['name'];
                makeRawShout('<span style="color: gray">'." [$shoutName whispers] $newText</span>",$user);
                return true

this:

        case "/roll":
            if ($args!='') $newText = 'rolls '.diceRoll($args);
            else $newText = 'rolls '.diceRoll(100);
            $shoutName=$user['name'];
            makeRawShout('<span style="color: yellow">'."* $shoutName $newText</span>",$user);
            return true;


and put at the end of the script before
?>
this:

function diceRoll($count=100) {
    if (preg_match('/^\d+$/', $count)) {
        if ($count<=500){
            $roll = mt_rand(0, $count);
        }
        else {
            $count = 100;
            $roll = mt_rand(0, $count);
        }
    }
    else {
        $count = 100;
        $roll = mt_rand(0, $count);
    }
    return $roll.' (0 - '.$count.')';
}


I just post this if someone is interested.

Cya.

4T3IG0

Hi,

I  have Rc4 and TinyPortal 1.0 RC1 on my forum and I installed AdvSB_1.22.zip manualy and it works well on the default theme.

However I have the folow issue with the Theme Design-Blue by Fussilet:

Notice: Undefined variable: newtheme in /home/.../public_html/Sources/Load.php on line 1363

Notice: Undefined variable: newtheme in /home/.../public_html/Sources/Load.php on line 1363

Fatal error: Call to undefined function tpcheckadminareas() in /home/.../public_html/Sources/Subs.php on line 4078



Thanks for your atention and suport.


4T3IG0

Hi again.

I play it around and fixed the issue on Load.php

Where was:

// TinyPortal $newtheme=TP_loadTheme();
if($newtheme!=$id_theme && $newtheme>0)
$id_theme=$newtheme;
// end TinyPortal


I replaced with:

// TinyPortal $newtheme=TP_loadTheme();
if (!empty($newtheme))
$newtheme = (int) $newtheme;
// end TinyPortal


But I still have the Subs.php issue...   if anyone else whants to play it around...   be my guest. I will appreciate
all suport.

Regards


cieplutki

unofficial to 2.0 rc 4 and 1.1.12 with some change to smf.pl and friedns
it's look that :



included:
scrollbar, sound and some more




.

Advertisement: