Former Member
inherit
guest@proboards.com
167458
0
Nov 21, 2024 23:42:01 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 11, 2012 14:16:46 GMT -8
Request Plugin
To Welcome Newest Member on News Feed
Hey, please welcome our newest member username to the "Forum Name"
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 12, 2012 9:42:49 GMT -8
No need for a plugin.
Goto...
Admin Home > Themes > Layout Templates
Click on "Home".
Under "$[news"]", add this script.
<script>
var forum = "$[forum.name.escaped]"; var html = "";
html += "<div style='width: 895px; float: left;'>Hey, please welcome our newest member "; html += "<a href='/user/$[newest_user.id]'><b>$[newest_user.name.escaped]</b></a> to the \"" + forum + "\"</div>";
$("#news .items > div").prepend(html);
</script>
If the above doesn't work, try this, as some people have reported different things...
<script>
var forum = "$[forum.name.escaped]"; var html = "";
html += "<div style='width: 895px; float: left;'>Hey, please welcome our newest member "; html += "<a href='/user/$[newest_user.id]'><b>$[newest_user.name.escaped]</b></a> to the \"" + forum + "\"</div>";
$("#news .items").prepend(html);
</script>
|
|
Former Member
inherit
guest@proboards.com
167458
0
Nov 21, 2024 23:42:01 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 12, 2012 10:52:21 GMT -8
Hi, Peter It works - But the problem I'm having is it not showing all the news feeds I have added I have added the code directly under the text $[news] it showing please welcome our newest member Ok but not showing all the other news feeds I have added Have I put the code in the right place? Directly under $[news] thecreativepen.freemessageboards.com/Steve
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 12, 2012 11:05:46 GMT -8
Sorry Steve, my selector was wrong, I had an extra div in there for some reason. Copy the code again
|
|
Former Member
inherit
guest@proboards.com
167458
0
Nov 21, 2024 23:42:01 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 12, 2012 11:42:21 GMT -8
Thank You - Peter That fixed it Steve
|
|
inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Dec 6, 2012 12:20:22 GMT -8
Hello Peter...
This script is really nice and works fantastic with another News Feed. Once I remove that news feed (my input) then the script does not show anything. Only when I create a new News Feed, it starts up again.
|
|
inherit
169267
0
Nov 20, 2024 16:39:46 GMT -8
Mike
Praise God Almighty!
1,534
July 2011
riccetts
|
Post by Mike on Dec 7, 2012 14:29:47 GMT -8
Peter, How can I add it to custom pages?
|
|
inherit
8275
0
Apr 8, 2024 11:05:50 GMT -8
M³
SF 49ers
2,120
March 2003
madmastermind
|
Post by M³ on Jan 18, 2013 9:39:28 GMT -8
Ugggh, I added this code and it doubled up the newsfadar .. I removed it, now it's still there. Anyway to put the newsfadar back the way it was? Edit: I fixed it!
|
|
inherit
188342
0
Oct 31, 2018 12:03:02 GMT -8
mamagail48
271
January 2013
mamagail48
|
Post by mamagail48 on Jan 28, 2013 19:55:15 GMT -8
Hi Peter Need help. The code isn't working correctly on my forum it skips or pushes right over the Hey Welcome so you can't read it and just displays the rest of the feed. I tried changing speeds, taking out lines of text and no text and nothing corrects it to show up with speeding right on past the feed. could you check it out as it is running. click on my banner.
|
|
inherit
onewillingsniper@hotmail.com
185552
0
Mar 13, 2014 12:52:02 GMT -8
Willing Sniper
559
November 2012
sergentpepper
|
Post by Willing Sniper on Jan 29, 2013 20:10:27 GMT -8
How do I make the news feed taller and use larger font?
|
|
inherit
8275
0
Apr 8, 2024 11:05:50 GMT -8
M³
SF 49ers
2,120
March 2003
madmastermind
|
Post by M³ on Jan 31, 2013 13:51:55 GMT -8
Anyway of making the newest members' name to bold?
|
|
inherit
188342
0
Oct 31, 2018 12:03:02 GMT -8
mamagail48
271
January 2013
mamagail48
|
Post by mamagail48 on Feb 1, 2013 11:59:00 GMT -8
This is not working correctly for me if I could get some help with it. Much appreciated.
|
|
inherit
8275
0
Apr 8, 2024 11:05:50 GMT -8
M³
SF 49ers
2,120
March 2003
madmastermind
|
Post by M³ on Feb 1, 2013 16:47:19 GMT -8
Anyway of making the newest members' name to bold? Bump
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 2, 2013 6:12:18 GMT -8
I've updated the code in my post above.
|
|
inherit
onewillingsniper@hotmail.com
185552
0
Mar 13, 2014 12:52:02 GMT -8
Willing Sniper
559
November 2012
sergentpepper
|
Post by Willing Sniper on Feb 2, 2013 9:03:09 GMT -8
I've updated the code in my post above. I love it. You are a bright and shining star in an otherwise dark universe. How do I make it bigger?
|
|