inherit
196452
0
Nov 1, 2013 7:40:31 GMT -8
Baller95
What's for dinner?: Food
1,771
July 2013
baller95
|
Post by Baller95 on Nov 29, 2013 18:02:00 GMT -8
Hi Baller - for Christmas I'd love to be able to run this plugin on my home page and one other board, would that be possible please? Hey @ritab, I have no idea how to do this! Maybe Tim Camara will know?
|
|
Former Member
inherit
guest@proboards.com
134807
0
Nov 25, 2024 9:52:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 2, 2013 2:37:55 GMT -8
Fingers crossed eh?
|
|
inherit
196452
0
Nov 1, 2013 7:40:31 GMT -8
Baller95
What's for dinner?: Food
1,771
July 2013
baller95
|
Post by Baller95 on Dec 2, 2013 5:36:41 GMT -8
Fingers crossed eh? Chris, do you by any chance know how to target a specific board?
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Dec 2, 2013 10:01:23 GMT -8
Easiest way to accomplish this is like so:
var route = pb.data('route').name;
var board_id = pb.data('page').board.id if (route == 'home' || (route == 'board' && board_id == WHATEVER_BOARD_ID_YOU_WANT)) { // plugin code here }
|
|
inherit
196452
0
Nov 1, 2013 7:40:31 GMT -8
Baller95
What's for dinner?: Food
1,771
July 2013
baller95
|
Post by Baller95 on Dec 2, 2013 11:17:22 GMT -8
Easiest way to accomplish this is like so: var route = pb.data('route').name;
var board_id = pb.data('page').board.id if (route == 'home' || (route == 'board' && board_id == WHATEVER_BOARD_ID_YOU_WANT)) { // plugin code here } Thanks Tim, I can't get it to show on the homepage though. It only shows on the 1 chosen board.
|
|
inherit
The Dream Crusher (Ret.)
164921
0
Apr 1, 2014 11:00:25 GMT -8
Tim Camara
Teach a man to fish, etc., etc.
1,721
March 2011
tcamara
|
Post by Tim Camara on Dec 2, 2013 11:43:24 GMT -8
Add this to the top of your plugin to determine the route name of the page you're on:
alert(pb.data('route').name); Remove it when you're done.
|
|
inherit
193210
0
Nov 23, 2016 9:19:15 GMT -8
pixiebell2
938
April 2013
pixiebell2
|
Post by pixiebell2 on Dec 3, 2013 15:05:38 GMT -8
Hi baller how do you turn it off with out deleting it altogether please. I have left all the boxes empty but still have snow on the front page thank you for your help
|
|
inherit
182185
0
Apr 28, 2013 19:19:40 GMT -8
Thomasss
5,180
August 2012
thomje112
|
Post by Thomasss on Dec 3, 2013 15:28:17 GMT -8
Hi baller how do you turn it off with out deleting it altogether please. I have left all the boxes empty but still have snow on the front page thank you for your help You uncheck it from the Plugin Manager page, where it lists all the plugins you have.
|
|
inherit
193210
0
Nov 23, 2016 9:19:15 GMT -8
pixiebell2
938
April 2013
pixiebell2
|
Post by pixiebell2 on Dec 3, 2013 16:06:54 GMT -8
Thanks I worked it out eventually good of you to take the time to answer me thank you pixiebell2
|
|
inherit
196452
0
Nov 1, 2013 7:40:31 GMT -8
Baller95
What's for dinner?: Food
1,771
July 2013
baller95
|
Post by Baller95 on Dec 4, 2013 7:13:12 GMT -8
|
|
blueshead
Full Member
More hot peppers please!
Posts: 928
inherit
185994
0
Jun 17, 2018 15:20:52 GMT -8
blueshead
More hot peppers please!
928
November 2012
mrblueshead
|
Post by blueshead on Dec 7, 2013 6:42:39 GMT -8
Wheee Baller95.. Thanks for making the plug in do 12 Images.. I run a small gaming board and every year I make a different Christmas/Halloween theme that is supposed to be butt ugly! So now my top posters get to see their Avatars/piccies floating gently down the main page.....It's like 1995! We love it.. see it here
|
|
inherit
196452
0
Nov 1, 2013 7:40:31 GMT -8
Baller95
What's for dinner?: Food
1,771
July 2013
baller95
|
Post by Baller95 on Dec 7, 2013 8:21:24 GMT -8
Wheee Baller95.. Thanks for making the plug in do 12 Images.. I run a small gaming board and every year I make a different Christmas/Halloween theme that is supposed to be butt ugly! So now my top posters get to see their Avatars/piccies floating gently down the main page.....It's like 1995! We love it.. see it hereHaha looks great blueshead! Glad it's working well
|
|
inherit
196452
0
Nov 1, 2013 7:40:31 GMT -8
Baller95
What's for dinner?: Food
1,771
July 2013
baller95
|
Post by Baller95 on Dec 10, 2013 4:48:19 GMT -8
@ritab, I apologize for the delay. I've been so busy recently I've completely forgotten about this! I'll try my best to get it done in the next few days. I hope it works!
|
|
Former Member
inherit
guest@proboards.com
134807
0
Nov 25, 2024 9:52:23 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 10, 2013 7:54:06 GMT -8
|
|
inherit
194160
0
Mar 23, 2015 9:54:45 GMT -8
blc
2,641
May 2013
blc
|
Post by blc on Dec 12, 2013 11:26:43 GMT -8
Baller95Can this plug in be made to take more images than 6? Can you make it so that it will give you a new space when the last one is filled? i want to use a lot of different images. unlimited. Thanks
|
|