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

PHPLearner

hmmm...sorry for changing the subject,  :P , just wondering if I can adjust this to where it shows in certain boards? and not the main index, thanks!!!

Chen Zhen

Quote from: PHPLearner on October 25, 2009, 12:24:12 AM
hmmm...sorry for changing the subject,  :P , just wondering if I can adjust this to where it shows in certain boards? and not the main index, thanks!!!

Yes.

Do you have a portal installed?

Also... What version of SMF are you using?

UD

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

milan-mikie

Hello,
Where i need to upload the files to? witch map?
and i got an layout upgrade from DARK F but where i need to place the code now?

Regards, Milan

PHPLearner

Quote from: 01_Underdog on October 25, 2009, 01:42:26 AM
Quote from: PHPLearner on October 25, 2009, 12:24:12 AM
hmmm...sorry for changing the subject,  :P , just wondering if I can adjust this to where it shows in certain boards? and not the main index, thanks!!!



Yes.

Do you have a portal installed?

Also... What version of SMF are you using?

UD
Thanks for the reply, I am using 1.1.9 and no portals installed, Thanks again!!  :)

Chen Zhen

Quote from: PHPLearner on October 25, 2009, 07:33:45 PM
Quote from: 01_Underdog on October 25, 2009, 01:42:26 AM
Quote from: PHPLearner on October 25, 2009, 12:24:12 AM
hmmm...sorry for changing the subject,  :P , just wondering if I can adjust this to where it shows in certain boards? and not the main index, thanks!!!



Yes.

Do you have a portal installed?

Also... What version of SMF are you using?

UD
Thanks for the reply, I am using 1.1.9 and no portals installed, Thanks again!!  :)

Imao - you should update your forum to v 1.1.10.
Even the latest version of the v1's will most likely not be supported in the near future.

It would be easiest for you to install the latest version of one of the portals for smf. ie. Simple Portal
Then you can illiminate the initialize code from wherever you put it (I assume BoardIndex.php) and put it in a php block on the portal. From there you can have it show up on 1 or multiple boards of your choice.
With the Portal... You can design a nice home page (portal page as it's called) or you can disable it and just have your forum as is with the shoutbox blocks only. 
If you need more help just reply to the thread again.

CLICK HERE to learn what to put in a php block.

UD

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

Agantuk

Hello brothers...
I have been getting this error in the shoutbox since i installed this mod.
Notice: Use of undefined constant menu_button - assumed 'menu_button' in /home/agantuk/public_html/forum/Sources/Load.php(1730) : eval()'d code on line 16
and also except me(Admin) no once can see this shoutbox...
Is there anyone know how to fix it..
please help me

ameo

Agantuk, you probably didn't put second piece of code in the right place. Try putting it just before the last bracket of the same box where the first piece of code is. So, just before the very end of box - before last }.  As for no1 can see the shoutbox problem - it's been explained multiple times. You need to enable shoutbox in Permissions, for every member group. Members, Global moderators... etc.
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

thechamp

Hi,

Is there a way to limit the number of shouts say to 10?

kurosaki00

I want to install this in a new theme
and when I try the package parser it says this
Error: Modification XML file (/tmp/smf_xml/themesinstall-1.1.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/languagesenglish_all.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/permissionsinstall-perms-1.1.xml) doesn't exist!

I want to install the nneonneo sb 1.22 in another theme.
I have the sb installed and working in a theme, but I want it in another theme.

Any idea whats the code for it showing in the forum?
Also I want it to show above forum stats - below recent posts.
Any idea how?
Thanks for your help.

Chen Zhen

Quote from: thechamp on November 02, 2009, 10:46:17 AM
Hi,

Is there a way to limit the number of shouts say to 10?


Navigate to: yshout / settings.php

Find:

// Set the maximum amount of lines to be displayed at a time
// After changing this, /clear the shoutbox to make the change
// take effect.
$maxLines=10;


The $maxLines variable is the one you want to change to reflect how many lines you want your shoutbox to be maxed out at.
This part is right at the top of that file and yours may not be set to the number I have shown in the code block.


UD

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

thechamp

cool, thanks for your help, mine was set to 25, changed it to 10, thanks a lot :)

Chen Zhen

Quote from: kurosaki00 on November 06, 2009, 10:12:08 PM
I want to install this in a new theme
and when I try the package parser it says this
Error: Modification XML file (/tmp/smf_xml/themesinstall-1.1.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/languagesenglish_all.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/permissionsinstall-perms-1.1.xml) doesn't exist!

I want to install the nneonneo sb 1.22 in another theme.
I have the sb installed and working in a theme, but I want it in another theme.

Any idea whats the code for it showing in the forum?
Also I want it to show above forum stats - below recent posts.
Any idea how?
Thanks for your help.

On Page 1 of this thread - look under the heading: Installation to Other Themes.

You need to do the index.template.php edit and also one of the initialize codes goes into your BoardIndex.template.. You can try to put it smack in the middle of your info center as you wish but I suggest placing it right above it.

UD

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

jossanaijr

#5692
It was working fine for a long time.
Now it is broken.  My host fix some server problem and I'm not sure if it is related to this or not.  It was not working than host support change permissions to 777 and it is working (wrong) now.

The problem:  you enter a SHOUT and it is listed in the first line instead of the last one.
The shout history does not change.
If you enter another shout it replaces the previous one.  The history is remained.
Attached jpgs for example.  I shout test, test 1 and test 2.
Any help?  All files are 777 permission.

Chen Zhen

Quote from: jossanaijr on November 09, 2009, 07:18:26 AM
It was working fine for a long time.
Now it is broken.  My host fix some server problem and I'm not sure if it is related to this or not.  It was not working than host support change permissions to 777 and it is working (wrong) now.

The problem:  you enter a SHOUT and it is listed in the first line instead of the last one.
The shout history does not change.
If you enter another shout it replaces the previous one.  The history is remained.
Attached jpgs for example.  I shout test, test 1 and test 2.
Any help?  All files are 777 permission.


Anything done from the server (except 3 digit code permissions) shouldn't affect your shoutbox. Are you sure you didn't edit a file that changed the settings?

First place to check is the / yshout / settings.php file.

Look for...

// The shoutbox usually shows shouts with the newest chats at the bottom.
// If you want the newest ones at the top, set this to true.
$reverseShouts=false;

// If you reverse the shouts, you might want the shout form to be on top
// rather than on the bottom. Set this to true to move the shout form
// to the top (the tool links will stay above the form)
$shoutFormOnTop=false;


The remarks make the settings self explanatory. If adjusting these settings doesn't fix the issue.. then I assume the installation of another mod has messed up one of the file edits. Probably the index.template.php from your theme.

UD

My SMF Mods & Plug-Ins

WebDev

SMF support staff should be shaping a positive community experience & not provoking an argument or emotional reaction.

kurosaki00

Quote from: 01_Underdog on November 09, 2009, 12:24:02 AM
Quote from: kurosaki00 on November 06, 2009, 10:12:08 PM
I want to install this in a new theme
and when I try the package parser it says this
Error: Modification XML file (/tmp/smf_xml/themesinstall-1.1.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/languagesenglish_all.xml) doesn't exist!
Error: Modification XML file (/tmp/smf_xml/permissionsinstall-perms-1.1.xml) doesn't exist!

I want to install the nneonneo sb 1.22 in another theme.
I have the sb installed and working in a theme, but I want it in another theme.

Any idea whats the code for it showing in the forum?
Also I want it to show above forum stats - below recent posts.
Any idea how?
Thanks for your help.

On Page 1 of this thread - look under the heading: Installation to Other Themes.

You need to do the index.template.php edit and also one of the initialize codes goes into your BoardIndex.template.. You can try to put it smack in the middle of your info center as you wish but I suggest placing it right above it.

UD


thanks bro! everything working like a charm!

jossanaijr

Quote from: 01_Underdog on November 09, 2009, 05:00:20 PM
Quote from: jossanaijr on November 09, 2009, 07:18:26 AM
It was working fine for a long time.
Now it is broken.  My host fix some server problem and I'm not sure if it is related to this or not.  It was not working than host support change permissions to 777 and it is working (wrong) now.

The problem:  you enter a SHOUT and it is listed in the first line instead of the last one.
The shout history does not change.
If you enter another shout it replaces the previous one.  The history is remained.
Attached jpgs for example.  I shout test, test 1 and test 2.
Any help?  All files are 777 permission.


Anything done from the server (except 3 digit code permissions) shouldn't affect your shoutbox. Are you sure you didn't edit a file that changed the settings?

First place to check is the / yshout / settings.php file.

Look for...

// The shoutbox usually shows shouts with the newest chats at the bottom.
// If you want the newest ones at the top, set this to true.
$reverseShouts=false;

// If you reverse the shouts, you might want the shout form to be on top
// rather than on the bottom. Set this to true to move the shout form
// to the top (the tool links will stay above the form)
$shoutFormOnTop=false;


The remarks make the settings self explanatory. If adjusting these settings doesn't fix the issue.. then I assume the installation of another mod has messed up one of the file edits. Probably the index.template.php from your theme.

UD


Solved when I changed to $gzipCompression=false;
Thank you!

popabawa

I realise it's early days but will RC2 be supported at some point?

I tried installing 1.22 (which seems to install fine on RC2) but the Shoutbox doesn't seem to show up.

I'm not that confident in doing a manual install either!

ameo

#5697
In SMF RC2 shoutbox is working well.
Problem is in installation, I believe.
Apparently, when installing code for display of shoutbox doesn't install in index.template.php

So, let's say you wanna install in default theme - Curve. You need to install shoutbox, as usually,
and you need to open index.template. php and in 3.rd box from bottom, just before last bracket,
you need to insert code for display

   // YSHOUT HERE - shoutbox code
      echo '
                     <br /><b>',$txt['yshout_shoutbox'],'</b><br /><br />
                     <div id="yshout">',$txt['yshout_loading'],'<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></div>';
      // YSHOUT END - shoutbox code
.

Then shoutbox will display, and don't forget to change permissions for each membergroup so it could display for them too.

If you need to see it to believe it see it here: The X WEB
antechinus:
QuoteIf you are dying for a solution it may be wise to seek medical attention.
Get some Awesome Smileys for your forum

|±(ಠ_ಠ
)±|

popabawa

Thanks ameo, that sounds simple enough, I'l give it a try :)

popabawa

#5699
Quote from: ameo on November 10, 2009, 10:23:19 AM
and you need to open index.template. php and in 3.rd box from bottom, just before last bracket,

Sorry, don't understand that bit, can you elaborate for this thicky :)

I've tried it in a few places but it just messes up the formatting completely...

Advertisement: