Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Ads in Memberinfo Details »»
Ads in Memberinfo
Version: 1.00, by Kolbi Kolbi is offline
Developer Last Online: Jan 2022 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 3.8.x Rating:
Released: 09-10-2009 Last Update: 09-10-2009 Installs: 13
Template Edits Auto-Templates
Translations  
No support by the author.

Search in the template Memberinfo
Code:
$blocks[stats_mini]
Add after:
Code:
<div id="ads" class="tborder content_block">
	<h4 class="thead block_title">
		<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('ads')"><img id="collapseimg_ads" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_ads']}.gif" alt="" border="0" /></a>
		<a name="ads"></a>
		<span class="block_name">Ads</span>
	</h4>
	<div class="block_content" id="collapseobj_ads" align="center">
	<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"> 
  <tr> 
    <td>
        <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
            <tr align="center">
              <td class="alt1">Your Ad Code...</td>
            </tr>
        </table>
    </td> 
  </tr> 
</table>
</div>
</div>
The attached product is for people who use the TMS.
Product and template edits will be included automatically then. After importing addon please add in the TMS your ad code!

It will look like:
Demo
My CTR is about 1,06% with a 200x200 image.

Download Now

File Type: xml product-kolbi2.xml (2.3 KB, 44 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-11-2009, 10:35 AM
t6mnt t6mnt is offline
 
Join Date: Sep 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #3  
Old 09-11-2009, 10:44 AM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No problem...

Please click install
Reply With Quote
  #4  
Old 09-16-2009, 04:00 PM
matthewhotdude matthewhotdude is offline
 
Join Date: Jul 2009
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did it but the add won't show up....it's just blank


Code:
<div id="ads" class="tborder content_block">
	<h4 class="thead block_title">
		<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('ads')"><img id="collapseimg_ads" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_ads']}.gif" alt="" border="0" /></a>
		<a name="ads"></a>
		<span class="block_name">Ads</span>
	</h4>
	<div class="block_content" id="collapseobj_ads" align="center">
	<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"> 
  <tr> 
    <td>
        <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
            <tr align="center">
              <td class="alt1"><script type="text/javascript"><!--
google_ad_client = "pub-3010515223597560";
/* 200x200, created 16/09/09 */
google_ad_slot = "9446574801";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
            </tr>
        </table>
Reply With Quote
  #5  
Old 09-16-2009, 05:37 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have forgot the 2 closing div?s.

Try:
Code:
<div id="ads" class="tborder content_block">
	<h4 class="thead block_title">
		<a href="#top" class="collapse_gadget" onclick="return toggle_collapse('ads')"><img id="collapseimg_ads" src="$stylevar[imgdir_button]/collapse_generic{$vbcollapse['collapseimg_ads']}.gif" alt="" border="0" /></a>
		<a name="ads"></a>
		<span class="block_name">Ads</span>
	</h4>
	<div class="block_content" id="collapseobj_ads" align="center">
	<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="$stylevar[tablewidth]" align="center"> 
  <tr> 
    <td>
        <table cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
            <tr align="center">
              <td class="alt1"><script type="text/javascript"><!--
google_ad_client = "pub-3010515223597560";
/* 200x200, created 16/09/09 */
google_ad_slot = "9446574801";
google_ad_width = 200;
google_ad_height = 200;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td>
            </tr>
        </table>
        </div>
</div>
Reply With Quote
  #6  
Old 11-08-2009, 02:16 PM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My CTR is about 1,06% with a 200x200 image.
Reply With Quote
  #7  
Old 11-22-2009, 09:40 PM
jimsflies jimsflies is offline
 
Join Date: Aug 2009
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I'm not using TMS, does the product do anything? For example set up a place in admincp to change the ad or enable/disable? Assuming the answer is no, I would just need to manually edit the template, correct?
Reply With Quote
  #8  
Old 11-23-2009, 09:41 AM
Kolbi Kolbi is offline
 
Join Date: Mar 2009
Location: D - S?dbaden
Posts: 899
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jimsflies View Post
If I'm not using TMS, does the product do anything? For example set up a place in admincp to change the ad or enable/disable? Assuming the answer is no, I would just need to manually edit the template, correct?
You are right

If it is need it can include more function like editing the settings via vB settings.
If it is wished...
Reply With Quote
  #9  
Old 11-23-2009, 11:36 AM
ShawneyJ's Avatar
ShawneyJ ShawneyJ is offline
 
Join Date: Jul 2006
Location: Australia
Posts: 1,758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still using this one. works for 3.7/3.8
https://vborg.vbsupport.ru/showthrea...ight=paulsonny
but thanks.
Reply With Quote
  #10  
Old 11-23-2009, 07:02 PM
jimsflies jimsflies is offline
 
Join Date: Aug 2009
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be cool if you could change the ad code from within the admincp and enable/disable the hack. Maybe as an advanced setting enable/disable for various usergroups.

I'm personally not planning to put ads in this spot but rather use it for a place to put announcements and site features. So having a place in admincp to easily change the graphic and associated link would be nice.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:05 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07337 seconds
  • Memory Usage 2,320KB
  • Queries Executed 24 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete