Jump to content

How to Display the "Start New Topic" button for everyone

Featured Replies

Posted

Hello, how do I display the "Start New Topic" button for everyone? Not just logged-in users.

Also, I was like to also change its text from "Start New Topic" to something like "Ask a Question", then change "Submit Topic" to "Submit Question" and change "Reply to Topic" to "Reply to Question".

Thanks,

Wes

Edited by Wezley

  • 3 months later...

I would also love to know the answer to this, if you found it @Wezley, Thank you!

If a user has permission to create a topic ("Post New Topic", then they'll see the button. You'll have to change the permissions in the control panel otherwise. Go to the relevant forum in the ACP and then click on the down arrow on the right of its name. You'll find permissions as one of the options. 

Edited by Meddysong

 

8 minutes ago, JwilsonVW said:

I would also love to know the answer to this, if you found it @Wezley, Thank you!

Change the type of your forum:
With editing forum - Forum Settings -> From "Discussions" to " Questions"

On 12/7/2017 at 5:07 PM, Adlago said:

 

Change the type of your forum:
With editing forum - Forum Settings -> From "Discussions" to " Questions"

Apologies I was vague, I didn't mean how to switch the type of forum, but how to edit the text of that button. For instance, I use a Questions type forum as a wishlist, so Id like the button to read "Make a Wish" rather than "Ask a Question" but still keep the forum the Questions type.

This is an easy solution:

 

6 hours ago, Meddysong said:

This is an easy solution:

 

Very clever workaround! However it falls short in my weird case as there are other Question subforums where "Ask a Question" would need to be left alone as it is already correct.

Is it possible to apply a translation only to a specific subforum? that may let me get away with the above trick. I took a look at the forum settings but havent found anything.

Ah, no, that wouldn't be possible. That text is determined by a language string in the template. All we're doing here is changing what that language string displays. It's an all-or-nothing approach.

Here's a possible starting point that could be fleshed out a bit more...

<!DOCTYPE HTML>
<html>
	<head>
		<style type="text/css">
			a[href$="http://localhost/ips_42/index.php?/startTopic/"] {
				color: transparent;
			}
			a[href$="http://localhost/ips_42/index.php?/startTopic/"]:after { 
				content: "Make a wish";
				color:blue;
			}
		</style>
	</head>
	<body>
		<a class="ipsButton ipsButton_medium ipsButton_important" href="http://localhost/ips_42/index.php?/startTopic/" data-ipsdialog data-ipsdialog-size="narrow" data-ipsdialog-title="Select Forum">Start new topic</a>
	</body>
</html>

 

Edited by Nathan Explosion

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.