Thread: Add-On Releases - Advertise Page For Your Forum
View Single Post
  #87  
Old 02-13-2010, 10:23 PM
MagicThemeParks's Avatar
MagicThemeParks MagicThemeParks is offline
 
Join Date: Sep 2009
Posts: 850
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a great and simple mod which has helped me a lot in the past with other sites.

I just installed it on a 3.8.4 site and it's working great.

I went through and validated some errors that I found. Here's the "fixed" template info.....

Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - Advertise on Legendary Rockers!</title>
</head>
<body>
$header
$navbar
<!-- Main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="table1">
	<tr>
		<td class="tcat">Advertise with $vboptions[bbtitle]!</td>
	</tr>
	<tr>
		<td class="alt1" colspan="3">
		$vboptions[ad_description]
		<strong>
		<phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase>
		</strong><br />
		$vbphrase[threads]: $totalthreads,<br />
		$vbphrase[posts]: $totalposts,<br />
		$vbphrase[members]: $numbermembers<br />
		<br />
		Total of monthly unique visitors: $vboptions[monthlyunique]<br />
		Total of daily unique visitors: $vboptions[dailyunique]
		</td>
	</tr>
</table>
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="table2">

	<tr>
		<td class="tcat">Areas Available:</td>
		<td colspan="2" class="tcat" width="100%">Details:</td>
	</tr>
	<tr>
		<td rowspan="12" valign="top" class="alt1"><img src="http://www.legendaryrockers.com/images/misc/ad.gif" alt="Advertise With Us!" /></td>
		<td colspan="2" class="thead">468x60 Header Banner</td>
	</tr>
	<tr>
		<td class="alt1" width="70%">
		$vboptions[header_des]<br />
		<font color="#FF0000"><b>$vboptions[header_banner] Spots available</b></font><br /><br />
		Extensions: .gif, .jpg, animated .gif and flash .swf<br />
		Rotation: $vboptions[header_rotation] different banners<br />
		</td>
		<td class="alt2" width="30%" align="center"><strong>$$vboptions[price_header_banner] per month</strong><br /><br />
		$vboptions[paypal_header_banner]
		</td>
	</tr>
	<tr>
		<td colspan="2" class="thead">240x60 Footer Banner</td>
	</tr>
	<tr>
		<td class="alt1" width="70%">
		$vboptions[footer_des]<br />
		<font color="#FF0000"><b>$vboptions[footer_banner] Spots available</b></font><br /><br />
		Extensions: .gif, .jpg, animated .gif and flash .swf<br />
		Rotation: $vboptions[footer_rotation] different banners<br />
		</td>
		<td class="alt2" width="30%" align="center"><strong>$$vboptions[price_footer_banner] per month</strong><br /><br />
		$vboptions[paypal_footer_banner]
		</td>
	</tr>
	<tr>
		<td colspan="2" class="thead">160x160 Sponsored Button</td>
	</tr>
	<tr>
	<td class="alt1" width="70%">
	$vboptions[sponsor_des]<br />	
	<font color="#FF0000"><b>$vboptions[sponsor_button] Spots available</b></font><br /><br />
	Extensions: .gif, .jpg, animated .gif and flash .swf<br />
	Rotation: $vboptions[sponsor_rotation] different buttons<br />
	</td>
	<td class="alt2" width="30%" align="center"><strong>$$vboptions[price_sponsor_button] per month</strong><br /><br />
	$vboptions[paypal_sponsor_button]</td>
	</tr>
	<tr>
		<td colspan="2" class="thead">180x60 Affiliates Button</td>
	</tr>
	<tr>
	<td class="alt1" width="70%">
	$vboptions[aff_des]<br />	
	<font color="#FF0000"><b>$vboptions[aff_button] Spots available</b></font><br /><br />
	Extensions: .gif, .jpg, animated .gif and flash .swf<br />
	Rotation: $vboptions[aff_rotation] different buttons<br />
	</td>
	<td class="alt2" width="30%" align="center"><strong>$$vboptions[price_aff_button] per month</strong><br /><br />
	$vboptions[paypal_aff_button]</td>
	</tr>	
	<tr>
		<td colspan="2" class="thead">Text Link</td>
	</tr>
	<tr>
	<td class="alt1" width="70%">
	$vboptions[text_des]<br />	
	<font color="#FF0000"><b>$vboptions[text] Links available</b></font><br /><br />
	Link title: max 25 characters, including spaces.<br />
	Rotation: No<br />
	</td>
	<td class="alt2" width="30%" align="center"><strong>$$vboptions[price_text] per month</strong><br /><br />
	$vboptions[paypal_text]</td>
	</tr>
	<tr>
		<td colspan="2" class="thead">NOTE:</td>
	</tr>
	<tr>
		<td class="alt1" colspan="2">
		$vboptions[ad_note]		
		</td>
	</tr>
	<tr>
		<td class="thead" colspan="3" align="center"></td>
	</tr>		
</table>
<!-- / Main -->
$footer
</body>
</html>

....there are a couple of places that you'll have to change to your own information. Those are in RED within the template code above.

Hope it helps! :up:
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01313 seconds
  • Memory Usage 1,792KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete