[CDB] Advanced Profile Fields Pack

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Locked
ricardotr
Registered User
Posts: 1
Joined: Wed Mar 22, 2017 6:51 pm

Re: [3.1][3.2][BETA] Advanced Profile Fields Pack

Post by ricardotr » Wed Mar 22, 2017 7:32 pm

Hi Javiexin,

I am using phpbb3.2.0 turkish. My question is about installation. you talked about that but I am novice. can u explain step by step. thanks

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.1][3.2][BETA] Advanced Profile Fields Pack

Post by javiexin » Wed Mar 22, 2017 9:42 pm

For 3.2, no changes are required at all. Just place the extension in its folder (ext/javiexin/advancedpf) and enable it in the ACP. That's all. Well, you might want/need to translate the extension as it does not have a Turkish language pack.

-javiexin

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.1][3.2][BETA] Advanced Profile Fields Pack

Post by javiexin » Thu Mar 23, 2017 9:35 pm

For anyone interested, I have published a new (related) extension, on Validated Date Profile Fields.

You can find it here: viewtopic.php?f=456&t=2415531
-javiexin

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.1][3.2][RC] Advanced Profile Fields Pack

Post by javiexin » Sat Mar 25, 2017 6:15 pm

I have now submitted this for validation in the CDB. Release has changed to RC status, but NO changes have been introduced (well, very minor cosmetic changes).

-javiexin

piotr-linski
Registered User
Posts: 43
Joined: Tue Apr 26, 2016 10:22 am

Re: [3.1][3.2][RC] Advanced Profile Fields Pack

Post by piotr-linski » Wed Apr 12, 2017 2:38 pm

hi Javiexin,

I have installed your APF-package under phpbb 3.1.10.

I am considering a clean install of phpbb 3.2.0 (due to:
-- time-limit issues
-- and some changes in 3.1.10 core files to enable profile fields to work correctly.
)

So ideally I would like to do a clean install of phpbb 3.2.0.

And then do a reinstall of all the extensions I have used sofar (incl. last version of APF-package)

And then do a kind of import of the under 3.1.10 stored profilefields

And then do an import of all the users and their related (profile fields) data.

Is it viable to do this as described above?
If so, is it just a matter of making a complete backup and restoring this backup?

Or do you advise some other steps?

Regards, Piotr

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.1][3.2][RC] Advanced Profile Fields Pack

Post by javiexin » Wed Apr 12, 2017 5:13 pm

You have to make the choice yourself, but here are my thoughts:

The current version of APF works fine without any changes to the core in 3.2.0. It does work with 3.1.10, but it needs an additional event, so you will need to add one line to one file, only that. It will work with 3.1.11 when it is released without changes, and so will do with 3.2.1 (unless something else breaks those versions or backwards compatibility).

So you have two choices here, regarding APF: continue using APF within the 3.1 branch (3.1.10 + one event), or start using APF with 3.2.x out of the box.

If you want to migrate, the question is what is the current version of APF you are using. There is one storage change that was introduced for future compatibility with the core (when some other code changes are merged), that may make a difference. Tell me, and I will try to be as specific as possible.

In general, I would try to upgrade the installation, rather than doing a fresh install, precisely so that you do not loose any of your current configuration and data (neither for APF nor for other extensions and even core). If you plan a completely new install, you may run into issues as there are a number of tables that are linked together, and if you import one but not other, you may loose everything (I am talking specially about the users table: you may need groups, permissions, and more to go with it... together with profile fields). So, I would try to do an upgrade rather than an install. Please, DO BACKUP YOUR DATABASE (twice!) before starting the upgrade, just in case. But my experience with upgrades to 3.2 has been good so far (but I have not done any major/very big migration myself yet).

Hope this helps, but anyhow, use your own criteria: you know better what you want to keep and what you want to forget about...
-javiexin

piotr-linski
Registered User
Posts: 43
Joined: Tue Apr 26, 2016 10:22 am

Re: [3.1][3.2][RC] Advanced Profile Fields Pack

Post by piotr-linski » Sat Apr 15, 2017 9:40 pm

hi Javiexin,

taking your advice into consideration,
I would rather go for the upgrade approach from 3.1.10 to 3.2.
instead of doing a clean 3.2 install.

Could you help me out on pinpointing which version of APF I am using?
and what changes i have to make to one or more APF-datafiles?

Regards, Piotr

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.1][3.2][RC] Advanced Profile Fields Pack

Post by javiexin » Sat Apr 15, 2017 10:05 pm

piotr-linski wrote:
Sat Apr 15, 2017 9:40 pm
Could you help me out on pinpointing which version of APF I am using?
and what changes i have to make to one or more APF-datafiles?
Sure: go to ACP Extension Management, and look for the version of APF. Let me know. No changes to any datafile are needed.
Sorry for the quick response, I am on my mobile.
-javiexin

piotr-linski
Registered User
Posts: 43
Joined: Tue Apr 26, 2016 10:22 am

Re: [3.1][3.2][RC] Advanced Profile Fields Pack

Post by piotr-linski » Sun Apr 16, 2017 8:03 am

-- APF-version: 0.1.0

Regards, Piotr

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.1][3.2][RC] Advanced Profile Fields Pack

Post by javiexin » Mon Apr 17, 2017 7:44 pm

Sorry it has taken me longer to respond.

If you have 0.1.0, that means you are one version behind, and that you did a number of core edits to make it work.

If that is the case, then you should upgrade the extension to version 1.0.0, as explained here: viewtopic.php?p=14144691#p14144691, but given that you are going to migrate to 3.2 anyway, and that you have done core changes, I would recommend that you do this migration at the same time that you change version from 3.1.10 to 3.2.0.

So, my recommendation would be:
  1. DO NOT DISABLE THE EXTENSION YET, but disable your board as you are doing the migration
  2. Remove files in the ext/javiexin/advancedpf folder and immediately replace by the newest version
  3. Now, with the NEW version in place, DISABLE THE EXTENSION
  4. Proceed with the 3.1.10 to 3.2.0 upgrade normally
  5. When migration is completed, just REENABLE THE EXTENSION - as 1.0.0 is valid in both 3.1.10 and 3.2.0, no need to reinstall or do anything else, and no change is required either
That's it... I hope it goes smoothly!
-javiexin

PS: Did you remember to backup your database? Twice, just in case! :lol:

PPS: Just in case you are curious why this process is somehow different from normal, it is very easy: I am lazy. Given that the extension is in dev, I decided NOT to code (and more importantly, test) a migration that would change internally saved data, that differs in format from one version to the next, now following Extension Team guidelines. That is why you have to change extension files with the extension enabled (but making sure that noone else but you are on the forum, hence the board disable).

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.1][3.2][RC] Advanced Profile Fields Pack

Post by javiexin » Fri May 05, 2017 7:13 pm

New version 1.0.1 released.

No significant new features.
Corrects minor issues from the CDB Validation team
Corrects a major issue with Image Upload Profile Fields not working on 3.2
Resubmitted to the CDB

See first posts for updated link and complete information.

Enjoy.
-javiexin

User avatar
javiexin
Code Contributor
Posts: 1157
Joined: Wed Oct 12, 2011 11:46 pm
Location: Madrid, Spain
Name: Javier
Contact:

Re: [3.1][3.2][RC] Advanced Profile Fields Pack

Post by javiexin » Thu Jun 01, 2017 6:15 pm

Now in the CDB, validated for 3.2 only (missing event in 3.1.10).
Support continues there.

See you!
-javiexin

Locked

Return to “Extensions in Development”