• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Need help changing some text.

#1
Hello, I am trying to change the text of when it says "(private)" in the node list for private nodes to say "(Submission Only)", however only want to do it with certain nodes...

I've tried this and it's giving me errors: hastebin (check around lines 60 - 75)

Any help is appreciated.

Thanks.

@Liam W
 

Amaury

Well-known member
#2
You may be able to use conditionals with the node IDs. See @Brogan's excellent resource here: Conditional Statements

You'll need to create the phrase Submission Only; I suggest prefixing the title with your site initials so you know it's custom. For example, initials_submission_only.
 
#3
You may be able to use conditionals with the node IDs. See @Brogan's excellent resource here: Conditional Statements

You'll need to create the phrase Submission Only; I suggest prefixing the title with your site initials so you know it's custom. For example, initials_submission_only.
Hi there.

I have seemed to fix the issue myself already, so I apologize about creating the thread.

But while I have you, can I ask you this following question - how can I remove the "(Contains No Messages)" span if it's a submission only node?

Updated code: hastebin