1. 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.

Discussion in 'XenForo Questions and Support' started by SBMinerYT, Aug 19, 2015.

  1. SBMinerYT

    SBMinerYT Member

    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.


    @Liam W
  2. Amaury

    Amaury Well-Known Member

    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. SBMinerYT

    SBMinerYT Member

    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

Share This Page