my 1st module creation help

soaringeagle
@soaringeagle
11 years ago
3,304 posts
i used aparana or whatever itscalled cloned a new module naming it seprofiledesigner
i changed the module type to profiles so its in the profile group
and
selected allow on profiles apply to all..not what i wanted i now realize
what i want is for that form it created to be added to the profile modification as a tab just like profile tweaks is

only the modification not creation i dont want profile creation to be complicated with profile design tools but after creation iwant them to be able to redesign it the way they want

so to clarify the question whats needed in (i assume) index.php or whherever to add it to the profile mod page remove the "allowed on profiles' from admin and add to timeline etc..h,mmm well actualy might want "user updated thier profile) type message on timeline
but
basicly i want to modify it so that theres just a form that i create on the profile mod page as a tab called profile designer

then.. the form i create ..and any css i make for that form should be packaged with the module.. but still alow others to add to itt and customize and extend it

so once i create that form that will be the basis of the profile designer is that written into the php

i saw in profile tweaks the forms hard coded into the index..
wich for a simple form like that could probably figure out but this will be a far more complex form and when its released will have to be bundled with the skin im creating (wich ofcourse you can then adapt other skins to use it easily enough)
and will need spectrum bundled with it


i think i better rephrase the questions in a 1 2 3 manner

1 how do i get the profile designer to only show as a tab on the profile mod page
2 how do i get it so the form i create is made a permenent part of the module


and a 3rd question since i dont have the skills you guys have
would u prefer instead of trying to publish it as a developer i turned over what i worked out to you guys for "cleaning up' and further future development and possible inclusion in other skins

im creating this partialy for my members
partialy for other ning users who would want this type functionality
and partialy for you guys to help you attract more ning users..as well as help the whole jr community have an easy to use design tool


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 07/09/16 09:21:02AM
soaringeagle
@soaringeagle
11 years ago
3,304 posts
oh let me add like profile tweaks has alow custom logo allow custoim background etc

id like a few controls based on quotas as well

1 allow custom css
i want that for only power users and admins
alow header customization
(ill probably allow all but other users might not want this option)
allow maim menu design changes
alow profile menu design changes
and then the general alow profile design features

i can sorta peice parts of ittogether by looking through profile tweaks
but i want to get this right so i can get to the far more involved task of actualy setting up the functionality in the skin im creating for it


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 12/29/14 09:23:54AM
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
Difficult to read your post, I didn't make it all the way through.

Have you seen the documentation here:
https://www.jamroom.net/the-jamroom-network/documentation/development

From that list, for adding tabs there are two pages which might help:
"Adding an extra tab to my modules admin interface"
"Add a tab to the profiles"


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11 years ago
3,304 posts
thnx its the 1st i needed
i have been trying to watch thy developers training vids but they wont play while uploading 250 gig archives

but thnx thats all i needed to know and just find the internal jr search doesnt help 1/2 the time


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11 years ago
3,304 posts
well... that wasnt exactly what was needed but might be able to figure it out from there i dont need to add a tab to my modules interface i need to add a tab to the jrprofiles modify profile interface
just like profile tweaks has
but i think that gave me clues where to look in the profile tweaks for an answer thnx..i hope


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 12/29/14 09:23:54AM
SteveX
SteveX
@ultrajam
11 years ago
2,584 posts
To add a tab to the profile you can register a module feature with jrProfile, something like this in your module init function:
// Profile tabs for Profile owners   jrCore_register_module_feature('jrProfile','profile_tab','myModule','default','default tab');
Profile Tweaks will probably be doing a similar thing to get it's profile_tab to appear.


Or for a quick test whilst coding your tab view (the view which will appear in the tab) you can edit or override jrProfile profile_tabs.tpl


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 12/29/14 09:23:54AM
soaringeagle
@soaringeagle
11 years ago
3,304 posts
probably not a great idea to ofverride the profile_tabs tpl thnx

and the last peice ..im pretty sure i know the answer but the form it creates in the tab i cant use the form designer i have to create it 100% in the modules php

i might have to get a lil help on this from my freind i know i can make an awesome profile design tool using the form designer but making it into a module will take a bit more learning so unless my freind wants to throw it together it might take a month longer so i can finish off the rest of the site features

my sites pretty heavily modified already


--
soaringeagle
head dreadhead at dreadlocks site
glider pilot student and member/volunteer coordinator with freedoms wings international soaring for people with disabilities

updated by @soaringeagle: 12/29/14 09:23:54AM

Tags