11
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:

<?php
// ------------------------------------------------------------------------- //
// 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:

<?php
// ------------------------------------------------------------------------- //
// 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.



12
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



13
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



14
Hostile
Re: XOOPS2 NewBB: Give moderators right to edit and delete posts
  • 2003/8/12 14:05

  • Hostile

  • Just popping in

  • Posts: 14

  • Since: 2002/12/12


Great hack, I just made the change and it works beautifully!

Like you I don't want to give Moderators full admin access. That is why there is a difference between moderators and administrators.

Cheers!
Iain




TopTop
« 1 (2)



Login

Who's Online

158 user(s) are online (86 user(s) are browsing Support Forums)


Members: 0


Guests: 158


more...

Donat-O-Meter

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

Latest GitHub Commits