View Full Version : Iam not able to put adsense between threads
amitpatel_3001
Nov 2nd 2005, 10:19 am
I have designed a Forum for my customer.
The banner at TOP is clearly visible but they are also demanding a Banner ie 468x60 Text ads between the 1st Topic of every thread,This banners we can see in DP also.
Can anyone Suggest.
www.doregama.com is the forum.
Also Suggestions Wanted
erobs
Nov 2nd 2005, 10:38 am
What type of forum software are you using?
amitpatel_3001
Nov 2nd 2005, 10:53 am
Phpbb Forum
yfs1
Nov 2nd 2005, 10:56 am
There is a great hack that does this automatically...You can even control if it disappears for members, members with x amount of posts, etc, etc
I will post the link when I find it
amitpatel_3001
Nov 2nd 2005, 11:00 am
Thanks but i just wanted to know how we can show the ads which are seen in DP.
ie just below the 1st post.
yfs1
Nov 2nd 2005, 11:01 am
Thanks but i just wanted to know how we can show the ads which are seen in DP.
ie just below the 1st post.
This is a vB forum....I don't know the code changes...Personally I thought it was nice to be able to change your advertising on the fly through the Admin panel but whatever floats your boat
amitpatel_3001
Nov 2nd 2005, 11:05 am
When iam trying to put the banner b/w threads blank space appears between all the threads.
amitpatel_3001
Nov 2nd 2005, 11:09 am
I think this is due 2 maximum 3 ads per page.
993ti
Nov 4th 2005, 8:01 pm
In viewtopic.php
Find:
}
$template->pparse('body');
Replace with (don't forget to add your adsense code there).
if($i == 0)
{
$row_color = ( !($num_post % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($num_post % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$num_post ++;
$message = 'ADSENSE CODE HERE';
$template->assign_block_vars('postrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POSTER_NAME' => 'Google',
'POST_DATE' => '',
'POST_SUBJECT' => 'Sponsored Link',
'MESSAGE' => $message,
'MINI_POST_IMG' => $mini_post_img,
'U_POST_ID' => '0'
));
}
}
$template->pparse('body');
amitpatel_3001
Nov 16th 2005, 10:11 am
In viewtopic.php
Find:
}
$template->pparse('body');
Replace with (don't forget to add your adsense code there).
if($i == 0)
{
$row_color = ( !($num_post % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($num_post % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$num_post ++;
$message = 'ADSENSE CODE HERE';
$template->assign_block_vars('postrow', array(
'ROW_COLOR' => '#' . $row_color,
'ROW_CLASS' => $row_class,
'POSTER_NAME' => 'Google',
'POST_DATE' => '',
'POST_SUBJECT' => 'Sponsored Link',
'MESSAGE' => $message,
'MINI_POST_IMG' => $mini_post_img,
'U_POST_ID' => '0'
));
}
}
$template->pparse('body');
I tried a lot but seems that there are a lot of errors comming
amitpatel_3001
Nov 16th 2005, 10:25 am
Parse error: parse error, unexpected $ in /home/doregama/public_html/phpbb/viewtopic.php on line 871
This is the Error iam getting
Dekker
Nov 19th 2005, 10:32 pm
I think we killed your site.
Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
amitpatel_3001
Nov 19th 2005, 10:36 pm
ya i made a mistake by taking a 1GB bandwidth and this was completed in 15days.
Iam now taking unlimited bandwdth.
Dekker
Nov 19th 2005, 10:39 pm
But won't that cost money?
amitpatel_3001
Nov 19th 2005, 10:41 pm
its for 88$ a year.
Which is Cheaper than This Bandwidth exceeded Message
Dekker
Nov 19th 2005, 10:53 pm
Who's the host?
amitpatel_3001
Nov 19th 2005, 10:54 pm
Here it is (http://www.3ix.org/index.php?ref=amitpatel)
Dekker
Nov 19th 2005, 10:58 pm
www.3ix.org ?
amitpatel_3001
Nov 19th 2005, 11:02 pm
Can Anyone Tell Me How To Start A Forum?
I Want To Seriously Start A Forum
Nintendo
Nov 19th 2005, 11:30 pm
First get a REAL web site. Real as in a dedicated server. http://www.ev1servers.net/ will get you one for a measly $100.00 per month!!!! You can't have a serious web site unless you have serious cash!!! :D
amitpatel_3001
Nov 19th 2005, 11:35 pm
THanks Nino but u r thinking from your side,and iam from my side
Dekker
Nov 19th 2005, 11:48 pm
We're all on the same side.
The Fun Side.
Anyways..buy vbulletin or invisionboard. Get an account at A Small Orange. Get traffic.
amitpatel_3001
Nov 19th 2005, 11:52 pm
Thanks MrSVZ.
Whats the Charge for a Vbulletin?Can's we use any demo?
I have hosting available and traffic also for a new forum.
Nintendo
Nov 20th 2005, 12:09 am
Whats the Charge for a Vbulletin?
Take a look at the 'vBulletin v3.5.1, Copyright ©2000-2005, Jelsoft Enterprises Ltd.' link at the very bottom of the page.
Only $160.00 to own, then $30.00 a year for updates!!!!
amitpatel_3001
Nov 20th 2005, 12:10 am
i know that.
I was asking for any free/Demo versions can be used or not?
Dekker
Nov 20th 2005, 12:13 am
noooooooooooooooooooooooooooooooo
Nintendo
Nov 20th 2005, 12:22 am
You don't get high quality stuff for free. If it's gud, you pay for it!!!
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.