1
PatsRule
Is this possible in Xoops?
  • 2005/1/26 23:16

  • PatsRule

  • Just popping in

  • Posts: 37

  • Since: 2004/9/15


Hi.. I was wondering if this was possible. I want to make a few pages with the .php or if need be .htm extension accessible only to registered members. Since I use the Sections module for article content, there are no template files in the admin sections so I can edit to add code. To block links for anon to these articles if I put them on my home page, I add the session ID in the link. In admin templates I have only Forums, System, Members, Polls, and Downloads (not used at the moment).

The pages have a .js file as well as another javascript in the head part of these documents. It's a sorting script. I know I can add the the javascript point to the .js file in the head of the theme html file if need be, but the javasript will give me an error if i don't put the body direction to it in the theme.html. I don't want it appearing on all the pages. So the head part needs to contain this:

script language="JavaScript" src="location of my file in Xoops/sortable_table.js"> (left out the opening < in case it messed up the post page). This script creates the table. Another javascript with the data and variables needs to be under this one. Then the body script pointing to the data needs to be included which will point to that one.

I've fried my brain here trying to figure out how i can include this in my site and give only registered members access. I've had it in there using regular html pages and using a link but that gives all access to it.

Maybe I'm missing something obvious but I'm still learning all of this. Any suggestions?

2
GSake
Re: Is this possible in Xoops?
  • 2005/1/26 23:21

  • GSake

  • Just popping in

  • Posts: 51

  • Since: 2004/5/30


Why not just use wiwimod module from xavier jimenez? Sections suck I think...

u can set group permissions by page.

wiki style developement and no java shit needed.

comments avialable, last modified date , page hierarchy, etc etc

but you will need to migrate the conent you have...

3
sbkiller
Re: Is this possible in Xoops?
  • 2005/1/27 0:00

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


GSake, watch your language.

There's a static content features based in Xoops.
If you look into one of the XOOPS Document, it explain or search the forum for this problem.

All you need is some header code to pull the template into the static content then you can make custom link to it by using "multimenu" module.

4
biglove
Re: Is this possible in Xoops?
  • 2005/4/28 15:59

  • biglove

  • Not too shy to talk

  • Posts: 157

  • Since: 2004/8/18


I've been looking for a wiki that I can set permissions to allow only registered users to make changes.

Will this module allow that?

Ideally, I would like to be able to set up a wiki and designate certain elements of the page that would allow only the Webmaster to change. The rest of the page would be be modifiable by Registered users.

Thanks,

Login

Who's Online

143 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 143


more...

Donat-O-Meter

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

Latest GitHub Commits