vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - [DBTech] Modification Version Checker v1 (vB4) (https://vborg.vbsupport.ru/showthread.php?t=288138)

DragonByte Tech 09-20-2012 10:00 PM

[DBTech] Modification Version Checker v1 (vB4)
 
1 Attachment(s)
What is Modification Version Checker?
Modification Version Checker from DragonByte Tech is a modification designed to automatically check for new available versions for all vBulletin modifications (even non-DBTech mods) that supports the "Check Version" feature in vBulletin, and display them in a visually attractive, tabulated manner on the Admin Control Panel Home page.

-------------------------------------------------------------------------------------------

If you like this mod please hit the https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified by us whenever new updates are available.

*
For security issues - vbulletin.org will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps us know how many people are using our work, giving us extra incentive to provide more features and new modifications.

We appreciate the support!
-------------------------------------------------------------------------------------------

Other addons available @ www.DragonByte-Tech.com/forum


Feature List
  • Automatically checks for new versions of all supported mods every day via the "Daily Cleanup" cron job
  • Displays outdated products in a block on the AdminCP home page
  • Handy link in the AdminCP menu to manually check for updates for all mods

DragonByte Tech 09-21-2012 10:06 PM

The following mods from DragonByte Tech have received hotfixes to support Version Check URL and can be downloaded free from www.dragonbyte-tech.com (vBulletin.org updates coming with the next natural version update):
  • Auto Discussion Thread Creator
  • Username Change
  • vBQuiz
  • vB Optimise
  • Copyright Management
  • Thread / Post Bookmarking
  • vBDownloads
  • Profile Hover
  • Random Questions
  • DragonByte Gallery
  • User Status & Moods
  • vBNotifications
  • vBNavTabs
  • vBSlider
  • vBAnalytics
  • User Spotlight
  • Thread Ratings
  • vBNominate
  • vBEditorTabs


Fillip

jluerken 09-22-2012 05:41 AM

Installed on vB 4.2 PL2.

1. Does not show me a table with any info
2. Creates a new Box in the AdminCP with a "Check all versions" link but the box has not title which looks strange.

So I see the mod is not producing errors but I do not see a table either.

Mukashi 09-22-2012 06:32 AM

As above, plus I get the following error when I try clicking on the "Check all versions" option under the "Plugins & Products" menu.

Warning: mysqli_query() [function.mysqli-query]: (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY userid' at line 1 in [path]/includes/class_core.php on line 1391

Alex@bulletin 09-22-2012 11:50 AM

Quote:

Originally Posted by jluerken (Post 2367514)
Installed on vB 4.2 PL2.

1. Does not show me a table with any info
2. Creates a new Box in the AdminCP with a "Check all versions" link but the box has not title which looks strange.

So I see the mod is not producing errors but I do not see a table either.

The table is on the ACP Main Page http://abcdefgh.com/admincp/index.php?do=home
Like this. I can see it.

Alex@bulletin 09-22-2012 11:52 AM

1 Attachment(s)
Hey there, I made my homework and managed it to translate a whole bundle of 4!!! phrases, this mod contains for you :D :cool:

Here is it:

DragonByte Tech 09-22-2012 11:59 AM

Quote:

Originally Posted by jluerken (Post 2367514)
1. Does not show me a table with any info

This is 100% normal if you do not have any outdated products installed. The table only shows up if there are any new versions to alert you to.

It will appear below the "Useful Links" section in the AdminCP home page.

Quote:

Originally Posted by jluerken (Post 2367514)
2. Creates a new Box in the AdminCP with a "Check all versions" link but the box has not title which looks strange.

Can you please post a screenshot?

Quote:

Originally Posted by Mukashi (Post 2367521)
Warning: mysqli_query() [function.mysqli-query]: (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') GROUP BY userid' at line 1 in [path]/includes/class_core.php on line 1391

Please disable all other plugins running on cron_script_cleanup_daily and verify that you do not receive this error any more.

If so, re-enable them one-by-one and re-check the page until you receive the error again. That mod would be the culprit :)

If you still receive the error after disabling all plugins, please try turning off the Plugin / Hook system via vBulletin Options and re-check the page.

If you still receive the error, you have discovered a bug in vBulletin (unless you've modified your vBulletin files).


Fillip

Hostboard 09-22-2012 01:38 PM

What's the difference?
https://vborg.vbsupport.ru/showthread.php?t=255054
Works with your stuff too although might only phone home here while this beacon's back to your site on your products?

DragonByte Tech 09-22-2012 02:15 PM

Quote:

Originally Posted by Hostboard (Post 2367639)
What's the difference?
https://vborg.vbsupport.ru/showthread.php?t=255054
Works with your stuff too although might only phone home here while this beacon's back to your site on your products?

The main difference is the fact that our table will correctly update when you install an update, whereas that mod will not :)

For instance, if you have 20 out of date mods and update 1, our mod will update its table to display 19 out of date mods.

I don't understand what you mean by "beacon's back to your site on your products", sorry :(


Fillip

Hostboard 09-22-2012 03:45 PM

Uninstalled other version checker, removed files.
Installed yours and boom...

Disabled.

Code:

Database error in vBulletin 4.2.0:

Invalid SQL:
SELECT * FROM mmproduct WHERE version != latestversion AND versioncheckurl != '' AND latestversion != 'Error' AND latestversion != '';

MySQL Error  : Unknown column 'latestversion' in 'where clause'
Error Number  : 1054
Request Date  : Saturday, September 22nd 2012 @ 10:41:36 AM
Error Date    : Saturday, September 22nd 2012 @ 10:41:36 AM
Script        : http://www.MyDomain/forums/admincp/index.php?do=home
Referrer      : http://www.MyDomain/forums/admincp/index.php?do=nav
IP Address    : xxx.xxx.xxx.xxx
Username      : UserID
Classname    : vB_Database_MySQLi
MySQL Version : 5.1.63-0ubuntu0.10.04.1


DragonByte Tech 09-22-2012 04:39 PM

Yeah I got the same issue on another forum I followed the exact same steps with. I can't explain why it happens, but it works if you uninstall our mod and re-install it.

Fillip

Hostboard 09-22-2012 07:11 PM

Well if it helps at all, the database error occurred on 4.2pl2 I was unable to get an error on 4.1.12pl1 So it is something with the newer version of VB But confirmed, uninstall, reinstall, re-run daily cleanup CRON and it is all good :)

Snowhog 12-02-2012 08:23 PM

Downloaded and installed. Question: Can you modify this so that when it's run, either manually or via the CRON, it always presents the block with a comment "All MODS are up to date" when they are, instead of only appearing and listing outdated MODS? The administrator would have to acknowledge/close the window. I like seeing a report, whether positive or negative.

DragonByte Tech 12-02-2012 09:06 PM

Unfortunately that cannot be done. It was a design decision between the way the other version checker does things and "my" way.

I chose to go with the current way because I prefer to spot alerts, not "everything is okay" messages. Going with the "other" way would mean I would have to dismiss the "everything is okay" message once a day - not something I want to do.

Also, the "other" way does not support removing a product from the list of outdated mods once an XML file has been imported, which I felt was a serious design flaw.

Dual method with support for switching is unlikely to be added if I'm honest - it would take up a lot of development time without making that money back.


Fillip

Snowhog 12-02-2012 09:10 PM

Understood. Had to ask. :)

But, how are you supposed to know that it is in fact working, if all MODs are up to date?

DragonByte Tech 12-02-2012 09:21 PM

You could manually decrement the version number of a modification that you know has support for version checking (default product manager would mean it has a Check Version item in the drop-down) by 1 :)


Fillip

ForceHSS 12-02-2012 09:30 PM

I see the link to check all versions under admincp/Plugins & Products. I also done what you have in the readme file
*================================================= =====================*\
|| 2. First Time Installation / Upgrade ||
\*================================================ ======================*/

1. Import the product-dbtech_versioncheck.xml file from the "XML" folder at
AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product

2. Re-run the "Daily Cleanup" Scheduled Task from the "Scheduled Tasks Manager".

3. That's it!

on one forum step two works on another it does not says
Daily Cleanup
Inactive Settings Error
have no idea where the setting is for this

ForceHSS 12-02-2012 09:40 PM

you need to change it so it shows what you have like you have in that screenshot even if all is up to date

Snowhog 12-02-2012 09:54 PM

Tested by lowering the version number on Spiders Display on Forumhome and Who's Online and running Daily cleanup. Works as described.

DragonByte Tech 12-02-2012 10:12 PM

Quote:

Originally Posted by ForceHSS (Post 2387814)
on one forum step two works on another it does not says
Daily Cleanup
Inactive Settings Error
have no idea where the setting is for this

Sorry, I don't understand what you mean. Can you please clarify?


Fillip

Mr_Running 12-02-2012 11:07 PM

Quote:

Originally Posted by ForceHSS (Post 2387814)
I see the link to check all versions under admincp/Plugins & Products. I also done what you have in the readme file
*================================================= =====================*\
|| 2. First Time Installation / Upgrade ||
\*================================================ ======================*/

1. Import the product-dbtech_versioncheck.xml file from the "XML" folder at
AdminCP -> Plugins & Products -> Manage Products -> Add/Import Product

2. Re-run the "Daily Cleanup" Scheduled Task from the "Scheduled Tasks Manager".

3. That's it!

on one forum step two works on another it does not says
Daily Cleanup
Inactive Settings Error
have no idea where the setting is for this

FYI
Daily Cleanup reads as Check All Versions in the Admin CP

1) vB Admin CP --> Plugins & Products --> Check All Versions
2) Control Panel Home (Admin Control Panel Home page) =


Welcome to the Admin Control Panel


Outdated Products

Displays outdated products in a block on the AdminCP home page

ForceHSS 12-03-2012 01:54 AM

Quote:

Originally Posted by Mr_Running (Post 2387844)
FYI
Daily Cleanup reads as Check All Versions in the Admin CP

1) vB Admin CP --> Plugins & Products --> Check All Versions
2) Control Panel Home (Admin Control Panel Home page) =


Welcome to the Admin Control Panel


Outdated Products

Displays outdated products in a block on the AdminCP home page

not on mine maybe I dont have any but even if I dont it should say none out of date if you can show a screenshot of yours

ForceHSS 12-03-2012 01:55 AM

Quote:

Originally Posted by DragonByte Tech (Post 2387832)
Sorry, I don't understand what you mean. Can you please clarify?


Fillip

when I go to admincp/Plugins & Products/Check All Versions I get that error on one of my forums if you can tell me where in the settings I need to turn it on so it wont do that

XGC Viper XI 03-06-2016 12:48 AM

I installed this product on two sites. First, your SuperPM did not show as a change which it has. I think this has to do with your site which is different from the lite on here. The problem is that another program I have on both sites showed in the list as required an update and on the other site it did not show. Why is this?

DragonByte Tech 03-06-2016 12:48 AM

Quote:

Originally Posted by XGC Viper XI (Post 2566600)
The problem is that another program I have on both sites showed in the list as required an update and on the other site it did not show. Why is this?

Could you please elaborate?


Fillip


All times are GMT. The time now is 06:09 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.02104 seconds
  • Memory Usage 1,803KB
  • 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
  • (1)bbcode_code_printable
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)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