21
beagle
Re: Permission to sections
  • 2005/6/27 23:04

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


Try this:

News2: News Clone

I haven't tried it yet.

Beagle



22
beagle
Re: Permission to sections
  • 2005/6/27 22:21

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


I misunderstood what you meant...I should have read your orginal post a little closer. Sorry.

I'm assuming you're using the default News Module that comes with Xoops? And you want to restrict admin access to each 'topic'? You have topics for News, Entertainment, Sports, etc. Is that correct?

I'm not sure you can do that.

But you might be able to clone the News module. Create one for Sports, one for Entertainment, etc. Then you should be able to assign the permissions in the Groups. I haven't tried to clone a module yet, so I'm not much help.

Perhaps someone who has done this could jump in and help or suggest another way around this problem.

I found this in the FAQ:
FAQ: How do I clone a module?

Beagle



23
beagle
Re: Permission to sections
  • 2005/6/27 19:37

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


From the Control Panel, under System Admin, go into 'Groups'

At the top you'll see 'Edit Groups', you can then click on 'Modify' to change what permissions that group has access to. Below this section is the 'Add Group' menu and you can use this to create new groups.

You can also assign users into that particular group. That menu is down at the bottom labeled 'edit Members of this Group'

Beagle



24
beagle
Re: Permission to sections
  • 2005/6/27 19:14

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


You can do that with Groups.

Create a group that has admin permissions to access the News sections. Then assign User1 to that group.

Then repeat for the other sections...

Beagle



25
beagle
Re: Xoops wrapped round php site?
  • 2005/6/27 14:58

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


I had something similar...I had a program running with its own MySQL database and using PHP.

It wasn't until recently that I switch over to Xoops. So in order to incorporate the program, I created a module out of it.

I'm probably going to get blasted for this, but being a complete noob on creating XOOPS modules, I was able to poke around and find enough info to create the module. Plus I wanted to keep the php (well mostly) and the db separate so I didn't have to do much rework.

For each php file add:

<?php
include("../../mainfile.php");
include(XOOPS_ROOT_PATH."/header.php");
$xoopsOption['show_rblock'] = 1;

at the header and:

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

at the footer.

Then create a xoops_version.php file that should contain something like the following:

<?php
$modversion['name'] = "Name of module here";//name of module
$modversion['version'] = 1.0;
$modversion['description'] = "Description";
$modversion['author'] = "author";
$modversion['credits'] = "";
$modversion['help'] = "";
$modversion['license'] = "GPL see LICENSE";
$modversion['official'] = 0;
$modversion['image'] = "images/logo.jpg";//this is the location of the module logo
$modversion['dirname'] = "dir";//name of directory on server

// Admin things
$modversion['hasAdmin'] = 0;
$modversion['adminpath'] = "";

// Menu/Sub Menu
$modversion['hasMain'] = 1;//make 0 to not have this appear in main menu
//$modversion['sub'][2]['name'] = _MI_MYPAGE_SMNAME2;
//$modversion['sub'][2]['url'] = "../../modules/weblog/";
?>

Then just upload it like any other module and activate it...

Hope I didn't make it more confusing...

You can see the 'Divsions' module at Mobile Fantasy Football League

It uses the php and MySQL I had before I switched to Xoops.
The site is still a work in progress (just switched to XOOPS a couple of weeks ago), I'm trying to get it ready for the 2005 season.

Beagle



26
beagle
Re: xoops link question
  • 2005/6/14 3:18

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


In the Admin Panel, go to preferences and you can change the footer to whatever you want.



27
beagle
Re: how do you upload a downloaded module to xoops?
  • 2005/6/13 18:21

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


Just Google on FTP and you'll get thousands of hits for FTP programs, some are free.

I use CuteFTP. Its not free, but its worth it.

Beagle



28
beagle
Re: Just got Xoops installed...now what??? Help please
  • 2005/6/13 15:31

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


The first thing I would do is to go though the Themes Library and find a theme that is close to how you want the site to look.

Just download the theme, and upload it into the themes directory on your server. Then log into the admin panel and select that theme under the General preferences page.

You can tweak the theme by playing with the CSS and .html files that came with the theme. Then you can change the graphics, etc.

Check out the FAQ on more info on themes, installing modules, etc.

Beagle

BTW. How did you make out during the so called topical storm? I'm in Mobile, Alabama, and we've had local thunderstorms that were worse...



29
beagle
Re: Username within block
  • 2005/6/6 21:32

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


I'm trying to learn the interfaces too. Found this on antoher thread:

Kickstart Guide

It walks you through exactly how to do what you're asking.

Now if somebody can tell me how to work with the other variables or even what they are, I can learn a little more...



Beagle



30
beagle
Re: Module Writing
  • 2005/5/19 20:02

  • beagle

  • Just popping in

  • Posts: 43

  • Since: 2005/3/24


Is there another place for info on developing modules?

The Dev Wiki doesn't help much...

I can develop simple modules, but I want to move into developing more complicated modules and can't seem to find much info...

Thanks,
Beagle




TopTop
« 1 2 (3) 4 5 »



Login

Who's Online

244 user(s) are online (169 user(s) are browsing Support Forums)


Members: 0


Guests: 244


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