Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
'Check Version' for all hacks Details »»
'Check Version' for all hacks
Version: 1.6.4, by hurik hurik is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.x Rating:
Released: 12-05-2006 Last Update: 04-23-2007 Installs: 135
DB Changes Uses Plugins
Re-useable Code Additional Files  
No support by the author.



Description:
With this hack you can easily check all installed products for updates, it show it directly in the product manager and with one click it check all hacks for updates.
The informattion is updated every night per cron job and when you want it can inform you with an admin message or an email.

The screenshots are from a german vbulletin.

Thanks go to Andreas for his improvements and ideas.

German Version: http://www.vbulletin-germany.org/showthread.php?t=121

History:
1.6.4 Small bugfixes.
1.6.3 Cron improved.
1.6.2 Highly improved version by Andreas.
1.5.1 Cron improved and a lot of small bugfixes
1.5.0 pvc.php removed and everything inclided in the plugin.php and small cron bugfixes.
1.2.0 E-Mail function included, overview improved and the adminmessage is now dynamic.
1.1.1 Cronjoninstallation improved.
1.1.0 Cronjob (Static adminmessage)
1.0.1 Small update of the admin right management.
1.0.0 First version.

Installation and Update:
1. Upload all in the upload folder.
2. Import the product and overwrite the old one.
1. Upload pvcron.php to "FORUMROOT/includes/cron/".
2. Import the product.
3. Under "Product Manager" click one time on "Check all products for new version".
4. When you want you can activate the adminmessage or email function, but don't forget to insert your mail adress, under "vBulletin-Options" -> "Plug-in- / Hook-System".


Sorry for my bad English!


Andreas is only the CoAuthor don't get on his nerves with question to this hack! Thanks!

Supporters / CoAuthors

Show Your Support

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

Comments
  #62  
Old 02-01-2010, 05:59 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you have plans to update this to 4.01/4.02?

Thanks!
Reply With Quote
  #63  
Old 02-01-2010, 06:28 PM
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Posts: 359
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by mtha View Post
Installed and it works for vb4, with minor modification

replace plugin Aktuellste Versionen anzeigen
with


PHP Code:
if ($_REQUEST['do'] == 'product')
{
    
$html = @ob_get_contents();
    while (@
ob_end_clean());
    if (!empty(
$html))
    {
        global 
$products$bgcounter$stylevar;

        @
ob_start();

        
$search = array(
            
"<form action=\"plugin.php?do=productexport\" method=\"post\" target=\"download\" name=\"cpform\" id=\"cpform\">",
            
"<td class=\"tcat\" align=\"center\" colspan=\"4\"><b>$vbphrase[installed_products]</b></td>",
            
"<td class=\"thead\">$vbphrase[version]</td>",
            
"<strong>vBulletin</strong></td>\n\t<td class=\"alt1\" align=\"".vB_Template_Runtime::fetchStyleVar('left') ."\">" $vbulletin->options['templateversion']
        );

        
$replace = array(
            
"<p align=\"center\"><a href=\"plugin.php?do=productadd\">[$vbphrase[add_import_product]]</a> - <a href=\"misc.php?do=updateversions\">[$vbphrase[check_all_products]]</a></p>\n<form action=\"plugin.php?do=productexport\" method=\"post\" target=\"download\" name=\"cpform\" id=\"cpform\">",
            
"<td class=\"tcat\" align=\"center\" colspan=\"5\"><b>$vbphrase[installed_products]</b></td>",
            
"<td class=\"thead\">$vbphrase[version]</td>\n\t<td class=\"thead\">$vbphrase[latest_version]</td>",
            
"<strong>vBulletin</strong></td>\n\t<td class=\"alt1\" align=\"".vB_Template_Runtime::fetchStyleVar('left') ."\">" $vbulletin->options['templateversion'] . "</td>\n\t<td class=\"alt1\" align=\"".vB_Template_Runtime::fetchStyleVar('left') ."\">$vbphrase[latest_version_available_x]</td>"
        
);
    
        
$vbulletin->db->data_seek($products0);
        
$bgcounter 1;
        while (
$product $vbulletin->db->fetch_array($products))
        {
            
$bgclassfetch_row_bgclass();
            
$title htmlspecialchars_uni($product['title']);
            if (!
$product['active'])
            {
                
$title "<strike>$title</strike>";
            }
            if (
$product['url'])
            {
                
$title '<a href="' htmlspecialchars_uni($product['url']) . "\" target=\"_blank\">$title</a>";
            }
            
$product['version'] = htmlspecialchars_uni($product['version']);
            if (
is_newer_version($product['latestversion'], $product['version']))
            {
                
$search[] = "$title</td>\n\t<td class=\"$bgclass\" align=\"".vB_Template_Runtime::fetchStyleVar('left') ."\">$product[version]";
                
$replace[] = "<strong>$title</title></td>\n\t<td class=\"$bgclass\" align=\"".vB_Template_Runtime::fetchStyleVar('left') ."\"><span style=\"color: #AA0000\"><strong>$product[version]</strong></span></td>\n\t<td class=\"$bgclass\" align=\"".vB_Template_Runtime::fetchStyleVar('left') ."\"><span style=\"color: #AA0000\"><strong>$product[latestversion]</strong></span></td>";
            }
            else
            {
                
$search[] = "$title</td>\n\t<td class=\"$bgclass\" align=\"".vB_Template_Runtime::fetchStyleVar('left') ."\">$product[version]";
                
$replace[] = "$title</td>\n\t<td class=\"$bgclass\" align=\"".vB_Template_Runtime::fetchStyleVar('left') ."\">$product[version]</td>\n\t<td class=\"$bgclass\" align=\"".vB_Template_Runtime::fetchStyleVar('left') ."\">$product[latestversion]</td>";
            }
        }
        echo(
str_replace($search$replace$html));
    }

Are you saying to replace the contents of pvcron.php with your code?

Thanks!
Reply With Quote
  #64  
Old 05-14-2010, 02:57 PM
tmiland tmiland is offline
 
Join Date: Mar 2008
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Brew View Post
Are you saying to replace the contents of pvcron.php with your code?

Thanks!
Edit the xml file, reinstall.

Works with vbulletin 4.0.3
Reply With Quote
  #65  
Old 12-11-2010, 10:52 AM
hurik hurik is offline
 
Join Date: Aug 2005
Location: Konstanz (Germany)
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reply With Quote
Reply


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 07:10 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09385 seconds
  • Memory Usage 2,288KB
  • Queries Executed 22 (?)
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
  • (1)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete