Page 1 of 1
Google Ads after the first post?

Posted:
Mon Jun 05, 2006 11:12 am
Author: Adrian Rea
I have been pm'd, asking
I am lookin for forum mod ,Well what it does is when some one posts new topic under there topic It as Google adds under it
I think what you want is something like this
http://www.phpbbhacks.com/forums/viewtopic.php?p=251072.
I do not know the particular mod but I would think it easy to do. Has anyone done this before? I will ask over at phpbbhacks.
A

Posted:
Mon Jun 05, 2006 11:18 am
Author: Adrian Rea

Posted:
Mon Jun 05, 2006 11:24 am
Author: Adrian Rea
actually I have thought about this a little more, I can't remember if someone was able to put google ads into the banner mod, then it may be even simpler to add a {banner } tage into the code.
A

Posted:
Mon Jun 05, 2006 11:39 am
Author: dan0042
"Adrian Rea";p="8565" wrote:actually I have thought about this a little more, I can't remember if someone was able to put google ads into the banner mod, then it may be even simpler to add a {banner } tage into the code.
A
Thats was me ,, did that post on integramod.com
OLD name Quick2004 ,,,Btw will re do my name back to Quick2004
Thanks

Posted:
Mon Jun 05, 2006 11:49 am
Author: Adrian Rea
no worries, it is just better that I share the answers with all. You get a more global response (hopefully the best result) and others can benefit from the answers
People who pm me, may not get replied to as I have so many it is very hard to keep track of the threads, but this way is easier. If people pose questions to me I am happy to put them into the forums if I have the time. I alwas try to give my best to all.
A
Re: Google Ads after the first post?

Posted:
Mon Jun 05, 2006 12:07 pm
Author: dan0042
displays random google or yahoo ads
- Code: Select all
$randNum = mt_rand(1, 2); if ($randNum == 1){print 'google ads';}else{print ' Yahoo ads';} displays random google or yahoo ads
But how will add that code
Re: Google Ads after the first post?

Posted:
Mon Jun 05, 2006 12:20 pm
Author: Adrian Rea
I am no coder but I would think you could try replacing what you posted with
- Code: Select all
{print 'google ads';}
A
Re: Google Ads after the first post?

Posted:
Mon Jun 05, 2006 12:46 pm
Author: dan0042
its website That runs php and Been askin him for days now For codes ,Willn ot give out
Anyway ,He as this drag box on forums with adds in there ,Mr Quick2004 got drag codes,In php file
- Code: Select all
var Drag = { obj ] = nx + "px"; Drag.obj.root.style[o.vmode ? "top" : "bottom"] = ny + "px"; Drag.obj.lastMouseX = ex; Drag.obj.lastMouseY = ey; Drag.obj.root.onDrag(nx, ny); return false; }, end : function() { document.onmousemove = null; document.onmouseup = null; Drag.obj.root.onDragEnd( parseInt(Drag.obj.root.style[Drag.obj.hmode ? "left" : "right"]), parseInt(Drag.obj.root.style[Drag.obj.vmode ? "top" : "bottom"])); Drag.obj = null; }, fixE : function(e) { if (typeof e == 'undefined') e = window.event; if (typeof e.layerX == 'undefined') e.layerX = e.offsetX; if (typeof e.layerY == 'undefined') e.layerY = e.offsetY; return e; }};

Posted:
Mon Jun 05, 2006 12:49 pm
Author: Adrian Rea
I am sorry I often find it hard to understand you. If you want more information, there were other links at phpbbhacks, just put google ads into the forum search engine and select the search all.
A
Re: Google Ads after the first post?

Posted:
Mon Jun 05, 2006 2:43 pm
Author: found it
To place google ads in your banner chose custom html in the banner admin and then add all the adsense code...
There is a mod called ad in post mod i will see if i can find it....


Posted:
Mon Jun 05, 2006 2:56 pm
Author: Adrian Rea
THanks Found it <img>
A
Re: Google Ads after the first post?

Posted:
Mon Jun 05, 2006 2:59 pm
Author: found it
Re: Google Ads after the first post?

Posted:
Tue Jun 06, 2006 8:17 am
Author: dan0042
will some one tell me how add this in phpadmin
- Code: Select all
CREATE TABLE `phpbb_inline_ads` (`ad_id` TINYINT( 5 ) NOT NULL auto_increment,`ad_code` TEXT NOT NULL ,`ad_name` CHAR( 25 ) NOT NULL,PRIMARY KEY (`ad_id`)); INSERT INTO `phpbb_inline_ads` (`ad_id` , `ad_code`, `ad_name` )VALUES ('1', 'Your banner code goes here', 'Default'); INSERT INTO `phpbb_config` ( `config_name` , `config_value` )VALUES ('ad_after_post', '1'),('ad_post_threshold', ''),('ad_every_post', ''),('ad_who', '1'),('ad_no_forums', ''),('ad_no_groups', ''),('ad_old_style', '1');
do add in My forum Mysql ?
or
Re: Google Ads after the first post?

Posted:
Tue Jun 06, 2006 8:37 am
Author: found it
Got your phpmyadmin....in your control panel
Choose your database and then at the top of the page on the right frame is a SQL button click on that and a new box opens....
Copy and paste the code into the box and click go...

Re: Google Ads after the first post?

Posted:
Tue Jun 06, 2006 8:43 am
Author: dan0042
"found it";p="8695" wrote:Got your phpmyadmin....in your control panel
Choose your database and then at the top of the page on the right frame is a SQL button click on that and a new box opens....
Copy and paste the code into the box and click go...

Thanks
Re: Google Ads after the first post?

Posted:
Tue Jun 06, 2006 9:01 am
Author: dan0042
need some help ,,,
am lookin for .helpline { background-color: {T_TR_COLOR2}; border-style: none; } in templates/subSilver/overall_header.tpl,But its not there

Posted:
Tue Jun 06, 2006 10:36 am
Author: Adrian Rea
I think .helpline is in the fisubice.css so you should not need to add it here.
A

Posted:
Tue Jun 06, 2006 2:40 pm
Author: ZacFields
Just a tip for you guys about this :
I had this mod installed for about 2 months and to be honest I never thought it was worth the time and effort to install it.
The problem is that if your forum is big, the ads won't show up right away. In my forums, most topics are opened, responded to, and forgotten about before the google ads start showing up on that inline block. For some reason the google spiders have always had problems getting ads in that spot for me.
You can have 3 ads on a page, my suggestion is one on the left side of the page directly underneath your navigation menu. (I just added the ads into the code for that block) Another good spot is directly above the first post and directly below the last post.
9 times out of 10, a user reads the top post and the first thing they want to do is read the replies of that post. I have found that my site's members usually skip right over that inline ad, so it's much more effective at the bottom of the last post on the pages. This way, while they're typing a reply in the quick reply box and they hit a pause in their thinking they might notice the ads placed there.
that is my rationalization for this. My advise is to save yourself the time and just use the banner mod that comes with the forums.
The best thing to do is just think of yourself as a regular user and think of where you could place your ads to make them actually visible. Just remember, among your content isn't always the best place unfortunately because people tend to skip right over it.
Zac

Posted:
Tue Jun 06, 2006 11:54 pm
Author: Adrian Rea
Thanks for the idea, I think you are probably 90% correct. This would be where banner images are more eyevatching. I must admit I never look at the google ads anymore and find them an inconvenience to have to scroll over them!
A