Inserting Block into Prosilver Forum List

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Get Involved
Locked
youngjediknight
Registered User
Posts: 385
Joined: Wed Apr 22, 2009 2:58 pm

Inserting Block into Prosilver Forum List

Post by youngjediknight »

Would anyone know how to insert a block into the Prosilver forum list as such ...

Image

The obvious application for this is as an ad block but I’m sure there are other things that this can be used for.

I tried following the code in placing ads after / before the first / last post outlined in this Knowledge Base article but couldn’t find a way to apply it to the view forum template.

Any advice greatly appreciated.
User avatar
Josh
Former Team Member
Posts: 1882
Joined: Sun Jan 25, 2009 3:08 pm
Location: Melbourne, AUS
Name: Josh Simpson
Contact:

Re: Inserting Block into Prosilver Forum List

Post by Josh »

open forumlist_body.html
search

Code: Select all

	<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT  -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
	<!-- ENDIF -->
replace with

Code: Select all

	<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT  -->
			</ul>

			<span class="corners-bottom"><span></span></span></div>
		</div>
		<!-- IF forumrow.FORUM_ID eq # -->google code<!-- ENDIF -->
	<!-- ENDIF -->
Change # to the forum_id number of the category right under the ads.
For example, if we go off your picture there, you will change # to 81, as the mod forums ID is 81
:)
Josh Simpson- Formerly known as "HardStyle"
Styles: Submission Policy | Database | Knowledge Base | Demo
Please do not PM me for personal support.
Image
youngjediknight
Registered User
Posts: 385
Joined: Wed Apr 22, 2009 2:58 pm

Re: Inserting Block into Prosilver Forum List

Post by youngjediknight »

Thank you very much, HardStyle!
farazhamzaa
Registered User
Posts: 128
Joined: Tue Mar 24, 2009 7:37 pm

Re: Inserting Block into Prosilver Forum List

Post by farazhamzaa »

how can we do that in subsilver bassed styles?
unhappyboy
Registered User
Posts: 59
Joined: Sun Aug 19, 2007 3:00 pm

Re: Inserting Block into Prosilver Forum List

Post by unhappyboy »

Hello i tried these codes.

Code: Select all

<!-- BEGIN forumrow -->
       <!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT  -->
             </ul>

             <span class="corners-bottom"><span></span></span></div>
          </div>
          <!-- IF forumrow.FORUM_ID<=17 -->
          <div class="forabg">
			<div class="inner">
            <span class="corners-top"><span></span></span>
            <div class="reklambar"> <br>
 <!-- INCLUDE /ads/forumlar_arasi_reklam.txt -->
                 </div>
               <span class="corners-bottom"><span></span></span></div>
		</div>
        <!-- ENDIF -->
       <!-- ENDIF -->
I was working before but now it doesnt work.

Lots of ads shown after every category.
But i want only after first category (forum id 17)
Image
Locked

Return to “[3.0.x] Styles Support & Discussion”