21
dreamgear
Re: How can I reset my xoops admin password ?
  • 2004/8/4 3:33

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


I've worked it out, fwiw. Let me know if I should post the answer.



22
dreamgear
How can I reset my xoops admin password ?
  • 2004/8/4 3:19

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


I did search for the answer, as it this must have been asked before, but I can't find it.

I do have phpMyAdmin access. I've just forgotten a password ...



23
dreamgear
Re: accessing group membership info from Smarty
  • 2004/4/4 17:23

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


Thanks, and thanks for the tip wrt the changes to core files. I've mostly resisted making this kind of change because I don't want to have things break on updates.

Also, if someone was actually contemplating putting this change into the next core (hint, hint ) , I would like to have the groups represented by name instead of by group id.



24
dreamgear
Re: Formulaire
  • 2004/3/17 16:32

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


Thanks. The module is great.

Here's the problem: The main menu entry that is created when the module is installed doesn't do anything for me. It just presents an empty form with only a submit button. The "menu" section in admin doesn't seem to affect this. I have it installed on two different systems, one at home that I manage myself and one at my hosting provider and I get the same behavior on both.

It hasn't been a problem so far because I've used it only on sites where I don't display the main menu to normal users. Now I'm working on a site where I might want to do so.

I have one other suggestion for improvement: It would be good if each form could have associated with it a piece of text, using the standard XOOPS editor, so I could have a few paragraphs and maybe a graphic explaining to the user about the form.



25
dreamgear
Re: Formulaire
  • 2004/3/16 17:10

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


Does anyone have the Formulaire "menu" working ? On my systems click on "Form" on the main menu just yields an empty form. The "menu" section in the admin doesn't seem to have any effect.



26
dreamgear
Re: accessing group membership info from Smarty
  • 2004/3/15 5:00

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


And, for completeness, some smarty code to use this new information. This will print "IS_MOS" if the user is in the group with group id "4":

<{foreach from=$xoops_ugroups item=curr_gid}>
<{if $curr_gid eq "4"}>
<{assign var="is_mos" value="true"}>
<{/if}>
<{/foreach}>
<{if $is_mos}>
<td>
IS_MOS
</td>
<{/if}>




27
dreamgear
Re: accessing group membership info from Smarty
  • 2004/3/15 3:08

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


diff header.php.original header.php
91c91
< $xoopsTpl->assign(array('xoops_isuser' => true, 'xoops_userid' => $xoopsUser->getVar('uid'), 'xoops_uname' => $xoopsUser->getVar('uname'), 'xoops_isadmin' => $xoopsUserIsAdmin));
---
> $xoopsTpl->assign(array('xoops_isuser' => true, 'xoops_userid' => $xoopsUser->getVar('uid'), 'xoops_uname' => $xoopsUser->getVar('uname'), 'xoops_isadmin' => $xoopsUserIsAdmin, 'xoops_ugroups' => $xoopsUser->getGroups()));





28
dreamgear
accessing group membership info from Smarty
  • 2004/3/15 1:12

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


What would be the easiest way to push the list of groups a user is a member of into a Smarty variable ? Can anyone give a few pointers ?

A site I'm working on will have three levels of access: Anonymous, Logged in members, and a special class of members who are actually part of this organization.

I'm already conditionally (with Smarty) writing my javascript menus based on whether the user is logged in or not. I'd like to also do this based on group membership, but the info just doesn't seem to be there in the Smarty variables assigned now.



29
dreamgear
Re: AOK
  • 2004/3/14 19:41

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


The latest version seems to have its admin menu cross-wired. I can't see the list of downloads unless I pick "broken downloads"... ?

Also, the case-mangling problem persists. If I upload "LittlePal.mmm" it doesn't work, but if I rename it to "littlepal.mmm" no problem.

And I had a thought of how you might implement some "real" security. How about when a file is received, you generate a random string of some considerable length (30 chars or so), and rename the file to that. Put the original filename in a database table with the random string. Now it's impossible for people to guess what file to download directly from the upload directory.

When someone downloads a file, the script would have to send the right content-type and content-disposition headers, and then pipe the randomly named file down to the client.

What do you think?



30
dreamgear
Re: Formulaire
  • 2004/3/14 2:55

  • dreamgear

  • Friend of XOOPS

  • Posts: 78

  • Since: 2002/7/18


Well.. Liaise seems nice, but there is only the one contact form.

Formulaire is really cool in that you can define your own multiple forms.




TopTop
« 1 2 (3) 4 5 6 7 »



Login

Who's Online

207 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 207


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