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)

Andreas 09-22-2005 04:40 AM

Fix for "Unable to find Warning Type":

admin_warn.php
FIND
PHP Code:

// ##################### Do Delete Warn Type ######################
if ($_POST['do'] == "do_delete_warn"


BELOW that ADD
PHP Code:

    $vbulletin->input->clean_array_gpc('p', array(
        
'tid' => TYPE_INT,
        
'verify' => TYPE_INT
    
)); 


sv1cec 09-22-2005 04:41 AM

OK guys, the bug which didn't allow you to delete a Warning Type is now fixed. Just download the latest zip file and upload the file admin_warn.php to your web server.

Sorry, my bad.

sv1cec 09-22-2005 04:46 AM

Quote:

Originally Posted by Xplorer4x4
*goes to test* and ummm it seems that I can now save any edits to users without getting a DB error. I have no idea how that worked itself out

I tried editing a user and I have no problems. Anyone else has this issue?

Andreas 09-22-2005 04:52 AM

Quote:

Originally Posted by acidburn0520
If the comment for a warning has quotation marks in it, they'll be displayed as " when a message regarding the warning is posted.

I don't seem to be able to reproduce this.
Can you tell me exactly which steps are necessary?

Xplorer4x4 09-22-2005 04:53 AM

Quote:

Originally Posted by sv1cec
I tried editing a user and I have no problems. Anyone else has this issue?

So far I have seen no reports of it, BUT as I said aperently it did work its self out. So if I have another problem I will let you know but please do make note of the other errors I have mentioned as this was proabbly one of my favorite hacks for 3.0.X.

It apears that when you make the template mods a view warnings options should apear in the postbit_legacy template like in the hold hack. It doesn;t show up for me, or was that not ported into this hack?

Please note I am using RC3! Just FYI!

Andreas 09-22-2005 05:04 AM

Quote:

Originally Posted by Xplorer4x4
t apears that when you make the template mods a view warnings options should apear in the postbit_legacy template like in the hold hack. It doesn;t show up for me, or was that not ported into this hack?

You mean the Link "View {username}'s Warnings"?
It's there for me.

Xplorer4x4 09-22-2005 05:10 AM

Quote:

Originally Posted by KirbyDE
You mean the Link "View {username}'s Warnings"?
It's there for me.

Yes I see the link to Warn a user but not view there warnings. Also isn;t there suppose to be some sort of warning indicator in the user information around the Instant Message icons?

Again not sure these are observations i Was picking up on from the template edits. Neither of them show up.

Andreas 09-22-2005 05:23 AM

Does show up for me
https://vborg.vbsupport.ru/

Check your Template Edits.

sv1cec 09-22-2005 05:25 AM

Indeed I haven't ported the postbit_legacy template to the new version. KirbyDE can you take care of that, or shall I do it?

Andreas 09-22-2005 05:28 AM

@sv1cec
There are Template Edit instructions in the readme.txt and they seem to work out fine for me on RC3, as shown in the screenshot above.


All times are GMT. The time now is 12:07 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.04606 seconds
  • Memory Usage 1,751KB
  • 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_php_printable
  • (5)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