News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

SMF Chat

Started by J. S., September 14, 2005, 03:35:07 PM

Previous topic - Next topic

J. S.

Well in this case the $boarddir is /public_html/board. /var/www/html/board was an example for your path.

M@D-M@X

Has anybody got to operate this in the 1.1RC2 smf version...?

AntaresMHD

Well, I've having almost the same problem of the first posts... I installed the chat using the recommendations, and it worked, but where the chat is supposed to be, it shows and error message: "Fatal error: Call to undefined function: template_menu() in /home/utakinet/public_html/foros/SSI.php on line 206". How do I correct this? (obvioulsy,  can't use the chat...) The address is this: http://www.utaki.net/foros/chat/ [nofollow]

J. S.

Well.. where are your menu buttons from your forum? I can`t see them on your SMF board.. What is not working on your chat installation is the <?php ssi_menubar(); ?>


Go to http://utaki.net/foros/ssi_examples.php and you`ll see:

Menubar Function: <?php ssi_menubar(); ?>

Fatal error: Call to undefined function: template_menu() in /home/utakinet/public_html/foros/SSI.php on line 206


So.. try to fix that and your chat will work just fine. What i suggest is to replace your SSI.php with a "clean" version.

AntaresMHD

#24
Well, thank you for help me to identify the error, but I'm kind of... newbie at this. ¿How do I correct that? I mean, in my ssi.php I just can see the line that's causing the bug (206), and it shows this:

(...)
// Display a menu bar, like is displayed at the top of the forum.
function ssi_menubar($output_method = 'echo')
{
   global $context;

   if ($output_method == 'echo')
      template_menu();
   // What else could this do?
   else
      return $context;
}

// Show a logout link.
(...)


The highlighted function is the one that's causing the bug, but I don't understand how that's supossed to be used... Am sorry to keep bothering you, but there's something I can do about it? Can I just erase the function i the main.php file of the chat and/or the template_menu in the ssi.php of the forum? Thanks for your help, anyway...

Modification: I try what I wrote before this, I delete the <?php ssi_menubar(); ?> function of the main.php, and it worked!! Thans a lot!! this mod is awesome!!

squirrelof09

So does this work on RC2?

J. S.

Quote from: squirrelof09 on January 27, 2006, 03:05:24 PM
So does this work on RC2?

Yup! This chat will work on RC2 and any other SMF version.

AntaresMHD

I'm using the chat for about 3 days and is working perfectly (I guess)... But I wonder: how do I configure the size of the chat log? I want to keep a loooong track of the conversations, but it only keeps 150 lines. Where do I configure it? Thanks.

FBI

Great mod!
Absolutely brillian :)

I know the originally script came with IP address record (CMIIW).
How to enable in admin show? :)

Prasad007

gr8 mod ! Thank you!!! :) :)

FBI

Nice mod. I've been using this chat script for more 2 years ( I remember). But originally with iframe. So, its nice idea converting into table also connected with SSI :)

Now you can see my chat screenshot here..

I made some modification code for displaying currently online user (SSI).
So, the chatter can click the person (nickname), and send a SMF PM. Invite to chat room. :)

Teknomancer

Can someone help?

I installed this mod and I modified the "Settings.php" to have boarddir to - /public_html and changed the rest too but when i got to /chat all I get is a 'Internal server error' and 404 page not found error.

Its as though /public_html is wrong but it is correct as my board is hosted there and the chat is installed in /public_html/chat.

Any help...?
My SMF Forum:

Teknomancer

OK I got past the error screen and now its a blank page on /chat.

I'm 100% sure its a permissions problem... can someone tell me what permissions are to be set for the files/fodlers ??
My SMF Forum:

Dexy

is there version for SMF 1.0.6

Nitro

nice MOD and very EASY to use. it's working great!
however, i need some help tweaking the links that point to my forum like, home, calendar, etc.

i have installed another mod and everything needs to have this little link before the actual link:
main index: http://www.mypowerforum.com/index.php?option=com_smf&Itemid=87

http://www.mypowerforum.com/index.php?option=com_smf&Itemid=87&action=profile

http://www.mypowerforum.com/index.php?option=com_smf&Itemid=87&action=mlist


as you can see here, the /index.php?option=com_smf&Itemid=87&action= comes before any link, how do i add that peice of code so everything points to the right direction? the actual links work fine but i put a redirect link to deny direct access to the forum.

any ideas? thank you so much and this CHAT is a lot EASY to use.

GREAT JOB!!!!!
MPF Rocks!!!

Nitro

oh by the way, please don't take this in a wrong way. i'd like to ask your permission to hide the link that points to your website, why? you have some porno pictures and my site is a family site. so is that ok? let me know in a PM if it's ok by you. oh simply reply here i'd like to work this out. i love this CHat Mod of yours.

thank you man!
MPF Rocks!!!

Teknomancer

I still can't get this to work.

It just throws up a blank page on my site, but OFFLINE (localhost) it is working.
My SMF Forum:

J. S.

Nitro please replace the link to point to www.alltheweb.ro, the other site is a GSM related.. and yes, there are some sexy logos...

Teknomancer the answer is on this board, please read all the post and you`ll find it :)

Nitro

oh yeah! that's much better man! thank you!!!!

oh! what do you think about my technical question? about the code that needs to be added? how do i do that?

you ROCK!!!!
MPF Rocks!!!

Teknomancer

Quote from: J. S. on February 27, 2006, 10:56:16 AM
Nitro please replace the link to point to www.alltheweb.ro, the other site is a GSM related.. and yes, there are some sexy logos...

Teknomancer the answer is on this board, please read all the post and you`ll find it :)

If you mean setting the data folder to 777, deleting the files inside and adjusting "settings.php", I've done them.

It works offline on my localhost, but on my server online it throws a blank page. My host does not allow 777, i think it allows only 755 but I really don't see that should be a problem...
My SMF Forum:

Advertisement: