Re: DELETED Contents in Private Forum when Member Leaves
Posted by JBWolverine on Oct 29, 2013; 5:21pm
URL: https://support.nabble.com/DELETED-Contents-in-Private-Forum-when-Member-Leaves-tp7586633p7587592.html
I just tried it again. I appreciate the help. Thanks! --JB
Please notice that I went through each line of code and compared it to the one shown above as an example. The differences have been made into BOLD TEXT, (Namely, the term "Account Settings"/"My Settings" and the "< t >" and "< / t > " tags (without the embedded spaces) in each of the profile_option table entries.
The only line I deleted was the last entry of the table from the original code:
<n.profile_option>
<link><a href="[n.visitor.remove_account_path/]"><t>Remove Your Account</t></link>
<hint><t>Remove your account and all your posts from <t.subject><n.root_node.subject/></t.subject>.</t></hint>
</n.profile_option>
Below is the error message generated from my override code:
Error: macro or method for 'put_in_head' not found in [basic, nabble, ad] stack = [basic, nabble, ad]
in put_in_head(custom_tweak:profile_options:2) - <n.put_in_head.>
in (custom_tweak:profile_options:1) - <override_macro name="profile_options">
Below is the modified code that I generated (but cancelled due to the error). Note: I have replaced the leading "less than" sign of the tags with an "X" to allow the full code to be displayed in this message.
profile_options
Xoverride_macro name="profile_options">
Xn.put_in_head.>
Xstyle type="text/css">
table.profile {
border-collapse:collapse;
width:100%;
margin-top:.5em;
}
table.profile td {
padding:.7em .3em;
}
table.profile td.title-row {
background: transparent;
padding:.2em .4em;
border-bottom-width:2px;
border-bottom-style:solid;
font-weight:bold;
}
X/style>
X/n.put_in_head.>
Xtable class="profile">
Xn.profile_table_header.>
<t>Account Settings</t>
X/n.profile_table_header.>
Xn.profile_option>
<link><a href="[n.visitor.edit_profile_path/]"><t>Edit Personal Information</t></link>
<hint><t>Change your registered email address, password, and your user name.</t></hint>
X/n.profile_option>
Xn.profile_option>
<link><a href="[n.visitor.edit_signature_path/]"><t>Edit Your Signature</t></link>
<hint><t>Change the signature text that is displayed at the bottom of your posts.</t></hint>
X/n.profile_option>
Xn.profile_option>
<link><a href="[n.visitor.change_avatar_path/]"><t>Change Your Picture</t></link>
<hint><t>Change or remove your avatar image.</t></hint>
X/n.profile_option>
Xn.profile_option>
<link><a href="[n.visitor.advanced_settings_path/]"><t>Advanced Settings</t></link>
<hint><t>Change viewing preferences and other settings.</t></hint>
X/n.profile_option>
X/table>
X/override_macro>