vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Regular members can see notes? (https://vborg.vbsupport.ru/showthread.php?t=93433)

Diana Notacat 08-02-2005 10:51 AM

Regular members can see notes?
 
I'm not quite sure if this is an error on my part or not. x.X; The settings are correct in the admincp for the Admins & Mods group, and none of the members seems to accidentally be in any of those groups, but I've had a regular member tell me they say one of the Notes above the posts.

I'm using the Legacy postbit, and I did make sure to read the special instructions for it. There doesn't seem to be anything missing between the fresh install and the upgrade install!

sv1cec 08-05-2005 07:00 PM

Can that member of yours see the "Warn XYZ" link or button?

Diana Notacat 08-05-2005 07:22 PM

Nope, they don't see any of the links to warn users or add the notes, but he said he saw the note itself. o.o

sv1cec 08-05-2005 09:01 PM

That's wierd. In order for the note to be shown, the post should have a note and the $showviewwarnlink parameter be set. This parameter gets set depending on the usage or not of the hierarchical schema, only for the management team (there are some details there, but in general, that's the idea). It's impossible for a member to see a note, as it is impossible to see the "View XYZ's Warnings" button.

Please check the code again, in includes/functions_showthread.php, in case you have made a mistake.

Xoxideforums 08-10-2005 08:20 PM

I'm having the exact same problem but it's only the public notes that the regular users (including guests) can see, the private notes are hidden correctly. Any ideas? The "add note", "view warnings", etc. links are NOT visible for normal users (or guests).

sv1cec 08-11-2005 06:30 PM

Sorry guys, one of my twins is in the hospital, so I can't check anything out at this time. Probably over the weekend if the kid is released on Saturday morning.

Sorry

bigcurt 08-11-2005 07:32 PM

Hope everything is ok John..take care.

~Curt

sv1cec 08-13-2005 10:53 AM

I am checking the program for the notes issue, being viewable by normal members, and from what I see, in order to a note to be shown, the member has to be able to view the "View XYZ Warnings" link as well.

That means that depending on your settings:

1) The post is not made by a mod, smod or admin, while the user viewing the post is either a mod, smod or admin (when not using the hierarchical schema)
2) The post is made by someone who is not a mod/smod/admin, and the user is an smod/mod/admin, or the post is made by a mod and the user is an smod/admin, or finally if the user is an admin and the post hasn't been made by another admin.

I can see no way that a regular user can see a note, if the changes made in functions_showthread.php are correct. Please verify these changes, and if you still have issues please come back giving me some details of the post and the user, as well as your settings (if you are using hierarchical or not).

sv1cec 08-25-2005 05:19 PM

OK, I have that figured out, are you folks using "Who can view warning points" set to "Yes"?

If so, there will be a bug fix release out in a while, 3.4.16.

Rgds

sv1cec 09-09-2005 05:17 AM

Golks, please note that there is a bug in the instructions, for the includes/functions_showthread.php file, which caused your user to see the notes. A darn ; in the wrong place was causing all this. Please open that file and fnd:

Code:

if ($post['warn_notes']==1 AND ($useradmin==1 OR $usersmod==1 OR $usermod==1));
Remove that ; from the end of the line, and everything should work as expected.

Sorry, my bad!


All times are GMT. The time now is 09:20 AM.

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.01079 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete