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 09-25-2006 04:11 AM

Quote:

Originally Posted by stcont
Help error :(
(vBulletin 3.6.1)

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

Interesting. seems like you were getting error when exporting a product, right?

I cant reproduce the problem.

Could you tell me exactly what you were doing, when getting that error message, or which product you are trying to export.

is there anything special about the product.
can you export the product using standard vB's export?

stcont 09-25-2006 04:32 AM

click & links http://homepadge/forum/admincp/apm_product.php
error Parse error: parse error, unexpected '}' /forum/admincp/apm_product.php on line 2855
Decision: coments this code

/*

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

*/
error no // but also not all functions hacks work

mtha 09-25-2006 04:55 AM

Quote:

Originally Posted by stcont
click & links http://homepadge/forum/admincp/apm_product.php
error Parse error: parse error, unexpected '}' /forum/admincp/apm_product.php on line 2855
Decision: coments this code

error no // but also not all functions hacks work

I dont think you understand my question. I need to know exactly what you were doing, when getting that error, so I can check my code and see what's wrong with it.

I already check the line 2855, and there's nothing wrong there (in that area), so I need more information (as above questioned - if you want support).

is there anyone else getting the same error?

mtha 09-25-2006 05:11 AM

Quote:

Originally Posted by Paul M
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.

Fixed in version 3.0.4

Paul, try it out and see if it works now. thanks

Paul M 09-25-2006 08:34 AM

Yes, that seems to have fixed it. :up:

sezmar 09-25-2006 01:02 PM

I get this error when viewing product ZSEO

Fatal error: Call to undefined function: fetch_style_title_options_array() in
/homepages/XX/XXXX/htdocs/testvbb/admincp/apm_product.php(215) : eval()'d code on line 1

any ideas?

Paul M 09-25-2006 09:44 PM

That's a function in adminfunctions_options.php, so I would guess that file need adding to the includes at the start of apm_product.php.

Paul M 10-03-2006 01:51 AM

Another minor thing - when the plugin system is disabled, clicking on Advanced Product Management just gives a completely blank screen.

mtha 10-06-2006 11:15 PM

Quote:

Originally Posted by Paul M
Another minor thing - when the plugin system is disabled, clicking on Advanced Product Management just gives a completely blank screen.

I think I have that fixed on the latest version, or maybe I just have it fixed on my local :) anyway, will check and upload the new file.

adwade 10-11-2006 04:03 PM

Quote:

Originally Posted by mtha
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.

So do you just need to Re-Import all your .xml files (overwrite?) and let the APM get a read of everything then to have ALL the information you can?

Very Nice Product by the way!

mtha 10-13-2006 03:33 PM

Quote:

Originally Posted by adwade
So do you just need to Re-Import all your .xml files (overwrite?) and let the APM get a read of everything then to have ALL the information you can?

Very Nice Product by the way!

yes IF the importing product was export by APM, containing such extra information. Otherwise, there's no different between one way or the other.

adwade 10-13-2006 06:46 PM

Understand, and it's nice that you allow access to 'manually' enter some of that information as we know of it. I was able to add links for all my products now, and have an fast-n-easy way to find out the latest about them. Cheers, AD

NiTRoN 11-05-2006 07:45 PM

just installed.. this thing is awsome.. make figuring out which product or plugin controlls what template a breeze.. sweet!

adwade 11-18-2006 07:53 PM

I'm getting this message:

Quote:

vBulletin Message

Version check failed. No version number was found at this location. The URL for the version check may be incorrect, or the server may be experiencing problems. Please try again later.

Just on 'some' products I have installed.(for instance, [APM] Advanced Product Management works just fine)

The message above appeared when I tried to check on Lv vB Event Forums. I currently have v3.0 installed, yet Mod Version: 3.3 is available.

I have:

Product URL - and -

Version Check URL Is that correct?

nitro 12-02-2006 04:27 PM

Looks like a great addition.

One thing I have noticed is there is still no way to assign existing custom templates in a style to a product without being in debug. Anyway this type of function could be added to the templates part of the APM. For example it could have a button/link named (assign existing templates) which you select the style to list only non vb additional templates from, then by checkbox select any of those custom templates you want to stuff into the master style and assign to said product ?

hoopsta 12-23-2006 07:17 PM

anyone having trouble getting it to show up in the post bits? I am using 3.6 and also vplaza. When i do the edits they do not show up in postbits. The awards only show up at the admin.php

adhari_com 01-22-2007 12:40 PM

how to delete a setting or settings group?

Mr_Snob 01-22-2007 01:14 PM

this is a great system for me i have been via this hack my hacks made
thanks for this great hack mtha :)

mtha 01-23-2007 04:42 PM

Quote:

Originally Posted by adwade (Post 1120250)
I'm getting this message:

Just on 'some' products I have installed.(for instance, [APM] Advanced Product Management works just fine)

The message above appeared when I tried to check on Lv vB Event Forums. I currently have v3.0 installed, yet Mod Version: 3.3 is available.

I have:

Product URL
Code:

https://vborg.vbsupport.ru/showthread.php?p=1047676
- and -

Version Check URL
Code:

https://vborg.vbsupport.ru/misc.php?do=checkversion&t=1047676
Is that correct?

Version check URL is incorrect.
it must be:https://vborg.vbsupport.ru/misc.php?do=checkversion&t=123416


Quote:

Originally Posted by nitro (Post 1130105)
Looks like a great addition.

One thing I have noticed is there is still no way to assign existing custom templates in a style to a product without being in debug. Anyway this type of function could be added to the templates part of the APM. For example it could have a button/link named (assign existing templates) which you select the style to list only non vb additional templates from, then by checkbox select any of those custom templates you want to stuff into the master style and assign to said product ?

No, I dont think I will do that, because the custom templates is in specific style, and product's templates are in master style. Changing styles might cause even more troubles/confusions.

Quote:

Originally Posted by hoopsta (Post 1144133)
anyone having trouble getting it to show up in the post bits? I am using 3.6 and also vplaza. When i do the edits they do not show up in postbits. The awards only show up at the admin.php

Wrong place to ask hoopsta

Quote:

Originally Posted by adhari_com (Post 1164966)
how to delete a setting or settings group?

Do you have debug ON? then there's option to delete a setting/group in there, where you see the settings.

thincom2000 02-10-2007 03:54 AM

I get an error "Invalid Product Specified" when I try to Add a New Template to a product. And then it just ends up saving it as a vBulletin custom template.

Also settings are not being exported. ???

As for possible new features:
The ability to edit a setting once created.
The ability to edit the default phrase text once created.

Quote:

Originally Posted by mtha (Post 1165850)
No, I dont think I will do that, because the custom templates is in specific style, and product's templates are in master style. Changing styles might cause even more troubles/confusions.

You don't have to change styles, just add it to the master style as well.

da420 02-10-2007 04:53 AM

I am having the same problems as thincom2000... I would love to use this hack as it would my life a ton easier.... lol

thincom2000 02-10-2007 05:56 AM

I figured it out. You need to enable debug mode in order for those problems to go away. Also I think some of the features I suggested are there with debug mode.

I didn't want to actually enable it, so I modified all of the APM files to get rid of the if ($vbulletin->debug) conditionals. A much easier way is actually enabling debug mode, which I said I didn't want to do.

My reasons are as follows: Debug Mode annoys the crap out of me. First of all there's no setting to enable/disable it. And once enabled, it uses a really unsightly version of the Microstats plugin.

Abe1 03-07-2007 03:48 AM

When you export this a product using this hack, the template version number does not tag along. Comes out empty.

thincom2000 04-03-2007 01:38 AM

Also this has a really high memory footprint. For some reason tonight my host decided to impose a limit of 10MB when before I had no limit. This is the only script in my entire site that tries to exceed the new limit.

rjmjr69 04-05-2007 05:40 AM

Quote:

Originally Posted by thincom2000 (Post 1218760)
Also this has a really high memory footprint. For some reason tonight my host decided to impose a limit of 10MB when before I had no limit. This is the only script in my entire site that tries to exceed the new limit.


I dont see any jump in memory allocation with this installed. hhmm maybe something else you have?

This is just amazing i do not know how I missed this one. Thank you so much works just fine with 3.6.5

thincom2000 04-05-2007 06:01 AM

Merely installing it wouldn't make a difference in memory usage because it doesn't add any plugins itself. I just mean that when the admin page loads, it consumes a lot of memory, because it fetches every plugin, phrase, template, and setting for every product at once.

hambil 04-11-2007 10:29 AM

Using the system to create hacks and then export them. However, there is an interesting problem when creating new versions. I recently updated my vbTrends hack from version 1.2.6 to version 2.0.0. There where a lot of changes, and one of those was an edit to the forumhome_vbtrends template. The template shows as red (modified) in the style template list.

When I do the export from APM the old unmodified template is exported.

nitro 04-13-2007 06:34 PM

Quote:

Originally Posted by hambil (Post 1224844)
Using the system to create hacks and then export them. However, there is an interesting problem when creating new versions. I recently updated my vbTrends hack from version 1.2.6 to version 2.0.0. There where a lot of changes, and one of those was an edit to the forumhome_vbtrends template. The template shows as red (modified) in the style template list.

When I do the export from APM the old unmodified template is exported.

When working with templates you would need to move into debug mode to edit the code in the products templates in the master style and not the regular child styles. When you export a product either via this addon or from the regular vbulletin product exporter it will include the respective templates from the master style only.

MrZeropage 08-08-2007 07:28 PM

you should add support for Andreas' TMS :)

TheBlackPoet 08-10-2007 05:28 PM

i installed this a while ago.. i recently had a dbase failure.. and had to find this again.... i cant tell you how much i come to depend on this particular hack...!!!

TrIn@dOr 08-10-2007 06:14 PM

I'm very interested in the "phrases by product" thing... is included here, but do any1 knows if exist something like that "alone"?

Thanks.

AWJunkies 01-02-2008 12:47 AM

this is the best MOD ever by far for any programmer or developer!!! AND just FYI works for 3.6.8 P2

69lakalle 01-02-2008 03:58 AM

wooooooooow i will install it when i upgrade to 3.7

cheesegrits 01-21-2008 04:07 PM

FYI, works fine on 3.7b3.

I've been a happy user since the 3.5 version. This is a must for all vB coders!

-- hugh

Hasann 03-09-2008 10:15 PM

I create often my hacks with this system
it's great system and works fine with vBulletin versions 3.7.0 beta

Boofo 03-31-2008 09:59 PM

I can't work on a site that doesn't use this. It drives me crazy. This is a must have! ;)

Paul M 03-31-2008 11:22 PM

It has at least one bug still, but other than that I agree - this gets installed on any site I maintain.

Boofo 03-31-2008 11:53 PM

What bug is that?

And it would be nice to have the wider template edit like in vb3.7, too.

cheesegrits 04-09-2008 01:09 PM

FYI, works fine on 3.6.9 as well.

-- hugh

Paul M 04-09-2008 03:59 PM

Quote:

Originally Posted by Boofo (Post 1479566)
What bug is that?.

Multi choice settings are not displayed correctly in the vb options section.


All times are GMT. The time now is 01:01 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.02206 seconds
  • Memory Usage 1,856KB
  • 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
  • (4)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