1
Yoshi
Re: How to automatically give anonymous access at module installation ?
  • 2005/8/4 6:15

  • Yoshi

  • Just popping in

  • Posts: 8

  • Since: 2003/7/13


Hi rowdie,

I was just in time for your original post and tried it. It worked, and then came back here for a thank you post, and it was gone.

I wonder if it was for some security reason etc, but anyway, thank you for the help.

Best,

Yoshi



2
Yoshi
Re: How to automatically give anonymous access at module installation ?
  • 2005/8/4 2:02

  • Yoshi

  • Just popping in

  • Posts: 8

  • Since: 2003/7/13


Hi,

I found this thread when I was looking for a clue to do the same thing, and tried what's written here and the tech doc linked from here, but it doesn't seem to work.

I have a feeling that my call to addRight function is denied for lack of permission?

Here's my install_func.php:

function xoops_module_install_xoopshp(&$module) {
    
$groupperm_handler =& xoops_gethandler('groupperm');
    return 
$groupperm_handler->addRight('module_read'$module->getVar('mid'), XOOPS_GROUP_ANONYMOUS);
}



3
Yoshi
Re: Thumbnail feature in Image Manager
  • 2004/1/30 13:47

  • Yoshi

  • Just popping in

  • Posts: 8

  • Since: 2003/7/13


Whoops!

It's already documented in INSTALL file in the module



4
Yoshi
Re: Thumbnail feature in Image Manager
  • 2004/1/30 13:45

  • Yoshi

  • Just popping in

  • Posts: 8

  • Since: 2003/7/13


GIJOE, the author of the module, did his best to minimize the amount of hacking to the core, and offered these two options to add extra feature to the default image manager.

(This is a summary/translation from his posting in the Japanese official site. I'm quoting here because I don't think he has provided this info in English yet at this moment)

a) Replace the default imagemanager.php in your XOOPS root directory with the one that comes in myAlbum module package.

This is the easiest way to impliment the feature.

b) Add a following line to 'imagemanager.php' in your XOOPS root directory:

include './mainfile.php';
[
color=FF0000]include 'modules/myalbum/imagemanager.php';  // Line to Add Here[/color]
if (!isset($HTTP_GET_VARS['target']) && !isset($HTTP_POST_VARS['target'])) {
       exit();
}


This is a bit more cumbersome compared to the method above, but it is safer because you can comment out (add '//' at the beginning of the line) the line you added in case you have any trouble by doing so.

Good luck,

Yoshi



5
Yoshi
Re: Thumbnail feature in Image Manager
  • 2004/1/30 13:03

  • Yoshi

  • Just popping in

  • Posts: 8

  • Since: 2003/7/13


I'm proud to announce here,

(insert drumroll here...

that a devoted XOOPist in Japan has finally realized this feature in his version of myAlbum module. If you aren't satisfied with the default image manager and are looking for automatic thumbnail feature, this is the modle you should try:

http://www.peak.ne.jp/xoops/modules/news/article.php?storyid=13

Thank you for the great work, GIJOE.



6
Yoshi
A bug in options display in polls
  • 2003/10/5 0:03

  • Yoshi

  • Just popping in

  • Posts: 8

  • Since: 2003/7/13


Hi,

I tried 2.0.5RC and just noticed a bug in its polls. It's such an obvious one that I'm sure the team has already spotted this, but I'd like to report here just in case.

In the polls admin after you submit a new poll and go back to edit it, all the options are set to the value of the last option. The options all look okay when you take the poll, so I suspect it's a problem somewhere in the skin, not the program core.

I tried replacing the entire xoopspoll module with the older ones, but it didn't do any good.

BTW, is there any quick solution without going back to the 2.0.4?



7
Yoshi
Re: Thumbnail feature in Image Manager
  • 2003/8/22 6:34

  • Yoshi

  • Just popping in

  • Posts: 8

  • Since: 2003/7/13


Hmmm, no one seems to be interested in this idea, huh?

Oh well, can live without it anyway.

Cheers,

Yoshi



8
Yoshi
Thumbnail feature in Image Manager
  • 2003/8/15 2:49

  • Yoshi

  • Just popping in

  • Posts: 8

  • Since: 2003/7/13


Hi,

I think it'd be great if there's an improved Image Manager available that's compatible with Image Magick module or NetPBM, so that it automatically generates thumbnail images on which readers can click and see a pop-up image in the ogirinal size.

What do you say?

Yoshi




TopTop



Login

Who's Online

224 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 224


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