Is it possible to add more pages to Nabble forums?

classic Classic list List threaded Threaded
25 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Is it possible to add more pages to Nabble forums?

Evildaddy
I was wondering if it is possible. I want to make an edit about me page. I'll try to come up with the edit about me page thingy myself because I don't wanna always bother you guys for help. I just need help creating a new page.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Mencey Melgar
What are you talking about?(sorry but I didn't understand anything :p)
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Evildaddy
Is it possible to add a new page to my Nabble forum? I want to have a new page so I can have an about me editor thing. Kinda like the "Edit signature" page.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Mencey Melgar
Hum I think im starting to get you. Do you want like a "personal space" for users? If what do you want is a entire page for your "about me" I recommend you to make a post and put the link in your signature or create it with other system(not nabble) since both("personal space" for users and your own "about me" page) requires advanced NAML skills and will take a lot of time
:) Helper
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Evildaddy
I want to have a different page for editing the about me thing which will be located below "My Nabble Applications".
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Pedro
Do you want to edit your Account Settings page?
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Evildaddy
Yes. I would like to add a thing that says about me and possibly a place to edit it.  Please.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Pedro
See the macro profile_header. Are you the owner of the forum?
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Evildaddy
Yes I am.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Pedro
Are you the only admin?
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Evildaddy
Yes
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Pedro
Add the following piece of code, "Extra Code", at your profile_header macro:
                                <then.local_user.send_email_to_user_link/>
                            </n.if.not.local_user.is_deactivated>
                        </else>
                    </n.if.local_user.is_banned>
                    
                    <!-- Extra Code-->
                    <n.if.local_user.is_site_admin>
                        <then>
                            Place your extra info here,
                        </then>
                    </n.if.local_user.is_site_admin>
                    <!-- Extra Code-->


                    <!-- If this is the profile of the visitor -->
                    <n.if.visitor.equals.local_user>
                        <then>
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Evildaddy
This code can only be edited in the NAML editor, correct?
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Evildaddy
In reply to this post by Pedro
Pedro <Nabble> wrote
Add the following piece of code, "Extra Code", at your profile_header macro:
                                <then.local_user.send_email_to_user_link/>
                            </n.if.not.local_user.is_deactivated>
                        </else>
                    </n.if.local_user.is_banned>
                    
                    <!-- Extra Code-->
                    <n.if.local_user.is_site_admin>
                        <then>
                            Place your extra info here,
                        </then>
                    </n.if.local_user.is_site_admin>
                    <!-- Extra Code-->


                    <!-- If this is the profile of the visitor -->
                    <n.if.visitor.equals.local_user>
                        <then>
Since I am a beginner, I cannot find out how to make a new edit about me page and field so I was attempting to copy the edit signature field and edit it. However, I cannot find out how to get the save button to save to the about me thing rather than the signature.

<override_macro name="edit_signature" requires="servlet">
    <n.visitor.as_user_page.>
        <n.if.not.page_user.is_registered>
            <then>
                <n.login.><t>You must login to view this page.</t></n.login.>
            </then>
        </n.if.not.page_user.is_registered>
        <n.if.is_submitted_form>
            <then>
                <n.catch_exception. id="save-signature">
                    <n.edit_page_user.>
                        <n.set_signature signature="[n.signature_field.value/]" is_html="[n.html_format_field.value/]"/>
                        <n.save_user/>
                    </n.edit_page_user.>
                    <n.redirect_to.page_user.user_profile_path/>
                </n.catch_exception.>
            </then>
            <else.if.page_user.has_signature>
                <then>
                    <n.html_format_field.set_value value="[n.page_user.signature.is_html_format/]" />
                    <n.signature_field.set_value value="[n.page_user.signature.as_editable/]" />
                </then>
            </else.if.page_user.has_signature>
        </n.if.is_submitted_form>
        <n.html>
            <head>
                <META NAME="robots" CONTENT="noindex,nofollow"/>
                <n.title.><t>Edit Signature</t></n.title.>
            </head>
            <body>
                <h1><t>Edit Signature and About Me</t></h1>
 
                <n.show_edit_signature_error/>
 
                <n.if.page_user.has_signature>
                    <then.show_current_signature/>
                </n.if.page_user.has_signature>
 
                <n.form.>
                    <n.html_format_field.checkbox />
                    <label for="[n.html_format_field.name/]"><t>Signature is in HTML format</t></label><br/>
                    <n.signature_field.textarea wrap="SOFT" tabindex="2" style="width:35em;height:7em;" />
 
                    <div style="margin-top:1.4em">
                        <input type="submit" value="[t]Save Signature[/t]" />
                        <t>or</t> <a href="[n.page_user.user_profile_path/]"><t>Cancel</t></a>
                    </div>
                </n.form.>
            </body>
        </n.html>
    </n.visitor.as_user_page.>
</override_macro>
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Pedro
Go to:
1- At the bottom of your app->See "Edit this page".
2- At the engine wheel -> "Search for macro" .
3- Macro by name -> search for "profile_header" .
4 - profile_header -> "override this macro" .

Then, add the code where I said.
My test forum.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Bleuonyx
In reply to this post by Pedro
Can I make the same thing for the certain group of users, can I make one code for Registered and Members a different one?
Or can I make the same thing for a specific usernames (about me secction)?
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Evildaddy
Bleuonyx wrote
Can I make the same thing for the certain group of users, can I make one code for Registered and Members a different one?
Or can I make the same thing for a specific usernames (about me secction)?
Yes, you can do both I think. The one by rank would be easier though.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

Pedro
In reply to this post by Bleuonyx
At the same place of the code, you can check if the user is inside a group:
<n.if.local_user.is_in_group group="Registered">
	<then>...</then>
</n.if.local_user.is_in_group>
<n.if.local_user.is_in_group group="Members">
	<then>...</then>
</n.if.local_user.is_in_group>
My test forum.
1j1
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

1j1
This post was updated on .
How to make it for a specific user in a way each user would have his own info?
And is there a way for users to fill in the fields themselves?  Something like if put for Member's group code that it will say Age:_____ users will be able to go to their profiles and input their age in the gap.
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to add more pages to Nabble forums?

GregChapman
Hi,

Take a look at this topic:
http://support.nabble.com/Member-Profiles-td7583880.html
and in particular the most recent post:
http://support.nabble.com/Member-Profiles-tp7583880p7585372.html

I haven't tried registering on Pedro's test forum, but if you are a coder the NAML behind it may provide the necessary clues on how to develop the idea.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.
12