You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 55 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Group permissions for Journals? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Fri Jan 31, 2003 4:17 pm Reply with quoteBack to top

Hi,

I'm wondering if it is possible to give group and or user permissions in the journal module, instead of it just being publicly viewable or not?

I'll try to give an example. My site is a firefighter site, and sometimes we have to deal with some pretty horrific stuff. I have a group of people that are there to help other firefighters, who have been specifically trained to deal with such things.

Since creating a forum for it would give everyone permission to see it, I'm looking for another avenue. I'm hoping it can be done through the journal, so that individual issues can be dealt with privately.

I really don't have any idea of how to go about modifying the journal, tables etc

Does anyone have any ideas?

Thank you for your help
Find all posts by IACOJView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Jan 31, 2003 4:22 pm Reply with quoteBack to top

If using a version of PHP-Nuke other than 6.5 you could try NSN-Groups from www.nukescripts.com

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Fri Jan 31, 2003 4:25 pm Reply with quoteBack to top

Thanks Chatserv

I'll give it a look Smile

You know you guys are amazing, everytime I think I post something that is going to stump you, you are right there with a viable answer.

Thanks!
Find all posts by IACOJView user's profileSend private message
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Fri Jan 31, 2003 6:22 pm Reply with quoteBack to top

This is probably going to sound like a stupid question, but I haven't run an installer on the site since I moved it to the domain and gave public access.

I've looked in all the folders and read the readme. I'm not sure where I put the installer, and if I have to point my browser to it to make it run.

thanks again for your help
Find all posts by IACOJView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Fri Jan 31, 2003 8:11 pm Reply with quoteBack to top

An installer for what?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Fri Jan 31, 2003 8:33 pm Reply with quoteBack to top

Zhen-Xjell,

chatserv previously suggested that I get nsn groups, which I've done, it comes with an installer. This is the contents of the readme that comes with it.

Code:
/********************************************************/
/* NSN Groups for PHP-Nuke 6.0.0                        */
/* 10 Jan 2003                                          */
/* By: NukeScripts Network (webmaster@nukescripts.net)  */
/* http://www.nukescripts.net                           */
/* Copyright © 2002-2003 by NukeScripts Network         */
/********************************************************/

0. Copyright Notice
-------------------
- Our Package name and link MUST REMAIN in the credit footer of all NSN script
  generated pages. Translations are permitted, not renaming.
- This package CAN NOT be ported without written permission.
- This package CAN NOT be mirrored without written permission.
- Use of this package requires that credits to the original PHPNuke remain in all
  site generated page footers.
- The following are the only project licenses granted at this time (These projects
  may reproduce and/or include our scripts).
  1) The PHP-Nuke Project by Francisco Burzi
  2) phpBB2 Port Project by Tom Nitzschner
  3) OFFICIAL NSN Regional sites


0. SPECIAL NOTES:
-----------------
In this release you will find admin.php and admin/modules/authors.php and here is
why. In the 1.0.3c release a new field was added to your nuke_authors tables. This
new field is radmingroup and is intended to allow the SuperUser to assign non-Super-
User admin to have access to the Groups system. You DO NOT have to use these two files
if you choose not to (However the old ones will not work correctly), they add the
ability above.


1. Introduction and Requirements
--------------------------------
NSN Groups is a PHP-Nuke addon which allows the admin to assign user
groups. Add and/or remove groups and users within each group.
It requires PHP-Nuke 6.0.0 installed.
Delete old Email Groups (case.emailgroups.php, link.emailgroups.php,
& emailgroups.php) files. They are now merged into the Edit Groups
files.


2. Installation
---------------
Extract archive to temp dir and copy included as noted below(and chmod if shown):
---------------------------------------------------------------------------------
README.txt (do not upload, your reading it)
html/admin.php -------------------> admin.php
html/mainfile.php ----------------> mainfile.php
html/modules.php -----------------> modules.php
html/admin/*.* -------------------> admin/*.*

NOTE: If your server doesn't allow the installer to work then and only then use
      the SQL file.
install/*.* ------------------------> *.* Contains both a php installer and a SQL file.
upgrade/*.* ------------------------> *.* Contains both php upgraders and SQL files.


3. Use
------
To use this module, just copy the files to the directories listed above. Then import
the included sql file before running the scripts. One imported you can start adding
groups and users to the groups.

You can now assign blocks, messages, and modules that only group users can view Smile
Find all posts by IACOJView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Fri Jan 31, 2003 9:14 pm Reply with quoteBack to top

Ahh, you have to run the installer for the NSN Groups. The file should be in the compressed package.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Fri Jan 31, 2003 9:47 pm Reply with quoteBack to top

I have all the files, I just don't know where I am supposed to put the installer to run it. I know that sounds stupid, but I haven't run an installer on a production site. I have Nuke in my domain, so the other files will be loaded directly their folders. I'm not sure how to access the installer.

Just mydomain.com/install.php ?
Find all posts by IACOJView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Fri Jan 31, 2003 10:03 pm Reply with quoteBack to top

I prefer to run the sql files directly myself. Do you know how to do that?

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Jan 31, 2003 10:03 pm Reply with quoteBack to top

From what you posted the readme shows the structure and it would seem they say there is a install folder included which has two files inside, my best guess is you upload the install folder to nuke's root dir. then point your browser to http://yoursite.com/install/install.php and it also says that if the installer somehow fails you can use the sql file included in the install folder to create the tables using phpMyAdmin.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Fri Jan 31, 2003 11:15 pm Reply with quoteBack to top

Yes I do know how to run sql queries.

Sorry for asking such a stupid question (I know it was one) I didn't want to make the whole bloody thing disappear (have done that before) or something if I was supposed to put the install file somewhere else.

Thanks very much for your help.
Find all posts by IACOJView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Fri Jan 31, 2003 11:27 pm Reply with quoteBack to top

No, don't apologize. Wink

I believe the install sql for nsn groups creates new tables that don't affect your current ones.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Fri Jan 31, 2003 11:55 pm Reply with quoteBack to top

The install.php didn't actually work, gave a fatal error because it couldn't open mainfile.php. I ran the install sql through phpmyadmin, and it worked great Very Happy

I couldn't find the files I was supposed to delete though. Confused

I assumed from the readme that they would be in the admin/* but I didn't have case.emailgroups.php, link.emailgroups.php, and emailgroups.php.
Find all posts by IACOJView user's profileSend private message
IACOJ
Major
Major


Joined: Jan 15, 2003
Posts: 1269

Location: USA

PostPosted: Sat Feb 01, 2003 12:19 am Reply with quoteBack to top

I have a new problem. I made my groups, and put my users in there. I "think" this is the code that I have to alter in the journal/display.php so that the users can pick if they want it public, private or for a group, but I don't have the slightest clue how to add the groups there. Is this the part of the code I have to edit? It starts on line 62

Code:
while ($row = sql_fetch_array($result, $dbi)) {
    $owner = $row[aid];
    if (($row[status] == 'no') && ($row[aid] != $username)):
   OpenTable();
   echo "<center><br>"._ISPRIVATE."<br></center>";
   CloseTable();
   journalfoot();
    endif;


Thank you
Find all posts by IACOJView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Sat Feb 01, 2003 8:52 am Reply with quoteBack to top

Oh gosh I'm not familiar with the groups code I'd have to find time and look into this.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.547 Seconds - 427 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::