Реклама м/у първото и второто мнение.

index

Super Moderator
Здравейте.Трябвами реклама за адсгугал както е тука в туриста,можете да го видите под това мение.
Не говора за Бот.
 
index каза:
Здравейте.Трябвами реклама за адсгугал както е тука в туриста,можете да го видите под това мение.
Не говора за Бот.
Ето мод-а аз смо съм го изтеглил и не съм си го превеждал:
##############################################################
## MOD Title: Google Adsense as Second post
## MOD Author: ShadowKnyght < email@hotmail.com > (James) http://forum.cyber-mag.com
## MOD Author Original: Dale Rodgers < dalerodgers38@hotmail.com > (Dale Rodgers) http://www.tntboards.com
## MOD Description: Automatically displays an advert in a topic as a post.
## MOD Version : 1.4.0
##
## Installation Level: Easy
## Installation Time: 1 Minute
## Files To Edit: - viewtopic.php
##
## Included Files: - images/google_logo.png
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
## Generator: MOD Studio [ ModTemplateTools 1.0.2288.38406 ]
##
##############################################################
## For security purposes, please check: http://www.phpbb.com/mods/
## for the latest version of this MOD. Although MODs are checked
## before being allowed in the MODs Database there is no guarantee
## that there are no security problems within the MOD. No support
## will be given for MODs not found within the MODs Database which
## can be found at http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## This MOD was made to have adverts on your forum without ruining the design.
##
## - Abilty to change the advert
## - Currently clashes with attachment mod in that if your first post has an attachment it will
## End up attached to the add block instead of your first post - no harm though probably increase
## The chance of the add being clicked.
##############################################################
## Other Notes:
## You need to replace Ad Code Here with your ad code.
##############################################################
## MOD History:
##
##
## 2007-06-07 - Version 1.4.0
## - Google'ized the mod. Added Google Avatar and naming.
##
## 2005-02-06 - Version 1.3.7
## - First release of the MOD
##
##
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################


#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php

#
#-----[ FIND ]------------------------------------------
#
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];

#
#-----[ REPLACE WITH ]------------------------------------------
#
$row_color = ( !($num % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($num % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$num ++;

#
#-----[ FIND ]------------------------------------------
#
'U_POST_ID' => $postrow[$i]['post_id'])
);

#
#-----[ AFTER, ADD ]------------------------------------------
#
if($i == $ad_after)
{
$row_color = ( !($num % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($num % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$num ++;

$mini_post_url = append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $postrow[$i]['post_id']) . '#ad';
$template->assign_block_vars('postrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POST_DATE' => $post_date,
'POST_SUBJECT' => 'Please Click to support this site',
'MINI_POST_IMG' => $mini_post_img,
'POSTER_NAME' => 'Google',
'POSTER_RANK' => 'AdSense',
'POSTER_AVATAR' => '<A HREF="http://www.cyber-mag.com/googleisearch.htm" target="blank"><IMG SRC="images/google_logo.png" Border=0></A>',
'MESSAGE' => '<div align="center"><SPAN class="gensmall">
<script type="text/javascript"></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><BR><BR></SPAN></div>',
'L_MINI_POST_ALT' => $mini_post_alt,
'U_MINI_POST' => $mini_post_url,
'U_POST_ID' => 'ad')
);
}

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

Ей ся ще ти дам и картинката която се ползва.
Едит:// ето я и картинката:
http://web-tourist.net/project/iwanov/google_logo.png

Едит2://може би говориш затова:
http://web-tourist.net/login/login/view.php?st=1651
 
Да почти същият мод ми трябва но и мястото за поста както и мястото за юсер инфото да е забълнено с информация.Защото ми иска след пътрвото мнение (не темата) да излиза Бота и показва банерчета-та на приятелтие и спонсорите.
 

Back
Горе