vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Smooth Red Style (https://vborg.vbsupport.ru/showthread.php?t=149269)

markbolyard 06-11-2007 11:10 PM

PS: if anyone needs simple changes like this, you are welcome to PM me. If I have the time, I have no problem in making minor.... that's minor... adjustments like above.

Shamus 06-11-2007 11:40 PM

Thank you for your help Mark.

rickyreter 06-13-2007 12:12 AM

Hi Mark,been waiting for ages for a smooth skin,i am doing a car talk site and this fits the bill...love the sponsers part ;)

1.How do you add those links very top of header
2.what is the size of the sponsers links banners...you no the 9 on forum home

Peter

markbolyard 06-13-2007 12:41 PM

Quote:

1.How do you add those links very top of header
Are you referring to the AdSense Links? Please clarify what you are asking.

Quote:

what is the size of the sponsors links banners...you no the 9 on forum home
Well, currently they are text links, but if you were to replace them with button banners, I would most likely use 88x31 or at most 120x60.

Monetizing your forum and not having the ads be obtrusive to your members is what I aim for in ad placement. This layout combined with the Welcome Headers hack, and some additional code in the postbit have provided me with great success with AdSense and auctionads.

rickyreter 06-13-2007 12:50 PM

Thanks Mark,are you saying the text links might be obtrusive..on home page(forum home) or should i say do you think that would be a good idea as your per style.

I was refering to the arcade and vbookie links :)

What advertising hack do you use..sorry about all these questions.

Peter

markbolyard 06-13-2007 01:03 PM

If you want to ad links to the navigation, like vbookie or arcade, edit the NAVBAR template.

For example, Find:

Code:

                <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
and after add:

Code:

<td class="vbmenu_control"><a ref="vbookie.php">vBookie</a></td>
<td class="vbmenu_control"><a ref="arcade.php">Arcade</a></td>

As for optimizing your click through rate (For AdSense, etc... Here is what I use)

Install https://vborg.vbsupport.ru/showthread.php?t=119572 (Welcome Headers, Improve community registrations)

Then replace the WELCOME_HEADERS template content with:

Code:

<!-- // Start Welcome Headers // -->
<!-- google_ad_section_start(weight=ignore) -->
<if condition="$vboptions[wlhon] AND THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'login'">
       
        <if condition="$vboptions[wlhcookie] AND !$vbulletin->GPC['welcomeheader']">
        <else />
       
        <if condition="$vboptions[wlhguest] AND $show['guest']">
                <!-- guest welcome message -->
                <br />
<table border="0" cellspacing="0" cellpadding="4" width="100%" align="center"> <tr> <td class="tcat" valign="middle" width="100%">
Welcome to the Hollywood News, Entertainment, Sports, and Wrestling at MonksDiner.com.
  </td> </tr> </table> <table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">  <tr>
        <td class="alt1" width="50%" height="0">
                        <p align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-9556872839910172";
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = "300x250_as";
google_ad_type = "text_image";
//2007-03-24: MonksDiner
google_ad_channel = "9525220802";
google_color_border = "E8E8E8";
google_color_bg = "E8E8E8";
google_color_link = "9A0A0A";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
                        </td> <td class="alt1" width="50%" height="0">
                <p align="center">&nbsp;</p>
                                                        <p align="left">
                                                        <a style="color: #506173" href="http://www.monksdiner.com/register.php">
                                                        <font color="#ff0000"><strong>Register For Free and
                                                        get Full Access!</strong></font></a></p>
                                                        <p align="left">Already a Member? <strong>
                                                        <a rel="nofollow" style="color: #506173" href="http://www.monksdiner.com/login.php?do=lostpw">
                                                        Forgot Your Password?</a></strong>! </p>
                                                        <p align="left">Register to make this box go away.
                                                        </p>
                                                        <p><!-- login form -->
                                                        </p>
                                                        <form onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, 0)" method="post" style="display: inline" action="http://www.monksdiner.com/login.php?do=login">
<SCRIPT src="http://www.monksdiner.com/clientscript/vbulletin_md5.js?v=365" type=text/javascript></SCRIPT>

                                                                <table cellSpacing="6" cellPadding="0" border="0" id="table4">
                                                                        <tr>
                                                                                <td class="smallfont">
                                                                                <label for="navbar_username" style="cursor: default">
                                                                                User Name</label></td>
                                                                                <td style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 9pt; font-family: tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif">
                                                                                <input class="bginput" id="navbar_username" onfocus="if (this.value == 'User Name') this.value = '';" accessKey="u" tabIndex="101" value="User Name" name="vb_login_username"></td>
                                                                        </tr>
                                                                        <tr>
                                                                                <td class="smallfont">
                                                                                <label for="navbar_password" style="cursor: default">
                                                                                Password</label></td>
                                                                                <td style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 9pt; font-family: tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif">
                                                                                <input class="bginput" id="navbar_password" tabIndex="102" type="password" value name="vb_login_password"></td>
                                                                        </tr>
                                                                        <tr>
                                                                                <td colSpan="2" style="font-style: normal; font-variant: normal; font-weight: normal; font-size: 9pt; font-family: tahoma, verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif">
                                                                                <span style="FONT-SIZE: 10px; FLOAT: right">
                                                                                <label for="cb_cookieuser_navbar" style="cursor: default">
                                                                                <input id="cb_cookieuser_navbar" accessKey="c" tabIndex="103" type="checkbox" value="1" name="cookieuser">Remember
                                                                                Me?</label></span>
                                                                                <input class="button" title="Enter your username and password in the boxes provided to login, or click the 'register' button to create a profile for yourself." accessKey="s" tabIndex="104" type="submit" value="Log in">
                                                                                </td>
                                                                        </tr>
                                                                </table>
                                                                <input type="hidden" name="s">
                                                                <input type="hidden" value="login" name="do">
                                                                <input type="hidden" name="vb_login_md5password">
                                                                <input type="hidden" name="vb_login_md5password_utf">
                                                        </form>
                                                        <!-- / login form --></P>                       
                       
                        </td> </tr>  <tr>
        <td class="alt1" width="100%" colspan="2">
                        <p align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-9556872839910172";
google_alternate_color = "E8E8E8";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text";
//2007-04-24: MonksDiner.com
google_ad_channel = "9525220802";
google_color_border = "E8E8E8";
google_color_bg = "E8E8E8";
google_color_link = "9A0A0A";
google_color_text = "000000";
google_color_url = "000000";
//-->
</script>
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td> </tr>  </table>
<br />
                <!-- / guest welcome message -->
        <else />

                <if condition="is_member_of($bbuserinfo, 3) AND $vboptions[wlhunconfirmed]">
                        <!-- / unconfirmed user message -->
                        <br />
                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                        <tr>
                                <td class="alt1">
                                        <phrase 1="$vboptions[bbtitle]" 2="register.php?do=requestemail" 3="sendmessage.php$session[sessionurl]" 4="$bbuserinfo[username]">$vbphrase[welcome_unconfirmed]</phrase>
                                </td>
                        </tr>
                        </table>
                        <!-- / unconfirmed user message -->
                <else />

                        <if condition="$bbuserinfo[posts]<1 AND $vboptions[wlhneverposetd] AND !$show['guest']">
                                <!-- never posted message -->
                                <br />
                                <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                                <tr>
                                        <td class="alt1">
                                                <phrase 1="$bbuserinfo[username]" 2="$vboptions[bbtitle]">$vbphrase[welcome_neverposted]</phrase>
                                        </td>
                                </tr>
                                </table>
                                <!-- / never posted message -->
                        <else />

                                <if condition="$wlhtime > $bbuserinfo[lastpost] AND $vboptions[wlhpostmoreoften] AND !is_member_of($bbuserinfo,6,5) AND !$show['guest']">
                                        <!-- hasnt posted lately message -->
                                        <br />
                                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                                        <tr>
                                                <td class="alt1">
                                                        <phrase 1="$bbuserinfo[username]" 2="$vboptions[bbtitle]" 3="sendmessage.php$session[sessionurl]">$vbphrase[welcome_postmoreoften]</phrase>
                                                </td>
                                        </tr>
                                        </table>
                                        <!-- / hasnt posted lately message -->
                                <else />
                               
                                        <if condition="$vboptions[wlhglobal]">
                                        <!-- / global announcement message -->
                                        <br />
                                        <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
                                        <tr>
                                                <td class="alt1">
                                                        <phrase 1="$vboptions[bbtitle]" 2="sendmessage.php$session[sessionurl]" 3="$bbuserinfo[username]">$vbphrase[welcome_gannounce]</phrase>
                                                </td>
                                        </tr>
                                        </table>
                                        <!-- / global announcement message -->
                                        </if>
                                       
                                </if>
                        </if>
                </if>
        </if>
</if>
</if>
<!-- google_ad_section_end -->
<!-- // End Welcome Headers // -->

Of course, edit the above code with YOUR adsense, and own forum URLs.

If you are already using AdSense, but don't have Ads in this location, I'm sure you will see a significant boost in your click through rate. Also, although it takes up alot of room in the header, realize once the user registers and logs in, this box of ads / login info disappears. It helps increase registration rates because visitors don't want to scroll half way down a page to get to your content.

Hope that helps.

rickyreter 06-13-2007 01:21 PM

Thanks Mark...one last thing..i ment the very top right links in your header of your site...not the navbar:)

markbolyard 06-13-2007 02:57 PM

Now I understand. The links on MY forum... Well, there are a few things I changed to accommodate the links, like reduce the logo image, else the header doesn't align / look right. Below is my actual header template, should you want to use it. You'll need to make / reduce your logo down to 155px by 21px.

Code:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
  <td style="background-image:url('$stylevar[imgdir_misc]/leftborder.gif'); background-repeat:repeat-y;" height="100%"><img src="$stylevar[imgdir_misc]/leftborder.gif" border="0" alt="" /></td>
  <td valign="top" width="$stylvar[outertablewidth]" class="page">

<br />
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
  <td align="left" width="155"><img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="" /></td>
  <td align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><img src="$stylevar[imgdir_misc]/menuleft.gif" border="0" alt="" /></td>
          <td style="background-color:#DDDDDD;" valign="middle" class="navigation">
<a href="index.php">Home</a> &nbsp;
<a href="http://www.monksdiner.com/index.php?page=rules">Forum Rules</a> &nbsp;
<a href="http://www.monksdiner.com/index.php?page=advertise">Advertise</a> &nbsp;
<a href="http://www.monksdiner.com/arcade.html">Arcade</a> &nbsp;
<a href="http://www.monksdiner.com/vbookie.php">vBookie</a> &nbsp;
<a href="http://www.monksdiner.com/vaispy.php">Spy</a> &nbsp;
<td id="vbimghost" style="background-color:#DDDDDD;" valign="middle" class="navigation"><a href="#vbimghost" >$vbphrase[vbimghost_title]</a>
<script type="text/javascript"> vbmenu_register("vbimghost");</script> &nbsp;

          </td>
          <td><img src="$stylevar[imgdir_misc]/menuright.gif" border="0" alt="" /></td>
        </tr>
        </table>
  </td>
</tr>
</table>


<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

You will also need to put these two images into your Misc drectory of this style.

rickyreter 06-13-2007 03:52 PM

Thanks Mark,i suppose theres no way of putting that on top of the header as want my banner in there...if not no worries will use a double navbar and use advanced navbar.

markbolyard 06-13-2007 04:05 PM

If you PM me with a temp admincp login, I'll set you up. Easier to do than to go back and forth in this thread ;)


All times are GMT. The time now is 02:51 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01230 seconds
  • Memory Usage 1,831KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete