News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

nneonneo's Shoutbox

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

Previous topic - Next topic

jhd_20

Sorry but can I have some noob question here please?

I am using the smf v 1.1.8 with dilber_MC theme and a modification of simple portal 2.2..

I installed the basic shoutbox via package option on my site and it goes out well but neither do I found any shoutbox in my forum when it was finish installed...

I tried to modify my index.template theme to let it show but I can't find the code corresponding to the one posted here..

Could someone help me so the shout box could be seen? Again my current theme is the Dilber multi color by harzem..

TIA

jhd_20


bud01100

Quote from: thedukeisnotdead on April 04, 2009, 01:03:25 AM
How can I disable Tags, IE [img][/img] and www.   links?

Thanks!!!

Bump. I really need help on this

thanks

jase7

Hmmm....

Just installed the latest version. Many thanks for this mod though.

In theory it should be good, but it's just far too buggy.

Shame as it could be good though.  :(

www.SergioMora.net

I am happy I got my shout box to work on my forum and with tiny portal :)

I do how ever have an issue with my Admin powers.

The shout box will not allow me or any of my other moderators or admins to delete a shout.



I have tried logging out and logging in as the suggestion in the shout box mentions but, no dice.

Am I missing something? Is there somewhere in the ADMIN section of my control panel for more options maybe?

Please assist and advize :)

TY
If and when I can help someone, I will. My information might not be accurate, so if anyone corrects me if I am wrong, I shall not be offended.

remus0000

hi , i have a big problem with nneonneo Shoutbox, look, what's the problem ? The Shoutbox is in the header, help me please  :( :'(


ameo

#5345
@ jhd 20 - code which is posted here you must enter into index.template.php of current theme, and after that you must go to permissions so you can enable seeing shoutbox // posting in it // moderating it - to various membergroups - Guests, Members, Global Moderators.

@ thedukeisnotdead - In your yshout folder there is file called settings.php. In it you'll find


// An array of strings to delete from the input.
// By default, this includes the list, center, left and right tags.
$bannedCode=Array('[list]','[/list]','[center]','[/center]',
                  '[left]','[/left]','[right]','[/right]',
  '[img]', '[/img]');


See img ! That's what you need to add to disable images. Then only links will show.
I'll not tell you how to disable links, though, it's the same thing, but links should not be disabled.
I mean, what's the use of it, anyway. Though, I believe you can also disable youtube in that way if it bothers you,
yet I'm not completely sure on that one. Note that smileys will be disabled to, because they are images also.

@remus 0000 - That is not very big problem. Just find where you placed the other code and put it in the same box where you put first code, but put it just before the last } bracket.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

Mdk001

#5346
So, I installed the SB to the theme I'm using and it works great, except...
As soon as the page loads the shout messages are right under the "shoutbox" title, which is how I was planning them to show up but after a second or so a white empty lines appears and moves the SB a bit down the page, then eventually another empy lines comes right after the first and that's where it settlers, it's as if it added 2 <br/> after a while it's running, which makes no sense to me
Any reasons this might be happening?
Forum's always http://www.alcatrazfumetteria.com/forum/index.php [nofollow]

Update:
Restoring the tool bar (I removed it for the looks of it) seems to cut down on one of the 2 white lines, now there's just an extra one appearing...

didi_ghost

Guys, i got a question i want to know it i can put this shoutbox like this forum shown in the image:
http://i40.tinypic.com/65aaog.jpg

Regards

ameo

#5348
@ didi_ghost - that is not nneonneo's shoutbox, however you can put it like that, by looking at some previous posts, especially ones that have the code for installation into news [for that see the link in first page]. you simply put that other code <div id="yshout></div> into that block in portal, after you've put first code into index.template.php of your current theme.  There are several modifications and ideas how to place shoutbox where, which various people have written, in this thread, as well as how to include that smileys.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

Navubi

Hello! I have a SMF 1.1.8 and I installed the Advanced AJAX Shoutbox 1.22. So my question is you know how the chat box extends up to 25 lines? Is there a way to shorten it to only about 10?

hxxp:img15.imageshack.us/img15/5892/shoutbox.gif [nonactive]

See?? Is there a way to make the shout box not extend like that? Thanks :x

Mdk001

Quote from: ameo on April 09, 2009, 04:43:34 PM
@ Mdk 001 - please don't double post - delete your post but put text into previous post which is also yours. nneonneo or someone who knows more will help you in the soon future.

Yeah,my bad,I didn't think about editing my previous post

Adish - (F.L.A.M.E.R)

#5351
Anything for advance shoutbox scroll bar in 2.0 RC1 ? I was searching if it the 1.1.x modifications could be made to work with 2.x versions...

Edit:-
I am using Dark Break theme and the advance shoutbox messes up the whole page out..

I am trying to get the shoutbox in place in this code..

// Show the menu up top. Something like [home] [help] [profile] [logout]...
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

echo '
<div id="nav">
<ul>';

foreach ($context['menu_buttons'] as $act => $button)
echo '<li><a ', $button['active_button'] ? ' class="current"' : '' , ' href="', $button['href'], '"><span>', $button['title'], '</span></a></li>';

echo '
</ul>
</div>';
}


I tried maupulating but didnt succeed...Any help on getting the layout as it is and the shoutbox properly in the forum...:)

qubbah

how can we change the shout time like smf shoutbox...

its change {today} - to the {day}name.

and the time using 24hours not using am/pm

pongsak

I've used sb 1.17 in smf 1.1.4
and have some questions & errors.
First i've tried Notifying users of new topics and replies in the forum: see http://www.simplemachines.org/community/index.php?topic=137508.msg1817042#msg1817042.
But After i posted reply , the page send and return, it said "sorry you must log in first" or something like this.

I've attached yshout.php and post.php here.
Thank you
smf 1.1.2 with dilbermc themes.
> 50 mods installed.

Nana23

It is possible to change the time to

ToDay
Yesterday
3 Days ago
4 Days ago

How can i do that?

JW21

#5355
Ok, I know I saw someone else have the same problems as me. I just can't find the solution for it in all these pages!  ;D

I added the smileys to the shoutbox. It works great and with no errors. I do get errors now though when I try to edit the smileys. What's the fix for this?


Now I'm second guessing myself on whether or not I've seen anyone else have the same error I am. When I go to edit the smileys, this is the error I get


8: Undefined index: id
File: /home/*******/public_html/*******/Themes/default/languages/Post.english.php (editsmileys sub template - eval?)
Line: 316

8: Undefined index: description
File: /home/*******/public_html/*******/Themes/default/languages/Post.english.php (editsmileys sub template - eval?)
Line: 284

8: Undefined index: location
File: /home/*******/public_html/*******/Themes/default/languages/Post.english.php (editsmileys sub template - eval?)
Line: 282

8: Undefined index: filename
File: /home/*******/public_html/*******/Themes/default/languages/Post.english.php (editsmileys sub template - eval?)
Line: 280

8: Undefined index: code
File: /home/*******/public_html/*******/Themes/default/languages/Post.english.php (editsmileys sub template - eval?)
Line: 278


It happens on a few different lines but all point to the Post.english.php file.

I also get a really strange error when I try to manually install games into my arcade (e-arcade):


2: require(mymod/smiley.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory
File: /home/*******/public_html/*******/Themes/default/Admin.template.php (main_above sub template - eval?)
Line: 612



Any help or ideas/suggestions on how I can fix these errors will be greatly appreciated!  :D

zach21uk

Can someone please tell me how to edit the timestamp on my shoutbox?    I know that the timestamp can be controlled in settings.php  however I do not know how to acheive the effect I want.

What I would like to do is condense the timestamp down - currently it is like this "[Today at 09:28 AM]" - I would like to change it so its like this....."[09:28 AM]" - so it just shows the time rather than the day or date.

How can I accomplish this?

Many thanks
Zach

amlucent

I am migrating my website to a new webhost because my old one was horrible.  I got a second domain www.gwgoodolddays.net to go with my original www.gwgoodolddays.com.  I plan to move the original domain name over to the new host after I am sure that I want to stick with them.

I have moved my entire forum directory and database to the new host and used the repair_settings.php to fix the differences (the user account was 8 characters but only 7 with the new webhost causing all sorts of issues). 

I now have most of the issues worked out but I am getting the following error when i try to load http://gwgoodolddays.net

QuoteFatal error: Call to undefined function shoutbox() in /home/gwgoodo/public_html/forums/Sources/Load.php(1975) : eval()'d code on line 360

What files and sections to I need to edit to successfully move this mod? remember not only is the domain name changing (for now) but also the local path was "/home/gwgoodol" but is now "/home/gwgoodo/".  Thanks for any help.

jhd_20

Quote from: ameo on April 08, 2009, 07:27:17 AM
@ jhd 20 - code which is posted here you must enter into index.template.php of current theme, and after that you must go to permissions so you can enable seeing shoutbox // posting in it // moderating it - to various membergroups - Guests, Members, Global Moderators.

Pardon Sir but I've been searching for that code for a while but I can't just find it..

If you kindly may post it once again..

TIA once again

jhd_20

frantic

Thank you mod writers.  Quick question, i've got this mod working great on the default smf template.  I didn't do any custom theme edits because i wanted the shout box to show up in a portal so i can put it to the side and forgo having it on top of the page.  Unfortuanlly its not showing up in the portal.  The php code i have in my simple portal php block is,

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[
   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: 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

Nothing shows up in the block, can someone point me to what i did wrong?

Advertisement: