View Full Version : Put a Column on the Left Side of Every Forum Page
amykhar
07-08-2005, 10:00 PM
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 (https://vborg.vbsupport.ru/showthread.php?t=94495) , change the footer code to:
<!-- 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.
albarq
07-09-2005, 08:50 PM
great
lazorde
07-09-2005, 08:52 PM
thanx for hack
i really need this for 3.0.7
Can you also do this for my version,
thx!
amykhar
07-09-2005, 09:32 PM
It's been done for 3.0.7. Just do a search. :)
Amy
chanhlinh
07-10-2005, 04:39 AM
I have a small question that How to creat the rightside Navigation?
Thanks in advanced!
Chanhlinh
amykhar
07-10-2005, 05:02 AM
I have a small question that How to creat the rightside Navigation?
Thanks in advanced!
Chanhlinh
It's the same thing, but you change the html in the header and footer templates.
Brandon Sheley
07-10-2005, 05:04 AM
very nice, i'll use this when i make the big switch to 3.5
thank you
DR?@M W?@V?R
07-10-2005, 06:06 AM
Some information to make and what to put in the left_column template would be good, as it seems to be over looked.
shiva
07-14-2005, 08:31 AM
Sorry, can't read xml files, but is this able to restrict viewing to certain membergroups?
amykhar
07-14-2005, 02:04 PM
Sorry, can't read xml files, but is this able to restrict viewing to certain membergroups?
No. But you could use template conditionals to do it.
shiva
07-15-2005, 05:50 AM
Okay, not sure how to do that or where to put it though.
Could I ask for some hand holding here. :)
amykhar
07-15-2005, 12:40 PM
Okay, not sure how to do that or where to put it though.
Could I ask for some hand holding here. :)
It depends on what you want to do. If you only want the column to show for some groups, you wrap the header and footer code in conditionals to make sure it is only displayed to the groups you choose.
If you want to restrict the content that some groups see, you wrap the content in your left column template in the conditionals.
shiva
07-15-2005, 10:19 PM
It depends on what you want to do. If you only want the column to show for some groups, you wrap the header and footer code in conditionals to make sure it is only displayed to the groups you choose.
Thanks for writing back, this is where I need help. Not to sure about what code would be needed, and where it should be placed
If you want to restrict the content that some groups see, you wrap the content in your left column template in the conditionals.
Worry about one thing at a time. :)
amykhar
07-15-2005, 10:31 PM
Header
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6,27)))">
<!-- Left Column Code -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="left">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
</if>
Footer
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6,27)))">
<!-- Left Column Code -->
</td></tr>
</table>
</td></tr>
</table>
<!-- End Left Column Code -->
</if>
This example would only show the column to the people in usergroups 6 and 27
shiva
07-15-2005, 11:04 PM
Thanks, I will give this a shot then, once my server starts working again.
grrrr
Cyricx
07-19-2005, 05:03 PM
Small note :)
In the template edit for the header you have $left_column
In the xml you have $leftcolumn
Hhehe, I just changed the header template edit to $leftcolumn and it works for me now :)
Thanks for the hack Amy :)
Sovereign
07-19-2005, 05:33 PM
Yay, I can put my PHP-Nuke menu in without exposing vB to Nuke's security holes (and having to do major hacking!)
cmiller1014
07-20-2005, 10:15 AM
This is great but what does the USER CP look like since it already has 2 columns?
shiva
07-20-2005, 10:27 AM
Beat me to it Cyricx :)
Thing is, I would like it so the navbit is above the left column, so would adding the table code directly in the navbit template work?
Also, this doesn't look good on certain themes as well, I added my vb table code and fixed the html a bit, so the left column matches the theme design with the tables the theme uses (It's pretty standard code easy enough to find)
amykhar
07-20-2005, 01:07 PM
I modified my usercp to put the column on the right hand side.
Shiva, if you look at my site, you will see that I have the navbar above the column. Just add the html that should be in the header to the bottom of the navbar. You may have to do some html tweaking though.
Cyricx
07-20-2005, 03:42 PM
moved your usercp column to the right side? or the sidebar to the right?
Very curious on how you moved the usercpl, if that's what you did :)
amykhar
07-20-2005, 05:53 PM
I moved the usercp one. Go register at my site and take a peek if you'd like. That way, you'll know how it looks before you tinker with yours. Moving it is easy. It's just a matter of modifiying the usercp shell template.
Cyricx
07-20-2005, 07:38 PM
Yep, MGM over at vbulletin.com showed me how. I kept trying to mess with aligns hehe.
It looks awesome with the usercp on the right too :)
Thanks for the hack Amy! :)
shiva
07-20-2005, 10:33 PM
Thanks as well.
I just ordered my new server, so that info will come in handy.
cmiller1014
07-22-2005, 09:06 AM
It's been done for 3.0.7. Just do a search. :)
Amy
Can you link us to this? I was unable to find it....
cmiller1014
07-22-2005, 10:04 AM
This doesnt work at all for me unless I am doing something wrong. I am supposed to upload the XML file under Download / Upload plugins in the admin cp right?
cmiller1014
07-22-2005, 10:06 AM
this friggin sucks. Can you provide some more info please? How about a template we can use to make it look like the rest of VB? :(
steven s
07-25-2005, 11:16 AM
This doesnt work at all for me unless I am doing something wrong. I am supposed to upload the XML file under Download / Upload plugins in the admin cp right?That's what I did also. I edited the header and footer. I edited the left_column template with some text. Plugins are set to yes. Still a blank column. Running vB 3.0.5 b4
I was hoping to have the latest threads and a nav block in the column.
Edit: Now rereading the entire thread up until this point,
see https://vborg.vbsupport.ru/showpost.php?p=738515&postcount=17
The code (left_column) in the header needs to match the plugin.
amykhar
07-25-2005, 07:19 PM
I fixed the zip file.
cmiller1014
07-27-2005, 04:57 AM
Sigh, what ever happened to the old hacks database that only included bug free, ready to use hacks? Everything I have installed lately has a million problems. I am left with about 5 hacks that *almost* work. :(
amykhar
07-27-2005, 12:59 PM
ALL 3.5 hacks are in beta right now. It takes a bit of time to work out the kinks in install directions and such.
Amy
Dez_U
07-28-2005, 07:59 PM
sorry, I put this in and it threw everything to one side.
My forum is centered, is that the problem? Also I am running a CMS
web site is www.refrigeration-engineer.com/forums
I took the footer code out to stop it being thrown over
amykhar
07-28-2005, 07:59 PM
You may need to tinker with the html to fit your specific style.
Dez_U
07-28-2005, 08:21 PM
OK, getting there :)
How do I stop this left colmn showing up on the index? when I have a CMS?
thanks
amykhar
07-28-2005, 08:43 PM
Use conditionals, sort of like the stuff posted above to make it show for different usergroups. But, this one needs to check the value of THIS_SCRIPT.
cmiller1014
07-30-2005, 02:42 AM
can you just post a basic template that will work with all styles? I am unable to make the column look like anything. its a mess :(
Blootix
07-31-2005, 05:01 AM
can you just post a basic template that will work with all styles? I am unable to make the column look like anything. its a mess :(
This won't work with RC1... There's a bunch of "emptiness" when I installed it. Look at the screenshot for further info.
Hold on... posting screenshot now...
cmiller1014
07-31-2005, 05:04 AM
There is a bunch of emptiness on any version. You need to come up with the content, tables, etc. It wont look anything like the author posted, you have to do that on your own.
Blootix
07-31-2005, 05:06 AM
There is a bunch of emptiness on any version. You need to come up with the content, tables, etc. It wont show up looking like the author posted, you have to do that on your own.
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...
cmiller1014
07-31-2005, 05:07 AM
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
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
<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.
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.
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.
Hello,
Easy Target, this will correct that issue:
In your footer template, look for:
<div class="smallfont" align="center">$vbphrase[all_times_are_gmt_x_time_now_is_y]</div>
<br />
Cut it and paste it BELOW:
$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.
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.
Hello,
To create a "block" that resembles the vBadvanced Blocks, use this code in your left column template:
<br />
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="90%">
<tr>
<td class="tcat"><span class="smallfont"><b>» 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
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.
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:
<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 !=
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.
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 :)
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.
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
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.
Hello,
Here is the basic html for a table with a border:
<table border="1" width="90%" cellpadding="0" cellspacing="0">
<tr>
<td>your text or code here</td>
</tr>
</table>
You can add: align="center" to the opening table row so the table centers itself.
You can also increase the width, or use a set width by changing the "90%".
To make a thicker border, just increase the border="1" with a higher number.
**** This modification works "as is" on RC2 ****
Hello,
I found something that I know is an easy fix, but I don't know how. lol I have an uncached template. Where does this get added to be cached?
Page generated in 0.09874 seconds with 15 queries (1 queries for uncached templates) [Server Loads: 0.17 0.25 : 0.30]
Uncached templates: left_column (1)
amykhar
08-06-2005, 07:30 PM
I'll get you the plugin code for that in a sec. Back when I wrote this mod, we didn't know how to cache the templates in plugins yet.
Hello,
Thanks Amy, I can wait. I am not running live with this site yet.
akanevsky
08-06-2005, 08:50 PM
Ummm.. Can't find it. Could you please throw a link on the paper please?
There we go, thanks.
talkhost
08-07-2005, 06:31 AM
I've installed this and it looks good. Handy for placing google ads :)
Is there an easy way it can be changed from the left to the right of the forum?
Hello,
As previously stated, I was looking for a way to have the left_column template get cached. I know Amy is working on adding it to the zip, but this is how I manually did it.
(It works, though I am not 100% certain it needs to be in THIS location. But it DOES cache it!)
Open your global.php file found in your root directory. (root/global.php)
Look for:
// templates to be included in every single page...
$globaltemplates = array_merge($globaltemplates, array(
Under this section, look for:
'headinclude',
Below that, add:
'left_column',
Save the file, and upload. The left_column is now being cached.
MentaL
08-10-2005, 03:22 PM
it buggered mine up on rc2
Cyricx
08-10-2005, 03:29 PM
Double check your edits, I'm running it just fine on rc2.
Hello,
Yup, this mod works fine on RC2 as does the code I posted throughout this thread and the means for cache. You must have made a mistake with the edits somewhere.
talkhost
08-13-2005, 09:31 AM
I've installed this and it looks good. Handy for placing google ads :)
Is there an easy way it can be changed from the left to the right of the forum?
Does anyone know how to do this. It would be better for ads to be on the right hand side of the page as CTR increases for some reason when ads are there..
Must be something to do with the eye following text then seeing the ads :ermm:
ohgenki
08-17-2005, 12:56 PM
ya i agree....hmm, anyway to make it to the right instead ?
Hello,
I think adding it to the right just requires placing the left hand code in the proper location. I could be worng. I think Amy is waiting for 3.5 to go gold before she does any more updates. I am pretty sure that when this is upgraded, she will tell everyone how to add it to the right side seeing as this has become a popular request.
amykhar
08-17-2005, 01:57 PM
Here's one for your righties :D
https://vborg.vbsupport.ru/showthread.php?t=94495
I even put directions on how to use them both at the same time.
Hello,
Thanks Amy! Your awesome!
talkhost
08-18-2005, 04:14 PM
Thanks Amy, just what I was looking for
EasyTarget
08-18-2005, 08:03 PM
I'm trying to use this product for some custom, non forum pages and not on the forum itself. I copied the header template and made a header2 template with the left bar code and did the same for the footer. Then I went to the custom page template I was testing and change $header and $footer to $header2 and $footer2 but this just made it so the header and footer didn't show up.
Can someone lead me in the right direction on how I could do this?
ohgenki
08-19-2005, 01:54 AM
thanks amy !
amykhar
08-19-2005, 02:19 AM
I'm trying to use this product for some custom, non forum pages and not on the forum itself. I copied the header template and made a header2 template with the left bar code and did the same for the footer. Then I went to the custom page template I was testing and change $header and $footer to $header2 and $footer2 but this just made it so the header and footer didn't show up.
Can someone lead me in the right direction on how I could do this?
you need to change the eval code in userpage.php to eveal header2 and footer2 instead of header and footer.
Marco van Herwaarden
08-25-2005, 07:52 AM
Thanks for the Product Amy. I just installed it on the board of a client, and i found 2 bugs and have 1 feature request:
Bugs:
- In the instructions for the header template, there is a double '<' in front of the opening table tag.
- Disabling the product will not disable all traces of the sidebar.
Request:
- I don't know how to describe this, but i know it is possible (lol, i really have no clue, i guess it will require some JS) to let the sidebar scroll together with the page (if you scroll down the bar also scrolls down so it is always visible). Not sure if this is easy or not.
amykhar
08-25-2005, 12:45 PM
There is no way for disabling the product to disable all traces of the sidebar because you have to edit the header and footer template. Products don't track changes to existing templates.
Regarding the second, I'm sure it's an HTML or CSS thing. It's just not something I have researched because I've never had cause to use it.
Marco van Herwaarden
08-25-2005, 12:53 PM
To solve 'bug 2':
New header template edit:
<!-- Left Column Code -->
<if condition="$vbulletin->registry->products[amykhar_080517_l]">
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
</if>
<!-- End Left Column Code -->
new footer:
<!-- Left Column Code -->
<if condition="$vbulletin->registry->products[amykhar_080517_l]">
</td></tr>
</table>
</td></tr>
</table>
</if>
<!-- End Left Column Code -->
PS in the above code the extra '<' of bug 1 is also already removed.
Marco van Herwaarden
08-25-2005, 12:54 PM
PS With removing all traces, i ment removing all visible traces (not showing the empty space anymore)
Marco van Herwaarden
08-25-2005, 12:59 PM
Oops that code will not work. It will remove the traces alright when the product is disabled, but it will also not show when enabled. Give me a bit to come with a good solution.
amykhar
08-25-2005, 03:21 PM
It's a cool idea though, Marco. If we can get that figured out, it will help for a ton of mods.
Marco van Herwaarden
08-25-2005, 03:59 PM
Sorry i didn't have a look at it now, blame Bobfool for that. :D
IFor[You]
08-26-2005, 10:35 AM
hi, may I know how do we move some components of forum home, like today's birthdays and upcoming events, to the left column?
amykhar
08-26-2005, 11:56 AM
It would mean writing some additional code in the plugin to pull the info that you want.
Amy
ohgenki
08-26-2005, 01:13 PM
how do we include your hottest forum topics there ? can't seem to add any code there at all.
amykhar
08-26-2005, 01:16 PM
No, you won't be able to do it with the plugin because that was designed for forumhome. To get dynamic data in the sidebars, you will have to write code in the plugin to pull the info you want.
ohgenki
08-26-2005, 01:33 PM
ok, i get it now, so i just need to copy your entire hottopics plugin into the current right panel plugin under the -add any code here-
than paste the hottopics code install.txt for the right panel, right ?
amykhar
08-26-2005, 01:37 PM
That's the general idea, but some tinkering might be required. Also, any dynamic stuff you want shown must be included before the call to process the template.
Matt Collins
09-02-2005, 05:37 AM
When I attempt to import this I keep getting the error:
"Sorry, no XML was passed into this function and the $path variable empty"
Quincy Wisdom
09-05-2005, 06:54 PM
it works great all over the forum except for the threadview. I've attached two screenshots so you can see the before and after. You can see how in the after, the actual thread is squished.
Before adding the box: http://www.voicepeace.com/before.jpg
After adding the box: http://www.voicepeace.com/after.jpg
Does anyone have any ideas for helping the actual thread part sretch out more like the navbar?
Thanks!
TbChampions
09-08-2005, 03:14 PM
I installed this yet only have the left column on the forum's main page. It doesn't show up in my CMPS front page or the subpages of my forum.
What might be the problem? Any help much appreciated!
yupfish
09-09-2005, 04:14 PM
Could you please port this over to RC3? I just tryed to install it on RC3 and i got some errors when editing templates.
Wordplay
09-11-2005, 10:30 AM
i can hardly get anything to show up in the column. how would i go about showing the "currently online" list that is usually at the bottom in there?
turkforum
09-15-2005, 01:46 AM
it works great all over the forum except for the threadview. I've attached two screenshots so you can see the before and after. You can see how in the after, the actual thread is squished.
Before adding the box: http://www.voicepeace.com/before.jpg
After adding the box: http://www.voicepeace.com/after.jpg
Does anyone have any ideas for helping the actual thread part sretch out more like the navbar?
Thanks!
Your solution is right here.. :)
https://vborg.vbsupport.ru/showpost.php?p=484972&postcount=44
dookie
09-16-2005, 08:39 AM
Installed, works. :)
Thank you!
Your solution is right here.. :)
https://vborg.vbsupport.ru/showpost.php?p=484972&postcount=44
I'm having the same squishing problem. I read that post and it didn't seem to fix it.
NewOrder
09-18-2005, 03:20 PM
ok i just added this, few qiestions though#
http://www.computertektalk.com/
why is there a random "<"??
how can i make the column only apear on the forum index, and how can i make it wider without having it touch te actual forum area??
thanks
The Realist
09-18-2005, 04:20 PM
Check the code because there is an extra < in there somewhere thats causing it to appear in your forum.
ok i just added this, few qiestions though#
http://www.computertektalk.com/
why is there a random "<"??
how can i make the column only apear on the forum index, and how can i make it wider without having it touch te actual forum area??
thanks
Just installed this and checked the code and there is an extra > in there at:
<!-- Left Column Code -->
<<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
See the beginning of the code, it says: <<table border="0" blah, blah. Remove one of the < and all is 100%.
Laters
socalsoccer
09-18-2005, 04:22 PM
Check the code because there is an extra < in there somewhere thats causing it to appear in your forum.
Yes I found that extra < also :)
NewOrder
09-18-2005, 05:13 PM
I noticed my header is built into my Forum box unlike the computertektalk site, and his left box is where I want mine to start.
Here is a site that has the leftcolumn under the header/banner? How do I do that? Mine runs all the way to the top of the page.
http://www.alliancemodding.com/
funny that as i want mine like yours
how do i change how wide the box is?
socalsoccer
09-18-2005, 05:28 PM
funny that as i want mine like yours
how do i change how wide the box is?
I followed the instructions and mine went to the top. Now I have just edited the Forum Home template and placed the code after the header to almost get what I want. There Is just a 1/4 inch space with my main and left column that I want flush. Reason I edited Forum Home was because I did not want the left column on every page. Here is my code in my Forum Home:
><!-- Left Column Code -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr><td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
<!-- main -->
<table class="tborder" cellpadding="$stylevar[cellpadding]"
How can I make it flush with my Main?
Thanks socalsoccer.com
socalsoccer
09-18-2005, 08:28 PM
Another problem I encountered was when I added another gif picture, it placed it to the right side of the previous one. This pushed my forum way to the right. How can I line up small gifs that are linked on top of eachother. Here is one gif link
<!-- Begin custom code -->
<a href="http://www.fifa.com/en/news/feature/0,1451,109644,00.html" target="'_self'"><img src="http://www.socalsoccer.com/bu17.gif"alt="" border="0"></a><!-- End custom code -->
Thanks
socalsoccer
09-18-2005, 08:51 PM
This sites column with multiple JPG's is what I would like to replicate. But how do I stack the gifs like this without pushing the forum over everytime I add a gif?
http://www.refrigeration-engineer.com/forums/showthread.php?t=2674
socalsoccer
09-18-2005, 11:46 PM
I almost got it :) I just need to get rid of that white line below my gif. Does anyone know what that line may be caused by? After that I need a way to stack a bunch of Gif/links , does anyone know the code? If I add another , it will align to the right of the next gif, therby pushing my forum farther to the right.
Thanks www.socalsoccer.com
I can get everything to work except my Googleads ..... for some reason they don't show up at all, anybody have any suggestions?
Can I show something in the column depending on what skin you are using?
For example: If you're using skin 1 you'll see a red google ad in the column. And if you're using skin 2 you'll see a white google ad.
Is there any way to do this? Thanks
Could somebody possibly throw me a bone on this? I have always used 160x160 skyscraper google ads but when I paste them in the left column template they do ont show up, I have other ads just simple images with a link that show up fine but I can't get the google ads to show up and I am losing mucho cash.
Thanks
KingSpade
09-23-2005, 02:17 AM
Can I show something in the column depending on what skin you are using?
For example: If you're using skin 1 you'll see a red google ad in the column. And if you're using skin 2 you'll see a white google ad.
Is there any way to do this? Thanks
Untested, but you could try:
<if condition="$styleid == ID">
Red Google Ad
<else />
<if condition="$styleid == ID">
White Google Ad
</if>
</if>
Untested, but you could try:
<if condition="$styleid == ID">
Red Google Ad
<else />
<if condition="$styleid == ID">
White Google Ad
</if>
</if>
Thank you, Sir.. I'll try that! :squareeyed:
Clayton
09-29-2005, 01:30 PM
Hi there
is it possible to add a left and right column to the forum pages, if ne is using CMPS for the index.php page with this, please?
Sorry, if the answer is given elsewhere in the thread
Thank you
C
Ericsson
09-29-2005, 04:09 PM
How can I add a log in box? I also have a random '<' on the top of my forum.
yupfish
10-02-2005, 02:44 AM
Do you guys think it's safe to install this vB 3.5.0 RC2 hack on vB 3.5.0 Gold? Thx!
Clayton
10-02-2005, 05:34 AM
from what I have read it shouldn't effect the hack at all. The whole development of 3.5 is a new system which doesn't need you to redo your hacks etc ..
Read the thread where it mentions Template changes to check whether it effects this particular hack.
http://www.vbulletin.com/forum/showthread.php?p=972124
Milez
10-03-2005, 06:33 PM
I have found that installing this hack on Vb3.5.0 Gold results in your sidebar collumn (left or right) showing fine on forumhome and showthread but NOT for any other page, like search for example. The table cell shows up where your content should be but nothing shows up. I have looked at this for hours...
Anyone else see this happening? Can aomeone step up and support this hack?
badblu
10-04-2005, 06:22 AM
how do i add some of the VBA boxes to this. I want the poll and recent threads to show up.
is it hard or is it easy to do.
Yorixz
10-04-2005, 07:19 AM
how do i add some of the VBA boxes to this. I want the poll and recent threads to show up.
is it hard or is it easy to do.
You should take a look at the vBa's User Manual at the site; explains how to make the forum included as a vBa page.
Hey Amy.. leftcolumn.txt has a naughty little extra < that has sneaked in before the beginning <table tag.
:)
Blindchild02
10-12-2005, 12:17 PM
is there any way i could get...
Registered Members Online,
Guests Online,
Most users ever Online
and the top5 latest threads
into your sidebar?
cheech4487
10-15-2005, 01:54 AM
Clicks install, thanx Amy!!! :banana:
Got it installed on 3.5.0
Anne Lise
10-15-2005, 09:31 AM
I have changed it to right_column. But at the left_column it is a "blank" column. How do I delete it?
NemoTech
10-19-2005, 01:41 PM
Thanks amy. Great work.
One question. I have everything working fine.. I know how to add content to the left column, but.... how do I have it showing the same menus I have for my index page.. I would like my forum pages to have the same left coloum/menus. What changes do I make in the leftcolumn template page... This does not work "$home[leftblocks]" <-- got that from the "adv_portal" template.
DevilYellow
10-19-2005, 11:19 PM
There is one thing that I found and it took me awhile to figure it out.
If a variable is given a value say in a plugin at global start and then you reference that variable inside the new left column template it will not function. It took me awhile, but what I did was is put that variable = value; line in the global start left column plug in - ABOVE the code that calls the left column template.
I guess you just cant choose the order the plugins run, maybe its in the order of installation.
I have found that installing this hack on Vb3.5.0 Gold results in your sidebar collumn (left or right) showing fine on forumhome and showthread but NOT for any other page, like search for example. The table cell shows up where your content should be but nothing shows up. I have looked at this for hours...
Anyone else see this happening? Can aomeone step up and support this hack?
I would look your code over again. I am running 3.5 gold and my left column displays perfectly regardless as to what page I am on.
Clayton
10-20-2005, 05:24 PM
I would look your code over again. I am running 3.5 gold and my left column displays perfectly regardless as to what page I am on.
this sounds good
mmm
artonex
10-20-2005, 07:39 PM
Ive installed it, thanks for the nice hack my friend :)
Scratz
10-23-2005, 03:14 PM
I have used the right colums and started it under the nav breadcrumb but I was wondering if there was some way to end the column at the last forum and before the users online, birthdays block ?
Allan
10-25-2005, 06:56 PM
Thanks ;)
edit: i'm problem, look the scren please
Allan
10-27-2005, 11:47 AM
nobody ?
sitka
10-28-2005, 10:08 PM
how about making it outside of forum. everything gets pushed to the right.
nobody ?
maybe widen the settings of your style in all style options or fiddle with the other options on that page. regarding form widths etc
this is a lazy question really how cAn i apply vbs table expland / collaps to the side table ?
cheers
KeithMcL
11-02-2005, 03:25 PM
Edit: Nevermind. I see the instructions are in the text file :)
PsiNyde
11-02-2005, 10:41 PM
*installs*
very nice hack! perfect place for sky scraper ads n such.
lsgworldl
11-09-2005, 05:15 PM
Use conditionals, sort of like the stuff posted above to make it show for different usergroups. But, this one needs to check the value of THIS_SCRIPT.
Hello
Can you post how to stop it showing on a portal home page, I dont understand PHP and saying sort of ike the stuff abovce isnt really helpfull to me, I am using vBadvanced please can you give detailed instructions on how to stop it showing on my home page, I dont know what sort of means
thank you
www.tipstersforum.com
TheFocusElf
11-11-2005, 12:59 PM
Another Amy mod I absolutely love.
Gray Matter
11-13-2005, 02:23 PM
Not sure if anyone has mentioned this yet, but:
<!-- Left Column Code -->
<<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
should be:
<!-- Left Column Code -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
Otherwise you will get an extra "<". :)
Not sure if anyone has mentioned this yet, but:
<!-- Left Column Code -->
<<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
should be:
<!-- Left Column Code -->
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
Otherwise you will get an extra "<". :)
Just me, on the page before this one.
Has it still not been fixed?
kushtiUK
11-17-2005, 12:24 PM
I would really like to add "who's online" into the side bar - has anyone managed to do this and is willing to share the code.
Thanks.
I would really like to add "who's online" into the side bar - has anyone managed to do this and is willing to share the code..
There's really no code to share. In the FORUMHOME template look for everything between:
<!-- logged-in users -->
...and...
<!-- /logged-in users -->
...take it out (or comment it out) and move it to your sidebar. Will probably take some playing to get the rendering right.
kushtiUK
11-17-2005, 01:26 PM
There's really no code to share. In the FORUMHOME template look for everything between:
<!-- logged-in users -->
...and...
<!-- /logged-in users -->
...take it out (or comment it out) and move it to your sidebar. Will probably take some playing to get the rendering right.
Yeah I looked at that before posting here but did not get anywhere.
2fast4ya
11-18-2005, 09:27 PM
i cant download the xml file... it just opens it in the browser. wth am i doing wrong??
kushtiUK
11-18-2005, 09:29 PM
i cant download the xml file... it just opens it in the browser. wth am i doing wrong??
right click on it and "save target as" to your PC
2fast4ya
11-18-2005, 09:56 PM
thank u
2fast4ya
11-18-2005, 10:01 PM
WHERE in the code can i add banners and text and stuff?
2fast4ya
11-18-2005, 10:13 PM
okay, nevermind, i figured that out by reading lol
but one more question... how can i make the box bigger? there is a large white space between the box and the end of my forums... maybe u can look to see what im talking about www.chowcow.com - (no need to register to view)
2fast4ya
11-18-2005, 10:20 PM
and now its touching the forums... how do i fix??
Snake
11-21-2005, 01:18 PM
Thank you very much! Probably the BEST hack ever!
http://www.metalgearforum.net/index.php
Snake
11-21-2005, 04:15 PM
One question. Is it possible to show the column on forum homepage only? If so how?
John Diver
11-21-2005, 07:17 PM
Is there a way to make sure the table contents are aligned at the top of the page?
Right now mine are aligned in the middle of the page.
Thanks
j.kramer
11-21-2005, 07:24 PM
One question. Is it possible to show the column on forum homepage only? If so how?
Edit FORUMHOME template, add first code under $navbar and second bit of code above $footer.
Snake
11-22-2005, 11:09 AM
Thanks, that worked! :)
King Kovifor
11-25-2005, 10:16 PM
SMALL MISTAKE:
<!-- Left Column Code -->
<<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
Evil X
11-25-2005, 11:45 PM
can someone please post the code to put in my collum template to make it like the one in the screenshot, thanks!!!
Evil X
11-26-2005, 06:41 PM
bump
ChrisBaktis
11-30-2005, 10:43 PM
When I click on the xml file it shows as an attachment - i tried saving as it is into a text file when i import i just keep getting errors. Any chance this can be made into a downloadable .xml file?
amykhar
11-30-2005, 11:14 PM
Right click and do save link as.
exilera
12-05-2005, 06:48 PM
can someone please post the code to put in my collum template to make it like the one in the screenshot, thanks!!!
I second that. I know where to put the code, but I just don't know what the code should be :) Would someone be so kind as to provide a template for the code?
Thanks!
suryoyena
12-06-2005, 10:30 PM
Hey Boys'n'Girls,
fist I want to say thats a gread mod, because it's so small and helps a lot!
Fist
Have I do all changes and the layout in the xml file?
Second
Please look the picture under my post. There you see a red marked
space.. There's only this space when you read a post. Its on both
sides. Why isn't justified to the border of the Navbar like on the
other pages (e.g. forumhome)?
Third
How can I put into the sidebar "dynamic information" like on this
page: KLICK (http://www.vbhacks-germany.com/forum/index.php) ?
I mean the "welcome box" and "hottest topics" etc.
Greets,
Chris
0xid0
12-10-2005, 01:06 AM
Hello.
I have just installed the plugin and it me is OK, but I have a couple of questions:
- There is some way of reducing the space that exists between the block and the edge of the page? It is that in my web it is too much and I want that it is less, here I leave an apprehension in order that you see it:
https://vborg.vbsupport.ru/
- There is some way of putting a block in order that the last messages go out?
0xid0
12-10-2005, 11:04 AM
Does other one ask, how I can do in order that it appears in the index, inside the forums but not in the posts?
raven3d
12-10-2005, 12:30 PM
thanks for this mod!
on the left/right column.txt file
check this line.
<<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
there is an extra <
cheers
HUMMERh3
12-10-2005, 08:05 PM
Yes I too have the same problem as 0xid0...there is just too much white space on the left hand side.. I'm using the column for a 160x600 skyscrapper and there is a huge gap. How do I delete the big space??
THANKS
Snake
12-11-2005, 11:44 AM
I would like to know that as well. :)
peterska2
12-11-2005, 12:05 PM
@ HUMMERh3 & Aftermath: I changed this by doing the following.
In the header template find <td width="160" valign="top" align="left">$leftcolumn</td> and replace with<td width="170" valign="top" align="center">$leftcolumn</td> It makes the column margnally wider by 10px and also centralizes it in the space there.
If that doesn't work for you or you want more let me know as I might have changed some other bits too.
0xid0
12-11-2005, 02:57 PM
@ HUMMERh3 & Aftermath: I changed this by doing the following.
In the header template find <td width="160" valign="top" align="left">$leftcolumn</td> and replace with<td width="170" valign="top" align="center">$leftcolumn</td> It makes the column margnally wider by 10px and also centralizes it in the space there.
If that doesn't work for you or you want more let me know as I might have changed some other bits too.
Me do not work, be still equal, help please!!
0xid0
12-11-2005, 10:57 PM
Hello.
I have just installed the plugin and it me is OK, but I have a couple of questions:
- There is some way of reducing the space that exists between the block and the edge of the page? It is that in my web it is too much and I want that it is less, here I leave an apprehension in order that you see it:
http://img220.imageshack.us/img220/3369/bloque1iq.jpg
That someone helps me with my problem, please!
peterska2
12-11-2005, 11:04 PM
try playing with the figure 170 in my code.
with regards to adding a latest posts type thing, I don't know as I haven't done this with mine.
with regards to chowing it on only the forumhome and not in threads, I dunno as this is for all pages not just forumhome.
0xid0
12-11-2005, 11:23 PM
try playing with the figure 170 in my code.
with regards to adding a latest posts type thing, I don't know as I haven't done this with mine.
with regards to chowing it on only the forumhome and not in threads, I dunno as this is for all pages not just forumhome.
Already I have tried to play with 170, but what it does is that the block is narrower, but there continues being the same space between the block and the edge of the page.
Thank you
peterska2
12-11-2005, 11:30 PM
have a look in your leftcolumn template then and see if there are any figures in the top of there. if there are try incrasing them and ensure that the block is centered or aligned to the left
Tscherno
12-12-2005, 08:34 PM
How can i change the width of the table?
StarBuG
12-16-2005, 09:36 AM
Hi
I try to also move the private message part to the sidebar but the conditionals donĀ“t work there.
Would it be possible to make conditions work in the sidebar as well?
peterska2
12-16-2005, 01:43 PM
@ StarBuG: I'll look into it but it won't be till w/c 02 Jan 06 as I'm offline till then after today.
StarBuG
12-16-2005, 03:45 PM
Ok that is fine with me.
THX
BiReL41r
12-16-2005, 07:46 PM
This is a good hack to display your google adsense ads on the left. Some other sites do this aswell apposed to the top or footer of the site.
TitanJeff
12-17-2005, 12:55 PM
Since putting in this hack, I've had some width and vertical spacing issues between columns. Has anyone had the same problem and know how they can be corrected? I've added a couple of images to explain the problem. Thanks.
0xid0
12-17-2005, 10:04 PM
Since putting in this hack, I've had some width and vertical spacing issues between columns. Has anyone had the same problem and know how they can be corrected? I've added a couple of images to explain the problem. Thanks.
I have the same problem, helppppppp :(:(:(
TitanJeff
12-19-2005, 05:26 PM
Okay, different question...
Is there any options to this hack if you need a side column on your index?
0xid0
12-19-2005, 06:48 PM
Is it that nobody is going to help us? :ermm: :ermm: :ermm: :ermm:
reesev
12-19-2005, 09:17 PM
i have the same issue with the gap on the right side..
DefenceTalk
12-20-2005, 05:57 PM
The vB php includes function doesnt work if you place the include in the columns for this mod.
0xid0
12-20-2005, 09:18 PM
There is no alternative to this hack? As that it has many failures and nobody helps us to solve them.
metropost
12-21-2005, 02:20 AM
was able to put up a left column using this, only problem is behavior of column, when site loads and when a person clicks on a forum link, the new left column starts in the middle pf the screen and floats to the left - everytime! Slows users down and feels a bit strange. Am I doing something wrong or is this normal? Is there a quick fix? Example is at http://metroforum.com/main
Anyone post a modifyed left column template with forum stats,welcome message and todays birthdays please
anyone no why the forum stats code wont work on this colomn
Snake
12-25-2005, 01:17 PM
@ StarBuG: I'll look into it but it won't be till w/c 02 Jan 06 as I'm offline till then after today.
Well no news yet? We're still waiting.
tgmorris
12-27-2005, 03:15 AM
After thinking this was going to be easy I wound up working on this for 3 hours before I finally came up with a solution that works in both FF and IE.
In my case I wanted the vb navbar to extend full width so I made one of my changes at the bottom of that template. If you want the navbar shoved over by the left column then make the change to the header template instead.
After installing the existing product do the following.
Append at bottom of navbar template.
This portion controls the spacing between the left column and the forum.<!-- Left Column Code -->
<div style="width: 100%">
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
<tr>
<td valign="top" align="left">
$leftcolumn
</td>
<td><img src="$vboptions[cleargifurl]" width="10"></td><!-- adjust width as desired -->
<td valign="top" width="100%">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
Insert at top of footer template<!-- Left Column Code -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- End Left Column Code -->
Revised template: left_column.
This template controls the width of the left column. Modify the settings to provide the desired appearance (borders, spacing, etc.)<table align="left" border="0" cellpadding="0" cellspacing="0" width="120">
<tr>
<td align="center" bgcolor="#ffffff">
<!-- Begin custom code -->
Your custom code goes in here.
<!-- End custom code -->
</td>
</tr>
</table>
BTW - This in no way is meant to diminish the work that was done to come up with the original work. It was workling fine for me in FF but I was installing it on another site. Testing in IE revealed the situation where the "All times are GMT" text was pushed out to the right of the forum. After reading all 14 pages of the thread I discovered nobody had really solved it - at least the posted solution didn't work for me.
Nordraserei
12-29-2005, 12:38 PM
Where do I add the links? I tried to wrap them in the tags in the header template and it shows up in various weird places outside of the box. Or am I trying to edit the wrong template? :ermm:
Vierie
12-29-2005, 04:03 PM
You put your links in the left column template...
Nordraserei
12-29-2005, 05:49 PM
hmm. When ever I tried that it put them in various weird places.
0xid0
12-30-2005, 12:14 AM
After thinking this was going to be easy I wound up working on this for 3 hours before I finally came up with a solution that works in both FF and IE.
In my case I wanted the vb navbar to extend full width so I made one of my changes at the bottom of that template. If you want the navbar shoved over by the left column then make the change to the header template instead.
After installing the existing product do the following.
Append at bottom of navbar template.
This portion controls the spacing between the left column and the forum.<!-- Left Column Code -->
<div style="width: 100%">
<table border="0" width="100%" cellpadding="0" cellspacing="0" align="left">
<tr>
<td valign="top" align="left">
$leftcolumn
</td>
<td><img src="$vboptions[cleargifurl]" width="10"></td><!-- adjust width as desired -->
<td valign="top" width="100%">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
Insert at top of footer template<!-- Left Column Code -->
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<!-- End Left Column Code -->
Revised template: left_column.
This template controls the width of the left column. Modify the settings to provide the desired appearance (borders, spacing, etc.)<table align="left" border="0" cellpadding="0" cellspacing="0" width="120">
<tr>
<td align="center" bgcolor="#ffffff">
<!-- Begin custom code -->
Your custom code goes in here.
<!-- End custom code -->
</td>
</tr>
</table>
BTW - This in no way is meant to diminish the work that was done to come up with the original work. It was workling fine for me in FF but I was installing it on another site. Testing in IE revealed the situation where the "All times are GMT" text was pushed out to the right of the forum. After reading all 14 pages of the thread I discovered nobody had really solved it - at least the posted solution didn't work for me.
THANK YOU VERY MUCH!!!!!!!! It me has worked correctly, now I have a couple of questions:
- Might one say the code to me to put in left_column in order that me a block appears as with the plugin without modifying?
- Does it know if there is some way of doing that the blocks of the left side do not appear at the moment of reading the messages?
Thank you very much again
Danny Diamond
01-03-2006, 10:37 AM
Man, this might be a stupid question but how do we add links and such to the left column once its installed?
go to adcolums left template and add it there, this is a fantastic hack btw Amy... and I did vote for it as HOTM
silurius
01-10-2006, 11:04 PM
Man, this might be a stupid question but how do we add links and such to the left column once its installed?It took me a while to find it, but you have to update the left_column template manually. No admincp interface for adding links, so you'll have to play around with it a bit. I agree that this is a fantastic hack to have.
NexDog
01-11-2006, 11:22 AM
We have this working great. We have just upgraded our board from vb 2.3.xx to 3.5.3 and having a hard job with the avatar display on the left column when a user logs in. Forum is here:
http://nexusportal.net
This is the code we have:
<a href="profile.php?do=editavatar"><if condition="!$bbuserinfo['avatarid']"><img src="nex/noavatar.gif" border="0"><else /><img src="$bbuserinfo[avatarurl]" border="0"></if></a>
No matter what we try, it always returns the noavatar.gif. Is there a simple code mod I can put in to make this work again?
Vierie
01-11-2006, 03:10 PM
You probably need:
<a href="profile.php?do=editavatar"><if condition="!$vbulletin->userinfo['avatarid']"><img src="nex/noavatar.gif" border="0"><else /><img src="$vbulletin->userinfo[avatarurl]" border="0"></if></a>
NexDog
01-11-2006, 09:56 PM
Still no worky. :(
peterska2
01-11-2006, 10:57 PM
NexDog
I've done a bit of poking around for you and this should work.
Download this mod (https://vborg.vbsupport.ru/showthread.php?t=99498&page=7&pp=15&highlight=avatar) and import the plugin.
The template edit to do in the readme file apply to your left_column template instead of the navbar.
If it doesn't work, you can hit me with a big stick.
Amykhar, Is it possible for the left coloumn to be the EXACT same hieght as the forumshome coloumn on the right.
I mean the length of the LEFT coloumn should match the one on the right...even if it is blank.
is it possible?
NexDog
01-12-2006, 03:03 AM
NexDog
I've done a bit of poking around for you and this should work.
Download this mod (https://vborg.vbsupport.ru/showthread.php?t=99498&page=7&pp=15&highlight=avatar) and import the plugin.
The template edit to do in the readme file apply to your left_column template instead of the navbar.
If it doesn't work, you can hit me with a big stick.
Actually, already tried that and it doesn't work. But if I put the $navbar variable in the forumhome template the navbar comes up with the avatar in there. :(
peterska2
01-12-2006, 03:24 AM
I'll play with it tomorrow and see what I can come up with
NexDog
01-12-2006, 04:28 AM
Hey, thanks, I really appreciate that. It amazes me that people are always willing to give up valuable time to help people on this board. :)
NexDog
01-13-2006, 10:17 AM
One of our coders got this to work.
1) He modified the left_column plugin code to create a variable called
"UserAvatar".
2) He modified the left column template to show said variable.
3) He had to hack one file - includes/class_core.php to force the function
fetch_user() to return avatar details. This is where we need help.
The other plugin (Avatar_In_Navbar) has a specific define that tells the
code to include the avatar stuff. How can we activate that define through a
plug in so that we don't need to modify the core files? Otherwise, each
time I do a security update, I'll kill the hack....
NemoTech
01-16-2006, 03:55 PM
Header
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6,27)))">
<!-- Left Column Code -->
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="left">
<tr>
<td width="160" valign="top" align="left">$leftcolumn</td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">
<!-- End Left Column Code -->
</if>
Footer
<if condition="(in_array($vbulletin->userinfo['usergroupid'], array(6,27)))">
<!-- Left Column Code -->
</td></tr>
</table>
</td></tr>
</table>
<!-- End Left Column Code -->
</if>
This example would only show the column to the people in usergroups 6 and 27
What if you wanted to exclude certain forums from having the left column? What changes do I make in the if statement?
Thanks.
todd222222
01-18-2006, 05:47 PM
How would I go about having the column show up on every page except my vbadvanced home page? Any help would be greatful.
Thanks
Todd
Langly
01-20-2006, 11:07 PM
This is a good hack to display your google adsense ads on the left. Some other sites do this aswell apposed to the top or footer of the site.
Can you give an example of the code and where to put the google ads at in this hack?
Z28.com
01-30-2006, 01:40 AM
pardon my ignorance,
but how exactly do I import the XML file?? I have installed the script in the header/footer and the column works fine. I just dont understand what the XML file is about?
Thanks
Smiry Kin's
01-30-2006, 01:45 AM
pardon my ignorance,
but how exactly do I import the XML file?? I have installed the script in the header/footer and the column works fine. I just dont understand what the XML file is about?
Thanks
is in the Plugin section..
Vierie
01-30-2006, 11:39 AM
You don't have to change your header and footer, if you use the product.
But it works fine if you just change these two. You don't need the product then.
Z28.com
01-30-2006, 11:40 PM
not sure I am quite following you....
I installed the script in my header/footer templates. So now you are saying I dont need to install the XML file???
here is what I am trying to do, perhaps someone can offer me some direction.
I would like to do a left column, then do the vertical navigation, then possibly add a few things of my own (sponsor links) in the left column as well. What would be the best way to approach this?
here is a link to the vertical navigation mod I am trying to do..
https://vborg.vbsupport.ru/showthread.php?t=99318
Vierie
01-31-2006, 08:17 AM
In the beginning this hack was no product. You had to make the changes in the header/footer templates yourself.
Now Amy has upgraded the hack to product status. Therefore you don't have to make the changes yourself, the product makes them for you. The only difference I can see is that you get some example html code if you use the product. If you made the template changes yourself you don't have that.
Should work with peterskas hack anyway.
Langly
02-11-2006, 04:43 AM
How can I add a google adsense skyscraper ad in this and where/how should it be setup please?
tommyxv
02-11-2006, 08:42 PM
Not sure if this has been posted, but i had uneven spacing after i added the left and or right column. Here is was did to fix it.
https://vborg.vbsupport.ru/showpost.php?p=897581&postcount=71
peterska2
02-12-2006, 01:56 AM
not sure I am quite following you....
I installed the script in my header/footer templates. So now you are saying I dont need to install the XML file???
here is what I am trying to do, perhaps someone can offer me some direction.
I would like to do a left column, then do the vertical navigation, then possibly add a few things of my own (sponsor links) in the left column as well. What would be the best way to approach this?
here is a link to the vertical navigation mod I am trying to do..
https://vborg.vbsupport.ru/showthread.php?t=99318
Give me a poke with exactly what you want to achieve (pics are helpful if possible) along with all mods you've installed that need navbar links and I'll see what I can do.
Dekra
02-12-2006, 12:13 PM
Hiya, im trying to get a left column and possible a right one on my forum but we have a template on it, everytime we add the plugin to make the side columns our forum in the middle shrinks to a really silly skinny size lol. Is there any way of adding side columns without shrinking the size of my forum?? Or am i just being really stupid here? I'm not very experienced at coding and adding all this stuff so any help would be much appreciated! :nervous:
My forum is located here so you can see the template we have on etc :- http://www.enchantedentertainment.co.uk/forum
tommyxv
02-12-2006, 11:00 PM
Hiya, im trying to get a left column and possible a right one on my forum but we have a template on it, everytime we add the plugin to make the side columns our forum in the middle shrinks to a really silly skinny size lol. Is there any way of adding side columns without shrinking the size of my forum?? Or am i just being really stupid here? I'm not very experienced at coding and adding all this stuff so any help would be much appreciated! :nervous:
My forum is located here so you can see the template we have on etc :- http://www.enchantedentertainment.co.uk/forum
When your adding these columns your making the width of the main forum table smaller so the columns can fit. By default the width of the columns are 160px, I changed it to 120px. I would use only left or right.
Smiry Kin's
02-13-2006, 12:44 AM
Amy could you make a lil code for that photo post thingy??? i can't figure it out! :S
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
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
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.
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?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.