PBTech

Help on including code - PBTech

Help on including code

by LL8 » Thu Feb 18, 2016 9:03 pm

I am having problems trying to include this code in the front page, wondering if any would be able to help. Still a bit new to this...

I wanted to include an iframe in this area of the main page:
http://www.lagunal8.net/madnessbns/phpB ... te/mad.jpg
Image
( http://www.lagunal8.net/madnessbns/phpBB3/ )

Code: Select all

<iframe src="http://www.lagunal8.net/madnessbns/phpBB3/styles/pbtech/template/madnessts.html" width="200" height="400">
</iframe>


But i could not seem to find the right file to include this in, nor if it needs a bit of special codes included since it looks a bit different from the usual htmls
LL8
Registered User
Posts: 3
Joined: Thu Feb 18, 2016 8:55 pm
Contact:

Re: Help on including code

by skimugz21 » Fri Feb 26, 2016 12:38 pm

Sir can you teach me how did you add icon in every forum? thanks
skimugz21
Registered User
Posts: 6
Joined: Wed Feb 24, 2016 5:30 pm
Contact:

Re: Help on including code

by rrbailey89 » Wed Mar 09, 2016 3:28 pm

LL8 wrote:I am having problems trying to include this code in the front page, wondering if any would be able to help. Still a bit new to this...

I wanted to include an iframe in this area of the main page:
http://www.lagunal8.net/madnessbns/phpB ... te/mad.jpg
Image
( http://www.lagunal8.net/madnessbns/phpBB3/ )

Code: Select all

<iframe src="http://www.lagunal8.net/madnessbns/phpBB3/styles/pbtech/template/madnessts.html" width="200" height="400">
</iframe>


But i could not seem to find the right file to include this in, nor if it needs a bit of special codes included since it looks a bit different from the usual htmls


Did you figure it out?
rrbailey89
Registered User
Posts: 248
Joined: Fri Oct 24, 2014 3:00 pm
Contact:

Re: Help on including code

by Sajaki » Sat Mar 26, 2016 3:32 pm

hi,

open /styles/pbtech/template/index.body.html

Find

Code: Select all

<!-- IF RECENT_TOPICS_DISPLAY -->
   <!-- IF ADS_INDEX_CODE and not S_IS_BOT -->
   <div class="misc-block advertisement">{ADS_INDEX_CODE}</div>
   <!-- ENDIF -->
</div><!-- /.index-right -->


replace with

Code: Select all

<!-- IF RECENT_TOPICS_DISPLAY -->
   <!-- IF ADS_INDEX_CODE and not S_IS_BOT -->
   <div class="misc-block advertisement">{ADS_INDEX_CODE}</div>
   <!-- ENDIF -->
<iframe src="http://www.lagunal8.net/madnessbns/phpBB3/styles/pbtech/template/madnessts.html" width="200" height="400">
</iframe>
</div><!-- /.index-right -->
User avatar
Sajaki
Registered User
Posts: 1354
Joined: Mon Mar 02, 2009 1:41 pm
Name: Andreas
Contact: