inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 23, 2013 11:49:46 GMT -8
I think it's because of a change on ProBoards side. Anyone using the older code, please post your forum if it's still working. I've updated the code on the first page, try it now
|
|
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 23, 2013 13:00:10 GMT -8
$[news]
<script> var user = '$[newest_user.escaped]'; var forum = '$[forum.name.escaped]';
$("#news .items").prepend("<div style='width: 895px; float: left;'><b>Please Welcome Our Newest Member " + user + " to the \"" + forum + "\"</b></div>"); </script>
thelonelyheartsclub.freeforums.net/
|
|
inherit
190036
0
Feb 23, 2013 14:55:45 GMT -8
Retz Retro
6
February 2013
retzretro
|
Post by Retz Retro on Feb 23, 2013 13:31:57 GMT -8
|
|
Former Member
inherit
guest@proboards.com
167458
0
Nov 21, 2024 23:40:17 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Feb 23, 2013 13:42:45 GMT -8
Hi, PeterI have been using the old code for quite awhile since you first posted it And have had no problem with it - All seems to be working with the OLD CODE on my forum thecreativepen.proboards.com/(((( NOTE THE CODE BELOW IS THE OLD CODE )))) Goto... Admin Home > Themes > Layout Templates Click on "Home". Under "$[news"]", add this script. <script> var user = '$[newest_user.escaped]'; var forum = '$[forum.name.escaped]'; $("#news .items").prepend("<div style='width: 895px; float: left;'>Please welcome our newest member " + user + " to the \"" + forum + "\"</div>"); </script> Steve
|
|
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 23, 2013 13:58:01 GMT -8
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 24, 2013 13:40:11 GMT -8
Very strange why the old code works, ah well, thanks for letting me know
|
|
inherit
133488
0
Nov 21, 2024 13:05:35 GMT -8
toetapping
1,583
November 2008
toetapping
|
Post by toetapping on Feb 24, 2013 17:08:45 GMT -8
nicetomeet.proboards.com/I put this code in. $[news] <script> var forum = "$[forum.name.escaped]"; var html = ""; html += "<div style='width: 895px; float: left;'>Welcome our newest member "; html += "<a href='/user/$[newest_user.id]'><b>$[newest_user.name.escaped]</b> to \"" + forum + "\"</div>"; $("#news .items > div").prepend(html); </script> I ended up with two newsfeeders and only with the newest member on both. I have two other messages on my news section that are not showing. Hoping you can help.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Feb 24, 2013 17:31:14 GMT -8
Try changing this line...
$("#news .items > div").prepend(html);
To this...
$("#news .items").prepend(html);
If that still causes an issue, I'll look at it properly in the morning and release a properly working code.
|
|
inherit
133488
0
Nov 21, 2024 13:05:35 GMT -8
toetapping
1,583
November 2008
toetapping
|
Post by toetapping on Feb 24, 2013 20:49:02 GMT -8
I am sorry it still didn't work.
I only got one news section but on that line only "My latest member" showed. My other two news lines don't show.
|
|
inherit
165142
0
Apr 28, 2024 3:44:58 GMT -8
channonite
Still Learning
200
March 2011
channonite
|
Post by channonite on Mar 1, 2013 5:58:26 GMT -8
I am confused.
I tried the new code just now on my test site and had exactly the same problem as Steve, way back in November last year, but the code in his post above on Feb 23rd works perfectly.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Mar 4, 2013 6:45:15 GMT -8
The code in my first post on the first page works fine for me on a vanilla forum.
If anyone has problems with that code, post a link to your forum so I can see what the issue is, because as it is, it should work fine.
|
|
inherit
165142
0
Apr 28, 2024 3:44:58 GMT -8
channonite
Still Learning
200
March 2011
channonite
|
Post by channonite on Mar 4, 2013 14:54:06 GMT -8
The code in my first post on the first page works fine for me on a vanilla forum. If anyone has problems with that code, post a link to your forum so I can see what the issue is, because as it is, it should work fine. itsbeautifuloutside.proboards.com
|
|
PIP
Junior Member
Posts: 202
inherit
187732
0
Jan 31, 2017 12:13:18 GMT -8
PIP
202
December 2012
mrpip
|
Post by PIP on Mar 4, 2013 22:46:03 GMT -8
The code in my first post on the first page works fine for me on a vanilla forum. If anyone has problems with that code, post a link to your forum so I can see what the issue is, because as it is, it should work fine. www.devildogshome.proboards.com/
|
|
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 Mar 5, 2013 7:07:39 GMT -8
Old code still working here.. No problems.
|
|
inherit
133488
0
Nov 21, 2024 13:05:35 GMT -8
toetapping
1,583
November 2008
toetapping
|
Post by toetapping on Mar 5, 2013 16:33:19 GMT -8
I am sorry it still didn't work. I only got one news section but on that line only "My latest member" showed. My other two news lines don't show. nicetomeet.proboards.com/Thank you Peter.
|
|