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
  #52  
Old 03-06-2009, 09:10 AM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

doesnt work for 3.8.1 PL1

can somebody update this ?
Reply With Quote
  #53  
Old 03-06-2009, 06:41 PM
jw00dy's Avatar
jw00dy jw00dy is offline
 
Join Date: Dec 2004
Location: Utah
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It still works in my 3.8.1?
Reply With Quote
  #54  
Old 03-06-2009, 08:09 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works on 3.8.1 for me as well, no reason it shouldnt really.
Reply With Quote
  #55  
Old 03-06-2009, 08:40 PM
Playa82 Playa82 is offline
 
Join Date: Mar 2006
Location: Germany
Posts: 319
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nope. it doesnt work for me with 3.8.1 PL1
Reply With Quote
  #56  
Old 03-07-2009, 07:08 AM
Peejay's Avatar
Peejay Peejay is offline
 
Join Date: Jan 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great stuff, great little mod, very useful indeed
Reply With Quote
  #57  
Old 04-25-2009, 07:32 AM
dsanads dsanads is offline
 
Join Date: Mar 2009
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi!

First thanks for this add-on, its very helpful...

There is a problem when i try to check the versions of my installed add-ons, i get an "error" message in the newest version field when i check the version of the vbulletin guestbook by hasan. But the version checking url is correct:

https://vborg.vbsupport.ru/misc.php?...book_by_hasann

and it returns version 2.2. Does someone know how to fix this? Thanks in advance for an reply.
Reply With Quote
  #58  
Old 12-07-2009, 11:52 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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));
    }

Reply With Quote
  #59  
Old 12-22-2009, 12:11 AM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 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));
    }

Thanks, however it would be nice to see an official update from the author too. I use this all the time to easily find when there is an updated mod.
Reply With Quote
  #60  
Old 01-05-2010, 05:40 PM
Doctor Death Doctor Death is offline
 
Join Date: Dec 2005
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree... I would really like an official release for 4.0 by whomever.... thanks much for this -- a very important part of my VB environment.
Reply With Quote
  #61  
Old 01-29-2010, 06:10 PM
Mrdby Mrdby is offline
 
Join Date: Mar 2007
Location: Hades
Posts: 1,298
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me too!!! would love an update!
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 03:26 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.05129 seconds
  • Memory Usage 2,406KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_php
  • (1)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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