inherit
186174
0
Mar 28, 2021 11:29:11 GMT -8
ʞɔnʇS
160
November 2012
stuck
|
Post by ʞɔnʇS on Nov 29, 2017 1:44:34 GMT -8
Thank you so much Peter, worked 100% Happy bunny once again. ??n?s
|
|
inherit
206056
0
Oct 22, 2024 12:06:59 GMT -8
adminabp
378
February 2014
adminabp
|
Post by adminabp on Nov 29, 2017 1:59:34 GMT -8
ProBoards changed the id of the ad container and from what I can tell, didn't let us plugins devs know about it. I will not be updating the plugin, so remove it and use this script instead. Just place it in your global header. <script>
$(function(){
var ad = $("#ad1"); var elements = $("#wrapper header, #wrapper a.recent-threads-button, #wrapper #navigation-tree");
if(ad && elements.length){ elements.insertAfter(ad); } });
</script> Thank you!!! I was using the old script instead of the plugin anyway(to save on plugin space), and it abruptly quit working. Was about to post asking for help when I saw your post. Updated script works great! Thanks again!
|
|
inherit
118095
0
Feb 25, 2021 0:36:17 GMT -8
Rosefriend
Friendship is the Finest Rose in the Garden of Life
1,855
January 2008
rosefriend
|
Post by Rosefriend on Nov 29, 2017 4:13:28 GMT -8
Many thanks Peter, it works perfectly, much appreciated...
|
|
inherit
186832
0
Aug 17, 2017 13:48:30 GMT -8
Mesquiter
10
December 2012
mesquitedoll
|
Post by Mesquiter on Nov 29, 2017 7:56:07 GMT -8
ProBoards changed the id of the ad container and from what I can tell, didn't let us plugins devs know about it. I will not be updating the plugin, so remove it and use this script instead. Just place it in your global header. <script>
$(function(){
var ad = $("#ad1"); var elements = $("#wrapper header, #wrapper a.recent-threads-button, #wrapper #navigation-tree");
if(ad && elements.length){ elements.insertAfter(ad); } });
</script> Thank you, Peter , for your quick attention to this. I had just added your code from page 4 to a fairly new forum and it was perfect, then suddenly it wasn't working. So I do appreciate how quickly you fixed this for all of us.
|
|
Former Member
inherit
guest@proboards.com
236123
0
Nov 21, 2024 23:21:31 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Nov 29, 2017 10:41:42 GMT -8
The code is not working for me either and I have followed the instructions hopefully to a "T" even the video as well for custom pages.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 30, 2017 5:35:46 GMT -8
@linette,
Forum URL with the code added please?
|
|
inherit
176421
0
Feb 26, 2022 11:14:35 GMT -8
The Cats
20
February 2012
thecats
|
Post by The Cats on Nov 30, 2017 8:44:24 GMT -8
@linette , Forum URL with the code added please? The code worked perfectly on one board, but not on the second one...... this is the one it only partially worked on....... - forum url: catamount.boards.net/-added to the global header: <script> $(function(){ var ad = $("#ad1"); var elements = $("#wrapper header, #wrapper a.recent-threads-button, #wrapper #navigation-tree"); if(ad && elements.length){ elements.insertAfter(ad); } }); </script>
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Nov 30, 2017 8:50:26 GMT -8
The Cats, Due to your header structure being different, it can't move the navigation as it's outside. A tweak to the selector should fix that... <script>
$(function(){
var ad = $("#ad1"); var elements = $("#wrapper header, #wrapper a.recent-threads-button, #wrapper #navigation-tree, #wrapper #navigation-menu");
if(ad && elements.length){ elements.insertAfter(ad); } });
</script>
|
|
inherit
176421
0
Feb 26, 2022 11:14:35 GMT -8
The Cats
20
February 2012
thecats
|
Post by The Cats on Nov 30, 2017 13:31:08 GMT -8
The Cats , Due to your header structure being different, it can't move the navigation as it's outside. A tweak to the selector should fix that... <script>
$(function(){
var ad = $("#ad1"); var elements = $("#wrapper header, #wrapper a.recent-threads-button, #wrapper #navigation-tree, #wrapper #navigation-menu");
if(ad && elements.length){ elements.insertAfter(ad); } });
</script> Thanks Peter That fixed it, it works perfectly now. Thank you so much!!!!!! The Cats
|
|
Former Member
inherit
guest@proboards.com
236123
0
Nov 21, 2024 23:21:31 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 1, 2017 3:31:16 GMT -8
@linette , Forum URL with the code added please? Hi Peter! canadianforumchat.freeforums.net<script>
$(function(){
var ad = $("#ad1");
var elements = $("#wrapper header, #wrapper a.recent-threads-button, #wrapper #navigation-tree");
if(ad && elements.length){
elements.insertAfter(ad);
}
});
</script>
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 1, 2017 3:46:32 GMT -8
@linette,
Am not seeing the script.
|
|
Former Member
inherit
guest@proboards.com
236123
0
Nov 21, 2024 23:21:31 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 1, 2017 6:46:19 GMT -8
@linette , Am not seeing the script. I took them out to see if I could fix another problem I'm having which doesn't seem to make a difference. I put them back in now so you can see if there's something amiss.
|
|
Former Member
inherit
guest@proboards.com
236123
0
Nov 21, 2024 23:21:31 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 1, 2017 7:34:39 GMT -8
@linette , Am not seeing the script. I took them out to see if I could fix another problem I'm having which doesn't seem to make a difference. I put them back in now so you can see if there's something amiss. Is it supposed to look like this Peter? Header: Footer:
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 1, 2017 8:28:52 GMT -8
@linette , Working fine for me. I guess you have an ad blocker running?
|
|
Former Member
inherit
guest@proboards.com
236123
0
Nov 21, 2024 23:21:31 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Dec 1, 2017 11:37:40 GMT -8
@linette , Working fine for me. I guess you have an ad blocker running? I do but, I turned it off and refreshed when I took this screen shot and that's how it came out.
|
|