Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 2
Goto page 1, 2  Next
 
Reply with quote Download Post 
Post Advertising Mod 
 
What mod does icyphoenix.com uses to show their ads after the first post?

i found this one: h**p://***.phpbb.com/community/view...lit=advertising but i want that it looks like it's send by a member i added a example:


If wrong forum please move to correct one

Thanks in Advance
 



 
dutchwiiSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: Advertising Mod 
 
Hi,
in Icy Phoenix Sponsor details are "hardcoded" in template, it shouldn't be difficult to make the same in phpBB 3... just create a new condition in the template to insert a new row after first post and duplicate poster details inserting what you like.

The file to customize is viewtopic_body.html, if you need further help, just ask... I will try in my free time.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
could you copy/paste here the code? and where after to add.
Thanks in advance  and funny smileys you got here  
 



 
dutchwiiSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
The mod by Highway of Life is a very simple one but is written for Prosilver and SubSilver2 naturally.

The code for Subsilver2 is as follows and needs the classes updated to match that of MG Autumn:
This code is from the page titled ad_banner.html and the download site is http://www.phpbb.com/community/view...3&hilit=Adsense

Code: [Download] [Hide]
  1. <!-- IF not S_HIDE_ADS -->  
  2.     <table class="tablebg" width="100%" cellspacing="1">  
  3.         <tr class="row2">  
  4.  
  5.             <td align="center" valign="middle">  
  6.                 <b class="postauthor" style="color:#1845ad;">G<span style="color:#ad1400;">o</span><span style="color:#c69e00;">o</span>g<span style="color:#31b639;">l</span><span style="color:#ad1400;">e</span></b>  
  7.             </td>  
  8.             <td width="100%" height="25">  
  9.                 <table width="100%" cellspacing="0">  
  10.                 <tr>  
  11.                     <td class="gensmall" width="100%">&nbsp;</td>  
  12.                 </tr>  
  13.                 </table>  
  14.             </td>  
  15.         </tr>  
  16.           
  17.         <tr class="row1">  
  18.  
  19.             <td valign="top" class="profile">  
  20.                 <table cellspacing="4" align="center" width="150">  
  21.                 <tr>  
  22.                     <td align="center"><img src="{T_THEME_PATH}/images/google.jpg" alt="google adsense" /></td>  
  23.                 </tr>  
  24.                 </table>  
  25.  
  26.             </td>  
  27.             <td valign="top">  
  28.                 <table width="100%" cellspacing="5">  
  29.                 <tr>  
  30.                     <td>  
  31.                       
  32.                         <div class="postbody"><script type="text/javascript"><!--  
  33.                         google_ad_client = "pub-9190636154929816";            // enter your google ad publication ID here  
  34.                         google_alternate_ad_url = "";    // enter your alternate ad URL (if any)  
  35.                         google_ad_width = 728;  
  36.                         google_ad_height = 90;  
  37.                         google_ad_format = "728x90_as";  
  38.                         google_ad_type = "text_image";  
  39.                         google_ad_channel = "2898531414";            // enter your ad channel (if any) here  
  40.                         google_color_border = "A9B8C2";  
  41.                         google_color_bg = "ECECEC";  
  42.                         google_color_link = "105289";  
  43.                         google_color_text = "333333";  
  44.                         google_color_url = "DC2A4D";  
  45.                         //-->  
  46.                     </script>  
  47.                     <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">  
  48.                     </script></div>  
  49.  
  50.                         <table width="100%" cellspacing="0">  
  51.                         <tr valign="middle">  
  52.                             <td class="gensmall" align="{S_CONTENT_FLOW_END}">  
  53.                                 <a href="#">{INFO_IMG}</a>  
  54.                             </td>  
  55.                         </tr>  
  56.                         </table>  
  57.                     </td>  
  58.                 </tr>  
  59.                 </table>  
  60.             </td>  
  61.         </tr>  
  62.       
  63.     <tr>  
  64.         <td class="blue" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td>  
  65.     </tr>  
  66.     </table>  
  67. <!-- ENDIF --> 


It would be appreciated if the classes could be edited to reflect MG Autumn style thanks.
 




____________
rodneyangell.com (aka ~HG~)
 
MethusalaSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
Well i am not gona use adsense from google, but probably a other ad service
 



 
dutchwiiSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
You can use this mod with any ad service simply by replacing the google info in it
 




____________
rodneyangell.com (aka ~HG~)
 
MethusalaSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
but home to make it look like if its posted by a member
how add "username" usergroup etc
 



 
dutchwiiSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
I have now got this advertisement code worked out to be used in MG Autumn style for phpBB3.

You need to edit the Google details to your own of course and as well as that you can change the details to run banner ads if you want to as it is not necessarily made just for Google ads.

Open viewtopic_body.html

Find:
Code: [Download] [Hide] [Select]
<!-- END postrow -->


Before add:
Code: [Download] [Hide] [Select]
<!-- IF postrow.S_FIRST_ROW == 2 -->
    <tr class="row2">
            <td align="center" valign="top">  
               <b class="postauthor" style="color:#1845ad;">G<span style="color:#ad1400;">o</span><span style="color:#c69e00;">o</span>g<span style="color:#31b639;">l</span><span style="color:#ad1400;">e</span></b><br /><br />
    <img src="{T_THEME_PATH}/images/google.jpg" alt="google adsense" />              
             </td>      
<td width="100%" height="25">  
               <table width="100%" cellspacing="0">  
               <tr>  
                   <td class="gensmall" width="100%">&nbsp;</td>  
               </tr>    
           </td>           
       </tr>  
        
       <tr>  
           <td valign="top">  
               <table width="100%" cellspacing="5">  
               <tr>  
                   <td>  
                    
                       <div class="postbody">
                       <script type="text/javascript">
            <!--
                google_ad_client = "pub-9190636154929816";
                google_ad_width = 728;
                google_ad_height = 90;
                google_ad_format = "728x90_as";
                google_ad_type = "text";
                //Googleads, 728x90
                google_ad_channel = "0814071977";
                google_color_border = "8FBC8F";
                google_color_bg = "E8E8E8";
                google_color_link = "E7E7E7";
                google_color_text = "000000";
                google_color_url = "0080000";
            //-->
            </script>
            <script type="text/javascript"
               src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
        </div>
 
                       <table width="100%" cellspacing="0">  
                       <tr valign="middle">  
                           <td class="gensmall" align="{S_CONTENT_FLOW_END}">  
                               <a href="#">{INFO_IMG}</a>  
                           </td>  
                       </tr>  
                       </table>  
                   </td>  
               </tr>  
               </table>  
           </td>  
       </tr>
</table>
    <tr><td class="spacer" colspan="2"><img src="{T_THEME_PATH}/images/spacer.gif" width="1" height="4" alt="" /></td></tr>
<!-- ENDIF -->


Save this image and upload it to Styles > Template > Theme > Images

 google
 




____________
rodneyangell.com (aka ~HG~)
 
MethusalaSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
Thanks for sharing Methusala, I really appreciate.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
Would that code work with Black Pearl?
 



 
tbird412Send private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
tbird412 wrote: [View Post]
Would that code work with Black Pearl?


There is no reason why not if the code is not exact look for similar code... without look at Black Pearl I cannot tell you exactly.. but as most themes are quite similar mostly... there should be no problem

   
 




____________
Mods and themes for Icy Phoenix 1.3

IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
 
DWhoSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
Methusala wrote: [View Post]
I have now got this advertisement code worked out to be used in MG Autumn style for phpBB3.

You need to edit the Google details to your own of course and as well as that you can change the details to run banner ads if you want to as it is not necessarily made just for Google ads.

Open viewtopic_body.html

Find:
Code: [Download] [Hide] [Select]
<!-- END postrow -->


Before add:
Code: [Download] [Hide] [Select]
<!-- IF postrow.S_FIRST_ROW == 2 -->
    <tr class="row2">
            <td align="center" valign="top">  
               <b class="postauthor" style="color:#1845ad;">G<span style="color:#ad1400;">o</span><span style="color:#c69e00;">o</span>g<span style="color:#31b639;">l</span><span style="color:#ad1400;">e</span></b><br /><br />
    <img src="{T_THEME_PATH}/images/google.jpg" alt="google adsense" />              
             </td>      
<td width="100%" height="25">  
               <table width="100%" cellspacing="0">  
               <tr>  
                   <td class="gensmall" width="100%">&nbsp;</td>  
               </tr>    
           </td>           
       </tr>  
        
       <tr>  
           <td valign="top">  
               <table width="100%" cellspacing="5">  
               <tr>  
                   <td>  
                    
                       <div class="postbody">
                       <script type="text/javascript">
            <!--
                google_ad_client = "pub-9190636154929816";
                google_ad_width = 728;
                google_ad_height = 90;
                google_ad_format = "728x90_as";
                google_ad_type = "text";
                //Googleads, 728x90
                google_ad_channel = "0814071977";
                google_color_border = "8FBC8F";
                google_color_bg = "E8E8E8";
                google_color_link = "E7E7E7";
                google_color_text = "000000";
                google_color_url = "0080000";
            //-->
            </script>
            <script type="text/javascript"
               src="h**p://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
        </div>
 
                       <table width="100%" cellspacing="0">  
                       <tr valign="middle">  
                           <td class="gensmall" align="{S_CONTENT_FLOW_END}">  
                               <a href="#">{INFO_IMG}</a>  
                           </td>  
                       </tr>  
                       </table>  
                   </td>  
               </tr>  
               </table>  
           </td>  
       </tr>
</table>
    <tr><td class="spacer" colspan="2"><img src="{T_THEME_PATH}/images/spacer.gif" width="1" height="4" alt="" /></td></tr>
<!-- ENDIF -->


Save this image and upload it to Styles > Template > Theme > Images

 


Thank you Methusala,
but with this code i have adsense like in the picture,
 please check picture. Maybe change some lines to get ads on right, after "Google" picture, not below?
I'm begginer, so...

sshot-2.jpg
Description:  
Filesize: 108.51 KB
Viewed: 595 Time(s)

sshot-2.jpg


 



 
FrancSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
The modification proposed by Methusala is for my set of templates... for what I can see in the picture you posted you are not using any of my templates.

Maybe you should ask the style author or trying to use the code for proSilver to check if it works (and it will if the style you are using is based on proSilver tpl files).
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
I recently have installed Phpbb 3.0.5 with seo mod. Can i use this advertising mod with phpbb 3.0.5?


Methusala wrote: [View Post]
I have now got this advertisement code worked out to be used in MG Autumn style for phpBB3.

You need to edit the Google details to your own of course and as well as that you can change the details to run banner ads if you want to as it is not necessarily made just for Google ads.

Open viewtopic_body.html

Find:
Code: [Download] [Hide] [Select]
<!-- END postrow -->


Before add:
Code: [Download] [Hide] [Select]
<!-- IF postrow.S_FIRST_ROW == 2 -->
    <tr class="row2">
            <td align="center" valign="top">  
               <b class="postauthor" style="color:#1845ad;">G<span style="color:#ad1400;">o</span><span style="color:#c69e00;">o</span>g<span style="color:#31b639;">l</span><span style="color:#ad1400;">e</span></b><br /><br />
    <img src="{T_THEME_PATH}/images/google.jpg" alt="google adsense" />              
             </td>      
<td width="100%" height="25">  
               <table width="100%" cellspacing="0">  
               <tr>  
                   <td class="gensmall" width="100%">&nbsp;</td>  
               </tr>    
           </td>           
       </tr>  
        
       <tr>  
           <td valign="top">  
               <table width="100%" cellspacing="5">  
               <tr>  
                   <td>  
                    
                       <div class="postbody">
                       <script type="text/javascript">
            <!--
                google_ad_client = "pub-9190636154929816";
                google_ad_width = 728;
                google_ad_height = 90;
                google_ad_format = "728x90_as";
                google_ad_type = "text";
                //Googleads, 728x90
                google_ad_channel = "0814071977";
                google_color_border = "8FBC8F";
                google_color_bg = "E8E8E8";
                google_color_link = "E7E7E7";
                google_color_text = "000000";
                google_color_url = "0080000";
            //-->
            </script>
            <script type="text/javascript"
               src="h**p://pagead2.googlesyndication.com/pagead/show_ads.js">
            </script>
        </div>
 
                       <table width="100%" cellspacing="0">  
                       <tr valign="middle">  
                           <td class="gensmall" align="{S_CONTENT_FLOW_END}">  
                               <a href="#">{INFO_IMG}</a>  
                           </td>  
                       </tr>  
                       </table>  
                   </td>  
               </tr>  
               </table>  
           </td>  
       </tr>
</table>
    <tr><td class="spacer" colspan="2"><img src="{T_THEME_PATH}/images/spacer.gif" width="1" height="4" alt="" /></td></tr>
<!-- ENDIF -->


Save this image and upload it to Styles > Template > Theme > Images

 

 



 
aminwasuSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: Advertising Mod 
 
This modification is based on my templates set... if you are using any of my templates you should be able to get it work correctly.
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 2
Goto page 1, 2  Next


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML

HideSimilar Topics

Topic Author Forum Replies Last Post
No new posts Advertising For Guests JHOSMAN Old Support Topics 4 Fri 21 Mar, 2008 18:32 View latest post
ThE KuKa




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron