PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Fri Jul 21, 2006 5:07 pm Reply with quote Back to top

Not sure why it disappeared, but I put it on my site until it returns to the author's site.

You can get it
Only registered users can see links on this board!
Get registered or login to the forums!
.
View user's profile Send private message
Misha
Worker
Worker


Joined: Jul 30, 2006
Posts: 203
Location: McLean, VA

PostPosted: Wed Aug 23, 2006 8:21 pm Reply with quote Back to top

hitwalker, after you re-faced your site, link to adsense inside forum does not work anymore Sad Could you put it back, please?
Thanks a million, Misha
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Thu Aug 24, 2006 3:13 am Reply with quote Back to top

Hit is now using Joomla.
View user's profile Send private message Send e-mail Visit poster's website
Misha
Worker
Worker


Joined: Jul 30, 2006
Posts: 203
Location: McLean, VA

PostPosted: Thu Aug 24, 2006 6:42 am Reply with quote Back to top

Did you mean that non-working links is Joomla feature? Laughing
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Thu Aug 24, 2006 1:48 pm Reply with quote Back to top

No I meant the link possibly is not live yet as he is working all hours to get all the content back in.
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Thu Aug 24, 2006 2:26 pm Reply with quote Back to top

Did you report the downloads link? If not, please tell us which one wasn't working so we can correct it...thanks!
View user's profile Send private message
Misha
Worker
Worker


Joined: Jul 30, 2006
Posts: 203
Location: McLean, VA

PostPosted: Thu Aug 24, 2006 2:47 pm Reply with quote Back to top

Guardian,
sure I do understand, I'm just pointing out the broken link for Hitwalker, no pressure intended Smile
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 to the forums!


Anyway, I just managed to solve the puzzle on putting AdSense after first topic myself, and I'm pretty happy with results Cheers
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Thu Aug 24, 2006 2:56 pm Reply with quote Back to top

Great! That's the best solution! Care to post it for others?
View user's profile Send private message
Misha
Worker
Worker


Joined: Jul 30, 2006
Posts: 203
Location: McLean, VA

PostPosted: Thu Aug 24, 2006 5:50 pm Reply with quote Back to top

Kevin,
I does not let me to post code. Does not matter if I break all "script" with spaces Sad
View user's profile Send private message Visit poster's website
Misha
Worker
Worker


Joined: Jul 30, 2006
Posts: 203
Location: McLean, VA

PostPosted: Thu Aug 24, 2006 6:09 pm Reply with quote Back to top

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 Smile


that's it.
Oh, ya, upload files Smile

You can see how it looks on my
Only registered users can see links on this board!
Get registered or login to the forums!
.
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Thu Aug 24, 2006 9:17 pm Reply with quote Back to top

We certainly won't beat anyone up for contributing code - thanks! Thanks, too, for the full disclosure on changing the Google code...
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Fri Aug 25, 2006 6:11 am Reply with quote Back to top

Good job - thanks for sharing it with the comunity.
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum