MyBB Community Forums

Full Version: Theme editing help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have installed a theme called
http://custommybb.com/free-mybb-theme-ma...y-t-5.html

theme creator has installed adsense code in the theme...there was a banner ad on the top of theme,i have removed it....but there was few another adsense ads in this sections..view image [Image: Screenshot.png]

how to remove them????Sad
Is this just shown on topics?
i want to remove the ads from bottom of posts.....what is the template file to edit???those ads are not mine
Click edit and look for a code that has <a href="link?:ajflajld=

or a bbcode that has a link somehwere in it...

Will be at bottom of post because taht is where the ads are located at.
Go to: Admin CP --> Templates & Styles --> Templates --> Template Name --> Forum Display --> forumdisplay_thread (I think) --> Revert that template.

Make sure to make a backup of the template first by copying and pasting this into NotePad.
(02-15-2011, 02:23 PM)iGeorge Wrote: [ -> ]Go to: Admin CP --> Templates & Styles --> Templates --> Template Name --> Forum Display --> forumdisplay_thread (I think) --> Revert that template.

Make sure to make a backup of the template first by copying and pasting this into NotePad.

<tr>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
			<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']}</div>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
	{$rating}
	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>


[b][b]How do i edit it?????[/b][/b]

help me......what is the template name of it????
i want to remove the ads from bottom of posts...what is the template section???
(02-15-2011, 02:35 PM)sanjananb Wrote: [ -> ]
(02-15-2011, 02:23 PM)iGeorge Wrote: [ -> ]Go to: Admin CP --> Templates & Styles --> Templates --> Template Name --> Forum Display --> forumdisplay_thread (I think) --> Revert that template.

Make sure to make a backup of the template first by copying and pasting this into NotePad.

<tr>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%"><img src="{$theme['imgdir']}/{$folder}.gif" alt="{$folder_label}" title="{$folder_label}" /></td>
	<td align="center" class="{$bgcolor}{$thread_type_class}" width="2%">{$icon}</td>
	<td class="{$bgcolor}{$thread_type_class}">
		{$attachment_count}
		<div>
			<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>
			<div class="author smalltext">{$thread['profilelink']}</div>
		</div>
	</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}"><a href="javascript:MyBB.whoPosted({$thread['tid']});">{$thread['replies']}</a>{$unapproved_posts}</td>
	<td align="center" class="{$bgcolor}{$thread_type_class}">{$thread['views']}</td>
	{$rating}
	<td class="{$bgcolor}{$thread_type_class}" style="white-space: nowrap; text-align: right;">
		<span class="lastpost smalltext">{$lastpostdate} {$lastposttime}<br />
		<a href="{$thread['lastpostlink']}">{$lang->lastpost}</a>: {$lastposterlink}</span>
	</td>
{$modbit}
</tr>


[b][b]How do i edit it?????[/b][/b]

help me......what is the template name of it????
i want to remove the ads from bottom of posts...what is the template section???

Looks like that was the wrong template after all.. If you want I can help you for free, PM me an admin account with access to the styles and templates and I'll fix it.
i can fix it....please anyone know what is the template name????
Try to look at postbit template.
thaanx rateu....i got it...you are the genius.....thanx a lot