• 17-11-2008, 16:06:50
    #19
    Üyeliği durduruldu
    alakası yok direk pub noyu ekleyene kalır
  • 17-11-2008, 16:48:56
    #20
    Adsense Revenue Sharing for 3.5.x and 3.6.x - vBulletin.org Forum

    burda yazıyor ama zıkım çıkmasın tam çeviremiyorum. Eklentiyi ekledim lakin mesaj altında çıkaramadım daha. Biraz daha kurcalayayım çıkar nasıl olsa
  • 17-11-2008, 17:44:10
    #21
    1. Download zip file and extract ( 3 files : adsense_admin.php, adsense_revenue_sharing.xml, cpnav_adsensesharing.xml )


    2. Add Adsense Client ID and Channel ID to your user profile fields
    1. Add the following following new user profile field in AdminCP:
    Type: Single-Line Text Box
    Title: Google AdSense Client ID
    Description: If you have an AdSense account, you can enter your client ID here. You then have a 50% chance that the AdSense ads displayed are credited to your account on threads you participate in. It should be in the form of <b>pub-xxxxxxxxxxxxxxxx</b>
    Max length of allowed user input: 20
    Display Size: 25
    Field Required: No
    Field Editable by User: Yes
    Private Field: No
    Field Searchable on Members List: No
    Show on Members List: No

    2. Add the following following new user profile field in AdminCP:
    Type: Single-Line Text Box
    Title: Google AdSense Channel ID
    Description: If you choose to enter your AdSense client ID, you can specify a channel ID as well.<br /><br />It would be a good idea to have a unique channel ID for this forum (then you can track stats specifically for the forum).<br />
    Max length of allowed user input: 10
    Display Size: 25
    Field Required: No
    Field Editable by User: Yes
    Private Field: No
    Field Searchable on Members List: No
    Show on Members List: No


    3. Go back to userfield manager and get the field# of the two new fields you created. (ex : field5, field6)


    4. Open adsense_revenue_sharing.xml and change the field5 to whatever your adsense field# is and field6 to whatever your channel field# is


    5. Add Adsense snippet in your style
    - Go to Admincp->Styles & Templates->Style Manager->Edit Templates->Post Bit (if you are using legacy style, choose to edit "Post Bit Legacy"

    Add the following to the bottom of your postbit.
     <if condition="$post[postcount] == 1">
    <if condition="THIS_SCRIPT == 'showthread' AND ($post[postid] == $GLOBALS['qrfirstpostid'])">
    <if condition="$show['spacer']">$spacer_open<div style="padding:0px 0px $stylevar[cellpadding]px 0px"></if>
    
    <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" bordercolor=white width="100%" align="center">
    <tr><td class="alt1" style="padding:0px">
    <div class="smallfont" align="center">
                     Adsense kodu
    </div></td></tr></table>
    
    <if condition="$show['spacer']"></div>$spacer_close</if>
    </if>
    </if> 
    6. Import adsense_revenue_sharing.xml plugin


    7. Upload cpnav_adsensesharing.xml to forums/includes/xml/


    8. Upload adsense_admin.php to forums/admincp/


    9. Configure
    - Go to admincp, now you will see "Adsense Share Settings" where you can configure how much revenue you want to share!


    Türkçesini çevirebilecek
  • 22-11-2008, 02:28:44
    #22
    Mack adlı üyeden alıntı: mesajı görüntüle
    alakası yok direk pub noyu ekleyene kalır
    * Revenue is split between board administrator and thread starters.

    Burda yazan admin ile konuyu açanlar arasında bölünür diyor. Hatta altında bir maddede de kimin %kaç kazanacağını admin belirleyebilir diyor yanlış anlamadıysam.
  • 03-12-2008, 03:52:42
    #23
    user field ile yapılabilir