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)
-   -   vBulletin Project Tools - vBulletin Project Tools Open Source 2.2.2 (https://vborg.vbsupport.ru/showthread.php?t=270346)

PitchouneN64ngc 05-20-2013 03:25 PM

In ./vb/activitystream/view/perm/project/issue.php, find:

PHP Code:

public function fetchTemplate($templatename$activity

Replace by:

PHP Code:

public function fetchTemplate($templatename$activity$skipgroup false$fetchphrase false

PHP 5.4? :)

Teascu Dorin 05-20-2013 03:39 PM

Now I can access the profile but still have an error:

Code:

Warning: Missing argument 2 for vB_ActivityStream_View_Perm_Base::__construct(), called in [path]/vb/activitystream/view/perm/project/issue.php on line 19 and defined in [path]/vb/activitystream/view/perm/base.php on line 56

PitchouneN64ngc 05-20-2013 03:44 PM

Same file, find:

PHP Code:

public function __construct(&$content

Replace by:

PHP Code:

public function __construct(&$content, &$vbphrase


Teascu Dorin 05-20-2013 03:54 PM

Now this: (line 20 instead of 19)

Code:

Warning: Missing argument 2 for vB_ActivityStream_View_Perm_Base::__construct(), called in [path]/vb/activitystream/view/perm/project/issue.php on line 20 and defined in [path]/vb/activitystream/view/perm/base.php on line 56

Teascu Dorin 05-20-2013 03:58 PM

Same file

Find:

PHP Code:

return parent::__construct($content); 

Replace with:

PHP Code:

return parent::__construct($content$vbphrase); 

...and with this will do the trick.

Thanks for support.

PitchouneN64ngc 05-20-2013 04:01 PM

In fact, the function and its parents must have the exact same number of arguments (the 2 functions are given in the fatal error message).

Teascu Dorin 05-20-2013 04:05 PM

P.S. You should add the issue.php or the changes to the first post for everyone that will need. I use vBulletin 4.2.1 an this was the only issue found 'till now.

PitchouneN64ngc 05-20-2013 04:14 PM

PT 2.2.0 will fix it, btw I didn't have the latest Italian language which is included here since we are releasing it.

Teascu Dorin 05-20-2013 04:18 PM

1 Attachment(s)
Any date when will be released?

Also maybe you will need or want to put the Romanian translation.

persianpros 05-21-2013 09:51 AM

why should we wait for other translations when we need English only ?

please release the English version and point the users to translation page or something


All times are GMT. The time now is 11:04 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.02033 seconds
  • Memory Usage 1,740KB
  • 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
  • (6)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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