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)

hydn 10-30-2006 04:34 PM

Whenever I load this hack it load SUPER SLOW on IE. Anyway around this?

peterska2 10-30-2006 09:56 PM

You may have some errors in your code if it is running very slowly.

Thomas P 11-01-2006 01:19 AM

I have some glitches in IE7 when using this product, please have a look:

http://www.mcseboard.de/temp/skyscraper.gif

1) Table head of showthread doesn't fit (left side)
2) Right part of a post is cut, no matter if browser is maximized or not

Any ideas?

Gr8 hack btw, I really like it and hopefully the glitches can be fixed easily.

Thanks,
-Tom

LaCN 11-02-2006 03:43 PM

Hi,

I put this column under my navbar, which looks verry well :)

I also added a few conditionals to have it only show on some forums...

But..
In the leftcolumn template, I removed all code, and added a $variable from a plugin I made.
But it won't show :confused:
the plugin includes a php-page which has for example: $var = "test";
the leftcolumn template has: $var

It did show when I used peterska2's show left column on front page hack.
But I deinstaleld that one, and trying to use this one ;)


Why doesn't it show a plugin variable ?



edit, even without the forum-conditionals it doesn't show anywhere, not even on the main page :(


btw, if someone also wants forum-conditionals, use this:
PHP Code:

<if condition="in_array($forumid, array(2,3,4,5))">
  
add ur html here
</if> 

Where 2, 3, 4, etc are forum-id's
:)

peterska2 11-02-2006 09:33 PM

variables will be required to be placed in the hook which is being used for the plugin to generate the template code in order to use them in the template.

LaCN 11-03-2006 11:28 AM

Okay, I tried some area's out, and it works in cache_templates.
I dunno if that's the best one though o_0

I guess I think how it works..
level 1 is the main template. u can use global_start and prolly forum-home stuff here.
level 2 is the template within the template, which I'm in prolly now... and that doesn't work with level 1 hooks...

Is that correct ?

oroo 11-22-2006 05:56 PM

I need to show the category list which stored in database on the sidebar. I tried to write php code in a seperate file and add this php file as a plugin. which is like follows:

php file: forum_leftbar_plugin.php
PHP Code:

<?php
    
function display_categories() {
        
$sql "SELECT blablabla FROM blablabla";
        
$result mysql_query($sql);
        while(
$row mysql_fetch_row($result)) {
            
$categoryID $row[0];
            
$title $row[1];
            print(
"
                <div class='leftsidebutton'>
                    <a href='#' class='link'>
$title</a>
                </div>
            "
);
        }
    }
    
display_categories();
?>

and this is a plugin which I add into global_start of both Right Column and vBulletin product.

Code:

ob_start();
  include(path/to/file/forum_leftbar_plugin.php');
  $forum_leftbar_plugin = ob_get_contents();
ob_end_clean();

I actived either one of them at a time, but when I loaded page from ie browser, it gave me this error message: ('null' is null or not an object) And the left bar has been disappeared.

Please help me out here.

oroo 11-24-2006 06:37 PM

Please help!

oroo 11-27-2006 03:06 PM

Please~ Help!

DannyMilner 12-08-2006 06:30 PM

Thanks ;0 Need this


All times are GMT. The time now is 01:41 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.01587 seconds
  • Memory Usage 1,744KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete