http://www.icyphoenix.com/viewtopic.php?f=25&t=1370
-----------------------------------
OryNider
Mon 19 Mar, 2007 05:24

FAP For MX-Publisher CMS & PhpBB3
-----------------------------------
Hi,

Based on FAP, I upgraded the old mx_smartor module. The new version is mx_smartor 2.0 Beta 2 couse in [url=http://www.mx-system.com/forum/viewtopic.php?t=9800]Beta 1 not all FAP features were enabled.

The module may be revieved by oher team members and relesed as official for 2.8.x and 3.0.x.

[b][DEMO]:[/b] [url=http://activ.caleacrestina.com/index.php?page=7]here

How you can see I added Rss Feed both version 1.0 and 2.0 but not using any phpbb mod as mxBB modules are not allowed to change in any way phpBB if this is possible.

edit: [b]Last version:[/b] [url=http://www.mx-publisher.com/phpBB2/viewtopic.php?lmsg_start=0&t=10962#64210]2.9.3


-----------------------------------
Mighty Gorgon
Thu 22 Mar, 2007 01:49

Re: FAP Module For MxBB-Portal
-----------------------------------
Wow... you did a great job.

After the review I'll be more than happy to add your work in the download section in this site.

Please keep me up to date, and thanks for having posted it here.


-----------------------------------
OryNider
Fri 30 Mar, 2007 00:54

Re: FAP Module For MxBB-Portal
-----------------------------------
Till then you can see my progres in the Beta 1 support thread [url=http://www.mx-system.com/forum/viewtopic.php?t=9800]Here.  :)


-----------------------------------
OryNider
Wed 18 Apr, 2007 14:57

Re: FAP Module For MxBB-Portal
-----------------------------------
Hi,

I added JUpload option to the mx_smartor FAP to have more features.

[b]Jupload[/b]

  MOD Author: Shawn McBride
  MOD Desc:
     Java Uploading Applet for browsing files/folders. 
  MOD Link: http://smartor.is-root.com/viewtopic.php?t=13660

Now I finished Beta testing and I'am in Release Candidate stage [url=http://www.mx-system.com/forum/viewtopic.php?t=9925]here.

However to keep upgrade the module with FAP will help a lot if I have the code changes. I figured how to upgrade from 1.4.0 to 1.4.1 but not to the last version and I may leave someting out ...


-----------------------------------
Mighty Gorgon
Mon 07 May, 2007 01:36

Re: FAP Module For MxBB-Portal
-----------------------------------
Really nice job [b]OryNider[/b]. :wink:

Regarding code changes, I don't have too much time to write it... but I'll do my best next time...

WinMerge is a great friend anyway... :wink:


-----------------------------------
OryNider
Wed 30 May, 2007 18:36

Re: FAP Module For MxBB-Portal
-----------------------------------
Ok, Thanks!


-----------------------------------
OryNider
Sun 10 Jun, 2007 04:00

Re: FAP Module For MxBB-Portal
-----------------------------------
The new mx_smartor FAP module has been added to our cvs from sf with oher modules ported or made by me and other team members for mxBB 2.8.0 couse soon official 2.8.0 gold will be released. Jon, the project leader may work on Mx FAP very soon, he may fix some php notices we get when error reporting is turned on the majority from the album category hierarchy, but for the most addons are many fixed by me and now with error repoting tuned on users can upload and view pictures, with error repoting tuned off there are no known issues excemp maybe with album_otf how is poting in the db the pictures and thumbnails names. I tryed to make otf to post same name for both and use the thumb created when the otf gallery is 1st vizited. Other issue is that the special effects are not seems to work and I may need your help to fix it if Jon will not fix, I'm not sure if in current FAP is working or is a server configuration issue.

album_jupload is now very stable and there are no known pb-s, users can select/add folders with gif, jpg and png pictures and preview the pictures while browsing and in queue. This feature is 90% compatible with phpBB and can be ported back very easy, just is needed to drop the mx_ prefix of some fuctions: mx_message_die() -> message_die(), mx_redirect() -> redirect(); and url-s like append_sid(this_fap_portalurl()) -> append_sid($phpbb_root_path . 'album.php') and one template change.
So finaly looks like Mx FAP will replace/upgrade the old mx_smartor as official album module and not Gallery 2 how was planned by the mxBB admins beafore I made the port. The main feature that made to tun things was album_jupload couse java upload is a gallery 2 feature that made them think that G2 has more features 8)


-----------------------------------
Mighty Gorgon
Sun 10 Jun, 2007 04:15

Re: FAP Module For MxBB-Portal
-----------------------------------
Thank you [b]OryNider[/b] for this infos.

I'll have a look at your package, and eventually port something into the default FAP package.

Special FX is working fine if your server doesn't block the script on large images. Try it on smaller ones...

Anyway, if you need help, feel free to buzz me. :wink:



P.S.: I've stickied this.


-----------------------------------
Mighty Gorgon
Sun 10 Jun, 2007 04:20

Re: FAP Module For MxBB-Portal
-----------------------------------
I would be interested in porting the RSS feed from album, can I grab it from the package?


-----------------------------------
OryNider
Sun 10 Jun, 2007 04:28

Re: FAP Module For MxBB-Portal
-----------------------------------
Ah, you can download the latest version with the new file versions that I just a few moments upgraded, from our site [url=http://www.mx-system.com/index.php?page=4&action=file&file_id=364]here.  :D


-----------------------------------
OryNider
Sun 10 Jun, 2007 04:29

Re: FAP Module For MxBB-Portal
-----------------------------------
[quote user="Mighty Gorgon" post="16301"]I would be interested in porting the RSS feed from album, can I grab it from the package?[/quote]

Sure! 

edit: If you need help with someting mxBB releated you can buzz me on yahoo or live messanger.


-----------------------------------
Mighty Gorgon
Sun 10 Jun, 2007 04:49

Re: FAP Module For MxBB-Portal
-----------------------------------
Thanks... downloaded!

I'll have a try.


-----------------------------------
OryNider
Mon 11 Jun, 2007 00:39

Re: FAP Module For MxBB-Portal
-----------------------------------
This may help:

In album_rss.php and album_rdf.php

[u]Find[/u]:

[code linenumbers=false]
// Get general album information
if (!isset($album_root_path) || empty($album_root_path))
{
	$album_root_path = $module_root_path . ALBUM_MOD_PATH . '';
}
[/code]

[u]Replace with[/u]:

[code linenumbers=false]
// Get general album information
if (!isset($album_root_path) || empty($album_root_path))
{
	$album_root_path = $phpbb_root_path . ALBUM_MOD_PATH . '';
}
[/code]

[u]Find[/u]:

[code linenumbers=false]
// Create main board url (some code borrowed from functions_post.php)
$script_name = preg_replace('/^/?(.*?)/?$/', '1', trim($board_config['script_path']));
$site = 'index.php';
$index = this_fap_rssurl();
$thumbs = this_album_rssurl("smartor_mode=album_thumbnail");
$server_name = trim($board_config['server_name']);
$server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://';
$server_port = ( $board_config['server_port'] <> 80 ) ? ':' . trim($board_config['server_port']) . '/' : '/';
$site_name = strip_tags($board_config['sitename']);
$site_description = strip_tags($board_config['site_desc']);

// Change below to point to your rss-logo
$logo = 'logo.gif';
// Change above to point to your rss-logo


if (!isset($mx_images['logo_url']) || empty($mx_images['logo_url']))
{
	$mx_images['logo_url'] = PORTAL_URL . 'templates/' . $theme['template_name'] . '/images/' . $logo;
}
elseif (!isset($theme['template_name']) || empty($theme['template_name']))
{
	$mx_images['logo_url'] = PORTAL_URL . 'templates/subSilver/images/' . $logo;
}


$index_site = PORTAL_URL . $site;
$index_url = PORTAL_URL . $index;
$thumb_url = PORTAL_URL . $thumbs;
[/code]

[u]Replace with[/u]:

[code linenumbers=false]
// Create main board url (some code borrowed from functions_post.php)
$script_name = preg_replace('/^/?(.*?)/?$/', '1', trim($board_config['script_path']));
$site = ( $script_name != '' ) ? $script_name . '/album.' . $phpEx : 'album.'. $phpEx;
$index = ( $script_name != '' ) ? $script_name . '/album_page.' . $phpEx : 'album_page.'. $phpEx;
$thumbs = ( $script_name != '' ) ? $script_name . '/album_thumbnail.' . $phpEx : 'album_thumbnail.'. $phpEx;
$server_name = trim($board_config['server_name']);
$server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://';
$server_port = ( $board_config['server_port'] <> 80 ) ? ':' . trim($board_config['server_port']) . '/' : '/';
$site_name = strip_tags($board_config['sitename']);
$site_description = strip_tags($board_config['site_desc']);

// Change below to point to your rss-logo
$mx_images['logo_url'] = 'http://yoursite.com/images/logorss.gif';
// Change below to point to your rss-logo

$index_site = $server_protocol . $server_name . $server_port . $site;
$index_url = $server_protocol . $server_name . $server_port . $index;
$thumb_url = $server_protocol . $server_name . $server_port . $thumbs;
[/code]

This is just an example and I may missed someting, anyway the addons from both rss versions have been upgraded in the SQL sintaxes based on album_rss.php by chyduskam but not using the phpbb rss mod, and rss 2 has more features that I have seen in gallery 2 rss feed, but I figured myself, and str_replace example for some diacritics that usualy can crash the xml files. The rss include file are not used yet or ported/included in mxBB couse now is the time to make the core more compatibe with Olympus.  :)


-----------------------------------
OryNider
Wed 13 Jun, 2007 10:51

Re: FAP Module For MxBB-Portal
-----------------------------------
Hi,

I made a new block that will display a random personal galery thumbnail for the users that is loged in or for other users is a &user_id=number is used. If you are mot loged and a user_id is not specified a defaul pic will shown.

Link: [url=http://mxbb-portal.evonet.ro/modules/mx_smartor/album.php?smartor_mode=random_personal_thumbnail&user_id=2]demo

I deeas were can this addon be used, maybe a new block?

edit: I made with this addon a new wellcome block. Demo [url=http://mxbb-portal.evonet.ro/]here. The user will have to have a personal gallery or an avtar to have the pic on this block.


-----------------------------------
Mighty Gorgon
Wed 20 Jun, 2007 02:15

Re: FAP Module For MxBB-Portal
-----------------------------------
Thank you... I'm in the middle of a big modification in Icy Phoenix. As soon as I've finished it I'll work on FAP again.

Thanks!


-----------------------------------
Mighty Gorgon
Wed 27 Jun, 2007 02:34

Re: FAP Module For MxBB-Portal
-----------------------------------
I've modified the code a bit for RSS and integrated it in FAP... it is working here the new version!

Thank you very much [b]OryNider[/b], for your code and suggestions. I really appreciate.


-----------------------------------
OryNider
Fri 29 Jun, 2007 04:12

Re: FAP Module For MxBB-Portal
-----------------------------------
:)

What you do with album_jupload couse it's a more nicer feature and is more easyer to port? I know that when you add a feature that is "new tehnology" like rss, is not required to change the main version not sure if java upload is in the same category but is not "old tehnology".


-----------------------------------
Mighty Gorgon
Tue 03 Jul, 2007 23:09

Re: FAP Module For MxBB-Portal
-----------------------------------
[quote user="OryNider" post="17074"]:)

What you do with album_jupload couse it's a more nicer feature and is more easyer to port? I know that when you add a feature that is "new tehnology" like rss, is not required to change the main version not sure if java upload is in the same category but is not "old tehnology".[/quote]
At the moment I keep it switched off... I may have a test when I'll be back from my vacations. :wink:

Can you help me in integrating it in FAP without wasting too much time?

Thanks.


-----------------------------------
OryNider
Thu 05 Jul, 2007 17:52

Re: FAP Module For MxBB-Portal
-----------------------------------
I integrated album_jupload in your Icy Phoenix development version. Now I whait for you to test it and do same changes to normal FAP when you will have time.

ScreenShots:

Browse: 

[img]http://img454.imageshack.us/img454/4931/juploadbrowseqc3.png[/img]

Upload: 

[img]http://img510.imageshack.us/img510/3861/juploaduploadbf0.png[/img]

Import: 

[img]http://img386.imageshack.us/img386/5500/juploadimportingzk8.png[/img]

Finished: 

[img]http://img386.imageshack.us/img386/6195/juploadfinishedqk8.png[/img]


-----------------------------------
Sorren
Thu 05 Jul, 2007 19:41

Re: FAP Module For MxBB-Portal
-----------------------------------
i'm very intressted in the jupload. Can you show how you've integrated the jupload in the album

[edit]: sry i haven't saw that you plan to add it to the fap sry :(


-----------------------------------
Mighty Gorgon
Fri 06 Jul, 2007 11:13

Re: FAP Module For MxBB-Portal
-----------------------------------
Thanks OryNider, there is a new beta version under test with your modifications (with just a couple of small fixes by me). After my vacations I may consider to release a new FAP as well.

Thank you for your time and hard work. I really appreciate.


-----------------------------------
OryNider
Sat 07 Jul, 2007 05:10

Re: FAP Module For MxBB-Portal
-----------------------------------
Hi,

So were is the beta version? I'm currios about the fixes ...


-----------------------------------
Mighty Gorgon
Sun 08 Jul, 2007 11:24

Re: FAP Module For MxBB-Portal
-----------------------------------
[quote user="OryNider" post="17436"]Hi,

So were is the beta version? I'm currios about the fixes ...[/quote]
The beta version is in the private section... you should be able to access there and download and test it.

I can't remember the small things I fixed... I only remember there was a $mx_root_path and the template wasn't mg_themes compliant... but in any case you did a great job, and it tooks me only few minutes to review the files and port them.

Thank you again.


-----------------------------------
OryNider
Mon 04 Feb, 2008 03:33

Re: FAP Module For MxBB-Portal
-----------------------------------
This was released officialy now [url=http://www.mx-system.com/forum/viewtopic.php?t=10516]here.


-----------------------------------
OryNider
Sat 30 Aug, 2008 04:11

Re: FAP Module For MxBB-Portal
-----------------------------------
Hi,

We have upgraded FAP for MXP3 and now works with standallone backend, phpBB2 and phpBB3. :)

The release notes are [url=http://www.mx-publisher.com/phpBB2/viewtopic.php?lmsg_start=0&t=10962#64210]here.


-----------------------------------
Mighty Gorgon
Wed 03 Sep, 2008 11:14

Re: FAP For MX-Publisher CMS
-----------------------------------
Thanks [b]OryNider[/b] for the update.


-----------------------------------
giorgioinfo
Sat 06 Sep, 2008 18:35

Re: FAP Module For MxBB-Portal
-----------------------------------
[quote user="OryNider" post="31250"]Hi,

We have upgraded FAP for MXP3 and now works with standallone backend, phpBB2 and phpBB3. :)

The release notes are [url=http://www.mx-publisher.com/phpBB2/viewtopic.php?lmsg_start=0&t=10962#64210]here.[/quote]
Uhm... I stayed away from my site administration for large time.
I have a site with phpbb 2.0.23, mxbb 2.7.6pl2, fap 1.4.1

For you it will be possible to have a site based on phpbb3 and fap with a resonable level on importe dates (photos, etc?). Or it is simple to restart by zero?


-----------------------------------
OryNider
Tue 16 Sep, 2008 14:52

Re: FAP Module For MxBB-Portal
-----------------------------------
If you have fap 1.4.1 in forums it's a little harder, you will have to backup the phpbb_smartor_ tables, rename them to mx_smartor_ in a dumped text file, then delete all _smartor_album_config and _smartor_album_sp_config from that text file will all data releated to this two configuration tables. Then copy the upload folder to local pc.

Then make fresh install of MXP 3.0.0 selecting phpBB3 wile install (it's recomandated that you have mysqli extesion enabled before you install phpBB3) and after you installed new mx_smartor fap 2.9.x wich is now awaylable for all backends you import the dumped text file with the above modifications and re-upload the upload folder in modules/mx_smartor/upload/ were you should chmod 777 all subfolders.

If you have mx_smartor 1.4.1 as module inside mxbb 2.7.6pl2 then upgrade mxbb to mxp 2.8.x/2.8.3, upgrade all modules includin mx_smartor to latest version, then upgrade mxp again to latest 3.0.0 Beta and convert phpBB2 to phpBB3, then in AdminCP you can try switch to phpBB3 to see if works. Here you can have some minor issues with the schema on some 3rd party servers.

You can contact me on mx-publisher or msn were you can send me a database backup and I can upgrade it on my local server were I do such all the time.  :)


-----------------------------------
giorgioinfo
Thu 18 Sep, 2008 10:23

Re: FAP Module For MxBB-Portal
-----------------------------------
[quote user="OryNider" post="31815"]If you have fap 1.4.1 in forums it's a little harder, you will have to backup the phpbb_smartor_ tables, rename them to mx_smartor_ in a dumped text file, then delete all _smartor_album_config and _smartor_album_sp_config from that text file will all data releated to this two configuration tables. Then copy the upload folder to local pc.

Then make fresh install of MXP 3.0.0 selecting phpBB3 wile install (it's recomandated that you have mysqli extesion enabled before you install phpBB3) and after you installed new mx_smartor fap 2.9.x wich is now awaylable for all backends you import the dumped text file with the above modifications and re-upload the upload folder in modules/mx_smartor/upload/ were you should chmod 777 all subfolders.[/quote] I have fap as a phpbb mod. I will try this way, I hope to be enable (I'm not expert). You are very kind for your help.

[quote]If you have mx_smartor 1.4.1 as module inside mxbb 2.7.6pl2 then upgrade mxbb to mxp 2.8.x/2.8.3, upgrade all modules includin mx_smartor to latest version, then upgrade mxp again to latest 3.0.0 Beta and convert phpBB2 to phpBB3, then in AdminCP you can try switch to phpBB3 to see if works. Here you can have some minor issues with the schema on some 3rd party servers.[/quote] 
I have 2 questions: a) it is possibile to have the files of the 2.7.6pl2? I'm looking for these files to controle with win merge the mod I had made. b) If I upgrade to mxp 3 beta, then will be simple to upgrade to the stable version?

Thanks!!!


-----------------------------------
OryNider
Wed 01 Oct, 2008 22:14

Re: FAP For MX-Publisher CMS
-----------------------------------
[quote]a) it is possibile to have the files of the 2.7.6pl2? I'm looking for these files to controle with win merge the mod I had made.[/quote]

No, the only files witch we wtill have are for a unstable woraround 2.7.8 version witch will never work for what you try to do. This is couse we moved to new website.

You can send me by e-mail the mod or module you did and I will see if can be ported to 2.8.3 or 3.0.0 Beta 2.

[quote]b) If I upgrade to mxp 3 beta, then will be simple to upgrade to the stable version?[/quote] 

If you upgrade to 2.8.3 will be simple to upgrade to stable version and you will have most of modules working.

If you upgrade to Beta 2 with phpBB2 backend will be easy to upgrade to stable version, but if you plan to upgrade to phpBB3 you will probably need the script witch is converting all tables to UTF-8, dependind witch php/mysql extesions will detect phpBB. Plus there are many modules now who are not upgraded for latest Beta, but mx_smartor fap will work with any version of backend.


-----------------------------------
giorgioinfo
Thu 02 Oct, 2008 11:18

Re: FAP For MX-Publisher CMS
-----------------------------------
[quote user="OryNider" post="32554"][quote]a) it is possibile to have the files of the 2.7.6pl2? I'm looking for these files to controle with win merge the mod I had made.[/quote]

No, the only files witch we wtill have are for a unstable woraround 2.7.8 version witch will never work for what you try to do. This is couse we moved to new website.

You can send me by e-mail the mod or module you did and I will see if can be ported to 2.8.3 or 3.0.0 Beta 2.[/quote]

The problem is that I can't remember the mod I did. I think was only for home page tpl, but ?im not sure, this is why I want to winmerge files. I'm going to look another time if I can find in the back up hard disk.

But if I don't consider mod and I installal new file of 2.7.8 and then 2.8.3 I can use database of 2.7.6pl2 to upgrade?
I think I can remade the mod, but restart with data is not so simple  :cry: 


[quote][quote]b) If I upgrade to mxp 3 beta, then will be simple to upgrade to the stable version?[/quote] 

If you upgrade to 2.8.3 will be simple to upgrade to stable version and you will have most of modules working.

If you upgrade to Beta 2 with phpBB2 backend will be easy to upgrade to stable version, but if you plan to upgrade to phpBB3 you will probably need the script witch is converting all tables to UTF-8, dependind witch php/mysql extesions will detect phpBB. Plus there are many modules now who are not upgraded for latest Beta, but mx_smartor fap will work with any version of backend.[/quote] The last idea is to have phpbb3, that is more usefull for me.
Thanks


-----------------------------------
OryNider
Tue 19 Jul, 2011 11:27

Re: FAP For MX-Publisher CMS & PhpBB3
-----------------------------------
Check out http://mxpcms.sourceforge.net/ 

This is the location were I maitain version 2.7.x, 2.8.x and 3.0.x of MXP-CMS.

For now they can be dowloaded direct from the sf.net project page.

 :)


