MyNetwork Core v1.1

← News & Stuff — Started 19 May, 2011

Tomm
19 May, 2011, 12:58 pm (This post was last modified: 19 May, 2011 1:00 pm by Tomm.)
After the launch of the Profile System, several issues have appeared in MyNetwork Core 1.0.0. Because of the nature of the problems, the Core has needed a bit of a work - and so is jumping ahead to a major version rather than a simple maintenance release. Some of this restructuring affects the MyNetwork plugins and templates systems - by using ZiNgA BuRgA/Yumi's control_object function (with many thanks), MyNetwork is now much more friendly with other MyBB plugins while also reducing quite a bit of load and overhead memory. It also removes the need for the myn_datacache table - which saves you a database query on every page!

The other problem with 1.0.0 is that modules other than the Core (such as the Profile System, Tracker) can't run features. This is, obviously, a big problem - and it means if you want to use the Profile System any further then you'll need to upgrade to Core 1.1.

As well as bug and performance fixes, Core 1.1 also introduces Check For Updates - which is available through your MyNetwork Overview. This checks the Xekko server for the most up to date versions of the modules and features you have installed and reminds you if you're running an out of date version, linking you to its release thread if it is. This might not be that useful in the past few months when MyNetwork hasn't changed much, but as time goes on they'll be an even greater need to make sure you're running the right version.

Installing MyNetwork Core 1.1
If you've never used MyNetwork before, or wanting to start completely from scratch, installing this version is easy. Just follow these simple instructions:
  • Backup your forum's files and database, and keep them locally on your computer
  • Download MyNetwork Core 1.1.0 from the MyNetwork downloads centre
  • Upload the files, following the structure in the download folder, relative to your forum's root folder
  • Visit the plugins page in the ACP (in the ACP, (on the left) Plugins) and install the MyNetwork Core plugin
  • Once installed, go the ACP home page, and on the left, is MyNetwork Overview - this is where you go when you upload features and modules to install/uninstall them
  • Have a browse through the MyNetwork downloads centre, and start adding the features and modules you want to your forum!
If you run into any issues, please use the relevant Support Forum here on Xekko.

Upgrading to MyNetwork Core 1.1
If you're running Core 1.0, then it's recommended to upgrade to 1.1. To do this, you first need to upgrade the features you're using at the moment before doing the Core upgrade. This only applies if you're running the below features. This is because these features are either incompatible with Core 1.1 or they contain bug fixes needed to keep them running properly.
New versions of these features are now available to download and you MUST install these before upgrading the Core to 1.1. Simply deactivate the feature in the MyNetwork Overview, download the latest files and upload them to your forum, then reactivate the feature.

Once you've completed these, you're then safe to upgrade the Core. No settings or information should be lost during this process. To upgrade, follow these instructions:
  • Upgrade current features and modules (which you should have done above)
  • Backup your forum's files and database, and keep them locally on your computer (in case things do go wrong)
  • Download MyNetwork Core 1.1.0 from the MyNetwork downloads centre
  • Deactivate the MyNetwork Core plugin from the plugins page in the ACP (in the ACP, (on the left) Plugins)
  • Once deactivated, upload the Core 1.1 files - keeping the structure in the download folder relative to your forum's root folder - and overwriting all files
  • Revisit the plugins page in the ACP, and activate the MyNetwork Core plugin.
If successful, they'll be a green message which appears and you'll be running Core 1.1. If not, or an error message appears, please use the Support Forums to report it. Remember to take a screenshot!

Because of the big changes in this upgrade, please treat it as a real beta release. Backup your forum and database. While I've tested it dozens of times, they'll always be that one different environment that causes a problem - and that could be yours! If in doubt, please contact me in a PM or something and I'll happily install/upgrade it for you.

While upgrading, it's best practice to turn off your forum to mitigate any problems that might crop up. The "Board Offline" setting is not the method to do this. Google htaccess password protection or use the functions set in cPanel (and some other hosting panels).

This upgrade is a prelude to the Profile System Beta 2 and the Activity feature, so if you're wanting to take part in it - or wanting the Profile System at all - you'll need to be running Core 1.1. If there's any questions, please feel free to ask!

As always, have fun!

Tomm
4  
Reply
Thanks for this Tomm - I can confirm that 1.1.0 is running on leefish, and as it is XThreaded to the hilt then I will also confirm that it is compatible Smile
[Image: leelink.gif]
0  
Reply
Thank you Tomm! Big Grin
2  
Reply
leesester
20 May, 2011, 1:04 am (This post was last modified: 20 May, 2011 1:06 am by leesester.)
hmm, just a small thing - I downloaded the new files and put them on my board via FTP but the updates panel is saying my core and custompost rep are not up-to-date.

   
[Image: leelink.gif]
0  
Reply
Haha! Good catch - The version number in Custom Reputation is set to 1.1.0, when it should be 1.0.2. You can change it manually in the feature's file (located in ./inc/network/core) or re-download the package. Thanks!

As for the Core version, I just forgot to update it in Xekko's database. >_<
0  
Reply
I have upgraded my custom post reputation plugin, and it all went fine, then when I went to disable MyNetwork in configuration>plugins I get

Fatal error: Call to undefined function network_control_object() in /home/cgamer/public_html/forums/inc/network/core/m_custompostrep.php on line 657

So I am unable to disable the plugin to be able to upload the files and re activate Sad Could you take a look for me please?

Rob.
0  
Reply
Tomm
20 May, 2011, 5:17 pm (This post was last modified: 20 May, 2011 5:19 pm by Tomm.)
Hi Rob

Open the ./inc/network/core/m_custompostrep.php file, and at the bottom (but before the php end tags) paste this...

Code:
function network_control_object($a, $b, $c)
{
}

Let me know if it works! Smile
0  
Reply
Rob1991
20 May, 2011, 5:31 pm (This post was last modified: 20 May, 2011 5:33 pm by Rob1991.)
Yeah I can get on the plugins page now, but there are some errors at the top of the page



Warning [2] Missing argument 3 for network_control_object(), called in /home/cgamer/public_html/forums/inc/network/core/m_custompostrep.php on line 670 and defined - Line: 1160 - File: inc/network/core/m_custompostrep.php PHP 5.3.4 (Linux)
File Line Function
/inc/network/core/m_custompostrep.php 1160 errorHandler->error
/inc/network/core/m_custompostrep.php 670 network_control_object
[PHP] custompostrep_acp
/inc/class_plugins.php 101 call_user_func_array
/inc/plugins/myn_core.php 271 pluginSystem->run_hooks
[PHP] myn_core_global
/inc/class_plugins.php 101 call_user_func_array
/admin/index.php 481 pluginSystem->run_hooks


Also I disabled, and then uploaded mynetwork core v1.1 and im now getting

Fatal error: Cannot redeclare network_control_object() (previously declared in /home/cgamer/public_html/forums/inc/network/core/handles/functions.php:266) in /home/cgamer/public_html/forums/inc/network/core/m_custompostrep.php on line 1162

I dont have much luck upgrading things Sad
0  
Reply
Undo the change you made to the custom post rep feature file, and it should work!
0  
Reply
YES That worked! Big Grin Thank you!
0  
Reply

User(s) browsing this thread: 2 Guest(s)