Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro
Author Message
helidoc
Hangin' Around


Joined: Jul 09, 2006
Posts: 47

PostPosted: Fri Dec 22, 2006 10:26 am Reply with quote

I would like to add a few links to My Modules block that are restricted to members of various groups I have set up. I know I can add a link using this code in block-modules.php

Code:
$content .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"http://anysite.com\">Anysite</a>";


What I dont get is how to restrict the links to groups only without having to create a module for each link, searched the forums without much luck either that or I'm using the wrong search terms, any help is appreciated. Smile
 
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6792
Location: Ha Noi, Viet Nam

PostPosted: Fri Dec 22, 2006 11:56 am Reply with quote

Your easiest option might be to use Sommaire which is a replacement custom menu block.
 
View user's profile Send private message Send e-mail
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Fri Dec 22, 2006 6:39 pm Reply with quote

Does the latest Sommaire integrate with groups?

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
Guardian2003
PostPosted: Fri Dec 22, 2006 6:56 pm Reply with quote

Good point - no it won't work where the link is outside of nuke.
 
Guardian2003
PostPosted: Fri Dec 22, 2006 8:28 pm Reply with quote

But I guess for the sake of simplicity you could use Sommaire to create the custom external links and then make the Sommaire block only visible to members of the specific group you wanted to see the links.

Again, this wouldnt work if you needed to have different groups to have different links visible.
 
helidoc
PostPosted: Fri Dec 22, 2006 11:11 pm Reply with quote

That may be an option, I downloaded his version 3 beta and been playing around with it on my test site. Most likely I'll put it up I only need one group to be able to see the links. Thanks for everyones input.
 
kguske
PostPosted: Fri Dec 22, 2006 11:54 pm Reply with quote

Another option - if necessary - it to create an HTML block with the links, and set it to display only to the members of the appropriate group.
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9449
Location: Arizona

PostPosted: Sun Dec 24, 2006 9:12 am Reply with quote

Sommaire version 3.0a beta does integrate with NSN Groups and is what I am using on my own production site. I have it in my downloads too...

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.02.02 Distro

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©