inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jul 29, 2016 4:30:45 GMT -8
Hello LynxIf by chance you feel that a plugin may serve better than a footer code, then go for it.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jul 29, 2016 8:17:43 GMT -8
Edit: FYI Lynx , here is the template ( modified ) I was using for individual themes prior to this request: Board > Board List:
This image shows that result:
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 29, 2016 8:58:08 GMT -8
Go for it Lynx. Just a heads up, as far as I'm aware, there is no way of telling f a board is restricted to members from the Home page, BUT, if guests can view a board, but cannot access it, then the 'Last Post' cell will be blank.
|
|
inherit
217348
0
Jul 27, 2022 7:26:44 GMT -8
Lynx
5,849
January 2015
msg
|
Post by Lynx on Jul 29, 2016 14:16:33 GMT -8
I'm sorry, aRMY83, but I can't get it to work for me. Sorry.
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jul 29, 2016 15:25:35 GMT -8
No problem Lynx and as always, thank you for your assistance/input here and also to Todge for his input. Decided to use the template indicated within the spoiler for the default theme.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 30, 2016 3:47:56 GMT -8
elaine26, Nscalerr and any others that may want this, try this in your Global Footer. <script type="text/javascript"> <!-- //Add guest message to unaccessible boards.
if(pb.data('user').is_logged_in != 1) { var cellHTML = $('#welcome>a'); $('td.latest, td.last').each(function(){ if($(this).html().length < 30) { $(this).append('Please ',cellHTML[0],' or ',cellHTML[1],' to view.'); } }); } //--> </script>
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Jul 30, 2016 6:25:49 GMT -8
Tried the script and it was no go. All I had was a blank cell.
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Jul 30, 2016 12:10:09 GMT -8
Try this. All I did was add .outerHTML (though Todge's should work too)
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jul 30, 2016 13:34:18 GMT -8
I just contacted Pebble via a PM here about his plugin: Guest Message In Last Post Area 0.0.2 L which was not working with forums.net about three weeks or so and that is why I started this thread for an alternative to this plugin. Having said, for some odd reason this plugin is now working as should be at my main site: army83.forums.net/From my understanding from Pebble , he is having trouble locating the open version of this plugin. Hopefully he will input here soon, which IMO, is one great plugin!
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jul 30, 2016 14:03:39 GMT -8
Hello UlisesMy hat is off to you my fried as I just disabled Pebble plugin and gave your code a go and WOW, it works great!
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Jul 30, 2016 14:16:56 GMT -8
Hi. Shouts out to Todge though as well since it was his code in the first place
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jul 30, 2016 14:34:59 GMT -8
Hi. Shouts out to Todge though as well since it was his code in the first place I do apologize for not mentioning Todge and for that I say "thank you Todge for the started code".
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Jul 30, 2016 17:45:57 GMT -8
No worries aRMY83, still can't fathom why it needed .outerHTML to enable it to work for you, and thanks Ulises, I'd never have dreamed to add that.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Jul 30, 2016 18:41:45 GMT -8
Try this. All I did was add .outerHTML (though Todge's should work too) Tried this script and still have empty boxes. might have to give the plugin by Pebble a go. For now I have the updated script. My forum if it helps at all.
|
|
inherit
140147
0
Nov 19, 2024 5:07:22 GMT -8
Nscalerr
Throw me to the wolves and I'll return leading the pack!
3,043
May 2009
nscalerr
|
Post by Nscalerr on Jul 31, 2016 5:28:54 GMT -8
Removed the script and went back to what I had originally that works.
|
|