php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#280938 - 10/19/04 01:21 PM Google Add Sense add on for Threads 6.5
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy

   Google Add Sense add on for Threads 6.5 to Del.icio.us Add to del.icio.us
  Digg Google Add Sense add on for Threads 6.5 Digg it
What is it? It's a template and hack instructions to add Google Adsense advertising to your web site. This hack also allows you to control what forums ads are displayed in from the control panel. Hope you like it <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Edit 27 Oct 04: I changed the installation instructions a little. Instead of editing the language files for the showflat and showthreaded pages it makes more sense to ad the language string for the sponsor text to the generic.php file. I added Google Adsense ads to the transition pages on my site and realized that I could just put the sponsor text string in the generic.php language file, so that no matter where I put the Adsense script the language string would automatically be there. I also updated the instructions so you can put Adsense adds on your transition pages <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Edited 15 Dec 05: Fixed a typo in the instructions for the showflat and showthreaded template.


Attachments
121655-AddSense.zip (117 downloads)



Edited by Dalantech (12/15/04 02:47 AM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280939 - 10/19/04 01:33 PM Re: Google Add Sense add on for Threads 6.5 [Re: jacksonm99]
DrChaos Offline
Coder

Registered: 09/12/03
Posts: 816
Loc: Hollywood Florida.
You are a GOD!.<br /><br />I swear I was just going to post about what to do. Since my 6.5 upgradeage, It just does not display... Im going to add on the IIP page again tonight. Thats where I had it displayed. I was up to something like 65.00 already <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
DrChaos
LeetGamers

Top
#280940 - 10/19/04 01:34 PM Re: Google Add Sense add on for Threads 6.5 [Re: Duck]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
I was hoping that I wasn't the only one in need of that hack -thanks for the props! <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />I just uploaded a new version -check to see if you have a "Facelift" directory under /templates/default -if you do then you have the latest version.


Edited by Dalantech (10/19/04 01:35 PM)
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280941 - 10/20/04 02:46 PM Re: Google Add Sense add on for Threads 6.5 [Re: jacksonm99]
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
Nice one again, thanks for all the hard work <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#280942 - 10/20/04 03:16 PM Re: Google Add Sense add on for Threads 6.5 [Re: SurfMinister]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Anytime <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br /><br />I have one more mod to release, but I'm taking a little break. I'll probably have it online this weekend <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280943 - 10/27/04 08:20 AM Re: Google Add Sense add on for Threads 6.5 [Re: SurfMinister]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Updated to add support for the transition pages that pop up after a post <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280944 - 10/27/04 12:02 PM Re: Google Add Sense add on for Threads 6.5 [Re: jacksonm99]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Your site is looking great<br />FYI your signature URL is pointing to an invalid page <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /><br />Thanks for the hack
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#280945 - 10/27/04 12:23 PM Re: Google Add Sense add on for Threads 6.5 [Re: barbiro]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
<img src="http://www.ubbdev.com/forum/images/graemlins/doah.gif" alt="" /> -and I just asked Josh to change the link in the logo here and I didn't change it in my own signature! Thanks for letting me know (fixed) and thanks for the props! <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280946 - 10/27/04 12:25 PM Re: Google Add Sense add on for Threads 6.5 [Re: barbiro]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
[]ChAoS said:<br />Your site is looking great[/]<br /><br />I like the color scheme that you use on the Emerald Forest! <img src="http://www.ubbdev.com/forum/images/graemlins/cool.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280947 - 10/27/04 12:37 PM Re: Google Add Sense add on for Threads 6.5 [Re: jacksonm99]
ChAoS_dup1 Offline
Code Monkey

Registered: 11/15/02
Posts: 576
Loc: Great Northwest
Thankyou,you made me some table wrappers (where is that in the mod index?) at one time but on the server I was using it made the pages slow and now they are a bit too neon for what I am using now but I really like the look of your page.


Edited by ChAoS (10/27/04 12:40 PM)
_________________________
ChAoS
Emerald Forest Gaming Servers
Official STFU Thread


Top
#280948 - 10/27/04 02:01 PM Re: Google Add Sense add on for Threads 6.5 [Re: barbiro]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Odd that it would slow down your page load times -those graphics are pretty small...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280949 - 12/13/04 01:45 PM Re: Google Add Sense add on for Threads 6.5 [Re: jacksonm99]
flumpydog Offline
Newbie

Registered: 09/10/01
Posts: 18
Hi, <br /> <br />Great job on the mod! I just installed it and thought I would give you a headsup on aa few typos. I also have a couple questions. <br /> <br />In the instructions, you have a couple spots listed as $addsense instead of $adsense for modifying showflat.tmpl and showthreaded.tmpl. <br /> <br />For modifying gen_display.tmpl, you have ADDSENSE_1 and ADDSENSE_2 instead of ADSENSE_1 and ADDSENSE_2 <br /> <br />Now to the tough stuff <img src="http://www.ubbdev.com/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />How exactly do you use this mod and control the placement of the goodle ads? I have a vertical skyscraper as well as some horizontal ads, just not sure about placement? <br /> <br />What can be done to make the ads appear on the "Entrance" page for IIP in one of the customboxes? <br /> <br />Best Wishes, <br />Chuck

Top
#280950 - 12/14/04 09:26 AM Re: Google Add Sense add on for Threads 6.5 [Re: MarkM]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
I have attached the customboxpal file I use for my install of IIP. You can modify the details to match yours, or keep them the same and serve ads for my account - no skin off my back! <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />


Attachments
123868-custombox2pal.txt (87 downloads)

_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#280951 - 12/14/04 11:02 AM Re: Google Add Sense add on for Threads 6.5 [Re: eslmix]
flumpydog Offline
Newbie

Registered: 09/10/01
Posts: 18
Thanks for the code, tried it and unfortunately we still cannot see the google ads <img src="http://www.ubbdev.com/forum/images/graemlins/frown.gif" alt="" /><br />url for the site is http://www.corvettes.com/ , this is driving us nuts as to why it is not working.<br />Best Wishes,<br />Chuck

Top
#280952 - 12/14/04 12:32 PM Re: Google Add Sense add on for Threads 6.5 [Re: eslmix]
flumpydog Offline
Newbie

Registered: 09/10/01
Posts: 18
well go figure, the google ads now appear to be working. Sure has us puzzled, maybe a problem on google's end. <br />Anyhoo, thanks bunches for the supplied code!<br /><br />On the topic of this mod, how exactly does one control placement of the ads?<br /><br />Best Wishes,<br />Chuck

Top
#280953 - 12/15/04 02:44 AM Re: Google Add Sense add on for Threads 6.5 [Re: MarkM]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Thanks for the feedback! -I'll fix those typos soon...<br /><br />You would have to generate a separate variable for each add type, then just call those variables on the templates where you want them displayed, so you wold want to make an adsense1.tmpl, adsense2.tmpl, etc. that generate an $adsense1 and $adsense2 variable. Then place the variables on the pages where you want the ad displayed.<br /><br />Since Adsense "reads" the page to serve up ads that are relevant to your content you don't want to put ads on every page of your site -unless you like serving community service ads <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280954 - 12/15/04 06:59 AM Re: Google Add Sense add on for Threads 6.5 [Re: jacksonm99]
DLWebmaestro Offline
Member

Registered: 08/08/00
Posts: 1753
Loc: California, MD
If you're referring to my use of it in a palbox.... <img src="http://www.ubbdev.com/forum/images/graemlins/tongue.gif" alt="" /> Hehe. <img src="http://www.ubbdev.com/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />But seriously, I have no problem with displaying ads on (nearly) all of my pages. I rarely come across a community service ad. Even when viewing my calendar ( http://www.drumlines.org/threads/calendar.php ), the ads seem to know enough to display the ads that are pertinent to my community. Maybe it looks at your Meta tags as well.
_________________________
Webmaster
Drumlines.org

Drumlines.org UBBThreads

Top
#280955 - 12/16/04 01:46 AM Re: Google Add Sense add on for Threads 6.5 [Re: eslmix]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
<img src="http://www.ubbdev.com/forum/images/graemlins/cool.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#280956 - 01/23/05 04:42 AM Re: Google Add Sense add on for Threads 6.5 [Re: jacksonm99]
dparvin Offline
Member

Registered: 08/08/04
Posts: 184
Loc: UK
I installed this before the two updates and they displayed all ok.<br /><br />After a couple of months of them not showing adverts that would be of intrest to my members I e-mailed Google to ask them what I was doing wrong and this is the reply I got<br /><br /> []Thank you for your email. <br /><br />When reviewing your site I found that your web pages may not contain enough text-based content for our system to identify and display relevant Google ads. Please note that our crawlers are unable to derive meaning from images and dynamic media such as Macromedia Flash and JavaScript.<br /><br />I recommend that you include more text-based content on your pages that reflect the type of ads that you want to see. This will help to assist our crawlers in gathering information about your pages and determining relevant ads to display. Complete sentences and paragraphs are helpful to our crawlers in determining the content of a page. Unfortunately, we cannot guarantee the results of any changes you make to your pages. If you make changes to a page, it may take up to 1 or 2 weeks before the changes are reflected in our index.<br /> [/] <br /><br />Does anyone know how to get round this?
_________________________
parentforum.org

Top
#280957 - 01/25/05 01:03 AM Re: Google Add Sense add on for Threads 6.5 [Re: DMClark]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
No way around it that I know of: Google's crawler "reads" your pages looking for content that is relevant to the adds that they can serve. If you don't have enough text for the crawler, like Google's tech support people have said, then there won't be any adds to serve up for those pages...
_________________________
Da LAN Tech

Threads Dev Moderator

Top
Page 1 of 2 1 2 >


Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
sirdude 2
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
Who's Online
0 Registered (), 26 Guests and 6 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Today at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks