Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > Advanced Warning System (AWS)
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Usergroup Problem, Possible Bug Details »»
Usergroup Problem, Possible Bug
Version: , by Abe Babe Abe Babe is offline
Developer Last Online: Feb 2011 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 12-11-2005 Last Update: Never Installs: 0
 
No support by the author.

I don't know if this is a problem or bug, but it seems to be more of a bug to me from my testing.

Appears to be anything displayed by this code:

Code:
<if condition="$showviewwarnlink==1">
Basically what is happening is that any code placed within this conditional appears for the default Registered Users group [even though the link itself will give an error page].

We have two admin usergroups, one is the default and another custom one which has the ID of 42. On doing some testing, when I put the usergroup numbered 42 as a smod instead, then the Registered Users were treated like smods instead [i.e. admins could warn them but no one else]. When I removed the usergroup 42 completely the problem didn't exist anymore.

I hope this makes sense, but basically it appears that it is taking the last numeral of the second admin group and reading it as registered users [as that usergroup has an ID of 2].

There are no problems anywhere else with that usergroup, nor are there any other hacks or standard vBulletin functions which cause Registered Users to be able to see admin links or similar.

I found a work around which is to just use the code which is "showwarnlink" it's not an urgent problem. But I thought you might be interested in case it is a bug.

Abe Babe...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 12-11-2005, 05:41 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Let me understand that:

What you are saying is that, if you add usergroup 42 in the Super Moderator groups, then the simple users are treated like super moderators as far as AWS is concerned? In other words, the simple users can only be warned by administrators?

I can't replicate that. I just added group 42 in my super moderator groups and a moderator can still warn plain users. I checked it with the Hierarchical schema activated and de-activated and I still do not have any problems. A simple moderator can still warn plain users (usergroup 2).
  #3  
Old 12-19-2005, 06:40 AM
Abe Babe's Avatar
Abe Babe Abe Babe is offline
 
Join Date: Sep 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only if it is placed under the piece of code I listed above. If you use showwarnlink instead, then the problem doesn't exist.

I was previously using an older version of the warning system and upgraded to the latest one in an effort to fix the issue. In the process, I noticed that I had reversed the conditionals in the templates [i.e. using showviewwarnlink to show the warn link / using showwarnlink to show the view link] when I first installed the hack, which was able to help me discover the bug. In the default setting, it wouldn't be that you can't warn the registered users, but instead you couldn't view their warnings.

It could possibly be something wrong with my forum which doesn't show up in any other place. I just really wanted to let you know in case others came up with the issue. As I found a workaround, it's not something that needs to be fixed urgently [or even at all]. Plus we are planning on upgrading to vB3.5 soon anyways. Hopefully no one else has the issue, in which case it's all good.

Thank you for taking the time to look at it however.

Abe Babe...
  #4  
Old 12-19-2005, 07:06 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which AWS version are you running at this moment?
  #5  
Old 01-15-2006, 01:25 PM
Abe Babe's Avatar
Abe Babe Abe Babe is offline
 
Join Date: Sep 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oops, I forgot about this thread I had made. We are running 3.4.16 for vBulletin 3x.

Out of interest, we recently upgraded to vB 3.0.11 and noticed that the problem ended up happening regardless of what template code we were using to display links [either showwarnlink or showviewwarnlink].

However we aren't using that usergroup anymore for other reasons. But if you need me to test anything on our forum or replicate a problem, I can easily activate it again, as we didn't delete it, just removed it's number from the AWS information.

Abe Babe...
  #6  
Old 02-28-2006, 06:42 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wasn't able to replicate the problem, so I can't be sure what's happening.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02133 seconds
  • Memory Usage 2,245KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (5)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete