vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Mistakes in the current upgrade file. (https://vborg.vbsupport.ru/showthread.php?t=80074)

venomx 04-17-2005 05:57 PM

Mistakes in the current upgrade file.
 
Under:
UPGRADE FROM VERSION 3.4.2 TO VERSION 3.4.3

It has one edit. The says In the same file, find:
And nothing is there. Is there the only one file edit?

Under:
UPGRADE FROM VERSION 3.4.1 TO VERSION 3.4.2

It says to find
Code:

if ($post[userid]==$bbuserinfo[userid] AND $postadmin!=1 AND ($post[warning_level]>0)
Which is really

Code:

if ($post[userid]==$bbuserinfo[userid] AND $postadmin!=1 AND $post[warning_level]>0)
and it says
Code:

Edit template warn_viewtype_top and find:

        <td class="tcat" colspan="6">
       
Replace that with:

        <td class="tcat" colspan="8">       

        <td class="thead">Post-related</td>
       
Below that, add:

        <td class="thead">Alertable</td>
        <td class="thead">Alert Comment</td>

Which should say

Code:

Edit template warn_viewtype_top and find:

        <td class="tcat" colspan="6">
       
Replace that with:

        <td class="tcat" colspan="8">
       
Then find:

        <td class="thead">Post-related</td>
       
Below that, add:

        <td class="thead">Alertable</td>
        <td class="thead">Alert Comment</td>


sv1cec 04-17-2005 06:07 PM

You are obviously right on these, and I wish it was only these. The release of v.3.4.3 was a disaster, too many things I forgot to include. Thank God, I do not think too many people have noticed this release, I didn't send out an update, so that eases the pain!

In any case, please download the latest zip file and do all the other mods found in the upgrade to 3.4.3 version.

Sorry for the inconvenience.

Rgds

venomx 04-17-2005 06:23 PM

Ok I am lost.. The new one says in newreply.php to find
Code:

                warn_calculations($warn_type['tid'], $wcomment, $newpostid, $bbuserinfo, $vboptions['warn_automatic_warner'], $alert);
               
                warn_notify($thread1, $thread2, $bbuserinfo, $warnerdata['email'], $warnerdata['username'], $vboptions['warn_automatic_warner'], $warn_type, $level, $wcomment);

While mine is
Code:

                warn_calculations($warn_type['tid'], $wcomment, $newpostid, $bbuserinfo, $vboptions['warn_automatic_warner'], $warn_opts, $vboptions);
               
                warn_notify($thread1, $thread2, $bbuserinfo, $warnerdata['email'], $warnerdata['username'], $vboptions['warn_automatic_warner'], $warn_type, $level, $vboptions, $wcomment);

Same with editpost.php...

And newthread.php

sv1cec 04-17-2005 06:46 PM

editpost.php and newthread.php are correctly shown, the one that was wrong was newreply.php.

In every case, you are looking for a warn_calculations without the $alert at the end and you are replacing that with a warn_calculations with the $alert at the end. Same with warn_notify, you look for one without the $alert and replace with the one with the $alert.

Rgds


All times are GMT. The time now is 02:44 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.00938 seconds
  • Memory Usage 1,720KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete