How do I hide my forum views so its not visible to users?
|
I think you have asked the wrong question. If "users" can't see your forum then it might as well not exist.
Go to: Options > Users > Change Permissions Set the "View" permission as you require. By default "Anyone" may view your forum. However, those in the "Anyone" group may register by supplying an email address and automatically join the "Registered" group as well. There is also a "Members" group available. You have to add users to that manually.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted. |
I think you misunderstood me. I am talking about the page view count that is displayed at the bottom of the forum. How do I make that only visible to admin.
|
Ah! Indeed, I did misunderstand. That will require you to edit the NAML code of the macro that places that data on the page. I'm afraid I don't have the skills to tell you how to do that.
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted. |
Okay. Thanks
|
hum, im not sure if this is what you want:
-Go to "change the application type" and put your main forum as "mixed" -after this, go to "extras & add-ons" and select "smart application types" under "content" -Now, only the groups with the "view" box marked(in "permissions") can view the private forum(remember to select this in the private forum and not in the main page xD), other users(out of that groups) cant see that private forum(hidden to them). :) Helper |
Hi LouK,
I don't think that is what is wanted. It's getting rid of the "17 views" that I see at the bottom of this page (and probably something over 20 by the time you look again)!
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted. |
true, sorry :)
Then, go to "see how NAML generates this page", click on the "options screw" and "search macros", search "forum_footer", click on it, "override this macro" and delete "<n.views show_text="true"/>" and save, now your visits won't be displayed Regards :) Helper |
Thanks, alot :) Seye Oke From: LouK [via Nabble Support] <[hidden email]> To: "[hidden email]" <[hidden email]> Sent: Wednesday, November 21, 2012 1:00 PM Subject: Re: How can I hide my forum views
true, sorry :)
Then, go to "see how NAML generates this page", click on the "options screw" and "search macros", search "forum_footer", click on it, "override this macro" and delete "<n.views show_text="true"/>" and save, now your visits won't be displayed Regards If you reply to this email, your message will be added to the discussion below:
http://support.nabble.com/How-can-I-hide-my-forum-views-tp7581954p7581983.html
|
In reply to this post by Mencey Melgar
So where is "see how nammle generates this page" ?? I've seen it before, but I don't see it any more.
|
In reply to this post by Mencey Melgar
I've found it, however this instruction does not work and produces the following error:
Error: macro or method for 'page_node' not found in [basic, nabble, ad] stack = [basic, nabble, ad] in page_node(custom_tweak:forum_footer:2) - <n.page_node.> in (custom_tweak:forum_footer:1) - <override_macro name="forum_footer"> Does anyone actually KNOW how to do this, based on current scripting??? |
Yes sorry, nabble changed the name to "Edit this page"
You probably deleted a word that shouldn't be deleted :p. To hide your views, your new macro sould look like this: <override_macro name="forum_footer"> <n.page_node.> <div id="forum-footer" class="forum-footer nowrap"> <img src="/images/feeds.png" width="16" height="16" align="absmiddle" alt="feeds"/> <n.feeds_link/> <span class="weak-color" style="padding-left:.5em">|</span> <t>Created by <t.author.owner.avatar_and_link/></t> </div> </n.page_node.> </override_macro> :) Helper |
Tried that- still doesn't work. This is exactly what was in the override which didn't hide views:
On 9 Apr 2013, at 22:04, LouK [via Nabble Support] wrote: Yes sorry, nabble changed the name to "Edit this page" |
I just did what Louk suggested and it worked. Please, see your forum now.
My test forum.
|
Hi Pedro,
I've cleared the cache, but I'm still seeing the view count. I see that you've added a macro overide, but here's a screenshot of the view count: |
I removed the views now. Take a look, but there are some places that you have to remove the comma too.
My test forum.
|
Success ! Thank you for your assistance Pedro
|
Free forum by Nabble | Edit this page |