Author |
Message |
kguske
Site Admin
Joined: Jun 04, 2004
Posts: 6433
|
Posted:
Fri Jul 21, 2006 5:07 pm |
|
|
|
|
Misha
Worker
Joined: Jul 30, 2006
Posts: 205
Location: McLean, VA
|
Posted:
Wed Aug 23, 2006 8:21 pm |
|
|
|
|
Guardian2003
Site Admin
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Thu Aug 24, 2006 3:13 am |
|
|
|
|
Misha
|
Posted:
Thu Aug 24, 2006 6:42 am |
|
Did you mean that non-working links is Joomla feature? |
|
|
|
|
Guardian2003
|
Posted:
Thu Aug 24, 2006 1:48 pm |
|
No I meant the link possibly is not live yet as he is working all hours to get all the content back in. |
|
|
|
|
kguske
|
Posted:
Thu Aug 24, 2006 2:26 pm |
|
Did you report the downloads link? If not, please tell us which one wasn't working so we can correct it...thanks! |
|
|
|
|
Misha
|
Posted:
Thu Aug 24, 2006 2:47 pm |
|
Guardian,
sure I do understand, I'm just pointing out the broken link for Hitwalker, no pressure intended
Kevin,
I meant this Hitwalker's post up the topic:
Quote: |
or this one,that ads google adsense to the bottom of forum reply....lol
[ Only registered users can see links on this board! Get registered or login! ]
|
Anyway, I just managed to solve the puzzle on putting AdSense after first topic myself, and I'm pretty happy with results |
|
|
|
|
kguske
|
Posted:
Thu Aug 24, 2006 2:56 pm |
|
Great! That's the best solution! Care to post it for others? |
|
|
|
|
Misha
|
Posted:
Thu Aug 24, 2006 5:50 pm |
|
Kevin,
I does not let me to post code. Does not matter if I break all "script" with spaces |
|
|
|
|
Misha
|
Posted:
Thu Aug 24, 2006 6:09 pm |
|
OK, I figured out a way to post it. You will have to delete all dashes from <s-c-r-i-p-t> and j-a-v-a-s-c-r-i-p-t. Weird! Or is it?
Well,
This could be some amature work, since I knew nothing about PHP, java, or PHP-Nuke just a month ago; but if you, guys, promise not to beat me too hard, here it goes:
All is done for default RavenNuke fisubice theme, you will need to change AdSense colors to match yours, if different.
Edit themes\{YOUR THEME}\forums\viewtopic_body.tpl
find:
<td class="spacerow" colspan="2" height="1"><img src="themes/fisubice/forums/images/spacer.gif" alt="" width="1" height="1" /></td>
replace with:
<td class="spacerow" colspan="2" height="1" align="middle"><img src="themes/fisubice/forums/images/spacer.gif" alt="" width="1" height="1" />{postrow.INTOPIC_ADSENSE}</td>
Edit modules\Forums\viewtopic.php
find:
$poster_avatar = '';
add BEFORE:
Code:
//
// Start InTopic AdSence Misha funandsafedriving.com 2006
//
$intopic_adsense = '';
If ( $i == 0 && $total_posts > 1 ) {
$intopic_adsense = "<s-c-r-i-p-t type=\"text/j-a-v-a-s-c-r-i-p-t\"><!--
google_ad_client = \"pub-4256287149559407\";
google_alternate_color = \"cad9ea\";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = \"728x90_as\";
google_ad_type = \"text\";
google_ad_channel =\"2997401662\";
google_color_border = \"cad9ea\";
google_color_bg = \"cad9ea\";
google_color_link = \"000000\";
google_color_text = \"000000\";
google_color_url = \"32475F\";
//--></s-c-r-i-p-t>
<s-c-r-i-p-t type=\"text/j-a-v-a-s-c-r-i-p-t\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</s-c-r-i-p-t>";
}
//
// End InTopic AdSense
//
|
find:
'MINI_POST_IMG' => $mini_post_img,
add BEFORE:
Code:
// Start InTopic AdSence Misha funandsafedriving.com 2006
'INTOPIC_ADSENSE' => $intopic_adsense,
// End AdSence
|
Change Google codes to yours, or your money will go to my account
that's it.
Oh, ya, upload files
You can see how it looks on my site. |
|
|
|
|
kguske
|
Posted:
Thu Aug 24, 2006 9:17 pm |
|
We certainly won't beat anyone up for contributing code - thanks! Thanks, too, for the full disclosure on changing the Google code... |
|
|
|
|
Guardian2003
|
Posted:
Fri Aug 25, 2006 6:11 am |
|
Good job - thanks for sharing it with the comunity. |
|
|
|
|
|