Welcome, Guest. Please Login or Register.
November 28, 2024, 02:03:06 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.1-1.5.1] Allowed User v1.2 « previous next »
Pages: 1 ... 5 6 [7] 8 9 10 Reply Ignore Print
Author Topic: [Done 1.4.1-1.5.1] Allowed User v1.2  (Read 30185 times)
Raytheon
Noobie
*
Posts: 13


Re:[BETA 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #90 on: February 28, 2003, 10:02:29 PM »
Reply with quote

Thank you. It works fine now with your update :)
Logged
jenigma
Noobie
*
Posts: 33


crazy is as crazy does

WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #91 on: March 21, 2003, 12:37:22 AM »
Reply with quote

Hey Sauron. I like this mod, however what I really need is to be able to restrict access by membergroup, not just individual user. I'd be so so grateful if you could update your mod to add this option.

And hey, if you're up to making another mod, I also need one that will allow me to set custom colors and stars for each membergroup, both post-based and custom ones. I've searched these forums through and haven't found a mod to do this. There was one but the link is long since dead.

Jen
Logged
Elden
Noobie
*
Posts: 18


He's a good egg.

ICQ - 422430Elden2112 WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #92 on: March 21, 2003, 12:52:33 AM »
Reply with quote

Quote from: jenigma on March 21, 2003, 12:37:22 AM
Hey Sauron. I like this mod, however what I really need is to be able to restrict access by membergroup, not just individual user. I'd be so so grateful if you could update your mod to add this option.

I second that motion.  I have a nice small userbase right now, but I can see it becoming a real pain someday to manage this on a per-user basis.

I think what is really needed is the ability for users to be able to be in multiple member groups, and to allow Mods to edit their own group membership.  Then you as admin would only need to manage the  "Allowed Groups" and let the group memberships handle themselves.

Just a thought.  (Now watch there already be just such a mod for this, hehe)..
Logged

Visit the Elden.Org Forums.
DJTommyC
Jr. Member
**
Posts: 81


Passion for Music

Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #93 on: March 21, 2003, 09:38:38 AM »
Reply with quote

I agree that with you, multiple user groups for an individual user should be great!
I still have the problem that I want a topic only for women and one for men, but with the current options that's not possible..
Can I do that with this mod??
Grtz
Logged
jenigma
Noobie
*
Posts: 33


crazy is as crazy does

WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #94 on: March 21, 2003, 02:08:25 PM »
Reply with quote

oh yeah, i forgot something. in your mod, if a board is restricted, non-allowed users can't even view it. i want it to give me the option of whether to let them read or not.

basically what i am after is the ultimate membergroups mod, to let me control all access rights and also let me assign custom stars and colors for each group.

Jen
Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #95 on: March 21, 2003, 02:21:44 PM »
Reply with quote

Nice Ideas. thanks :)

I'm even working an a membergroup feature for this mod. And I will add the read-write option, too.
Logged

The Dark Lord
jenigma
Noobie
*
Posts: 33


crazy is as crazy does

WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #96 on: March 21, 2003, 02:34:10 PM »
Reply with quote

Yay!  Thank-you, Sauron.  :-*

any chance you can work the stars/colors options into this mod too? 'cause there's no other mod i can find to do it -- only one to change colors, and one for only post-based membergroups. if you could, it would be cool whip on the pumpkin pie (or icing on the cake, if you prefer).  :)

Jen
Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #97 on: March 21, 2003, 02:45:15 PM »
Reply with quote

I don't really want to add this. But I think it's no problem to do.
Logged

The Dark Lord
Bell1x1
Noobie
*
Posts: 41


I love my Rep

WWW
This Mod And Profiles
« Reply #98 on: March 26, 2003, 05:52:07 AM »
Reply with quote

First of all, let me say that this is a great Mod. It works well and does restrict access as I see fit, but I have one issue. After installing the mod, the profile pages of all users don't seem to be accessing the database. I get blank for all things - avatars, number of posts, sex, location, etc etc.

I went through the entire mod and double checked with manual installation to make sure that all code is correctly placed and/or replaced. Everything seems to be in order, but I still have problems with member profiles.

Please assist and thanks again for an awesome mod.
Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #99 on: March 26, 2003, 10:43:20 AM »
Reply with quote

Make sure you changed / added the code in Profile.php in the right way! The changes have to be in the usersrecentposts function (at the and of the file). If everything is ok, I don't think that my mod causes the problem because it leaves the functions for displaying and editing user profiles untouched.
Logged

The Dark Lord
Bell1x1
Noobie
*
Posts: 41


I love my Rep

WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #100 on: March 26, 2003, 11:54:07 PM »
Reply with quote

Here is how my Profile.php looks:

     function usersrecentposts ()
{
   global $userid, $viewscount, $censored, $user, $membergroups, $settings, $username, $yytitle, $txt, $enable_ubbc;
   global $cgi, $img, $imagesdir, $enable_notification, $maxmessagedisplay, $color, $scripturl, $menusep, $db_prefix;
   $display = $viewscount;
   if (!is_numeric($display))
      fatal_error($txt[337]);

   $request = mysql_query("SELECT realName FROM {$db_prefix}members WHERE ID_MEMBER=$userid LIMIT 1") or database_error(__FILE__, __LINE__);
   list($realName) = mysql_fetch_row($request);

   $permit = 0;
   if ($settings[7] == 'Administrator' || $settings[7] == 'Global Moderator')
      $permit = 1;

   $limitString = ($display != '0') ? " LIMIT $display" : '';

   $request = mysql_query("
      SELECT m.*,t.numReplies,c.memberGroups,c.name as cname,b.name as bname,b.ID_BOARD
      FROM {$db_prefix}messages as m, {$db_prefix}topics as t, {$db_prefix}boards as b, {$db_prefix}categories as c, {$db_prefix}members as mem
      WHERE m.ID_MEMBER=$userid
         AND m.ID_TOPIC=t.ID_TOPIC
         AND t.ID_BOARD=b.ID_BOARD
         AND b.ID_CAT=c.ID_CAT
         AND (FIND_IN_SET('$settings[7]',c.memberGroups) != 0 || $permit || c.memberGroups='')
         AND mem.ID_MEMBER=m.ID_MEMBER
         ".AU_GetWhereClause('AND', 'b.', false)."
      ORDER BY m.posterTime DESC$limitString") or database_error(__FILE__, __LINE__);

   $yytitle = "$txt[458] $user";
   template_header();
   $euser = urlencode($user);
   echo '<p align=left><a href="' . $cgi . ';action=viewprofile;user=' . $euser . '"><font size="2"><b>' . $txt[92] . ' ' . $realName . '</b></font></a></p>';
   $counter = 1;
   while ($row = mysql_fetch_assoc($request))
   {
      CensorTxt($row['body']);
      CensorTxt($row['subject']);


Anything wrong with it?
« Last Edit: March 26, 2003, 11:57:29 PM by Bell1x1 » Logged
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #101 on: March 27, 2003, 09:34:32 AM »
Reply with quote

Everythink seems alright with this.

Does the error occur if you view or if you edit the profiles?
Logged

The Dark Lord
Bell1x1
Noobie
*
Posts: 41


I love my Rep

WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #102 on: March 27, 2003, 09:45:14 PM »
Reply with quote

The error never occurs when modifying profiles. It only occurs while viewing them (as in clicking the person's username when they post).
Logged
Porter
Noobie
*
Posts: 9


beporter@earthlink.net WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #103 on: April 03, 2003, 04:52:48 AM »
Reply with quote

As has already kind of been suggested, I too could really use a more robust set of access controls. I have boards that I want to allow everyone to read, but only certain membergroups to post in. Kind of an "Articles" idea. More specifically:

  • Everyone (meaning any registered user):
    • can read topics
    • can NOT post replies
  • Authors (meaning a defined usergroup):
    • can do everything Everyone can
    • can post new topics
    • can modify/delete their own posts
    • can post replies to their own topics only (multi-part articles. Example here: CSR-RG Forums)
  • Moderators:
    • have normal permissions
  • Admins:
    • have normal permissions
Is it possible to extend your mod in this way Sauron? If so, does it fit with the path you're planning on taking with it? With this level of control, YaBBSE would have author levels on par with those in phpNuke (which is what I'm going for). ;) Honestly, I'd really love to see this level of functionality built-in to YaBBSE. :)

I don't want to clutter up Sauron's thread with talk about my problem, so please feel free to PM or email me instead. ;D
Logged

Brian [Wumpa] Porter
Sauron
Jr. Member
**
Posts: 57


ICQ - 22683560 WWW
Re:[beta 1.4.1-1.5.1RC1] Allowed User v1.2
« Reply #104 on: April 03, 2003, 12:21:50 PM »
Reply with quote

I've updated the zip-files. There are only some code-cosmetic changes so you don't need to update.

Ok, because I haven't found any other bugs I think I can change the status to DONE. I will stop developing on this version but I will give support obviously.

The next version will include the following features:
- Membergroups
- More access option
- Options for moderators
- Other little things that will come to my mind


Bell, I haven't forget you I'am still working on your problem.
« Last Edit: April 03, 2003, 12:31:00 PM by Sauron » Logged

The Dark Lord
Pages: 1 ... 5 6 [7] 8 9 10 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Done 1.4.1-1.5.1] Allowed User v1.2 « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.024 seconds with 20 queries.