Skocz do zawartości

Rekomendowane odpowiedzi

Opublikowano

Witam.

Mam problem z tym modem.

Wszystko napisane tutaj:

http://www.invisiontweaks.com/board/index.php?s=&showtopic=12&view=findpost&p=4177

Co mam zrobić, aby rozwiązać ten problem ?

Pozdrawiam,

Gexem

  • 2 tygodnie później...
Opublikowano

Chodziło mi o to, że 2 modyfikacje się gryzły (GOSFP i Adsense BOT)

Ale naprawiłem to.

Oto oryginalne posty.

Sorry for my english :)

What's new in Guests Only See First Post 2.0.0 ?

How to upgrade from 1.0.0 ?

I need more option for select forum for use function guest only see.

Me too.

I have You mod 1.0.0 i don`t know how to update to 2.0.0

And i have a problem..

In 1.0.0 version.

I have installed mod Adsense Bot System by Master_Odin v1.1.4

And you mod has blocked this mod.

Guest don`t see advert bot.

How to make avible the google bot advert (the first post + google bot post) ?

Plz help me.

3qqdorqzejn1o0l9bftk.jpg

Sorry for my english.

Thx for read this.

Gexem

Calypso odpisał:

I will have to download this mod and install it to work it out.

A ja mu na to, jak to zrobić (przerobić mody by się nie gryzły).

-Calypso-, i made this ;)

Edit mod Adsense Bot System by Master_Odin v1.1.4

open /sources/lib/func_topic_linear.php

find

$ad['post_date'] = $row['post_date'];
$this->output .= $this->ipsclass->compiled_templates['skin_topic']->RenderRow( $ad, $bot_poster );

change to

//$ad['post_date'] = $row['post_date'];
$this->output .= $this->ipsclass->compiled_templates['skin_topic']->render_google_ads( $ad, $bot_poster );

now Login Admin CP and go to LOOK & FEEL -> Edit Template HTML -> Topic View -> Add Template Bit:

New Template Bit Name: render_google_ads

New Template Bit Incoming Data Variables: $ad, $bot_poster

New Template Bit Group: skin_topic

Press Continue and paste the code below in the textarea:

<table class="ipbtable" cellspacing="1">
<tbody>
	<tr>
		<td class="row2" valign="middle" width="1%">
				<span class="{$ad['name_css']}">{$bot_poster['_members_display_name']}</span>
		</td>

		<td class="row2" valign="middle" width="99%"> </td>
	</tr>

	<tr>
		<td class="{$ad['post_css']}" valign="top">
			<span class="postdetails">
				{$bot_poster['avatar']}<br />
				{$bot_poster['title']}
			</span>

			<img src="{$this->ipsclass->vars['img_url']}/spacer.gif" alt="" height="1" width="160">
		</td>

		<td class="{$ad['post_css']}" valign="middle" width="100%">
		<!-- THE GOOGLE ADS-->
			<div class="postcolor" align="center">{$ad['post']}</div>
		<!-- THE GOOGLE ADS -->
		</td>
	</tr>

	<tr>
		<td class="formbuttonrow" nowrap="nowrap">
			<div style="text-align: left;"><a href="java script:scroll(0,0);"><img src="{$this->ipsclass->vars['img_url']}/p_up.gif" alt="Go to the top of the page" border="0"></a></div>
		</td>

		<td class="formbuttonrow" nowrap="nowrap">
			<!-- PM / EMAIL / WWW / MSGR -->
			<div style="float: left;"> </div>
			<!-- REPORT / UP -->
			<div align="right"> </div>
		</td>
	</tr>

	<tr>
		<td class="catend" colspan="2"><!-- no content --></td>
	</tr>
</tbody>
</table>

Working on GOSFP 1.0.0

Yours,

Gexem

To tyle.

Problem rozwiązany. Można zamknąć.

P.S. Aby mieć dostęp do tego forum trzeba mieć lickę IP.Board ;)

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...

Powiadomienie o plikach cookie

Umieściliśmy na Twoim urządzeniu pliki cookie, aby pomóc Ci usprawnić przeglądanie strony. Możesz dostosować ustawienia plików cookie, w przeciwnym wypadku zakładamy, że wyrażasz na to zgodę.