vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Warning System (Beta Version) (https://vborg.vbsupport.ru/showthread.php?t=95921)

sv1cec 12-16-2005 09:01 AM

Is this what you have at line 600 of functions_warning.php:

Code:

                $destforum = verify_id('forum', intval($vbulletin->options['warn_savecopyforum']));
Try replacing that line with this:

Code:

                $destforum = verify_id('forum', $vbulletin->options['warn_savecopyforum']);

Luggruff 12-16-2005 09:42 AM

Quote:

Originally Posted by Luggruff
Hmm, can't seem to find where in the code the http://www.hlforum.net/aws_xtra/images/misc/warn.gif button is located??
Searched through all of the templates, but nothing.

(the reason why I can't see it anywhere on the page is because my images folder on my ftp has become unavailable for any changes, so I had to put the 3 warn images in a folder of their own, and now have to find the code so I can change the location..)

And now I've translated as much as I can find to translate, guess I'll have to be satisfied with myself for now.
But I can't seem to find where the text for the topic or post text is for the posts that show up in a selected forum (selected that all warnings show in a selected forum)

Topic on post:
Warning: User: "user" - Warner: Luggruff - Date: 11-12-2005 at 17:45

Leading text in post:
User "User" received the following Warning/Alert by Luggruff on 11-12-2005 at 17:45 :

wich template is this?? can't find o_0

No one that knows? I'm sure the maker of the script would know.. wouldn't you sv1cec? :S

And by the way, the two images: closeON and closeOFF.. where are they seen on the forum? Just know where in the code, not where they can be seen, or what they do.

sv1cec 12-16-2005 10:51 AM

Didn't I answer that? Yes I did, six posts above:

That (the code for the large red sign) should be in your postbit and postbit_legacy templates.

As for the other issue you have, these phrases are at the functions_warning.php file in the /includes directory.

vampireus 12-16-2005 02:44 PM

Thanks, it works

Luggruff 12-16-2005 06:34 PM

Quote:

Originally Posted by sv1cec
Didn't I answer that? Yes I did, six posts above:

That (the code for the large red sign) should be in your postbit and postbit_legacy templates.

As for the other issue you have, these phrases are at the functions_warning.php file in the /includes directory.

Ahh sorry didn't see that. Hmm, but wich pages are these images shown? The "warn.gif" the "closeON" and "closeOFF".. have been using the system for a few days now, effectivitly.. but haven't seen any of these images anywhere on my forum.

Are they only used for sertain functions only? That I may not have active?

sv1cec 12-16-2005 06:43 PM

If you issue a post-related warning (i.e. click on the "Warn XYZ" button/link in postbit, then that post is marked with that large Stop-like sign, so that management can immediately spot a warned post.

As for the closeON and closeOFF, I think I've used it to close a window which is opened. I do not remember right now where.

Luggruff 12-17-2005 09:54 AM

Quote:

Originally Posted by sv1cec
If you issue a post-related warning (i.e. click on the "Warn XYZ" button/link in postbit, then that post is marked with that large Stop-like sign, so that management can immediately spot a warned post.

As for the closeON and closeOFF, I think I've used it to close a window which is opened. I do not remember right now where.

Ok thanks. Dunno either with the window, just know there's something in the system that opens like a users warnings or a warning or something in a seperate window with no toolbar. May be there?

sv1cec 12-17-2005 11:39 AM

Yes something like that,

techxpert 12-18-2005 06:21 AM

how do i edit the drop down box for warning selection types?

sv1cec 12-18-2005 11:06 AM

Why do you want to edit that? The box is created from the entries in the Warning Types in AdminCP.

Xplorer4x4 12-18-2005 11:09 AM

John, Thank You for this hack. Great job.

Just one last question. Could you refer me to what I would need to delete from the postbit_Lgeacy template to add the user note in postbit hack since you never fully implemented the notes system.

sv1cec 12-18-2005 11:58 AM

I am not familiar with this hack, so I can't say. I do not think there is currently anything in postbit or postbit_legacy which relates to AWS and which would not allow you to impement another hack.

But if you can wait for a while, I am coming up with some instructions, on how to add Notes, in AWS 3.5.xx.

Check back later tonight.

Dan 12-18-2005 12:08 PM

Is there anyway we could get it to change the reason from "User received a Permanent Ban Warning and was permanently banned." to whatever the last comment/warning type was for? I'm using this with the e-steki Banlist and it would nice if you could do that ;)

Thanks ;)

Xplorer4x4 12-18-2005 01:04 PM

Quote:

Originally Posted by sv1cec
I am not familiar with this hack, so I can't say. I do not think there is currently anything in postbit or postbit_legacy which relates to AWS and which would not allow you to impement another hack.

But if you can wait for a while, I am coming up with some instructions, on how to add Notes, in AWS 3.5.xx.

Check back later tonight.

Thanks anyways but i did figure it out, now if it were possible to get warning level to show up on my postbit legacy....;)

Luggruff 12-18-2005 08:32 PM

Hmm, one more thing. The user title changes on bans, where can I change them? Like the "temporary banned" usertitle.. don't see english to be apropriate for my forum, as it contains alot of young members that's not so familiar with the english language.

Thanks !

Bubble #5 12-19-2005 12:19 AM

Is the Warning Selection drop down menu supposed to be blank? :ermm: Ours says nothing :(

Luggruff 12-19-2005 04:09 AM

Quote:

Originally Posted by Bubble #5
Is the Warning Selection drop down menu supposed to be blank? :ermm: Ours says nothing :(

No it's not (or well, until you've done something about it). You have to add the options yourself of course.
AdminCP -> Advanced Warning System -> Manage Warning Types -> Add New Warning Type

..Since it's you that decide the rules on your own forum, you of course have to add all the rules to be broken, and how hard to punish for them on warnings.
;)

soul__stealer 12-19-2005 04:25 AM

Quote:

Originally Posted by Luggruff
No it's not (or well, until you've done something about it). You have to add the options yourself of course.
AdminCP -> Advanced Warning System -> Manage Warning Types -> Add New Warning Type

..Since it's you that decide the rules on your own forum, you of course have to add all the rules to be broken, and how hard to punish for them on warnings.
;)

Thanks for the excellent hack.
We've been running this hack since 3.0.7 and I must say we were extremely happy with how it worked.

We only found one problem with the mod so far.

Recently, we updated our forums to 3.5.1. We also updated the system along with it. Unfortunately, simply trying to 'update' the warning system did not work (at least updating from 3.0.7 type Warning System to 3.5.X system didn't :(). Quite a few problems came with it, but the major one was 'View My Warnings' was blank, as well as a usergroup assigned as a Moderator, but not set as a 'Standard' Moderator could not see the usage. Our temporary fix was to re-assign him as a Moderator in Primary, then make his actual rank his secondary (and display) rank.

My other admin un-installed the AWS, which was alot of work to remove (the uninstaller had problems, possibly caused by the cross between 3.0.7 data and 3.5.1?). He then re-installed the hack clean, reset up our settings, and it's been smooth sailing since. It's works fine, and so far, 0 problems. We also had a 'Verbal Warning' system which we managed via a thread and had to keep monitoring. The introduction of 'Alerts' has altered this, we no longer need our thread and it makes things ALOT easier on our staff.

Other then having to give everyone a fresh start (basically nobody had any current warnings anyway), it's been perfect. Fortunately, all of our banned members banned by the system, remain banned.

Anyway, keep up the good work on the hack, we appreciate it. How this isn't developed into a standard for all vB base installations, I have no idea.

Bubble #5 12-19-2005 09:36 PM

Quote:

Originally Posted by Luggruff
AdminCP -> Advanced Warning System -> Manage Warning Types -> Add New Warning Type

That entire section on the left hand side of the ACP wasn't there after we first added the hack, so we never knew about any of those features. We removed the 'quick admins' hack for security reason, and maybe that had something to do with why it didn't showing up. In any regard we were very happy to see that new AWS section in the ACP today. Looks like an incredible hack. Praying there no big bugs so we can keep the hack :nervous:

Bubble #5 12-20-2005 12:06 AM

We are testing our system and when we try to remove a warning we see this error messgae:

HTML Code:

An error has occured, the following message has been left below:

Invalid User ID Input

We issued the warning and we are trying to remove it, so why would we get an ID error? :ermm:

Luggruff 12-20-2005 03:11 AM

Quote:

Originally Posted by Bubble #5
That entire section on the left hand side of the ACP wasn't there after we first added the hack, so we never knew about any of those features. We removed the 'quick admins' hack for security reason, and maybe that had something to do with why it didn't showing up. In any regard we were very happy to see that new AWS section in the ACP today. Looks like an incredible hack. Praying there no big bugs so we can keep the hack :nervous:

Well there are some, like: It strikes out other hacks like the "allow usergroups to post HTML".. wich is bad, and since I'm no coder, I can't fix it :(

Taking the oppurtunity to bump myself:

Hmm, one more thing. The user title changes on bans, where can I change them? Like the "temporary banned" usertitle.. don't see english to be apropriate for my forum, as it contains alot of young members that's not so familiar with the english language.

Thanks !

sv1cec 12-20-2005 04:01 AM

Try looking in includes/functions_warning.php for those phrases.

sv1cec 12-20-2005 02:46 PM

Quote:

Originally Posted by Bubble #5
We are testing our system and when we try to remove a warning we see this error messgae:

HTML Code:

An error has occured, the following message has been left below:

Invalid User ID Input

We issued the warning and we are trying to remove it, so why would we get an ID error? :ermm:

Where did you issued the warning from? Where are you trying to remove it from?

sv1cec 12-20-2005 02:53 PM

UPDATE ON THE NOTES ISSUE
-------------------------------------------

I went along preparing some instructions on how to implement the Notes feature of AWS Versions 3.4.xx, in AWS 3.5.xx. Unfortunatelly, there are some changes that need to be done to the standard vB files, which are now handled by hooks or whatever else they are called. Since I no longer have access to a test site, I can't even look up the place where these changes should be made.

There are two files that are changed in AWS 3.4.xx : member.php and functions_showthread.php.

If someone is willing to give me access to his admincp, I could look up those links that AWS installs and let you know, which one needs to be patched. If not, sorry, but I have no other way to tell you how to update your site to use Notes.

Xplorer4x4 12-20-2005 03:08 PM

I ended up just using the usernote in postbit hack I found in the plug-in forum here. I used there template mod inplace of the warn user link in your edit. I removed the <if> condition of the usernot hack so it shows all the time(instead of when there is just a note). Works great for me.

sv1cec 12-20-2005 03:19 PM

Can you have private notes (shown only to the moderator who entered them) and public ones (shown to all management team)? Can you have a post-related note (meaning it will show only on a specific post) and non-post related ones (meaning it will show in all posts made by that member)?

Xplorer4x4 12-21-2005 03:23 AM

Quote:

Originally Posted by sv1cec
Can you have private notes (shown only to the moderator who entered them)

Why would you need mod specific notes?
Quote:

and public ones (shown to all management team)?
Of course. ;)

Quote:

Can you have a post-related note (meaning it will show only on a specific post)
Nope, again what good does this do? You already warned the post, and stated the reason via the warning system. That is a pleanty good enough marking system. Why bother typing in an explanation post specific, which would mark the post twice? :ermm:

Quote:

and non-post related ones (meaning it will show in all posts made by that member)?
Of course ;)

sv1cec 12-21-2005 05:17 AM

Let's say you want to remember something about a member. Say, he promised you to send you something and he didn't, and you are a bad guy and you want to hold it against him. This is a member-specific, non-public (you can see it only) note, which you want to show on every user's post, so it is non-post related.

The Notes, in AWS allow you to put a remark on the user, either for all mgm to see or only for you to see. And the note can appear in evey post the user makes or just a specific one. It is not related to warnings or alerts. Another example:

In my board, I have a member who is very childish. He likes kidding with others, but if you say something funny to him, he gets offended. So I just put a note on him, which I only can see, saying something like "Be Careful, non-mature member!" or something like that. Or you spot someone, and you want to draw all the mgm team attention to watch this member. You just put a note there, saying "Let's watch this member, he is here to troll".

Xplorer4x4 12-21-2005 06:10 AM

I suppose it is a matter of personeal preference. I suppose I wouldn't mind these featuers if they could be implemented as plug-in or extension,rather then as a code mod. I am indiffrent.

If your interested in writing a plug-in for the general masses here, then feel free to PM me about a 3.5.2 test board. ;)

sv1cec 12-21-2005 06:16 AM

Well, that's what I said, that I could alter the plug-ins that AWS is already installing to include the Notes feature, but I have no test board to even see those plugins. So yest, if you can provide me with a vB 3.5.2 test site, with AWS installed, I can alter those plug-ins to include the Notes feature.

Xplorer4x4 12-21-2005 06:21 AM

Sure, anything to help out. I will pm you the details in about 5/10 min.

Hornstar 12-21-2005 10:18 AM

Quote:

Originally Posted by Xplorer4x4
Sure, anything to help out. I will pm you the details in about 5/10 min.


This is great news, now sv1cec will be able to work on it once again.

btw if anything goes wrong pm me sv1cec and i'll be able to provide you a test board too.


However im here to report some bugs


1st bug: In admincp ----Advanced Warning System----View Warnings Log


If i click on 'Next Page' It just reloads the same page even tho i have 5 pages of warnings its always on 1of5 and i cant get to page 2.


2nd bug: View User Warnings----I type in name and then the warning comes up. There is one warning for that user and I want to remove it (As i cant access page 2 of the warning log.)

I then press complete removal and then it loads a 404 page


Seeing if anyone else has this problem, or if they know a solution

Im using VB 3.5.2

Thanks

Xplorer4x4 12-21-2005 11:01 AM

Not so much a bug, but the template edits for memberinfo template could use a bit of tiddying up. It seems to tab it aweay from the right side border.

sv1cec 12-21-2005 03:19 PM

Quote:

Originally Posted by hornstar1337
1st bug: In admincp ----Advanced Warning System----View Warnings Log


If i click on 'Next Page' It just reloads the same page even tho i have 5 pages of warnings its always on 1of5 and i cant get to page 2.

Have you define the # of warnings you want to see per page, in the AWS Options?

Quote:

Originally Posted by hornstar1337
I then press complete removal and then it loads a 404 page

What is the page that produces the 404 error? Show me the URL.

Finally, ladies and gentlemen, please do not expect me to work on this hack again. I just wanted to add the Notes functionality, so that at least I leave it off with the same features as 3.4.xx has.

However, even that is not easy, there are so many problems I am facing, even though the code works fine in 3.4.xx. There are error messages I do not understand, there are variables that I should use, and I keep forgetting, and I am using the old style ones, a mess. I am sure I'll manage to give you a working version, at the end, but I am definitely not going to further expand AWS.

I am also trying to answer as many of your bug questions as possible, since Andreas seems to be too busy to help you out, but even that is NOT easy for me. Gosh, I hate the new vB version.

Luggruff 12-22-2005 05:28 AM

Duude.. I've given out subforums to certain users (they've got a forum about their own site) where they are moderators (only in their own forum, not in any mod usergroup, not even set to moderator usergroup as secondary usergroup !)
..And they can warn users that's posting there !

So what I need is for this to stop, maybe with a function like this:
(illustrated)

1st pic: moderator options (moderator for a sertain forum)
2nd pic: Usergroup options

http://www.luggruff.se/AWSneed.PNG

+a option that says "can only use alerts" "yes/no".

This would be a problem if not available, as I'm about to offer my members a VIP membership with their own subforum too, and just imagin how the members would get eachother banned all the time.. chaos !

sv1cec 12-22-2005 10:57 AM

If you were using AWS 3.4,xx, on vB 3.0.xx, I might consider doing these. On 3.5, I am sorry but I won't even think about it.

Oh and my name is not "dude".

Luggruff 12-22-2005 01:01 PM

Quote:

Originally Posted by sv1cec
If you were using AWS 3.4,xx, on vB 3.0.xx, I might consider doing these. On 3.5, I am sorry but I won't even think about it.

Oh and my name is not "dude".

why is that?
and what's up with the attitude?
people speak differently, deal with it -_-

sv1cec 12-22-2005 02:46 PM

Read a few posts back, to learn why.

As for the attitude, I do not like people calling me names, plain and simple. If you have learned to speak like that, speak like that with your peers, not when on the net, when you do not know the other person. Deal with your manners!

Bubble #5 12-22-2005 02:57 PM

Quote:

Originally Posted by sv1cec
Oh and my name is not "dude".

Well thank God for that :nervous:

Quote:

The Notes, in AWS allow you to put a remark on the user, either for all mgm to see or only for you to see. And the note can appear in evey post the user makes or just a specific one.
This is a great feature and we wouldn't mind seeing it as a seperate hack that could be used for all members (even members not alerted or warned). It's a great way to stay on top of what each member is doing on the boards. Thank you for this feature :)

Luggruff 12-22-2005 06:36 PM

Quote:

Originally Posted by sv1cec
Read a few posts back, to learn why.

As for the attitude, I do not like people calling me names, plain and simple. If you have learned to speak like that, speak like that with your peers, not when on the net, when you do not know the other person. Deal with your manners!

What ever, can't blaiming you for being born in the 30's and not knowing that the phrase "dude" isn't a name -_-

..or thinkinh you have to bow down to everyone that's a little bit older, or may have a "higher position". It's ridiculous.

Refering to someone as dude, mate, bro', hombre or whatever, does not mean you discriminate or anything (just because you might yourself), so get yourself a bucket of ice cubes and chill.


All times are GMT. The time now is 04:01 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.04897 seconds
  • Memory Usage 1,860KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_html_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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