Support Forum
Hi. I have decided not to allow registrations in my forum. Everyone must use the forum as a guest. (Turning off Wordpress registration has significantly reduced site traffic from potential spammers.)
Therefore, I would like the following elements not to be shown:
- Login button
- Members button
- The message: "Please consider registering"
Here is a screen shot of what guests see now. How can I turn off these features?
Thank you,
Beth Terry
Curious... We have always found it to be the other way around - it is allowing guests that cause most spam posts. Still...
If registrations are turned off then there should be no login button shown and indeed when I do a test this is the case.
When running the forum as a guest then there should also be no members button and again, when I try this it is the case.
So - did you take that screenshot before you turned registrations off?
YELLOW
SWORDFISH
|
Ok - I know now having seen your site from the other topic.
Login Button: Go to the forum admin > components > Login and Registration and turn off the use of the forum logon button/form.
Members Button: Go to the forum admin > Permissions > select whatever permission set is being used as the default for Guests. By default that would be the one named 'Limited Access' but you may have changed it. Use the 'Permission Usage' button to make sure. Open the set for editing and uncheck the option in the View section to: 'Can view the members lists'.
While in guest permissions you can also make sure that you have al the others the way you want them. Plus - as you are going for free entry to all - I would strongly advise the use of our Captcha plugin.
The label is a more difficult one and - now it has come to my attention - one that I will get changed for the next update of SP. So you could wait for that or else I can tel you what to edit while you wait for the change. Let me know your reference but it will require an edit to a theme template.
YELLOW
SWORDFISH
|
Go to the forum admin > themes > theme editor. Select from the list on the right, the file:
spHead.php
When it loads - find the call to the function:
sp_LoggedInOutLabel()
and comment it out. The easiest way to do this is to put a hash character in from of it so...
# sp_LoggedInOutLabel(....
That will stop it displaying anything at all.
YELLOW
SWORDFISH
|
Hi. I'm not finding that function in spHead.php. Here is all that's in there:
<?php
# --------------------------------------------------------------------------------------
#
# Simple:Press Template
# Theme : Barebones
# Template : Head
# Author : Simple:Press
#
# The 'group' template is used to display the forum header.
#
# This template makes a call to either the desktop or mobile template
# depending on what device the forum is being viewed through.
#
# To edit the head for desktop use- templates/desktop/spHeadDesktop.php
# To edit the head view for mobile use- templates/mobile/spHeadMobile.php
# --------------------------------------------------------------------------------------
global $spDevice;
if ( $spDevice == 'mobile' ) {
sp_load_template('mobile/spHeadMobile.php');
} else {
sp_load_template('desktop/spHeadDesktop.php');
}
?>
1 Guest(s)