151
skalpa
Re: Removing the intermediate flash screen
  • 2003/11/25 23:21

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


I personally hate those pages...

My opinion about those kind of things is: if you're not supposed to go in there, you shouldn't even know this place exists.
I'm going to talk of this with the mod team, as I think we should ensure these pages aren't needed anymore in the future (if you're not allowed to click on a link, the link won't be displayed anymore).

But I'll think of you "message" idea anyway (I've been working on a similar method to replace the "DB updated" page within the admin).

Skalpa.>



152
skalpa
Re: Postgre support and more
  • 2003/11/25 22:57

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


Well it's more or less about this, but there are a lot of things to consider.
Different DB systems aren't exactly using the same SQL syntax, they also differ in the way they handle blob columns, some features aren't supported by all of them, the module.sql file modules provide is MySQL only, so we have to find a way to translate this file or provide a generic schema format that would be translated to "native" sql, etc....

I've been deeply looking at ADOdb lately (it's a db abstraction layer that handles all those kind of things) but it has a real effect on performance, so I'm still searching for the best thing we could implement.
And it's not a question of minutes

Skalpa.>



153
skalpa
Re: Hardware help needed
  • 2003/11/25 17:09

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


It could come from the RAM, but memory probs generally invoque a blue screen and don't make the puter freeze.

IMO, this one may more probably come from: the gfx card / the mb chipset / cpu probs.
So if you recently updated your detonator drivers or played with your config, try cleaning a little (find a tool somewhere to completely remove the gfx drivers, then reinstall).

Or, if your machine is a bit old, check the cpu fan. It may be malfunctioning, causing the puter to freeze randomly when the cpu overheats.

Skalpa.>



154
skalpa
Re: Version 1.21 of Meta-Generator module
  • 2003/11/25 15:34

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


Quote:

You would then need to alter the core so info could be written to the header from within a module (could be a biggie here), and when getting an article, get also the key words.


Already done m8
2.1 will allow modules/pages to add custom xml namespaces / meta tags / stylesheets / js to the head tag.
The theme will have to support it though, but it's possible now.

Skalpa.>



155
skalpa
Re: Version 1.21 of Meta-Generator module
  • 2003/11/25 15:31

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


Quote:
* You currently may not integrate this software with any CMS without written permission from the author.


So, if I understand correctly, this is a so-called "open-source" program dealing with html functionality, that you're not allowed to use in web related software ?



I love it ! Puters are fun.
Is anyone in need of a great meta tag generator for his car stereo around here ?

Skalpa.>



156
skalpa
Re: Newbie question
  • 2003/11/25 1:04

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


Quote:

$xoopsTpl->assign('user_extrainfo', $myts->makeTareaData4Show($thisUser->getVar('bio', 'N'),0,1,1));


The 2nd getVar parameter is used to format variables. Here the 'n' asks the function to return the variable (bio) as-is, without preliminary escaping.
For makeTareaData4Show, here are what the numbers mean (for each parameter, 0 means off, 1 means on):
1st: Allow html
2nd: Enable smiley
3rd: Enable bbcodes



Skalpa.>



157
skalpa
Re: News module enhancements
  • 2003/11/25 0:57

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


Just thought it would be useful to specify a few things that are planned in the core (than means also available for modules) so people don't request them:

- Softlinks in content (that means the same subcat, or the same news can appear at different places)
- Extensible access control management (you can choose what cat or item can be viewed / edited / deleted depending on everything I'll be able to imagine (well, at least group / rank / user until now) ).
- A more extended appearance control (so you can use diff templates for diff cats). (this one is less sure, as in fact it's not the easiest, but I'm trying anyway).

And last, Mith, you won't get anything by kicking my balls m8. Just try to see what will happen

Skalpa.>



158
skalpa
Re: Testing for an installed module during install?
  • 2003/11/25 0:00

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


There's a way to include an install routine in your module, but it will only get executed after it is installed.
And even if you can insert some kind of check within xoops_version.php , I don't see how you could really prevent the users from installing your module anyway.
So here are the few ideas I have, try playing with them...

1) To check if a module is available:
$hmod =& xoops_gethandler('module');
if ( 
false === ( $mod $hmod->getByDirName('requiredmodname') ) ) {
    
// unavail
} else {
    
// avail
}


2) There's a tut on how to use the module install feature here.

3) What I would try is (both untested):
- Check if module is installed within xoops_version.php
and enclose all the $modversion[] declarations within an if block.
Bad point: 'A module file not found' will appear, not a user-friendly message.
OR
Implement the 'onInstall' function as described in the dev wiki, check the required module, and if not echo() an error message before uninstalling your module (not quite efficient as your mod will get installed, then uninstalled).
So you would do:
if ( false === ......) {
    
$mymod $hmod->getByDirName('myownmodule');
    
$hmod->delete($mymod);
    return 
false;
} else {
    return 
true;
}

As I said, I'm not promising anything, so play around.

And anyway, I think this feature should really be here, so I'll add it on my list for XOOPS 2.1

Skalpa.>



159
skalpa
Re: how to obtain IP adress of mySQL???
  • 2003/11/24 13:38

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


If you don't have anything, ask your provider.
If you have the dns name of your MySQL server (i.e: sql.mydomain.com), open a shell (or a command prompt in windows) and type:

nslookup myname.mydomain.com
(well, use the real one not "mydomain" )

It should return you the ip...

Skalpa.>



160
skalpa
Re: Xoops and mod_rewrite
  • 2003/11/23 19:21

  • skalpa

  • Quite a regular

  • Posts: 300

  • Since: 2003/4/16


This one has been one of the most requested, and there WILL be a "mod_rewrite admin" implementation in XOOPS 2.1


But until then you can check Draven's link or search mod_rewrite on this site, there have already been a lot of posts on how to do this with the actual versions.

Skalpa.>




TopTop
« 1 ... 13 14 15 (16) 17 18 19 »



Login

Who's Online

243 user(s) are online (180 user(s) are browsing Support Forums)


Members: 0


Guests: 243


more...

Donat-O-Meter

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

Latest GitHub Commits