1
brentw
Re: change new user notification email
  • 2008/8/28 15:01

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


Wow..that was easy; I was bogged down in "modules". Thanks for the help!



2
brentw
Re: change new user notification email
  • 2008/8/28 14:36

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


Sorry, can you be more specific? where is the language catalog?



3
brentw
change new user notification email
  • 2008/8/28 14:10

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


I hate to ask what must be a simple question, but I've searched through my website, the database, and all of the XOOPS code trying to find the text for the email that gets sent when a new user is activated. I need to customize this text; can anyone point me in the right direction?

Thanks



4
brentw
Re: notification functionality for non-templated modules
  • 2006/1/17 20:44

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


You da man. That works brilliantly. That's the "real" way to wrap code in Xoops!



5
brentw
Re: notification functionality for non-templated modules
  • 2006/1/17 20:10

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


Ooooh...this is close.

The notification info shows up as long as I place this code AFTER the "include footer.php" code. But then it doesn't output in the correct format. If I place this code before the footer, I see nothing.

Thanks!



6
brentw
notification functionality for non-templated modules
  • 2006/1/17 19:33

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


Hello all.

I have a few modules that have been modified to work w/in XOOPS but only take advantage of the security features. However, I'd like to add notifications funcationality to them. I've made the appropriate changes in the "xoops_version.php" file, but I cannot get the notification HTML to print out at the bottom of my index.php page.

From what I can tell, I have to create a template that includes the
"db:system_notifiation_select.html"
file and then set use this template from w/in my php file
(e.g. $xoopsOption['template_main'] = <my_template_file>.

Is there anyway to include the "db:system_notifiation_select.html" directly from php?

This was most likely a terrible description of my problem.

Thanks!

Brent Weatherly



7
brentw
Re: module security
  • 2005/11/21 15:38

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


Thanks for the replies. The redirect works perfectly.

One more question: How can we lookup the group(s) that are allowed to access a module? I'd like to check for group permission w/out statically specifying any group names or ids.

Thanks

Brent



8
brentw
Re: module security
  • 2005/11/21 13:35

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


I got excited thinking I was going to get some help. Anyone have any ideas? Other than manually coding every php file or a header.php file to check for user/group login info?

Thanks

Brent



9
brentw
Re: module security
  • 2005/11/18 15:55

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


I'll try to explain by example.

in modules/xoopspoll, i created a directory "test". I copied a dummy index.php file into the test/ sub-dir:

code:
include("../../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;
?>
Hello World!

<?php
include(XOOPS_ROOT_PATH."/footer.php");
?>


If I pull up my browser (NOT LOGGED IN TO XOOPS), and access page:
<URL>/html/modules/xoopspoll/index.php

I get the "you don't have permission to access this area" warning w/ a redirect.

If I access the page:
<URL>/html/modules/xoopspoll/test/index.php

The page loads fine w/ the login block displayed as well.

I want to be able to redirect ANY access to a file in a module for which a user does not have permission.

Make sense?



10
brentw
module security
  • 2005/11/18 14:00

  • brentw

  • Just popping in

  • Posts: 18

  • Since: 2005/5/25


Hello all.

I'm trying to figure out how to secure all html/php files in a module directory and ALL sub-directories. I don't want anyone to figure out a URL to a file in a sub-directory and be able to directly access it w/out logging in w/ the right permissions.

It seems you can create sub-directories in a module (besides admin, for example), copy files there, and then pull them up in a browser w/out logging in.

Is there an easy fix w/out having to individually list all files or break up my modules?

Thanks

Brent




TopTop
(1) 2 »



Login

Who's Online

225 user(s) are online (149 user(s) are browsing Support Forums)


Members: 0


Guests: 225


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