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
Regular members can see notes? Details »»
Regular members can see notes?
Version: , by Diana Notacat Diana Notacat is offline
Developer Last Online: Mar 2013 Show Printable Version Email this Page

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

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!

Show Your Support

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

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

Can that member of yours see the "Warn XYZ" link or button?
  #3  
Old 08-05-2005, 07:22 PM
Diana Notacat's Avatar
Diana Notacat Diana Notacat is offline
 
Join Date: Dec 2003
Location: Arkansas
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #4  
Old 08-05-2005, 09:01 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
  #5  
Old 08-10-2005, 08:20 PM
Xoxideforums Xoxideforums is offline
 
Join Date: Jul 2004
Location: West Chester PA
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
  #6  
Old 08-11-2005, 06:30 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #7  
Old 08-11-2005, 07:32 PM
bigcurt's Avatar
bigcurt bigcurt is offline
 
Join Date: Nov 2004
Location: KierDarby.php
Posts: 1,009
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hope everything is ok John..take care.

~Curt
  #8  
Old 08-13-2005, 10:53 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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).
  #9  
Old 08-25-2005, 05:19 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #10  
Old 09-09-2005, 05:17 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
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 04:58 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06814 seconds
  • Memory Usage 2,283KB
  • Queries Executed 23 (?)
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
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete