Login  Register

Re: Click to hide avatar - removal?

Posted by GregChapman on Jun 19, 2012; 8:29pm
URL: https://support.nabble.com/Click-to-hide-avatar-removal-tp7580397p7580416.html

hellmo wrote
No, i dont really know where to edit codes or html at a Nabble forum, so you tell :)
I've been playing and it seems a little easier than I thought. First you need to get into the NAML editing screens, then search for the macro (i.e. a unit within the program) to be edited then make the change and save it. If you manage the example below, come back for the rest.

1. Go to a forum page displaying a post with the standard "large avatar".

2. Click the link at the bottom right "See how NAML generates this page"
(This moves you to a screen displaying the code behind the page the "classic_forum_topic" macro. This contains links to other parts of the code, so to save navigating through it all, let's just search for the macro we want.)

3. Click the "Gear wheel" to the left of the Macro name and select "Search macros" from the menu that appears.
(The Search screen appears.)

4. Enter "classic_row_with_big_avatar" (without the quotes) into the search box and click the "Search " button. A single result should appear. Click its link.
(The "classic_row_with_big_avatar" code screen appears.)

5. Click the "Override this macro" button.
(A second (coloured) copy of the code appears.)

6. Scroll to Lines 25-27 and replace the code there with this:
<n.comment.>
	<td class="classic-author shaded-bg-color rounded-bottom">
		<n.classic_big_avatar_cell/>
	</td>
</n.comment.>
so it becomes Lines 25-29.
(Essentially, we are just saying turn this code into comment which is not executed. It's slightly safer than deleting the original code.)

7. click the "Save  changes" button.
(The job is done!)

Click the forum title link at the top left of the screen and then visit any post and you should find the large avatar gone.

If successful come back for more.

So you mean that frames is 90's, havent thought about it that way, but i really like framed websites, gets me a feeling of never getting lost :)
Frames as an HTML technique was deprecated with the publication of HTML4 in 1997. That doesn't mean you can't have static menus and scrolling content if that is what you are thinking of when you talk of "frames". Click on my avatar and send me an email. This is off-topic for this forum.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.