• Welcome to Simple Machines Community Forum. Please login or sign up.

nneonneo's Shoutbox

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

Previous topic - Next topic

Scarecrow7170

April 24, 2010, 08:44:38 PM #5900 Last Edit: April 29, 2010, 02:17:34 AM by Scarecrow7170
We (Simply4Friends & I) are using SB_1.22 on SMF 2.0 RC3 & it shows up on every page... Is there a way to have it ONLY on the index page?

Thank you for your time & efforts.

PS - We got it figured out.. Thanks anyway

GarethHickling

Is anybody using this mod with the AF316 theme?

I have sat here for hours trying to get it to work even with the places people have suggested for other themes but no luck whatsoever!

Any help would be really appriciated as I do not want to change themes.


Scarecrow7170

April 29, 2010, 10:30:19 PM #5902 Last Edit: May 01, 2010, 04:38:01 PM by Scarecrow7170
Running into a few errors.. wondering if I may get some help.. lol

We are running 2.0 RC3 and using SB_1.22

here are the errors we are having when entering the smiley coding -

QuoteWebpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Sat, 1 May 2010 07:22:44 UTC


Message: 'this.opt.oSmileyLocations[...][...][...].sSrc' is null or not an object
Line: 1418
Char: 4
Code: 0
URI: xxxxxourdomain.com/Themes/default/scripts/editor.js?rc3


Message: Object required
Line: 14
Char: 2
Code: 0
URI: xxxxxourdomain.com/yshout/js/yshout.js?July062008

Also causes all BBC info on posting to disappear.  :'( :'(

Please help.. ty

Scarecrow7170

May 06, 2010, 07:48:47 PM #5903 Last Edit: May 06, 2010, 08:57:17 PM by Scarecrow7170
We are useing SMF 2.0 RC3 & Have decided to use the coding minus the smiley coding.. however still getting errors. I have removed the package.. no dice.

however when I remove the following code we get no errors:
Quote// YSHOUT HERE - <head> code
   global $boardurl,$shoutFile;
   $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: 10px;
         overflow: hidden;
      }
      #yshout #yshout-toollinks { /* tool links (History, Commands, etc.) */
      }
      #yshout #shouts { /* main shouts area */
      }
      #yshout .shout { /* one shout */
         margin: 0 0 0; /* Top Bottom Linespacing */
         line-height: 1;
      }
      #yshout .shout-timestamp {
         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: 70px;
         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

This is an example error.. but happens on every page. And always on line 15


Nameless?

http://www.site.com/forums/index.php?shout_text=test#

This cames up when i try to shout.. Is there anything ive missed in the Source?

Nameless?


WildAmbitions

I am so confused. I am trying to provide a shoutbox for any registered member of the forum. The site (when I got it) has a shoutbox show up when the admin is signed in. It doe not show up when any other regular user is signed in. What the owner wants is for all registered members to be able to use the shout box.

Please help!

I have read and re-read practically this entire thread (hours of reading and am no farther than when I started). I am guessing the shoutbox code is already somewhere in the index.template.php for the theme and I need to add something somewhere but I am stuck. I do not see it and don't know what to look for. I have also tried the admin area but cannot seem to figure that out either. Feeling really dumb right now.

We are using the Overview light theme.

mrtrc266

Quote from: WildAmbitions on May 20, 2010, 05:22:49 PM
I am so confused. I am trying to provide a shoutbox for any registered member of the forum. The site (when I got it) has a shoutbox show up when the admin is signed in. It doe not show up when any other regular user is signed in. What the owner wants is for all registered members to be able to use the shout box.

Please help!

I have read and re-read practically this entire thread (hours of reading and am no farther than when I started). I am guessing the shoutbox code is already somewhere in the index.template.php for the theme and I need to add something somewhere but I am stuck. I do not see it and don't know what to look for. I have also tried the admin area but cannot seem to figure that out either. Feeling really dumb right now.

We are using the Overview light theme.

Are you sure you have set permissions for each member group?

Navigate to here in your forum
Admin/Permissions/[select membergroup]/Modify

Then look for the settings to allow that member group shout priviledges.

uninvited13th

What version of this is compatible with smf 1.1.11?

mrtrc266

Quote from: uninvited13th on June 18, 2010, 05:19:56 AM
What version of this is compatible with smf 1.1.11?

Take a look at the page where you downloaded this from and it will tell you what versions it's compatible with. Also be sure to COMPLETELY uninstall AJAX Chat Integration and any other chat/shout Mods you might have installed.

uninvited13th

Quote from: mrtrc266 on June 19, 2010, 01:33:44 AM
Quote from: uninvited13th on June 18, 2010, 05:19:56 AM
What version of this is compatible with smf 1.1.11?

Take a look at the page where you downloaded this from and it will tell you what versions it's compatible with. Also be sure to COMPLETELY uninstall AJAX Chat Integration and any other chat/shout Mods you might have installed.

I dont know if its really compatible with smf 1.1.11

Someone who installed it in 1.1.11??

chinaren

Hello there!  I'd really like to put this on my SMF2RC3 board, but there are parts in the index.template file that it disagrees with, mainly the table stuff I think.


Any chance of an tiny tiny update for RC3?  Pretty please?   ;)
The Opus Path - The Next Generation of the Written Word

w4rheart


w4rheart


w4rheart


chinaren

Whilst I appreciate the enthusiasm W4, I don't think bumping is looked upon as the thing to do here.  ;)   Perhaps the author is away or something.  :(
The Opus Path - The Next Generation of the Written Word

kkattfish

I have smf 2.0 rc3 with nneonneo's AJAX ShoutBox ver 1.22

i have added the smiley's bar via this link in the original post see http://www.simplemachines.org/community/index.php?topic=137508.msg1388091#msg1388091 (thank you pongsak!)

the smilies work fine in the shoutbox, however when i reply to a topic and try to click a smiley to put in a thread, it posts instead to the shoutbox.  is this a common problem or something that somebody can help me with? 

when i go to http://www.mydomain/yshout/yshout.php it says nothing to do and i don't get errors in my shoutbox. 

thanks

kkattfish

Quote from: chinaren on June 26, 2010, 04:09:28 AM
Hello there!  I'd really like to put this on my SMF2RC3 board, but there are parts in the index.template file that it disagrees with, mainly the table stuff I think.


Any chance of an tiny tiny update for RC3?  Pretty please?   ;)
Quote from: w4rheart on June 28, 2010, 06:45:14 AM
^ +1
i have it working fine with smf 2.0 rc3.  have a smiley problem with my board but more of a nuisance than a problem.  i could always take away the smiley's for the sb if i needed to per my above post.
did you even try to install it?

chinaren

Quotedid you even try to install it?
??? Yes.  Did you see my explanation of the errors?


Did you install the shoutbox when your board was RC3?  If so, how did you adjust the table entries?  That's all that's giving me problems, as RC3 doesn't use tables.  


MMmmm.  Maybe if I try it in compatibility mode as RC2.  ~ponders~
The Opus Path - The Next Generation of the Written Word

MothMan

July 16, 2010, 04:01:58 PM #5919 Last Edit: July 16, 2010, 04:20:17 PM by MothMan
I've got this mod installed on 2.0RC3, and it had been working perfectly... but for some reason over the last couple weeks it's been acting up, where at random times, all of the existing shouts being displayed disappear.

If you post a shout, or refresh the page, all the old shouts come back.  They just randomly disappear.

Any suggestions?

Advertisement: