Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - [MOD] Google Ads Between Posts
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[MOD] Google Ads Between Posts

 Post Reply Post Reply Page  <1234>
Author
Ancient_one View Drop Down
Newbie
Newbie


Joined: 31 July 2003
Location: United Kingdom
Status: Offline
Points: 27
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ancient_one Quote  Post ReplyReply Direct Link To This Post Posted: 06 December 2006 at 2:43pm

Well I first posted this on the 23rd. of November.  Surely amongst all you ASP experts there is someone who can point the way for me?

Thanks,
 
Bob 
Back to Top
bims View Drop Down
Groupie
Groupie
Avatar

Joined: 03 May 2004
Location: United Kingdom
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote bims Quote  Post ReplyReply Direct Link To This Post Posted: 07 December 2006 at 12:50am
Originally posted by webpromo webpromo wrote:

 
So without purchasing this product can I not add my banners?
That sucks, I might as well just use PHPBB.


Guess you might as well then... Wink

Common dude, the man's got to eat... not including the hours put into developing and supporting such a solid application. I believe it only costs £59 to remove it.. if you have a busy site and run adsense you can make that back in no time.
Back to Top
barnettski View Drop Down
Newbie
Newbie


Joined: 09 August 2006
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote barnettski Quote  Post ReplyReply Direct Link To This Post Posted: 09 December 2006 at 2:22am
i agree with Ancient_one
 
surely instead of removing ads with the license key there must be a way of swapping the ads for our own? If the ads are already built into the system how do we get at them without having to add our own adverts to the header.asp page? Does the unlock key remove the advert code from the asp pages themselves  (as in delete the code directly rather than use an if statement) as I cant find the code.
 
Any help would be greatly appreciated.
 
PLEASE NOTE!! - I have purchased the unlock key long ago and am running multiple (paid for) forums.
 
Thanks in advance.
 
B.


Edited by barnettski - 09 December 2006 at 2:24am
Back to Top
ToJaRo View Drop Down
Groupie
Groupie
Avatar

Joined: 20 April 2005
Location: United States
Status: Offline
Points: 158
Post Options Post Options   Thanks (0) Thanks(0)   Quote ToJaRo Quote  Post ReplyReply Direct Link To This Post Posted: 09 December 2006 at 5:34pm
sam-o, how did you get your ads to repeat every 4th post?  Can you post the code?  I am not sure if you changed the original code in the post or just repeated the google code in the forum_posts.asp and changed the statement.
 
Thanks 
Back to Top
MortiOli View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 May 2002
Location: United Kingdom
Status: Offline
Points: 514
Post Options Post Options   Thanks (0) Thanks(0)   Quote MortiOli Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2006 at 3:17pm
To show the ads after every 4th post, apply the below code, but change the If (intThreadNo-1) MOD 9 = 0 Then to If (intThreadNo-1) MOD 4 = 0 Then
 
Just change the MOD x number to tweak how often the ads show in forum_posts.asp
 
 
Originally posted by Demon Demon wrote:

1. In forum_posts.asp find the following lines:
Quote <tr class="postSeparatorTableRow">
<td colspan="2"></td>
</tr>

2. Replace them with these lines:
Quote <tr class="postSeparatorTableRow">
<td colspan="2"><%
If (intThreadNo-1) MOD 9 = 0 Then
     Response.Write(strPostAds)
End If
%></td>
</tr>

3.Save file and upload to server.

PS: I cant post how to remove the ads from the signature section of the first post because that would be advising the violation of the shareware license agreement.
Back to Top
-vm- View Drop Down
Newbie
Newbie


Joined: 03 January 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote -vm- Quote  Post ReplyReply Direct Link To This Post Posted: 03 January 2007 at 1:10am
Does this mod/script require certain permissions to display the Google ads? I've d-Loaded the Google preview script and still not able to verify the ads are showing up.

Forum Link Virtual Media

Thanks & Happy New Year
V

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 03 January 2007 at 9:18am
You need to upgrade your forum to version 8.05 you can then simply swap the Google Ads for your own ads on the paid version by editing the new includes/google_adsense_inc.asp file putting in your own Google Adsense publisher number.
Back to Top
bims View Drop Down
Groupie
Groupie
Avatar

Joined: 03 May 2004
Location: United Kingdom
Status: Offline
Points: 115
Post Options Post Options   Thanks (0) Thanks(0)   Quote bims Quote  Post ReplyReply Direct Link To This Post Posted: 14 January 2007 at 6:51pm
I'm struggling to understand how the new google include page works. I have the paid version, do i include the page where i would like to include my ads? Is it still possible to display the google ads after x posts?
Back to Top
 Post Reply Post Reply Page  <1234>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.