Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 7, 2016 21:37:52 GMT -8
Forum URL: theavatarrp.proboards.comI've gone through and made sure I had no duplicate instances of the following plugins. These three plugins specifically double their content whenever I enable them. - Plugin 1: Custom Field modifier - Example: theavatarrp.proboards.com/user/5/personal- Plugin 2: Custom Posting Template - Example: theavatarrp.proboards.com/thread/new/61- Plugin 2: ProBoards Pagination Control - Example: theavatarrp.proboards.com/board/61/pending-applicationsMy theme is really customised. All plugins seem to double up just on my custom theme and not the PB default, and I'm not entirely sure what I did to cause that. EDIT: definitely the templates, but I don't know what. I'll keep trying to troubleshoot but if anyone has ideas I'd really appreciate it. EDIT: very specifically it's the forum wrapper -- I reset it to default and the problems ceased. EDIT: I figured it out: it's the fact that I moved the $[header] variable to accommodate for the fake 'container' divs I set up for the ads. Tagging Ulises perhaps for help? :S (no obligation tho man) I've moved the variable back to it's proper position, but if at all possible I would like to place it above the header. (:
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Nov 12, 2016 10:15:28 GMT -8
Kami oh nice, I'm finally tagged in one of these; I was feeling left out. You want to move the header variable above the <head> tags? Like this?
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 12, 2016 10:21:18 GMT -8
I want the ads to display above any forum content but under the banner div I've created, so instead of having it here:
$[header] <div id="content" role="main"> {if $[notice]} <div class="container"> <div class="title-bar"><h2>$[notice.title]</h2></div> <div class="content pad-all cap-bottom"> $[notice.message] </div> </div> {/if} $[content] $[shoutbox] </div>
It's here:
$[header] <div id="wrapper"> <header>
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Nov 12, 2016 10:48:29 GMT -8
Kami Not able to duplicate this on my test forum it seems. Can you move it temporarily so I can take a look please?
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 12, 2016 10:57:08 GMT -8
Hrm. So I moved everything back the way it was, but a) the issue isn't occurring again, and b), the ads keep being forced back down to their 'proper' place. theavatarrp.proboards.com (since the custom domain ad display issue hasn't been fixed for me) The div and the $[header] variable are currently below the banner and above the content in the templates, somehow keep winding up under them when I refresh the live site.
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Nov 12, 2016 11:47:58 GMT -8
Ah, well that was weird. Anyways, for the ad thing, go to your global header and remove this:
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 12, 2016 11:51:47 GMT -8
Fantastic! Many thanks.
As an aside I wonder why the plugins were doubling up originally... It was definitely fixed when I moved the header variable back to it's original place, so moving to the new place again should have duplicated the issue o_O
|
|
inherit
226544
0
Oct 5, 2018 10:29:39 GMT -8
Ulises
4,881
November 2015
umacklin
Ulises Weirdo
|
Post by Ulises on Nov 12, 2016 12:24:14 GMT -8
Kami Really no clue without seeing it in action, dunno. Today is just not my day, I guess :c
|
|
Kami
Forum Cat
Posts: 40,201
Mini-Profile Theme: Kami's Mini-Profile
#f35f71
156500
0
Offline
Jul 24, 2021 11:48:29 GMT -8
Kami
40,201
July 2010
kamiyakaoru
Kami's Mini-Profile
|
Post by Kami on Nov 12, 2016 12:25:21 GMT -8
Kami Really no clue without seeing it in action, dunno. Today is just not my day, I guess :c :'( one day i'll find a bug for you to solve my friend
|
|