Някой може ли да ми преведе този урок
Also, I have incorporated the Google posters so that he initiated after each post as 2nd die Werbung bringt. Advertising. Läuft prima und ich war auch der Meinung dass alle Variablen entsprechend hochgezählt werden. Runs great and I was also of the opinion that all variables is incremented accordingly. Weit gefehlt. Far from it.
Sobald jemand auf einen neuen Beitrag anwortet (also als zweites nach dem Google Post), erscheint sein posting nicht. Once someone to a new post anwortet (also as a second after the Google mail), you will be posting. Nur wenn man nochmal darauf antwortet (also Post Nummer 3) dann erscheint es nach dem Google Post. Only if we again responds (ie post number 3) then it is for the Google post.
Was hab ich vergessen hochzuzählen? What did I forget hochzuzählen?
Betroffene Datei: viewtopic.php Affected file: viewtopic.php
Nach: After:
I have a line:
And further down under
I added:
Also, I have incorporated the Google posters so that he initiated after each post as 2nd die Werbung bringt. Advertising. Läuft prima und ich war auch der Meinung dass alle Variablen entsprechend hochgezählt werden. Runs great and I was also of the opinion that all variables is incremented accordingly. Weit gefehlt. Far from it.
Sobald jemand auf einen neuen Beitrag anwortet (also als zweites nach dem Google Post), erscheint sein posting nicht. Once someone to a new post anwortet (also as a second after the Google mail), you will be posting. Nur wenn man nochmal darauf antwortet (also Post Nummer 3) dann erscheint es nach dem Google Post. Only if we again responds (ie post number 3) then it is for the Google post.
Was hab ich vergessen hochzuzählen? What did I forget hochzuzählen?
Betroffene Datei: viewtopic.php Affected file: viewtopic.php
Nach: After:
Код:
$ This_date = create_date ( 'md', time (), $ board_config [ 'board_timezone']);
// End add - Birthday MOD / / End add - MOD Birthday
I have a line:
Код:
/ / Google start
$num_post = 0; $ Num_post = 0;
// google end / / Google End
And further down under
Код:
Display_post_attachments ($ postrow [$ i] [ 'post_id'], $ postrow [$ i] [ 'post_attachment']);
I added:
Код:
/ / Google start
if($i==0) If ($ i == 0)
if (($userdata['session_logged_in'])) If (($ userdata [ 'session_logged_in']))
{ (
{ (
$row_color = ( !($num_post % 2) ) ? $ Row_color = (! ($ Num_post% 2))? $theme['td_color1'] : $theme['td_color2']; $ Theme [ 'td_color1']: $ theme [ 'td_color2'];
$row_class = ( !($num_post % 2) ) ? $ Row_class = (! ($ Num_post% 2))? $theme['td_class1'] : $theme['td_class2']; $ Theme [ 'td_class1']: $ theme [ 'td_class2'];
$num_post ++; $ Num_post + +;
$i++; $ I + +;
$message = '<script type="text/javascript">
</script> </ Script>
<script type="text/javascript" <Script type = "text / javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> Src = "http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>'; </ Script> ';
$template->assign_block_vars('postrow', array( $ Template-> assign_block_vars ( 'postrow' array (
'ROW_COLOR' => '#' . 'ROW_COLOR' => '#'. $row_color, $ Row_color,
'ROW_CLASS' => $row_class, 'ROW_CLASS' => $ row_class,
'POSTER_NAME' => 'Google Ad', 'POSTER_NAME' => 'Google Ad'
'POST_DATE' => date("d M Y"), //' datef , 'POST_DATE' => date ( "d M Y"), / / 'datef,
'POST_SUBJECT' => 'Sponsored Link', 'POST_SUBJECT' => 'Sponsored Link'
'MESSAGE' => $message, 'MESSAGE' => $ message,
'MINI_POST_IMG' => $mini_post_img, 'MINI_POST_IMG' => $ mini_post_img,
'U_POST_ID' => '0' 'U_POST_ID' =>'0 '
));
} )
}// ende google ) / / End of Google