31
rh94040
Best way to add additional menu items
  • 2004/4/18 21:04

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


Xoops 2.0.6

In general, is it better to add additional menu items
under the Main Menu or through a custom block (a new Menu)?
In my case, I have a need to restrict access to my
menu items depending on user's group membership. If a
user is not in a group that should view the page
corresponding to the menu item, I don't want that menu
item to display in the menu, AND I don't want the
corresponding page to display even if the user enters the
URL explicitly.

If done through the Main Menu, is coding required?
I couldn't figure out how to do it thru configuration
via the Web admin tool.

If through a custom block, how do I achieve displaying
menu items based on user's membership (and really restrict
access)?

Thanks much,
Ray



32
rh94040
Re: wfchannel_v1.0.6 RC1 Released
  • 2004/4/18 20:52

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


Hello Catz,

With this version on XOOPS 2.0.6, I noticed a couple
strange things regarding access permissions.

1) The "Module Permissions" form in the module admin page.
If I uncheck a box to revoke access to a page (e.g. pagenum=2) from a group G, after saving the setting, the corresponding
page does disappear from the WF Channel menu when a group G user accesses the site. However if that user enters the URL explicitly (e.g.,http://xxx.domain.com/modules/wfchannel/index.php?pagenum=2),
that page still shows... Is this a bug or expected? I
thought even page would check for group-based user access
right?

2) I created a custom block to have an additional menu
outside of the Main Menu, and in that block I added
my own menu items, such as:
<a class="menuMain" href="/modules/wfchannel/index.php?pagenum=5" ></a>

After I revoke access to pagenum 5 from group G, when a
user in group G accesses the site, that menu item still
displays in the custom block, and when clicked it still
displays the content of the page. This is the same
issue as in one, I suppose, although I have an additional
problem of not being able to even hide the menu item
in my custom block.

Any pointer would be appreciated.

Ray



33
rh94040
Cannot modify template files through the template set manager?
  • 2004/4/17 10:00

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


When I use system admin->template manager, all the default
templates html files only have the "View" and "Download" options, and I don't see any "Submit" option to allow me to make changes.

What am I missing? I'd like to modify some of the template pages for the look and feel.

Thanks,
Ray



34
rh94040
configurable web form builder module?
  • 2004/4/17 9:11

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


Hi,
I need a module that can allow me to build a user
registration form (containing some optional fields
of my own) quickly. Something that is like the "Contact Us"
module but with extensible form building capability is
OK, although I would prefer the module to save all that
info into the DB or save it to a txt or pdf file on the
file system (and maintains the association between this
file and the user).

Is there anything out there that does this sort of stuff?

Thanks much,
Ray



35
rh94040
module that allows registered users to upload a document?
  • 2004/4/17 9:05

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


I have a need to allow a certain group of registered users
to upload a document (doc, pdf, excel, or txt only) to the
site. I need the document to be stored on the file system,
but with a reference to it within the XOOPS module that
can link that document to the registered user.

Is there something like that already out there?

Thanks much,
Ray



36
rh94040
Re: fine grained access control?
  • 2004/4/16 19:22

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


Thank you. I'm still figuring things out so I have time for the new news module to mature a bit mroe. Thanks much.

A few other questions:

1) On xoops.org's home page, there is this box at the center
top titled "Welcome to XOOPS official website!" What is that
based on? I can see the URL as using the news module, but
when I post something through the news module, it doesn't have
exactly the same look and feel (it would have a date posted,
poster, number of times viewed etc, which I don't want for this box).

2) On xoops.org's home page, what are menus such as "Development Information" and "XOOPS Documentation" based on? I'd like to be able to add a couple of those menus with
their own menu items on my site.

3) For the news module, is there a way through configuration
to hide the "Comment" capability?

Thanks much,
Ray



37
rh94040
Re: wfchannel_v1.0.6 RC1 Released
  • 2004/4/16 8:15

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


I'm using this with XOOPS 2.0.6. Two things I noticed with Refer a Friend:

1) The default value I entered for the email message body does not show up. It does get saved successfully.

2) The "Send" and "Clear" buttons text values are not externalized.

I tried to fix 2) but I think I'm missing something. I defined two _AM_ variables for them in the language/english/main.php file. In index.php I added
the two lines to do the substitution:
$xoopsTpl->assign('lang_submitbutton' , _MD_SUBMITBUTTON);
$xoopsTpl->assign('lang_clearbutton' , _MD_CLEARBUTTON);

And I modifed the templates/wfchannel_refer.html file
to use the lang_*button variables above. But they are not showing up.

Apart from doing these in the files, anything I need to do to the database for this fix to work?

Thanks,
Ray



38
rh94040
Re: All about XOOPS item in the Community Menu on xoops.org
  • 2004/4/15 3:58

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


Great. Thanks much. I'll check out WFChannel.

Would you know how I can customize the User Menu (to
the extent of removing the Inbox menu item) without
coding?

Thanks much,
Ray



39
rh94040
All about XOOPS item in the Community Menu on xoops.org
  • 2004/4/14 23:49

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


I have XOOPS 2.0.6 installed and am still trying to figure out
how to customize it. One very basic need I have is, well,
add a menu item under a menu (say the User Menu, or the
Main Menu). That menu item could cause the display of an
HTML page on the site, or it could be expanded into a few
sub menu items underneath. One good example is the
"All about XOOPS" menu item in the "Community" menu on
xoops.org. Could somebody tell me how that is achieved
without coding? I assume "Community" is actually another
name for the "Main Menu"?

Also, how do I customize the "User Menu" without coding?
I'd like to take out the "Inbox" menu item as I don't plan
to offer the Inbox service. Is there a way to disable the
display of the Inbox AND disable it altogether?

Thanks much,
ray



40
rh94040
Enforcing one registered user, one session?
  • 2004/4/14 22:36

  • rh94040

  • Just popping in

  • Posts: 51

  • Since: 2004/4/13


Does XOOPS 2.0.6 have the capability to limit one
login session per registered user?

I mean, if a user registers with xoops, can he or she
share his userid/password with somebody else to login
from a different browser? If I don't like that, is there
built-in support in xoop2 2.0.6 to disallow that?

Thanks much,
Ray




TopTop
« 1 2 3 (4) 5 »



Login

Who's Online

96 user(s) are online (68 user(s) are browsing Support Forums)


Members: 0


Guests: 96


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