Jump to content

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


Wezley

Recommended Posts

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

Link to comment
Share on other sites

  • 3 months later...

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. 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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>

 

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...