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)

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:
HTML Code:

<!-- 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:
HTML Code:

<!-- 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.


All times are GMT. The time now is 05:19 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.01365 seconds
  • Memory Usage 1,736KB
  • 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_html_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