292441
Xend
Re: Xoops Chat, funny link titles
  • 2003/8/12 19:04

  • Xend

  • Friend of XOOPS

  • Posts: 37

  • Since: 2001/12/13


Go into Administrator and update the module..



292442
MSGDogs
And another blank page problem
  • 2003/8/12 18:53

  • MSGDogs

  • Just popping in

  • Posts: 45

  • Since: 2003/8/8 1


bb related...installed the forum module ,set up a few forums which u can see...but when u go to post it gives u a blank page and nothing else...any ideas?



292443
Hostile
Re: Xoops Chat, funny link titles
  • 2003/8/12 17:52

  • Hostile

  • Just popping in

  • Posts: 14

  • Since: 2002/12/12


I removed all the files in templates_c and it still didn't fix it.

I've also given the anonymous group access to the module so you should be able to view it.

http://www.hostileterritory.org/st



292444
hsalazar
Re: Xoops Chat, funny link titles
  • 2003/8/12 17:30

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Hostile:

Since the site's templates are stored in the database and then cached, try accessing your site via FTP and then deleting all the files in the templates_c folder. Please notice the _c part, as this points to the cached files folder.



292445
Hostile
Re: Xoops Chat, funny link titles
  • 2003/8/12 17:07

  • Hostile

  • Just popping in

  • Posts: 14

  • Since: 2002/12/12


I found the following in the admin folder of the module in a file called banusers.php

"._MI_XOOPSCHAT__ADMENU3."


It shows a double underscore after _MI_XOOPSCHAT, just like hsalazar said.

I've modified the constants.php with the double underscore but it still doesn't work. Is there something I need to update after making the change? I tried to update the Module in the Module Administration but it didn't make a difference.

FYI - I'm only modifying the english language constant.php since I have other languages turned off.



292446
Mithrandir
Re: Xoops Chat, funny link titles

not
define("_MI_XOOPSCHAT__AD1""rooms.php");
but
define("__MI_XOOPSCHAT_AD1""rooms.php");
(I think) Maybe check in the module files and see how they are called? (it could also be _MI__XOOPSCHAT_AD1 - I'm just guessing here)



292447
Hostile
Re: Xoops Chat, funny link titles
  • 2003/8/12 16:21

  • Hostile

  • Just popping in

  • Posts: 14

  • Since: 2002/12/12


Here is the constants.php from the english language folder in the xoopschat folder:

// ------------------------------------------------------------------------- //
// Original Author: Pietro Lascari
// Modified for Xoops: Marko "Predator" Schmuck and frankblack
// Licence Type   : Public GNU/GPL
// ------------------------------------------------------------------------- //

// The name of this module
define("_MI_XOOPSCHAT_NAME","Xoops Chat");

// A brief description of this module
define("_MI_XOOPSCHAT_DESC","A chat module for XOOPS 2.0.x");

// Names of admin menu items
define("_MI_XOOPSCHAT_ADMENU1","Rooms manager");
define("_MI_XOOPSCHAT_ADMENU2","Messages manager");
define("_MI_XOOPSCHAT_ADMENU3","Users banishment");

define("_MI_XOOPSCHAT_AD1""rooms.php");
define("_MI_XOOPSCHAT_AD2""messages.php");
define("_MI_XOOPSCHAT_AD3""banusers.php");

define("_MI_XOOPSCHAT_D1""To create or modify an existing room.");
define("_MI_XOOPSCHAT_D2""To search, delete one or all messages in the database.");
define("_MI_XOOPSCHAT_D3""To ban a user from the chat for the selected time period.");

?>


It is already coded with a single _ .

I changed them all to double _ and it just showed up with the extra _ in the names:

// ------------------------------------------------------------------------- //
// Original Author: Pietro Lascari
// Modified for Xoops: Marko "Predator" Schmuck and frankblack
// Licence Type   : Public GNU/GPL
// ------------------------------------------------------------------------- //

// The name of this module
define("_MI_XOOPSCHAT__NAME","Xoops Chat");

// A brief description of this module
define("_MI_XOOPSCHAT__DESC","A chat module for XOOPS 2.0.x");

// Names of admin menu items
define("_MI_XOOPSCHAT__ADMENU1","Rooms manager");
define("_MI_XOOPSCHAT__ADMENU2","Messages manager");
define("_MI_XOOPSCHAT__ADMENU3","Users banishment");

define("_MI_XOOPSCHAT__AD1""rooms.php");
define("_MI_XOOPSCHAT__AD2""messages.php");
define("_MI_XOOPSCHAT__AD3""banusers.php");

define("_MI_XOOPSCHAT__D1""To create or modify an existing room.");
define("_MI_XOOPSCHAT__D2""To search, delete one or all messages in the database.");
define("_MI_XOOPSCHAT__D3""To ban a user from the chat for the selected time period.");

?>




Maybe I'm not understanding you.



292448
hsalazar
Re: Xoops Chat, funny link titles
  • 2003/8/12 15:36

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Hostile:

In the file constants.php within the language directory, you need to change all the underscores that go after "_MI_XOOPSCHAT" for double underscores, for that's the way it's coded in the module...

Either that, or change the code in the module so instead of double underscores you have single underscores when calling the language constants.

Cheers.



292449
Hostile
Xoops Chat, funny link titles
  • 2003/8/12 15:11

  • Hostile

  • Just popping in

  • Posts: 14

  • Since: 2002/12/12


I just installed the XoopsChat Version 1 and all the menus are screwed up.

In the main menu the link is titled _MI_XOOPSCHAT_NAME.

When I click on it the chat appears to be working correctly though.

Also in Administration when I hover the XOOPS Chat icon on the left the links are all the same, and I have no idea what they do unless I click on them, the titles are messed up:

The pop-up menu is titled _MI_XOOPSCHAT_NAME
and the 3 selectable options are:
_MI_XOOPSCHAT_ADMENU1
_MI_XOOPSCHAT_ADMENU2
_MI_XOOPSCHAT_ADMENU3

and the description shows
_MI_XOOPSCHAT_DESC

Anyone have any ideas?

I'm running XOOPS 2.0.3 and I downloaded the module from here - http://modules.xoops2.com/modules/mydownloads/viewcat.php?cid=1



292450
Hostile
Site Name and Slogan won't take.
  • 2003/8/12 14:31

  • Hostile

  • Just popping in

  • Posts: 14

  • Since: 2002/12/12


In Site Preferences -> General Settings the "Site Name" and "Slogan for your site" are not keeping their values. I enter text (alpha characters only) and when I submit I am returned to the form and the fields are blank again.

All other fields on the form update properly.

Anyone have any ideas?

TIA







Login

Who's Online

152 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 152


more...

Donat-O-Meter

Stats
Goal: AU$15.00
Due Date: Jul 31
Gross Amount: AU$0.00
Net Balance: AU$0.00
Left to go: AU$15.00
Make donations with PayPal!

Latest GitHub Commits