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

pooya

Woahhh i got this now :
Fatal error: Call to undefined function allowedto() in /home/xxx/public_html/forums/yshout/yshout.php on line 69

nneonneo

@pooya: Well, I have seen this error come up before, but I have no idea how to fix it. Check SSI.php; it should be including Security.php. Check Security.php and make sure it is a correct version.

@Dordt: OK. Can you visit forum/index.php?yshout and see if it says "Nothing to do"? If it says anything else, then that is a problem. If it looks right, can you try turning off gzipCompression in yshout/settings.php?
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!

Dordt

forum/index.php?yshout say "Nothing to do"

what is gzipCompression :)

pooya

my ssi.php says * Software Version:           SMF 1.1.5       
but my secuirty.php says  *Software Version:           SMF 2.0 Beta 4   

Soooo ?

pooya

Replaced ssi.php but error is still the same :(

nneonneo

@Dordt: yshout/settings.php. It is a setting that controls output compression.

If you give me a forum URL, I can probably tell you more.

@pooya: Try this: add to yshout.php before
// Set up some useful globals
the line
require_once($sourcedir . '/Security.php');
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!

pooya

Funny i got this.
Warning: require_once(/Security.php) [function.require-once]: failed to open stream: No such file or directory in /home/xxx/public_html/forums/yshout/yshout.php on line 48

Fatal error: require_once() [function.require]: Failed opening required '/Security.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/forums/yshout/yshout.php on line 48

nneonneo

Put "global $sourcedir" above that and see what happens.
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!

Dordt

I have this error in default theme :

Fatal error: Cannot redeclare ssi_shutdown() (previously declared in /mounted-storage/home65b/sub009/sc41673-EFEQ/www/smf/SSI.php:193) in /mounted-storage/home65b/sub009/sc41673-EFEQ/www/smf/SSI.php on line 195

nneonneo

My guess is that you've included yshout.php twice or something like that in index.template.php.

If you can't figure it out, post index.template.php.
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!

pooya

global $sourcedir;
require_once($sourcedir . '/Security.php');

Same error.

Final60

#4471
Hey neo
I have installed version SB_1.21 on SMF 2.0 beta 4. It seems to have installed correctly on my custom theme. But when I input any text nothing displays. When i run www.dcpryzom.co.uk/forum/yshout/index.php it just shows

"Shoutbox

loading..."

I have set full read write permissions on all the files. Any ideas why the shoutbox isn't loading?

you can view the shoutbox on my forum at www.dcpryzom.co.uk username: teresa, password: paperplanes


thanks in advance


P.S
Am i supposed to put in my database details somewhere?

pooya



Final60

Heya I managed to find the fix for the issue i had:

In yshout/js/yshout.js, change

Code: [Select]
function complex_escape(text) {
   return escape(textToEntities(text.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
}to

Code: [Select]
function complex_escape(text) {
   return text.replace(/&#/g, "&#").php_to8bit().php_urlencode();
}
This will ONLY work in beta 4.

nneonneo

@Final60: So...it is all solved then?

@pooya: I still don't know what's wrong. Can you post index.php (forums/index.php)?
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!

Final60

Yeah i got it working.
Another thing i'd like though is to remove the timestamp altogether!?

and im sure i read someone in this thread how to add smilies to the basic version (not advance which i find to resource hungry) can you point me in the right direction again?

thanks in advance

and a greta mod you have here!:)

PipeRain

Okay a couple (hopefully simple) questions:

About 2 years ago, I installed this excellent mod, then updated it once manually.  Most recently, I was running SMF 1.1.4, and upgraded via the package manager to 1.1.5 -> 1.1.6 -> 1.1.7 .  I no wwant to upgrade from v. 1.11 of the shoutbox to 1.21 and saw that I must uninstall the 1.1X version to install the 1.21 .   However the package will not uninstall as it errors out and says there's no uninstall info.

As I said, I installed this mod a while back and now have completely forgotten what I did to get it going....

Great sadness.

So,

  • What all do I need to remove in order to make this work?
  • Will the new package then install clean (assuming no other mod-related conflicts) using package add or am I best off doing it manually?

I am running SMF 1.1.7 and a metric butt-ton of other mods, but only the default theme.

Quote
1.   Member Notepad   1.0   [ Uninstall ]
2.   Avatar on Member List   1.0   [ Uninstall ]
3.   Mark Selected Topics As Read   1.0   [ Uninstall ]
4.   audiblepm 1.5   1.5   [ Uninstall ]
5.   Sticky First Post (extends sticky topic)   1.3.2   [ Uninstall ]
6.   User Control Panel By Alan S   1.1   [ Uninstall ]
7.   Admin Notepad   1.0   [ Uninstall ]
8.   Contact Page   1.0   [ Uninstall ]
9.   MessagePreviewOnHover   1.5   [ Uninstall ]
10.   User Email System   1.1.3   [ Uninstall ]
11.   Tagging System   1.0.3   [ Uninstall ]
12.   Topics Started by a user v 0.1.3 bugfixed - By Yio - bugfixed by Jack van Dijk   0.1.3   [ Uninstall ]
13.   Image Align Tag   0.3   [ Uninstall ]
14.   BBCode Bar For Signature   1.3   [ Uninstall ]
15.   Trim Url   1.0.2   [ Uninstall ]
16.   URL Popup   1.0   [ Uninstall ]
17.   Wrap Text Around Image   1.0   [ Uninstall ]
18.   YouTube BBC Tag (XHTML Compliant)   1.0   [ Uninstall ]
19.   PM On Registration   1.0.2   [ Uninstall ]
20.   nneonneo's AJAX ShoutBox   1.11   [ Uninstall ]
21.   Search Topic   1.01   [ Uninstall ]
22.   Reason For Editing Mod   1.14   [ Uninstall ]
23.   PhpInfo   1.1   [ Uninstall ]
24.   New Topic Button   1.0   [ Uninstall ]
25.   Report Icon Mod   1.0   [ Uninstall ]
26.   Order News   1.0.1   [ Uninstall ]
27.   Welcome Topic Mod   1.0   [ Uninstall ]
28.   Users Online Today Mod   1.4.0   [ Uninstall ]
29.   Select Admin for Notifications   1.1   [ Uninstall ]
30.   Spoiler Tag   0.3.2   [ Uninstall ]
31.   SMF 1.0.11 / 1.1.3 Update   1.1   [ Uninstall ]
32.   Topic description   1.1   [ Uninstall ]
33.   Enhanced Forum Statistics   1.0   [ Uninstall ]
34.   Updated Registration Agreement   1.0   [ Uninstall ]
35.   EmailFlash   2.0   [ Uninstall ]
36.   Popup PM Message - Uses The Same Window   1.1   [ Uninstall ]
37.   SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update   1.0   [ Uninstall ]
38.   Admin Lock Thread   1.2   [ Uninstall ]
39.   Add Domaintools to TrackIP   1.0   [ Uninstall ]
40.   Enhanced Calendar   1.1   [ Uninstall ]
41.   Auto Email Inactive Ordinary Users   1.2   [ Uninstall ]
42.   SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update   1.0   [ Uninstall ]
43.   SMF 1.0.14 / 1.1.6 Update   1.0   [ Uninstall ]
44.   SMF 1.0.15 / 1.1.7 Update   1.0   [ Uninstall ]
45.   Drafts (for 1.1.x)   1.08   [ Uninstall ]

pooya

Attached index.php hope you find something :(

nneonneo

@Final60: Edit preg_timeformat in yshout/settings.php or yshout.php and change "return '...'" to "return '';", i.e.
function preg_timeformat($matches)
{
return '';
}


This works better in v. 1.21...

@PipeRain: Well, you have another option: you can force the Package Manager to uninstall the shoutbox for you.

The procedure is as follows: download the 1.11 package to your computer and unzip it. Open up package-info.xml, and change
<uninstall for="1.1.0-1.1.4">
to
<uninstall for="1.1.0-1.1.9">
Zip everything back up into a package (with package-info.xml and other files at the top level) and upload that changed package to the server. You should then be able to simply uninstall it without any issues.

Or, you could opt to manually reverse the instructions in install.xml to uninstall the mod (you can consult the main mod page for the 1.11 manual install instructions)

1.21 *should* install cleanly provided the modifications to index.template.php and elsewhere are not too severe. Again, manual instructions can be had from the main mod page.

@pooya: It looks normal. I am totally stumped, sorry. I think you are the third person with this problem, but in all three cases I have not been able to find the cause. Very sorry :(
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!

Advertisement: