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
Profile display is wrong Details »»
Profile display is wrong
Version: , by GoTTi GoTTi is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

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

file attached shows the problem.

please point me in the right direction.

Download Now

File Type: (21.4 KB, 21 views)

Show Your Support

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

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

Check your edits, in MEMBERINFO template.
  #3  
Old 08-19-2005, 11:58 PM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still having problem. ive attached my memberinfo template before the edits.

version 308 is my board.
  #4  
Old 08-20-2005, 05:16 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all, remove your template from here, it is against you vB license to post vB files in public.

Second, the instructions are verified and work. Follow them carefully and you will have the hack working. As far as I can see, there are some additional things in your template, which are not standard vB, I can't help you much in this case, you will have to figure out where to add the changes for yourself.
  #5  
Old 08-21-2005, 12:50 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so is it mandatory then to have this edit in the member info template?

it looks like it just shows the warning level the user is @ currently. do we need that for public eyes?

we, staff, can view the warning levels through the admincp right?
  #6  
Old 08-21-2005, 05:45 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Suppose your moderator wants to issue a non-post-related warning. How will he do it? Typically moderators do not have access to admincp, only in modcp.

And no, the changes in the public profile are not just to show the warning points. They are to allow you (staff) to issue warnings and see the warning points as well as the warnings. And no, the warning things do not show for public eyes, only for staff.
  #7  
Old 08-21-2005, 03:39 PM
Primeval Primeval is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great hack, it really is. It is a little interesting to say that it is for the staff eyes only but when I warn a user, the warned user will see the "alerts:1, warned: 1 or banned:1:" on their postbit.

How can I prevent from warned users (regular members) from seeing their own warned points on postbit? The view options is set to MGT only.

Also I have the same issue with this view profile bit. seeing this "user's avatar:" or "userid=###". I like to leave the view profile as it was before.. Is this settings only for the staff to see this userid thing or does everyone sees it?
  #8  
Old 08-21-2005, 06:29 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, the user should see his own warning records, shouldn't he? I mean how else can he know how many warning points he has, and how many warnings? He cannot see other users warnings, only his own.

As for the profile thing, there are two things that you have to add in your public user profile. One it the thing that shows the "Warn XYZ" and "View XYZ Warnings" (or View Your Warnings) links, and one is the user Alerts, Warnings, Warning Points and Bans data. These are well defined in the instructions, but here they are again for your convenience:

This is the part that adds the Warn links etc.:

Code:
<!-- checks for warning system -->
<td  class="thead" align="right">
<div class="smallfont" style="float:$stylevar[right]">
<if condition="THIS_SCRIPT=='member' AND $vboptions[warn_allowoffpost]==1 AND $buttons=='Text'">
<if condition="$showwarnlink==1">
<if condition="$vboptions['warn_allownotes']==1">
<a href='Warn.php?do=NoteUser&id=$post[userid]&post=0'>Add Note for $post[username]</a>&nbsp;</if>
	<a href='Warn.php?do=WarnUserNoPost&id=$userid'>Warn $userinfo[username] (non-post related)</a>&nbsp;<a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'>View $userinfo[username]'s Warnings</a>
</if>
<if condition="$showviewyourslink==1">
         <a href='Warn.php?do=ViewMyWarnings'>View your Warnings</a> 
</if>
</if>

<if condition="THIS_SCRIPT=='member' AND $vboptions[warn_allowoffpost]==1 AND $buttons=='Buttons'">
<if condition="$showwarnlink==1">
<if condition="$vboptions['warn_allownotes']==1">
<a href='Warn.php?do=NoteUser&id=$post[userid]&post=0'><input type="button" class="button" name="warn" value="Add Note for $post[username]" accesskey="n" onClick="window.location='Warn.php?do=NoteUser&id=$post[userid]&post=0'"></a> &nbsp;
</if>
	<a href='Warn.php?do=WarnUserNoPost&id=$userid'><input type="button" class="button" name="warn" value="Warn $post[username] (non-post related)" accesskey="w" onClick="window.location='Warn.php?do=WarnUserNoPost&id=$userid'"></a>&nbsp;<a href='Warn.php?do=ViewWarnings&id=$userinfo[userid]'><input type="button" class="button" name="warn" value="View $post[username]'s Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewWarnings&id=$userinfo[userid]'"></a>
</if>
<if condition="$showviewyourslink==1">
			<a href='Warn.php?do=ViewMyWarnings'><input type="button" class="button" name="warn" value="View Your Warnings" accesskey="v" onClick="window.location='Warn.php?do=ViewMyWarnings'"></a> 
</if>
</if>
<!-- end of warning system -->
And here is the part that shows the warnings, points, bans etc.:

Code:
<if condition="$showpoints==1">
<if condition="$userinfo[alerts]>0">
<font color="#ff0000">
Alerts: $userinfo[alerts]<BR>
<font color="#000000">
</if>
<if condition="$userinfo[warnings]>0">
<font color="#ff0000">
Warnings: $userinfo[warnings]<BR>
<font color="#000000">
</if>
<if condition="$userinfo[warning_level]>0">
<font color="#ff0000">
Warnings Level: $userinfo[warning_level]<BR>
<font color="#000000">
</if>
<if condition="$userinfo[warning_bans]>0">
<font color="#ff0000">
Number of bans: $userinfo[warning_bans]<BR>
<font color="#000000">
</if>
</if>
Insert them where you see fit.
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 08:34 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.04764 seconds
  • Memory Usage 2,293KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (8)postbit_onlinestatus
  • (8)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete