291911
mvandam
Re: Auto login
  • 2003/9/16 1:14

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


Just a quick question about this hack:

It seems that the 'remember-me cookie' lifetime and the session lifetime have the same value. Would it be better to separate these so that someone can remain 'logged in' for a long time (e.g. 1 year) without tying up resources (HTTP_SESSION_VARS) for that user. Or have I misinterpretted something? (I haven't had a chance to look at all the modifications very carefully yet.)



291912
mvandam
Re: "Could not insert forum post"
  • 2003/9/16 0:29

  • mvandam

  • Quite a regular

  • Posts: 253

  • Since: 2003/2/7 2


Just to keep these forums a little organized, here is a link to the original thread:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=11136&forum=7

Since it 'suddenly started happening', it really sounds like a database error as suggested in the above thread. Have you run 'check table ' and/or 'repair table ' for the relevant tables? You will need some way to access the database such as command-line MySQL or phpmyadmin or mysqlfront or something like that...



291913
hsalazar
Re: Gray Line
  • 2003/9/15 22:59

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Shijk:

You can't find it because it's not defined. In the default stylesheet the selector fieldset is not included. However, if you see the files theme_blockcenter_c.html, theme_blockcenter_l.html, and theme_blockcenter_r.html (that are also part of the theme, of course), you'll see the selector invoked, though not defined.

So the solution is to add it to the stylesheet just as I suggested.

Cheers.



291914
Shijk
Re: Gray Line
  • 2003/9/15 22:47

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


thnx for your reply..

but I can't find anything that looks like that




291915
hsalazar
Re: Gray Line
  • 2003/9/15 22:28

  • hsalazar

  • Just popping in

  • Posts: 78

  • Since: 2003/2/6 1


Shijk:

That gray line you see appears so because that's the default behaviour in absence of a defined stylesheet selector. What you need to do is to include in your stylesheet a selector for the element fieldset, the responsible of the curved borders frame around your center-center block. So you need to add something like:
.fieldset
    
{
    
color#cc0000;
    
}


in your stylesheet. Of course you have to specify whatever color you want.

Cheers.



291916
Shijk
Gray Line
  • 2003/9/15 22:14

  • Shijk

  • Just popping in

  • Posts: 51

  • Since: 2003/8/7 2


Hi there..

I've got a problem with the block RECENT TOPICS
The border is gray and I wanne change the color but I can't figure out where to do..

Here is a screenshot..
Resized Image

Ps: Sorry for my bad english..



291917
Derya
Re: dictionary modules
  • 2003/9/15 21:31

  • Derya

  • Module Developer

  • Posts: 40

  • Since: 2003/5/12


If you want to have your own glossary module, than I have a quick &dirty integration of the great glossword script. you only need to make this changes:
Move glossword dir from zip into your XOOPS module dir.
Open "db_config.php" and make your database changes. Select "xoops_gw_" as table-prefix.
Install like glossword install guide.

open index.php in your glossword dir:
add "include "../../mainfile.php";" to line 490
and "include XOOPS_ROOT_PATH."/header.php";" to line 491
uncomment "$oHdr->add('Content-Type: text/html; charset='.$L->languagelist("2"));" maybe line 492
and add "include XOOPS_ROOT_PATH."/footer.php";" bevor ?>

Create a xoops_version.php like this
$modversion['name'] = 'Glossword';
$modversion['version'] = 1.00;
$modversion['description'] = '';
$modversion['credits'] = "";
$modversion['author'] = "";
$modversion['help'] = "";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 1;
$modversion['image'] = "logo.gif";
$modversion['dirname'] = "glossword";

//Admin things
$modversion['hasAdmin'] = 0;
$modversion['adminmenu'] = "";

// Menu
$modversion['hasMain'] = 1;
?>

Now, you need to install it in your module admin.And it must work, now.

Glossword needs utf-8 encoding, that means you need to change the encoding of your language files. Open them with notepad.exe and save them in utf-8, change the XOOPS encoding in your languages global.php file and set mulitbyte encoding.

The difficult think is to change the encoding of your content. If your site doesn't use special charecters, maybe you don't have to change somethink. But if you use special characters, you need to change it...how? don't ask me...

Now, you can make changes to glossword templates to fit it into your site and if you want you can try to create some blocks

This is only a quick&dirty integration, this means the Admin section of glossword is standalone, it's not inluded in xoops. You and your glossary editors need an glossword accout to manage the glossaries.
But on userside it looks like every oother XOOPS module.

Here you can download glossword:
Sourceforge project page
Homepage is not everytime up...but the versions are newer than on the project page and you can finde here all language packs.



291918
David_Topping
"Could not insert forum post"

My site is located at http://www.humbersideonline.com/modules/news/ and whenever users try to post in the forums (replies, topics, etc.), they get a 'Could not insert forum post' error on a page with the site's template around it. However, when they try to post TOPICS, they still show up on the 'Recent Topics' block, but with no 'Last Post' field (check the site). If you then go to that topic, it's completely blank; there is the typical table that is normally there for a post, put there is no content within it (not even a 'Poster' column). There are also no 'Reply' buttons below it as normal.

Please please help!



291919
Ace_Armstrong
Re: dictionary modules

Quote:

josecruz wrote:
has anyone ever seen a module that taps into the numerous online dictionaries to provide word meaning lookups; Dictionaries like Websters online, or the cia factbook?

I could probably cobble something together myself, but I thought I'd check to see if soemthing was already around.

Jose


Check out what we did at http://www.GLOAMING.us

We have a thesauraus, dictionary, and legal dictionary that we added inside of a custom block using scripts supplied by law.com and http://www.m-w.com



291920
DobePhat
Re: Auto login
  • 2003/9/15 16:15

  • DobePhat

  • Friend of XOOPS

  • Posts: 656

  • Since: 2003/4/15


-Thanks! oops! Clicked back in browser!







Login

Who's Online

357 user(s) are online (79 user(s) are browsing Support Forums)


Members: 0


Guests: 357


more...

Donat-O-Meter

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

Latest GitHub Commits