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)

Drewish 03-01-2006 12:26 AM

Im sorry if this is very stupid of me, but where do I define warning types?

Drewish 03-01-2006 12:46 AM

Nevermind, I had to log out of my admin panel then log back in. Sorry

sv1cec 03-01-2006 03:33 AM

I do not plan to rewrite the code to use phrases or any other changes. What I plan to do is to deliver a fully working, bug-free version.

sv1cec 03-01-2006 07:05 AM

OK, so far, I haven't seen any other bug reported except the one which didn't allow you to completely delete a warning. I trapped a couple of other small issues, and I just uploaded a new admin_warn.php file. Copy that in your admincp directory on your web server, and your problem should be solved.

If I do not receive reports about any other issues, I can't do anything more.

Thanks to Delphi for catching up that stupid thing about admincpdir.

D.Ilyin 03-01-2006 07:06 AM

Quote:

Originally Posted by sv1cec
Right, I can't give any warranties. When it is ready, and when I am satisfied that everything works as it should, I'll release it.

Will you planing to use <phrases> or it still will be need translating by "hands"?

Updated
oops.... to many answers and answer on my question :(
Quote:

I do not plan to rewrite the code to use phrases or any other changes. What I plan to do is to deliver a fully working, bug-free version.

sv1cec 03-01-2006 07:12 AM

Gentlemen,

Please understand that I have no idea on how to distribute this thing in a packaged manner. As a result, I am uploading separate files for you. Thus any effort to translate this hack to a phrased version is doomed. I won't even know how to package the phrased version for you.

Sorry!

D.Ilyin 03-01-2006 07:13 AM

Quote:

Originally Posted by sv1cec
I won't even know how to package the phrased version for you.

Sorry!

And what if i help about it?

sv1cec 03-01-2006 07:29 AM

Well, if someone can help on that, I have no objection. You see, I did some changes in the templates, there were some issues with wrong colspan etc. But I have no idea how to package everything again. I do not know how one should do the installation again, in order to get the new templates etc, but not loose anything else. In a nutshell, I do not feel comfortable with vB 3.5, so can't do much.

Mosh 03-02-2006 12:46 PM

I noticed a couple of templates were not cached, so have made a plugin and uploaded it for others to install.

Also to fix the columns when viewing a person's warning, you need to make a couple of changes.

In the warn_viewtype_end template, find:

Code:

<td class="tfoot" colspan="7" align="right">
change it to:

Code:

<td class="tfoot" colspan="8" align="right">
In the warn_view_end template, find:

Code:

<td class="tfoot" colspan="8" align="right">
change it to:

Code:

<td class="tfoot" colspan="9" align="right">
If I notice anything else I will let you know.

By the way, this is a great port, I was using AWS in v 3.0.x and I am having no problems what so ever at the moment :)

Thanks for a great modification :D

Delphiprogrammi 03-02-2006 12:52 PM

hi people,

i've spotted and fixed the urls linking problem.In emails aws sends out.If you have "send email to warned member" turned on and you get this

Code:

Dear tester,
                       
                        A warning you have received for violating Array[bbtitle] Rules has been totally removed from your account, by the Forums team. The removed warning concerned:
                       
                        you are crossposting
                        (Warning Type = 'CrossPosting')
                       
                        The post for which you were warned, and whose warning has now been totally removed, can be seen here:
                       
                        Array[bburl]/showthread.php?p=165
                       
                        With this warning being removed, 4 point(s) have been removed from your total.
                       
                        Your total Warning Level at the moment is: 0 point(s).
                       
                        Please reply back if you have a dispute.
                       
                        ----------------
                       
                        Array[bbtitle] Team

there should be a proper link to the post for which the member got warned in the first place

Code:

Dear tester,
                       
                        A warning you have received for violating Array[bbtitle] Rules has been totally removed from your account, by the Forums team. The removed warning concerned:
                       
                        you posted urls before 15 posts
                        (Warning Type = 'links')
                       
                        The post for which you were warned, and whose warning has now been totally removed, can be seen here:
                       
                        http://www.server.com/forums/showthread.php?p=165
                       
                        With this warning being removed, 1 point(s) have been removed from your total.
                       
                        Your total Warning Level at the moment is: 0 point(s).
                       
                        Please reply back if you have a dispute.
                       
                        ----------------
                       
                        Array[bbtitle] Team

in admincp/admin_warn.php find the $thread2 variable BUT ONLY if it is a post related warning ... and change it to

PHP Code:

$thread2="{$vbulletin->options['bburl']}/showthread.php?p={$warn['warned_post']}"

that should do it that's one more problem sorted out


All times are GMT. The time now is 04:48 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.03438 seconds
  • Memory Usage 1,755KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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