vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - [APM] Advanced Product Management 3.0.4 (https://vborg.vbsupport.ru/showthread.php?t=121792)

mtha 07-21-2006 10:00 PM

[APM] Advanced Product Management 3.0.4
 
[APM] Advanced Product Management 3.0.4

/*================================================* \
|| ########################################## ||
|| # Advanced Product Management [APM] v3.0.4 ? by HacNho
|| # Copyright (C) 2006 by HacNho, All rights reserved.
|| # ----------------------------------------------------------
|| # For use with vBulletin Version 3.6.0 RC2 and later
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html
|| # Discussion and support available at
|| # https://vborg.vbsupport.ru/showthread.php?t=121792
|| ########################################## ||
\*================================================ =*/

Hack Version: 3.0.4.060925
Compatible vB version: 3.6.x
https://vborg.vbsupport.ru/showthread.php?t=121792


NOTE:
- The old related URL is removed due to the present of default URL field. old value is Not pasted over.

APM for vBulletin 3.5.x:
https://vborg.vbsupport.ru/showthread.php?t=95741

APM for vBulletin 3.7.x (and 3.8.x)

https://vborg.vbsupport.ru/showthread.php?t=197071



DESCRIPTION:

A center product area which allow you to manage all codes/plugins/templates/phrases/settings /crons for any product.
It also add some additional fields to the product, just to save more information with a product
Release Date
Product Author
Extra Information

The extra information is only available if you install APM, and use APM to export/import other product.
It does not have any conflict with original product. You still can use APM to import standard product, or use standard product tool to import APM's product files.

INSTALL:
1. Upload all files in UPLOAD folder to your server
2. Import XML product (product-adv_product_management_XXX.xml) using vBulletin standard product import tool.
3. Refresh menu panel to display Advanced Product Management link in Plugin System section

{optional} - Re-import product-adv_product_management.xml using APM import product tool, with Allow Overwrite = Yes
This step is inserting more information into the product.
* CAUTION: DONOT use APM to import product-adv_product_management.xml BEFORE step 2.

UPGRADE:
1. Upload all files in UPLOAD folder to your server (replace the old files
2. Import XML product with "Allow Overwrite" option checked
3. Enjoy!


HISTORY:
v1.0: Initial release
v1.1: Improve count queries, thanks to KirbyDE, some bugs fix
v1.2: Add collapsible blocks into product detail

2005.10.02: version 2.0: Alot of improvement. After editting, redirect back to product manager

2005.11.05: version 2.0.3: change some function names, due to changes in vB3.5.1 / it may not work for 3.5.0

2006.07.21: version 3.0.0 - release for vB 3.6.0
2006.08.22: version 3.0.2: Add CRON to the APM - change dependency
2006.09.21: version 3.0.3 - with small fixes
2006.09.25: version 3.0.4 - fix "install code - invalid product" bug (p=1081739&postcount=38)

mtha 07-22-2006 12:06 AM

reserved for future use!

Milad 07-22-2006 12:38 AM

Thanks, I was waiting for your MOD.

Thank you

jackalz 07-22-2006 12:46 AM

Great, thanks.

Jim O 07-22-2006 01:20 AM

When attempting to install using vB 3.6.0 RC2 receieved error message:
Quote:

vBulletin Message


The following dependencies were not met:

1. This product is not compatible with version 3.6.0 Release Candidate 2 of vBulletin. (Compatible starting with 3.6.0)
I needed to change
Code:

        <dependencies>
                <dependency dependencytype="vbulletin" minversion="3.6.0" maxversion="" />
        </dependencies>

to
Code:

        <dependencies>
                <dependency dependencytype="vbulletin" minversion="3.6.0 RC2" maxversion="" />
        </dependencies>


D.Ilyin 07-22-2006 06:40 AM

mtha thanks! Was waiting this hack :)

Allan 07-22-2006 06:43 AM

Congrat, great hack ;)

Hornstar 07-22-2006 07:20 AM

Thanks for the update. Really enjoy this addon.

MrZeropage 07-22-2006 01:10 PM

Thanks, have been waiting for this :)

Atakan KOC 07-22-2006 09:32 PM

Thanks mtha :)

Snake 07-23-2006 11:53 AM

Yay finally for 3.6! Thanks man! :D

Paul M 07-23-2006 04:47 PM

The dependancy in the XML is still wrong - you cannot install this on an RC2 board without editing it.

When you next do an update, it would be handy to include cron jobs associated with the product as that is now a feature of 3.6. :)

Code Monkey 07-24-2006 02:46 AM

Another good addition would be the option to export a product xml in 3.54 format.

Billspaintball 07-24-2006 03:41 AM

Ohh yeah!
Thanks, been hanging out for this :)

Also, I second Paul M and JumpD's suggestions :)

aLReeMi 07-24-2006 06:38 AM

greeeeat,

thanks

mtha 07-25-2006 06:41 AM

Quote:

Originally Posted by Paul M
The dependancy in the XML is still wrong - you cannot install this on an RC2 board without editing it.

When you next do an update, it would be handy to include cron jobs associated with the product as that is now a feature of 3.6. :)

Updated the attachment, with XML fix.

will see about the cron jobs. I dint use vb 3.6.0 myself, so havent discover its new functions yet :D

Quote:

Another good addition would be the option to export a product xml in 3.54 format.
I think you still can export the product, and it will still can be imported in 3.5.4 (in theory, I think). extra information will be ignored.

backward export/import wont do any good, as new features will be ignored, and hacks for 3.6.0 may not work for 3.5.4

cheesegrits 07-26-2006 02:58 AM

An excellent product! This is the way the product manager should work.

Installed AND Nominated.

mtha 07-26-2006 07:16 PM

Quote:

Originally Posted by Paul M
When you next do an update, it would be handy to include cron jobs associated with the product as that is now a feature of 3.6. :)


As per request, CRON JOBS is now associated with the product are available in APM.

Have fun!

Code Monkey 07-30-2006 04:49 PM

Quote:

Originally Posted by mtha


I think you still can export the product, and it will still can be imported in 3.5.4 (in theory, I think). extra information will be ignored.

backward export/import wont do any good, as new features will be ignored, and hacks for 3.6.0 may not work for 3.5.4

No, there are problems with the extra phrase info and the plugin order. My experience is they need to be removed.

Right now, if you develop a hack on 3.6 it is a chore to edit the xml for 3.54. As with every upgrade many peeps will not be upgrading.

As far as hacks not having backward compatability. Well, I'm sure the author will know if it is or not and love to be able to export a clean 3.54 xml if it is.

Paul M 07-30-2006 05:03 PM

Quote:

Originally Posted by mtha
As per request, CRON JOBS is now associated with the product are available in APM.

Excellent, I am about to update. :)

BTW, the zip seems to refer to 3.0.3, but the text only refers to 3.0.2 ?

cheesegrits 07-31-2006 02:18 PM

When updating APM, does it matter whether we use APM itself or the standard PM to re-import the product?

-- hugh

Paul M 07-31-2006 02:19 PM

No, it doesn't matter.

cheesegrits 07-31-2006 04:20 PM

Quote:

Originally Posted by Paul M
No, it doesn't matter.

Paul M - Thanks. I didn't think it did, but thought I'd better check. I just upgraded (using the APM), worked fine.

mtha - any chance we could get associated product XML at least displayed, and maybe the option to create a basic bitfield or cpnav skeleton? I don't expect full XML editing in the APM (yet!! LOL!), but it would be nice to at least have a table showing any associated XML files, and the ability to peek at them without having to jump on ssh or download them.

I've said it before, but I'll say it again .. this product rocks. I created my first new product with it yesterday (a bbcode to allow me to print vB options in posts), it took less than an hour to create the whole thing, complete with usergroup permissions, admincp options, plugin and phrasing. The APM was a huge time saver, especially for me as a relative newcomer to vB coding.

I have a whole heap of features I'd love to see added to the APM, but I'll save those for now, and try and come up with a coherent feature request list rather than just brain dumping! The product XML just came out top of the list from yesterdays experience.

Thank you once again for such a useful and (IMHO) much needed product.

-- hugh

cheesegrits 07-31-2006 04:41 PM

Small little issue ...

If you forget to fill out the Version field when adding install / uninstall code, it doesn't throw any errors, and the feedback says the changes have been saved ... but they haven't.

-- hugh

cheesegrits 07-31-2006 04:57 PM

Another small issue ... and sorry about my post-fest today ...

When you update the ZIP with a new version, would you mind including the version number in the top level folder (AdvancedProductManager_303 or whatever)? And (as Paul M points out) change the version number in the text file?

It would just make product updating and housekeeping slightly easier. Which is, after all, one of the things the APM is all about. :D

-- hugh

mtha 08-01-2006 06:01 PM

I did it in rush for you guys, didnt actually have time to clean it up. it's kinda messy, isnt it? sorry 'bout that.
I will try to clean it up (... now right now :( )

cheesegrits 08-02-2006 09:34 PM

Quote:

Originally Posted by mtha
I did it in rush for you guys, didnt actually have time to clean it up. it's kinda messy, isnt it? sorry 'bout that.
I will try to clean it up (... now right now :( )

Please, no apologies necessary! I'm just pointing out a few trivial issues.

Speaking of which. I do have one slightly more than trivial issue I just noticed with one of the projects in my list. It's a fairly large on (the first beta release of SirAdrian's vBlogetin). The APM outputs it fine, except that it truncates the output at the end of the first setting group.

The product has three distinct settings groups, but APM gets as far as the last entry in the first group, and stops there. It doesn't even print the content of the last entry in that first group, it just prints the title line.

There is no Save button, and the usual footer stuff (including the debug info) is missing as well.

I've tried APM on an equally sizeable product (PhotoPlog) which has a similar amount of plugins, phrases, templates, etc, and that works fine. So i don't think it's any kind of overall size limit.

I'm examining the product XML at the moment, to see if there is possibly something strange in the XML itself which might be getting APM's undies ina bundle.

More News When There Is News,

-- hugh

cheesegrits 08-07-2006 12:06 AM

Another issue I've run across ... I don't know if this is APM, or a generic vB problem, but when I try and create a new template in a new product I'm working on, when it saves it tells me "Invalid product ID", even tho I have definitely selected my new product from the dropdown on the new template page.

-- hugh

pauloo 08-09-2006 01:24 PM

Thank you

Stoebi 08-14-2006 10:16 AM

Hi,

thx a lot for the very nice addon. I've three wishes.

1. A way to add/change the autor in phrases
2. A way to add/change version numbers in phrases
3. A way to add/change phrase date in phrases

Regards, Stoebi

Spiffware 09-21-2006 09:54 AM

has anyone try to install this on 3.6.1 to see if it worked?

mtha 09-21-2006 10:25 AM

it seems to work on 3.6.1, but need revised and small fixes. I will try to work on it next week.

Spiffware 09-21-2006 10:59 AM

ok thanks

Kriminal 09-21-2006 02:02 PM

Quote:

Originally Posted by Spiffware
has anyone try to install this on 3.6.1 to see if it worked?

It works in 3.6.1

mtha 09-21-2006 11:49 PM

Hack Version: 3.0.3.060921
Compatible vB version: 3.6.0 (and later)

With small fixes and clean up.

Does work with vB 3.6.1

mtha 09-21-2006 11:54 PM

Quote:

Originally Posted by Paul M
Excellent, I am about to update.
BTW, the zip seems to refer to 3.0.3, but the text only refers to 3.0.2 ?

Fixed

Quote:

mtha - any chance we could get associated product XML at least displayed, and maybe the option to create a basic bitfield or cpnav skeleton? I don't expect full XML editing in the APM (yet!! LOL!), but it would be nice to at least have a table showing any associated XML files, and the ability to peek at them without having to jump on ssh or download them.
well, no. not at the current time.


Quote:

If you forget to fill out the Version field when adding install / uninstall code, it doesn't throw any errors, and the feedback says the changes have been saved ... but they haven't.
Dont see that error, or it's been fixed on the way :)

Quote:

Speaking of which. I do have one slightly more than trivial issue I just noticed with one of the projects in my list. It's a fairly large on (the first beta release of SirAdrian's vBlogetin). The APM outputs it fine, except that it truncates the output at the end of the first setting group.

The product has three distinct settings groups, but APM gets as far as the last entry in the first group, and stops there. It doesn't even print the content of the last entry in that first group, it just prints the title line.

There is no Save button, and the usual footer stuff (including the debug info) is missing as well.
I couldnt find vBlogetin on the site here, so cant test. anyway, I clean up and fix some table on vboptions. Try again and see if it is fixed.


Quote:

Another issue I've run across ... I don't know if this is APM, or a generic vB problem, but when I try and create a new template in a new product I'm working on, when it saves it tells me "Invalid product ID", even tho I have definitely selected my new product from the dropdown on the new template page.
Dont see the problem. Try to upgrade to the newest version and see if you still get the error?


Quote:

1. A way to add/change the autor in phrases
2. A way to add/change version numbers in phrases
3. A way to add/change phrase date in phrases
They are all in phrases, aint they?

Spiffware 09-23-2006 04:30 AM

ok installed and it seems to work ill let you know if i get any issues but so far its fine.

Paul M 09-23-2006 08:00 PM

If I try and add install code I just get an "Invalid Product Specified" error when clicking save.

Edit - this only seems to be if previous install code exists.

Spiffware 09-24-2006 02:45 AM

if u read his txt uninstall out virsion and install new one it works fine.

stcont 09-24-2006 07:21 AM

Help error :(
(vBulletin 3.6.1)

Parse error: parse error, unexpected '}' /forum/admincp/apm_product.php on line 2855

PHP Code:

 {
        if (empty(
$setting["$grouptitle"]))
        {
            continue;
        }

        
// add a group for each setting group we have settings for

        
$xml->add_group('settinggroup', array('name' => htmlspecialchars($group['grouptitle']), 'displayorder' => $group['displayorder']));

        foreach(
$setting["$grouptitle"] AS $set)
        {
            
$arr = array('varname' => $set['varname'], 'displayorder' => $set['displayorder']);
            if (
$set['advanced'])
            {
                
$arr['advanced'] = 1;
            }
            
$xml->add_group('setting'$arr);

            if (
$set['datatype'])
            {
                
$xml->add_tag('datatype'$set['datatype']);
            }
            if (
$set['optioncode'] != '')
            {
                
$xml->add_tag('optioncode'$set['optioncode']);
            }
            if (
$set['validationcode'])
            {
                
$xml->add_tag('validationcode'$set['validationcode']);
            }
            if (
$set['defaultvalue'] !== '')
            {
                
$xml->add_tag('defaultvalue'$set['defaultvalue']);
            }
            if (
$set['blacklist'])
            {
                
$xml->add_tag('blacklist'1);
            }
            
$xml->close_group();
        }

        
$xml->close_group();
    } <= 
2855 line 



All times are GMT. The time now is 06:18 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.01385 seconds
  • Memory Usage 1,859KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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