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)

cmiller1014 07-31-2005 05:07 AM

Quote:

Originally Posted by Blootix
Ack I can't do that!

To the author: Can you post a template that's nice for all styles? Because I'm not very good at HTML coding...

I dont think they're going to do it. This is one of those 1/2 hacks :D I gave up on it because if you install it the way it says, you get the time zone stuff shoved up in the right hand corner, a vertical scroll bar, and emptiness like you stated. Its not quite complete. :)

Dez_U 07-31-2005 05:23 AM

Guys, I am a total idiot when it comes to these things but I eventually figured out the HTML to stop the time zone going up the right hand side.

As for making content, its simple, even I managed it :D

Its A GREAT HACK.

FleaBag 07-31-2005 12:22 PM

I may be missing something here... But where do I put my HTML?

amykhar 07-31-2005 02:11 PM

In your leftcolumn template is where you add your column code.

Gang, this isn't a template mod. I assume that if you all want a left column on the side of your page, that you know what you want in it. This is simply a way to give you an easy way to edit and display your column content.

The stuff I have on mine won't work for you. I have all kinds of other unreleased custom mods working to make mine show some meaningful stats.

And, it's not a half hack that I gave up on. The HTML you need will depend on your style and your tastes. It was never meant to be a copy and paste one-style fits all thing. If it were, I would have made it a template-only mod and released it there.

Amy

FleaBag 07-31-2005 02:14 PM

Hey Amy, I know exactly what it is, just wasn't sure where heh. Would have thought a "leftbar" template would have made more sense - or would that incur more queries?

amykhar 07-31-2005 02:19 PM

Quote:

Originally Posted by FleaBag
Hey Amy, I know exactly what it is, just wasn't sure where heh. Would have thought a "leftbar" template would have made more sense - or would that incur more queries?

Huh? If you don't like the name of the template, change it in both the template name and the header code. ;)

FleaBag 07-31-2005 02:32 PM

I'm sure I've missed something here...

/me goes to look it over again.

cmiller1014 07-31-2005 03:39 PM

All you have to do is include a simple template with a header and main content area like every other vbulletin table and it can take on the settings of the users style. Noone is asking for your other mods, just more than an empty left column. Throw us some html that we can wrap around our ads or whatever we put over there.

FleaBag 07-31-2005 04:40 PM

OK I think I realise what the problem is. Is there meant to be a custom template associated with this hack? Because I don't have one lol.

amykhar 07-31-2005 05:00 PM

Did you read the install instructions? Fleabag, this one predated products. You have to add the template yourself.

FleaBag 07-31-2005 07:03 PM

Amy I apologise. I had read the install file over and over - all but the first line - telling me to create a template. My stupidity is surpassed only by my inability to follow clearly laid out instructions. Ignore my previous babble, I didn't even know what I was talking about.

Thanks Amy. ;)

EasyTarget 07-31-2005 08:43 PM

can someone post the fix to make it so the timezone stuff doesn't get pushed over please?

is it to just paste the info to the bottom of the footer instead of the top?

cmiller1014 08-01-2005 06:55 AM

I must be a real friggin idiot. I can not get a decent looking table to appear over to the left to save my life. Can you throw us a bone here and just post some html and tell us where to put it?

This is frustrating :(

cmiller1014 08-01-2005 07:04 AM

I put in a generic table shell like vbadvanced uses for its modules, but there is no spacing between it and the main forum table. Apparently I need a little more help with this one. Not quite a "plug in"

EasyTarget 08-01-2005 10:19 AM

try something on the table you put in (if it uses a table) like width="95%", other than that I dunno. I was also messing around with the td classes on the links I was adding using
Code:

<td class="tcat">
<td class="thead">
<td class="vbmenu_option">
<td class="alt1">
<td class="alt2">
<td class="alt3">

which can give your menu that integrated look.

Rich 08-01-2005 06:39 PM

Hello,

I just gave this a whirl and it says "Invalid File Specified" and won't import the file. Why?

EasyTarget 08-01-2005 06:45 PM

I had that problem with something else.. but it was as simple as using the other import option in the Admin CP.
Manage products > add/import product
or Download/Upload Plugin

try using whichever one you hadn't done yet.

Rich 08-01-2005 06:48 PM

Hello,

Thank you, that did the trick!

amykhar 08-01-2005 06:52 PM

Guys, if it's a beta release and not an RC1 release, it CAN'T use products. It uses plugins. If it's an RC1 release, it most likely uses products.

Rich 08-01-2005 07:04 PM

Hello,

Easy Target, this will correct that issue:


In your footer template, look for:

Code:

<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />

Cut it and paste it BELOW:

Code:

$spacer_close
That will prevent it from being pushed over to the side, and will place it at the bottom again.

If you want there to be a space between the last "box" and the time, add a <br /> above that section of code.

EasyTarget 08-01-2005 07:10 PM

thanks ig, added it to my readme so when I reinstall I'll have it there.

cmiller1014 08-01-2005 09:13 PM

Anyone got any good html they can post for the side_column template? I still cant get anything to look good over there...... I just want to have a html table that looks like a module on vbadvanced cmps, with my adverts in it.

Rich 08-01-2005 09:30 PM

Hello,

How do I prevent this from effecting the cmps? I installed vBadvanced cmps, and this modification also displays on the cmps index page.

My forums are now named" forumhome.php" and the cmps is "index.php". Is there a way to make this not display on the index page, or do i need to uninstall this? It looks horrid when there is a portal in use.

Rich 08-01-2005 09:58 PM

Hello,

To create a "block" that resembles the vBadvanced Blocks, use this code in your left column template:

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>&raquo; Block Name</b></span></td>
</tr>
<tr>
<td color="#FFFFFF" width="100%" bgcolor="#FFFFFF">

<!-- Begin custom code -->
You can add anything in here.
<!-- End custom code -->

</td>
</tr>
</table>
<br />

This is some slightly modified code from the old vbadvanced Basic Module Code.

This is what I am using on my test forum, and it works well.

amykhar 08-01-2005 11:38 PM

Quote:

Originally Posted by iguanairs
Hello,

How do I prevent this from effecting the cmps? I installed vBadvanced cmps, and this modification also displays on the cmps index page.

My forums are now named" forumhome.php" and the cmps is "index.php". Is there a way to make this not display on the index page, or do i need to uninstall this? It looks horrid when there is a portal in use.

Yes, there's a conditional you can use. Personally, I just turned the left column off in my portal and use only the middle and right one.

I am at work right now and can't look up the exact syntax you'll need. I'll post it tomorrow.

cmiller1014 08-01-2005 11:48 PM

Opps nevermind... post above.

Rich 08-02-2005 11:26 AM

Hello,

Thanks Amy. I am fairly new to this, so that code will certainly help. lol I haven't uninstalled it yet, as I figured there was a way to do it. :D

I was going to use the concept of removing the left side from my portal, but I actually need it.

amykhar 08-03-2005 03:42 AM

Here's the conditional that you can use to see if you are on the portal page:
Code:

<if condition="VB_AREA == VBA_PORTAL">

</if>


cmiller1014 08-03-2005 03:43 AM

Thanks! How would I make it read "if not on portal page"?

I know its something like != but not sure where to put that.

amykhar 08-03-2005 03:52 AM

Instead of == use !=

Rich 08-03-2005 05:46 PM

Hello,

Ok, where does this code go? I tried in several different locations, and it didn't work so I must be using the wrong places. lol

amykhar 08-03-2005 05:51 PM

Wrap it around the code in your header and footer. I showed somebody earlier in the thread how to do it for certain user groups. It's the same principle.

Rich 08-03-2005 06:10 PM

Hello,

I wrapped it around the header, then ended it in the footer. lol Thanks. This worked like a charm.

amykhar 08-03-2005 06:12 PM

glad to hear it :)

vprp 08-04-2005 09:19 AM

I'm using RC1. When I try uploading the file, it says it was created by a different verison of vB. Is there a version of this for RC1?

amykhar 08-04-2005 11:18 AM

Not yet.

Rich 08-04-2005 01:40 PM

Hello,

This modification works as is on RC1. (I know, I have it installed on my RC1 test site.)

When you upload the xml, tell it to ignore style version. Then follow the instructions.

amykhar 08-04-2005 01:56 PM

Thanks for the tip :)

Amy

akanevsky 08-04-2005 04:19 PM

Quote:

Originally Posted by amykhar
It's been done for 3.0.7. Just do a search. :)

Amy

Ummm.. Can't find it. Could you please throw a link on the paper please? ;)

yupfish 08-04-2005 11:28 PM

Could you provide us with a code to make a simple table with a border? Thank you.


All times are GMT. The time now is 04:21 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.01411 seconds
  • Memory Usage 1,814KB
  • 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
  • (5)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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