vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Left side column on forum home and forum display (https://vborg.vbsupport.ru/showthread.php?t=230111)

Johan Hiemstra 02-05-2012 06:18 PM

Thanks for the mod.

I need to display different contents in the side column, based on the forumid, but it seems the forumid is not known in ss_leftcolumn_contents. Is there a way I can parse/retrieve the forumid so I can add conditionals in the contents template?

EDIT: nvm, registered foruminfo[forumid] in contents template with a custom plugin at hook forum_display_start

SugarChick 02-12-2012 02:18 AM

As far as CappingThe Game and others that had issues with 4.1.x and it showing up at the bottom footer...

I got it to work by going into the footer template and instead of doing this:

{vb:raw ss_leftcolumn_end}
{vb:raw ad_location.ad_footer_start}
{vb:raw ad_location.global_above_footer}
</div>

Find in footer template (top of footer template):
HTML Code:

HTML Code:

{vb:raw ad_location.ad_footer_start}
Add above:
HTML Code:

HTML Code:

{vb:raw ss_leftcolumn_end}


I did this...

Find in footer template (top of footer template):
HTML Code:

HTML Code:

  {vb:raw ad_location.ad_footer_start}
  {vb:raw ad_location.global_above_footer}
</div>

Add AFTER IT
HTML Code:

  {vb:raw ss_leftcolumn_end}
AKA moved the SS code BELOW the DIV instead of above the ad code as per the instructions.

This made it then show up just fine.

So that sectin of code looks like this:

HTML Code:

<vb:if condition="!empty($ad_location['ad_footer_start']) or !empty($ad_location['global_above_footer'])">
<div style="clear: {vb:stylevar left}">
  {vb:raw ad_location.ad_footer_start}
  {vb:raw ad_location.global_above_footer}
</div>
  {vb:raw ss_leftcolumn_end}


Taurus1 04-29-2012 03:39 AM

I am getting these database errors. Can you please help me. Thanks.

Code:

Database error in vBulletin :  mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Too many connections /home/thebull/public_html/forums/includes/class_core.php on line 317  MySQL Error  :  Error Number  :  Request Date  : Saturday, April 28th 2012 @ 11:08:15 PM Error Date    : Saturday, April 28th 2012 @ 11:08:15 PM Script        : http://creativx.net/forums/css.php?s...column_css.css Referrer      : http://creativx.net/windows-7-themes-light-thebull/ IP Address    : 201.47.220.169 Username      :  Classname    : vB_Database MySQL Version :

Taurus1 04-29-2012 03:50 AM

I also have an issue that on certain forum skins my adsense adds I have in this left column just don't show at all. On some skins it works, others not. Someone knows why this will be?

Thanks.

Seven Skins 04-29-2012 10:34 AM

For ads not showing see if the skins has all the hooks.

for DB error "Too many connections ..." this is webhost error and has nothing to do with this hack.

Taurus1 04-29-2012 11:02 AM

Quote:

Originally Posted by Seven Skins (Post 2324561)
For ads not showing see if the skins has all the hooks.

for DB error "Too many connections ..." this is webhost error and has nothing to do with this hack.

Thank you. Can you please tell me what hooks to look for, and where?

Taurus1 05-01-2012 05:25 AM

I really don't get it. The hooks are in the Navbar and Footer templates for all skins, and the contents are in the templates, yet in some skins the adds just wont show.

Seven Skins 05-01-2012 06:52 AM

There are more then 130 hook in the templates (vBulletin 4.1.12) ... compare your custom templates with the default templates. Look for vb:raw template_hook when searching for hook location.

OakleyBoss 05-09-2012 04:07 AM

Can you please tell me how to change the color of the text of the title? I saw it refers to ss_column_head and I found that inside of the ss_leftcolumn_css.css but when I look at it, it says it refers to forumhead_color which in my case is white. For some reason it is showing up as dark blue and it is very hard to see. I'm not sure if its relevant but for my title I am using html to link to my register page.

Seven Skins 05-09-2012 09:33 AM

You can change this text:

HTML Code:

color:{vb:stylevar forumhead_color};

To

HTML Code:

color: #ffffff;
.


All times are GMT. The time now is 06:35 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.01112 seconds
  • Memory Usage 1,741KB
  • 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
  • (7)bbcode_html_printable
  • (1)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
  • (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