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

nneonneo

@MegaTinkerCoder: Ah, thanks for the tip!

@Miraploy: I get a 500 internal server error. Something is seriously f*cked up. Can I have a list of the mods you have installed?
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

shadow82x

Hi again -
Is there a way to get your own box shoutbox under the welcome box and before the treelink in it's own block. I can't seem to get the correct spot.
Colin B
Former Spammer, Customize, & Support Team Member

Flying Drupalist

shadow82x, it's all in the templates, I'll walk you through it on IRC tomorrow.

nneonneo, ok:

1.   Attachments layout   1.2     [ Uninstall ] [ List Files ] [ Delete ]
2.   SSI Topic and Replies   0.1     [ Uninstall ] [ List Files ] [ Delete ]
3.   Signature Settings Mod   1.0     [ Uninstall ] [ List Files ] [ Delete ]
4.   SMF Sitemap   1.1.3     [ Uninstall ] [ List Files ] [ Delete ]
5.   FlashChat Integration   1.0     [ Uninstall ] [ List Files ] [ Delete ]
6.   Users Active in Last 24 Hours   1.0     [ Uninstall ] [ List Files ] [ Delete ]
7.   Additional Membergroups on Profile   1.0     [ Uninstall ] [ List Files ] [ Delete ]
8.   Profile Music   1.0     [ Uninstall ] [ List Files ] [ Delete ]
9.   Sorted Package Manager Listing   0.1     [ Uninstall ] [ List Files ] [ Delete ]
10.   Board News   1.0     [ Uninstall ] [ List Files ] [ Delete ]
11.   SMFChess   0.1     [ Uninstall ] [ List Files ] [ Delete ]
12.   SMFBlog   0.1 Beta     [ Uninstall ] [ List Files ] [ Delete ]
13.   audiblepm 1.5   1.5     [ Uninstall ] [ List Files ] [ Delete ]
14.   Signature Settings Mod   1.0     [ Uninstall ] [ List Files ] [ Delete ]
15.   SMF Links   1.6.5     [ Uninstall ] [ List Files ] [ Delete ]
16.   Signature BBCode Bar   1.4     [ Uninstall ] [ List Files ] [ Delete ]
17.   Topic description   1.1     [ Uninstall ] [ List Files ] [ Delete ]
18.   YouTube BBC Tag (XHTML Compliant)   1.0     [ Uninstall ] [ List Files ] [ Delete ]
19.   nneonneo's AJAX ShoutBox   1.09     [ Uninstall ] [ List Files ] [ Delete ]
20.   Custom Action Mod   2.04     [ Uninstall ] [ List Files ] [ Delete ]
21.   Ultimate Profile   0.7     [ Uninstall ] [ List Files ] [ Delete ]
22.   Karma Description Mod   2.3     [ Uninstall ] [ List Files ] [ Delete ]
23.   View Only Boards   1.1     [ Uninstall ] [ List Files ] [ Delete ]
24.   MessagePreviewOnHover   1.5     [ Uninstall ] [ List Files ] [ Delete ]
25.   Global Headers Footers   1.3     [ Uninstall ] [ List Files ] [ Delete ]
26.   Show Multiple Badges (Aka Stars)   1.0     [ Uninstall ] [ List Files ] [ Delete ]
27.   Welcome Topic Mod   1.0     [ Uninstall ] [ List Files ] [ Delete ]
28.   ssi_boardNews Multiple Boards   1.0     [ Uninstall ] [ List Files ] [ Delete ]
29.   SMFShop   3.0     [ Uninstall ] [ List Files ] [ Delete ]
30.   SMFarticles   0.1 Beta     [ Uninstall ] [ List Files ] [ Delete ]
31.   Member Awards   1.0.2     [ Uninstall ] [ List Files ] [ Delete ]

Modification Packages — Can't install
   Mod Name   Version   
1.   SMF Archive   1.1    [ List Files ] [ Delete ]
2.   Streaming 3   4.2.2a    [ List Files ] [ Delete ]

Modification Packages — Installed - Not Uninstallable (no uninstall section for this version of SMF)
   Mod Name   Version   
1.   Profil Moderator Managment   1.0.0     [ List Files ] [ Delete ]
2.   SMF Arcade   2.0.8     [ List Files ] [ Delete ]
3.   SMF Staff Page   1.5.1     [ List Files ] [ Delete ]
4.   Profile Comments   1.2.1     [ List Files ] [ Delete ]
5.   Who Voted What?   1.1.2     [ List Files ] [ Delete ]
6.   Member Color Link   2.0.0     [ List Files ] [ Delete ]

Modification Packages — unknown
   Mod Name   Version   
1.   SMF Links   1.6.3    [ List Files ] [ Delete ]
2.   VisualWarning   1.33     [ List Files ] [ Delete ]
3.   Tagging System   1.0.4     [ List Files ] [ Delete ]

Avatar Packages
   Mod Name   Version   
1.   Female Avatars Extra   5.0     [ Uninstall ] [ List Files ] [ Delete ]

I hope that helps!

nneonneo

I understand that FlashChat has a problem with SSI.

Try this:
On line 76 of SSI.php change
if(strpos($db_prefix, '.') === false)
to
if(false && strpos($db_prefix, '.') === false)
and see if that solves anything. Oh, and remove the backtrace code.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Flying Drupalist

Thanks that did it the trick. If it's not too much trouble could you explain why that worked?

nneonneo

#1085
http://www.simplemachines.org/community/index.php?topic=137508.msg1114395;topicseen#msg1114395

Once I saw you were using FlashChat, I was reminded of this exploration I did a while ago.

The gist of the bug is that:
1) SSI.php has a bug where it fails to select a database, if some certain conditions hold true
2) FlashChat expects a database to be selected, and if it is not, the MySQL functions error out with "no database selected"
3) Errors which occur in setupThemeContext() (into which FlashChat integrates some DB query code) will cause an infinite recursion among the six functions noted in the linked post. The functions will continue to call each other, in cycle, until either a) PHP dies from memory exhaustion, from all the variables that are created for each call, or b) PHP dies from a stack overflow, from the recursion.

This fix fixes the SSI.php part, forcing SSI to select a database.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Flying Drupalist

So flashchat out of the box is not bugged? It's not flashchat's fault but the SSI itself?

nneonneo

Flashchat is fine on it's own. However, Flashchat makes modifications which cause SSI to become unusable. The recursive loop is entirely possible to trigger in other ways, but again, there is a specific set of conditions which must hold to make this happen.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

Flying Drupalist

I somewhat understand, thanks!

Baby Blue

#1089
i have sbox 1.1.6 on my forum and the fonts too small when i go into admin and layouts there is no link there

when i go to uninstall it it wont let me what can I do to make the font bigger please

when i go to uninstall it i get this error
8. Execute Modification ./Sources/ModSettings.php Test failed


nneonneo

@Baby Blue: I don't have a 1.1.6, this is evidently not my shoutbox.
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

go_roko

#1091
Quote from: Baby Blue on September 14, 2007, 09:36:01 PM
i have sbox 1.1.6 on my forum and the fonts too small when i go into admin and layouts there is no link there

when i go to uninstall it it wont let me what can I do to make the font bigger please

when i go to uninstall it i get this error
8. Execute Modi

fication ./Sources/ModSettings.php Test failed



you have this shoutbox: http://custom.simplemachines.org/mods/index.php?mod=412

you want this thread here: http://www.simplemachines.org/community/index.php?topic=76344.1180

also note that the reason your getting errors is that the latest version of smf is 1.1.3 and this particualr shoutbox is only compatible with 1.1.2

jossanaijr

It was working fine until today when I installed more 3 mods without errors.
Now It is showing this message & error Sorry, you must be logged in to use the shoutbox!, even when I`m logged.  I did not notice when this errors starts to show.
I uninstall those others mods without problems but this did not fix this Shoutbox`s error.
Then I tried to uninstall Shoutbox but there is a ./Themes/default/index.template.php Test failed message.

Any help?

Flying Drupalist

What mods did you install?

go_roko

there is no reason what so ever that this should happen(the first error message) unless you were editing yshout but anyways...

try going into th cp of your hosting account, go to filemanager go into the forum dir then click on the yshout folder and click edit yshout.php folder

now find  // Guest usage. Set to false if you don't want guests to use the shoutbox: they will not be able to read it or post to it.
$allowGuests=*;
and first if it is false set to true if that doesent work just try delting the whole // Guest usage. Set to false if you don't want guests to use the shoutbox: they will not be able to read it or post to it.
$allowGuests=true;
part

comptech

#1095
All our members kept getting this error after entering their shout messages:

Warning: fopen(chats/history.home.txt) [function.fopen]: failed to open stream: Permission denied in /home/.../public_html/forum/yshout/yshout.php on line 686

Warning: fputs(): supplied argument is not a valid stream resource in /home/.../public_html/forum/yshout/yshout.php on line 687

chmodding history.home.txt to 777 did not resolve the problem. Any idea how to fix this?

jossanaijr

Quote from: go_roko on September 16, 2007, 02:41:20 AM
there is no reason what so ever that this should happen(the first error message) unless you were editing yshout but anyways...

try going into th cp of your hosting account, go to filemanager go into the forum dir then click on the yshout folder and click edit yshout.php folder

now find  // Guest usage. Set to false if you don't want guests to use the shoutbox: they will not be able to read it or post to it.
$allowGuests=*;
and first if it is false set to true if that doesent work just try delting the whole // Guest usage. Set to false if you don't want guests to use the shoutbox: they will not be able to read it or post to it.
$allowGuests=true;
part
Not sure it was for me but worked!
First I set to false.  Worked.
Then come back to true and it worked again!

nneonneo

@jossanaijr: Glad to hear it worked.

@ruelnov: Odd, have you tried chmodding the whole chats folder?
Check out the AJAX Shoutbox (my one and only mod to date :P)
Do you like SMF? Are you using ProBoards, InvisionFree, ActiveBoards or some other web-hosted forum? I can help you convert to SMF (without having to purchase a DB conversion)...contact me [nneonneo {at} gmail *dot* com], and see this topic
spammers here!

go_roko

Quote from: jossanaijr on September 16, 2007, 10:44:14 AM
Quote from: go_roko on September 16, 2007, 02:41:20 AM
there is no reason what so ever that this should happen(the first error message) unless you were editing yshout but anyways...

try going into th cp of your hosting account, go to filemanager go into the forum dir then click on the yshout folder and click edit yshout.php folder

now find  // Guest usage. Set to false if you don't want guests to use the shoutbox: they will not be able to read it or post to it.
$allowGuests=*;
and first if it is false set to true if that doesent work just try delting the whole // Guest usage. Set to false if you don't want guests to use the shoutbox: they will not be able to read it or post to it.
$allowGuests=true;
part
Not sure it was for me but worked!
First I set to false.  Worked.
Then come back to true and it worked again!

good to hear mate, glad it worked, now it seems i sorta know what im doing! :P

phpchris

Fellas, does anyone have an idea, how to get the commands for Global Moderators?
I tried this:
if (in_array(1, $GLOBALS['user_info']['groups']) || in_array(2, $GLOBALS['user_info']['groups']) || in_array(3, $GLOBALS['user_info']['groups']))
  $user['is_mod'] = 1;

But user_info doesn't seem to be an array for me.

Advertisement: