inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 11, 2014 5:31:24 GMT -8
I wasn't sure where to place this but what I'm working on doing is creating a missions board and for the full dossier I'll be displaying this as threads in a board. However I want to adjust the navigation bar so instead of the bar reading SHIELD > Mission Dossiers > [Thread Name here] and linking to the board in Mission Dossiers
It reading: SHIELD > Mission Board > [Thread Name here] with the url linking to the Mission Board (http://shieldrp.com/?missionsboard) Note the url isn't active yet as I've not fitted the plugin in yet
|
|
#eb7100
1480
0
1
Apr 28, 2024 11:14:08 GMT -8
Craig
208,869
September 2001
cmdynasty
|
Post by Craig on Jul 11, 2014 5:51:12 GMT -8
Hi I am not sure that would be possible. You could try posting in the plugins board and see if anyone has any ideas.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 11, 2014 5:52:37 GMT -8
I know it used to be done on proboards v4, I'll put a thread up on there though to have a see.
I only posted here initially as I wasn't sure if it comes under templates (my first thought) or plugins
|
|
#eb7100
1480
0
1
Apr 28, 2024 11:14:08 GMT -8
Craig
208,869
September 2001
cmdynasty
|
Post by Craig on Jul 11, 2014 5:55:35 GMT -8
Yeah. It would have been simpler in v4 because the nav bsr was very basic. In v5 it is a lot more complicated.
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 11, 2014 6:54:43 GMT -8
Okay I've got another question that might need redirecting to plugins board - is there a way of preventing posts in hidden boards showing in the infocenter?
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 11, 2014 7:02:20 GMT -8
Since you are using Yootil, you can do it like so. Just change 9000 with the board id you want it to run in. if(yootil.page.board.id() == 9000){ $("#nav-tree li:last a").attr("href", "/?missionsboard"); }
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 11, 2014 7:05:49 GMT -8
I'd be able to run it from the code I already set up? Woohoo! How would I make sure it targetted it in threads view as well so the second one was Missions Board as I'm not planning on letting them see the board itself just each of the mission dossiers. Edit: doesn't appear to be working @_@ I'm sure I've screwed up somewhere. This is the hidden board I'll be posting the dossiers in for full view (I put a full thread in plugins as suggested by Craig btw): shieldrp.com/board/182/mission-dossiers
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 11, 2014 7:13:34 GMT -8
I had a look, it's linking me correctly...
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 11, 2014 7:15:36 GMT -8
I argued it into working - I forgot to use the full url that made it work xD Thank you - how would I adjust this so it targets thread view only? Aka if they're viewing a thread shieldrp.com/thread/2109/test-threadAs I'm the only one who'll be accessing the mission dossiers board as the 'back end' to post up the dossiers. Members will only be viewing the threads within it.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Jul 11, 2014 7:25:23 GMT -8
if(yootil.page.board.id() == 182 && yootil.location.check.thread()){ $("#nav-tree li:last a").attr("href", "http://shieldrp.com/?missionsboard"); } I modified the condition to check the location as well as the board id
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 11, 2014 7:28:53 GMT -8
ty! XD Now it just needs to target the second link in on the nav tree xD I'm trying to work out how to do that (Last becomes the thread title)
All fixed I found it out for myself! XD
Now the other question of preventing posts in this hidden board showing on the infocenter
|
|
inherit
(??_?)
181912
0
1
Jul 6, 2015 20:35:17 GMT -8
CheatAreZee
56,804
March 2005
zyvoloski
Ricky's Mini-Profile
|
Post by CheatAreZee on Jul 11, 2014 8:24:36 GMT -8
Unfortunately there's not a way to prevent posts from hidden boards displaying in the info center the way it stands. You would want to further restrict access to the board based on usergroups, or give it a password and with this will keep out unwanted members from being able to see those posts unless they have permission to access the board
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 11, 2014 8:31:19 GMT -8
Can that be a feature request then please (and do you want me to start a new thread for it)
|
|
inherit
(??_?)
181912
0
1
Jul 6, 2015 20:35:17 GMT -8
CheatAreZee
56,804
March 2005
zyvoloski
Ricky's Mini-Profile
|
Post by CheatAreZee on Jul 11, 2014 8:40:40 GMT -8
Consider it marked
|
|
inherit
Peabrained Codebreaker
107114
0
Mar 11, 2020 7:47:27 GMT -8
Boy_Wonder
6,249
July 2007
natzy24
|
Post by Boy_Wonder on Jul 11, 2014 8:44:14 GMT -8
Thank you!
|
|