Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Put a Column on the Left Side of Every Forum Page Details »»
Put a Column on the Left Side of Every Forum Page
Version: 1.1, by amykhar amykhar is offline
Developer Last Online: Nov 2013 Show Printable Version Email this Page

Version: 3.5.0 RC2 Rating:
Released: 07-08-2005 Last Update: 08-16-2005 Installs: 338
Uses Plugins Template Edits
 
No support by the author.

This little PRODUCT will provide you with a template to put content in a column going down the left side of every forum page.

What you put there is limited only by your imagination.

This can easily be combined with the right column product to have a column on both sides.

To use this with the right column product , change the footer code to:
Code:
<!-- Right Column Code  -->
</td>
<td width="160" valign="top" align="left">$rightcolumn</td>
</tr>
</table>
</td></tr>
</table>
<!-- End Right Column Code -->
Changes in 1.1
Some very important changes were made to the header and footer template changes. Please modify your header and footer code to use the new version.

This is now a PRODUCT and not a plugin. Use the product manager to import it. If you are upgrading, copy the contents of your left_column template to notepad BEFORE you install the product. Then, replace the template contents with your backup.

This version now includes sample html in the left_column template. Thanks to iguanairs for that code.

Show Your Support

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

Comments
  #272  
Old 04-13-2006, 11:02 PM
dilbert dilbert is offline
 
Join Date: Nov 2004
Location: Boston
Posts: 251
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dilbert
I want to keep that data I will diplay for the left column in a separate file. That way I can use the same code in other pages on the site and make fewer updates.

I can't get it to display. Here is what I am trying.

I created a plug-in for global_start with this $includedhtml = implode('', file('
D:\inetpub\bloodbanktalk\calls\test.html'));.
Then in my left_clumn template I added $includedhtml where I want it to display. Nothing happens.

Any advice on where I went wrong?

Thanks
Any advice on how to include a file?
Reply With Quote
  #273  
Old 04-17-2006, 06:25 PM
fabianv fabianv is offline
 
Join Date: Nov 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Amy ive got the column on my site with google ads and everything but I saw in your screenshot you're using your vbadvanced modules.. how do you do that? Id love to use that column for my Photopost and latest threads.

Hope to hear from you :bunny:
Reply With Quote
  #274  
Old 04-17-2006, 06:27 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did a bunch of custom coding that didn't use plugins. I'm no longer using it because some of my members hate sidebars.
Reply With Quote
  #275  
Old 04-17-2006, 06:57 PM
fabianv fabianv is offline
 
Join Date: Nov 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
I did a bunch of custom coding that didn't use plugins. I'm no longer using it because some of my members hate sidebars.

Well photopost you're supposed to add $photopostfeature or something cant remember now but I have it somewhere and all it needs done is to be added the template. I tried it with the sidebar but it didnt show up. And do you perhaps still have the code or maybe some sort of method to put latest / hot threads there?

Sorry to hear your members dont like it : /
Reply With Quote
  #276  
Old 04-17-2006, 11:00 PM
fabianv fabianv is offline
 
Join Date: Nov 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by fabianv
Well photopost you're supposed to add $photopostfeature or something cant remember now but I have it somewhere and all it needs done is to be added the template. I tried it with the sidebar but it didnt show up. And do you perhaps still have the code or maybe some sort of method to put latest / hot threads there?

Sorry to hear your members dont like it : /

if only I could atleast get photopost working on it
Reply With Quote
  #277  
Old 04-17-2006, 11:56 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have photopost and will be of no help in this area.
Reply With Quote
  #278  
Old 04-18-2006, 03:40 PM
fabianv fabianv is offline
 
Join Date: Nov 2005
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by amykhar
I don't have photopost and will be of no help in this area.

Alright I understand but could you give me a reason why some code would simply just not respond in your template ?

I added

Code:
<div align="center">
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><b>&raquo; Database</b></span></td>
</tr>
<tr>
<td color="#101010" width="100%" bgcolor="#222222">


$reviewpostfeature
$reviewpostcats

<br />

</td>
</tr>
</table>
</div>
And it simply doesnt show up... is it because its a variable and not direct HTML?
Reply With Quote
  #279  
Old 04-18-2006, 04:06 PM
amykhar's Avatar
amykhar amykhar is offline
 
Join Date: Oct 2001
Location: PA
Posts: 4,438
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It has to be in scope. If it is not declared early in the process, it won't work. The column templates have to be set up before the header template is called. The hook that gets that done is really too early in the file. There needs to be one closer to the display of the header and after some stuff has been calculated in global.php.

Amy
Reply With Quote
  #280  
Old 04-20-2006, 03:43 AM
Rahuldhanpat Rahuldhanpat is offline
 
Join Date: Jan 2006
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have Just installed it. I got a box but the problem is that i don't know HTML Plz help me to code the html....what i wanna do is exactly..is Get all the nav bar option of the side bar...give me a code and tell me where to put it in the tempalet/
Reply With Quote
  #281  
Old 04-20-2006, 04:40 AM
Mastar's Avatar
Mastar Mastar is offline
 
Join Date: Sep 2005
Posts: 680
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rahuldhanpat
I have Just installed it. I got a box but the problem is that i don't know HTML Plz help me to code the html....what i wanna do is exactly..is Get all the nav bar option of the side bar...give me a code and tell me where to put it in the tempalet/
Credit to peterska2

In the left_column or right_column depending on which you want to put the navigation, replace the entire contents with:

Code:
<br />
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
<tr>
<td class="tcat"><span class="smallfont"><b><a href="$vboptions[bburl]">$vboptions[bbtitle]</a></b></span></td>
</tr>
<tr>


<!-- Begin custom code -->
<!-- breadcrumb, login, pm info -->
  <if condition="$bbuserinfo['userid']">

    <td class="alt2" valign="top" nowrap="nowrap">
    <div class="smallfont">
      <strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong>
    </div>
    </td>

  <else />

    <td class="alt2" nowrap="nowrap" style="padding:0px">

    <!-- login form -->
    <form action="login.php" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
    <script type="text/javascript" src="clientscript/vbulletin_md5.js"></script>
    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
    <tr>
      <td class="smallfont">$vbphrase[username]</td>
      <td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>

    </tr>
    <tr>
      <td class="smallfont">$vbphrase[password]</td>
      <td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" size="10" accesskey="p" tabindex="102" /></td>
    </tr>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar">$vbphrase[remember_me]<input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" /></label></td>
</tr>
<tr>      <td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
    </table>
    <input type="hidden" name="s" value="$session[sessionhash]" />
    <input type="hidden" name="do" value="login" />
    <input type="hidden" name="vb_login_md5password" />
    <input type="hidden" name="vb_login_md5password_utf" />
    </form>
    <!-- / login form -->

    </td>
</tr><tr>      <td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>

  </if>

</tr>

<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->




<tr>    <td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
  </tr>
<tr>  <td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
  </tr>
<tr>  <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
</tr>

<tr><td class="vbmenu_control"><a href="arcade.php?$session[sessionurl]">Arcade</a></td>
</tr>



        <tr><td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td></tr>

<tr>        <td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td><tr>

<tr>        <td class="vbmenu_control"><a href="search.php$session[sessionurl_q]">$vbphrase[search]</a></td>
  </tr>


<if condition="$bbuserinfo['userid']">
<tr><td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
  <tr><td class="vbmenu_control"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr>
<tr><td class="vbmenu_control"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr>
<tr><td class="vbmenu_control"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_control"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
  <tr><td class="vbmenu_control"><a href="private.php$session[sessionurl_q]">$vbphrase[private_messages]</a></td></tr>
<tr><td class="vbmenu_control"><a href="subscription.php$session[sessionurl_q]">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_control"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
  <tr><td class="vbmenu_control"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr>
<tr>
      <td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out()">$vbphrase[log_out]</a></td></tr>

</if>

<!-- End custom code -->


</tr>
</table>
<br />
You can add or delete which ever links you don't want.
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 11:42 AM.


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.04735 seconds
  • Memory Usage 2,336KB
  • Queries Executed 25 (?)
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
  • (3)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete