vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Put a Column on the Left Side of Every Forum Page (https://vborg.vbsupport.ru/showthread.php?t=91888)

ssanders 02-14-2006 05:07 AM

where do i go to put code/stuff in the column?

Smiry Kin's 02-14-2006 05:34 AM

Quote:

Originally Posted by ssanders
where do i go to put code/stuff in the column?

templates

right_column and left_column

ssanders 02-14-2006 05:43 AM

ahhh i get it now. thx

Taylor123 02-24-2006 08:39 AM

is there a place that would tell me how to put it down the right column? i saw you say just edit the html, but i wouldn't know what to edit exactly

and is there also a chance that I could make the column only viewable on the index.php page and not ALL the forum pages?

ubblite 02-25-2006 07:41 AM

I wish Amy could come up with a product update for this. A Forumhome option only would be nice, as well as compatibility with both Firefox & IE with placement options. There are some good code updates by users in this thread which do work, but in the end I still can't get Firefox to display correctly. I think this product has some potential left.

funinthesun 02-26-2006 05:55 PM

I've got this installed and working but how do I change the code so that it's only displayed on the forum home page and also so that it is beneath my navbar rather than beside it? Thanks in advance :)

ubblite 02-26-2006 06:50 PM

Quote:

Originally Posted by funinthesun
I've got this installed and working but how do I change the code so that it's only displayed on the forum home page and also so that it is beneath my navbar rather than beside it? Thanks in advance :)

Here's the solution for both of your questions:

https://vborg.vbsupport.ru/showthread.php?t=108664

Just make sure you remove your previous left side column code changes before applying the new one (obviously) ;)

Scratz 02-26-2006 07:26 PM

I have what you desire on my sites forumhome and forum display but threadview I chose to leave alone. Viewable here:
http://www.cyberanswers.org/forum/

I accomplished it by editing the forum home and threadview templates only and no others.

Hope that helps.

RDX1 03-02-2006 09:18 PM

There is one problem with this hack. It seems you can not call another template or phase that is in the hack.

How can I get it so when I call another template through $templatename or a phrase, to get it to show up?

Stokerockscene 03-03-2006 09:43 AM

I have got the left hand column working on FORUMHOME, but what i want is to display the vbshoutbox on the left hand side of every forumpage..

how do i achieve this?

theo 03-29-2006 10:16 AM

I just get this when I try to import the product

XML Error: syntax error at Line 2

anybody help

theo 03-29-2006 06:29 PM

Actually after trying again I'm now getting the following:

XML Error: xml declaration not at start of external entity at Line 1

Please can somebody try and help asap.
I need this implementing asap and had been hoping to get it done today :(

theo 03-31-2006 07:39 PM

my you get quick help around here :confused:

silurius 03-31-2006 07:47 PM

Quote:

Originally Posted by theo
my you get quick help around here :confused:

Sometimes you get what you pay for.

maister 04-07-2006 11:39 PM

I can't think of anything i did except for upgrading to 3.5.4

it just isn't picking up "rightcolumn"
the footer and header are correct . .but the templeate right_column doesn't seem to be picked up.

any thoughts?

www.gethighered.com
if you wanna take a look.

Thanks

peterska2 04-08-2006 12:00 AM

is the plugin showing as active? It appears to be adjusting the templates correctly, but just not calling the template for the column, which is why I think it is probably the plugin has been deactivated or unintentionally uninstalled. Try reinstalling the plugin ensuring you set it to 'allow overwrite' = yes. Make sure you use the right plugin too as they are different for the two columns.

maister 04-08-2006 12:13 AM

Do you mean product as opposed to plugin?

Yes, I reinstalled the right plugin with "overwrite" checked, but nothing.
Other templates get pulled in correctly..

other thoughts?

I'll try to recreate the template with a new name.

peterska2 04-08-2006 12:20 AM

Sorry, yes the product for overwriting, but installing the product will have produced a couple of plugins in the plugin manager.

Creating a replacement template won't work without going through the plugins and changing all the references to the new template name.

maister 04-08-2006 12:38 AM

found it.. . another product messed up the right col.

Thanks for your help

peterska2 04-08-2006 12:39 AM

not a problem, just glad you got it sorted.

Mastar 04-08-2006 02:56 AM

I can't a space between the actual forum and the side columns

http://www.conejowellnesscenter.com/forums/index.php?

Mastar 04-08-2006 04:21 AM

K I think I found 1 prob. the instructions says to add the code in the header at the end of the template but I move the '$spacer_open' above the column code and it added the spaces. There is still one more problem, on the right side of the actual forum there is an extra block running down.

Any Ideas?? http://www.conejowellnesscenter.com/forums/index.php?

Chad F. 04-09-2006 12:15 AM

Quote:

Originally Posted by Allan
Thanks ;)


edit: i'm problem, look the scren please

https://vborg.vbsupport.ru/showpost....&postcount=151 ^

I'm having the same problem, can anyone help please?

peterska2 04-09-2006 12:31 AM

Quote:

Originally Posted by Chad F.
https://vborg.vbsupport.ru/showp...&postcount=151 ^

I'm having the same problem, can anyone help please?

you will need to reduce the width of the column in the header and footer template edits. This only happens when the site is using a fixed width style.

peterska2 04-09-2006 12:34 AM

Quote:

Originally Posted by Mastar
K I think I found 1 prob. the instructions says to add the code in the header at the end of the template but I move the '$spacer_open' above the column code and it added the spaces. There is still one more problem, on the right side of the actual forum there is an extra block running down.

Any Ideas?? http://www.conejowellnesscenter.com/forums/index.php?

I don't see how this mod can cause that, as that is in the forumhome template which this mod doesn't touch.

Mastar 04-09-2006 01:35 PM

Thank you I realized that.

How Can I add a mini calendar to the left column, I tried but it doesn't show.

Better yet is there an easy way to add content??

mattyk72 04-10-2006 02:00 PM

Is there a way to make the column not show up on a vbadvanced home page?? I'm really interested in using this on my forum pages only. If this has already been answered I apologize, could someone point me in the right direction? thanks

Yukino_AE 04-11-2006 07:25 AM

i LOVE this addition! i was wondering if there was a way to have not only the column on the left but also a column above the forum as well.

Mark Raven 04-11-2006 02:46 PM

I don't suppose anyone knows how to put Users Online in the sidebar?

I did a search of the thread, but the only real answer anyone gave was to copy the code from the forumhome template, which didn't work. (None of the actual information showed up).

dilbert 04-13-2006 09:10 AM

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

dilbert 04-13-2006 11:02 PM

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?

fabianv 04-17-2006 06:25 PM

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:

amykhar 04-17-2006 06:27 PM

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.

fabianv 04-17-2006 06:57 PM

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 : /

fabianv 04-17-2006 11:00 PM

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 :(

amykhar 04-17-2006 11:56 PM

I don't have photopost and will be of no help in this area.

fabianv 04-18-2006 03:40 PM

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?

amykhar 04-18-2006 04:06 PM

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

Rahuldhanpat 04-20-2006 03:43 AM

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/

Mastar 04-20-2006 04:40 AM

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.


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

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.01897 seconds
  • Memory Usage 1,856KB
  • 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
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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