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 - Forum Category Icons (Advanced) (https://vborg.vbsupport.ru/showthread.php?t=244351)

Disco_Stu 04-10-2014 01:08 PM

Quote:

Originally Posted by sevenmix (Post 2492381)
Hi

This works great thanks, but i have a little problem, on categorys there are no icons, so it appears an invalid one, like this:

https://vborg.vbsupport.ru/external/2014/04/35.png

Do you know a solution for that?

Are you saying that when you do not have an icon specified for a forum you are getting the error symbol? If that is the case then simply create an icon for the forum or change the code and add an IF statement that only displays the icon if an icon is specified for the forum.

eazygreek 05-24-2014 09:28 PM

this not work to me :-/

Tibiaspy 06-03-2014 07:04 AM

Quote:

Originally Posted by Tibiaspy (Post 2479420)
Everything works fine except one thing:

https://vborg.vbsupport.ru/external/2014/06/29.jpg

The upper part is what I should get, the lower part is what I get. I see information about users viewing thread in wrong place - it should be right beside forum title instead it's in front of description.

Anyone have any idea what to do?

Anybody?

Disco_Stu 06-04-2014 01:22 PM

Quote:

Originally Posted by Tibiaspy (Post 2500496)
Anybody?

Looks like you may have a line break in there somewhere.

Check the templates

forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

and scan for {vb:rawphrase viewing}

See if you have any line breaks like <br> before {vb:rawphrase viewing}

It could also be a </span> or </div> ending tag in the wrong place. There's a number of things that could be causing this.

Tibiaspy 06-09-2014 10:06 AM

Quote:

Originally Posted by Disco_Stu (Post 2500651)
Looks like you may have a line break in there somewhere.

Check the templates

forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

and scan for {vb:rawphrase viewing}

See if you have any line breaks like <br> before {vb:rawphrase viewing}

It could also be a </span> or </div> ending tag in the wrong place. There's a number of things that could be causing this.

Thanks for tips I checked and there are no line breaks before that phrase.

I have category icon after status icon enabled so this is the part of the code that's responsible for that:

Code:

<div class="forumdata">
<div class="datacontainer">
<vb:if condition="$vbulletin->options['forumiconimg_location'] == '0'">
<!-- category icon after status icon -->
<img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw forum.forumiconimg}" alt="{vb:raw forum.title}" style="float:left; <vb:if condition="$vbulletin->options['forumiconimg_margin_location'] == '1' OR $vbulletin->options['forumiconimg_margin_location'] == '3'">margin:{vb:raw vboptions.forumiconimg_margin};<vb:else />margin-right:4px;</vb:if> <vb:if condition="$vbulletin->options['forumiconimg_size'] == '1'">width:{vb:raw forum.forumiconimg_forum_width}px; height:{vb:raw forum.forumiconimg_forum_height}px;<vb:else />width:{vb:raw vboptions.forumiconimg_width}px; height:{vb:raw vboptions.forumiconimg_height}px;</vb:if>;" />
<div>
<h2 style="font-weight:bold; font-size:13px;"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>                                               
<vb:if condition="$show['forumdescription']"><p>{vb:raw forum.description}</p></vb:if>
</div>
<vb:elseif condition="$vbulletin->options['forumiconimg_location'] == '1'" />

In default style we have:

Code:

<div class="titleline">
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
</div>

When I changed that <h2 style="font-weight:bold; font-size:13px;"> to <h2 class="forumtitle"> I got it almost working because then it was like this:
Forum_name Browsing Forum_description

I couldn't get that forum_description to a new line. So after that h2 style=forumtitle I did something like this:
<vb:if condition="$show['forumdescription']"><p>{vb:raw forum.description}</p></vb:if>

Changed to this:
<vb:if condition="$show['forumdescription']"><br><br><p>{vb:raw forum.description}</p></vb:if>

It kinda works - description is in next line but it doesn't look good. I had to add <br> 2 times because if there was only one it didn't worked. It was little lower but not in a completely new line. When there are two <br> it is in new line but there is also a lot of space between forum title and forum description. It doesn't look that good.

Now it looks like this:

Code:

<div>
<h2 class="forumtitle"><a href="{vb:link forum, {vb:raw forum}}">{vb:raw forum.title}</a></h2>
<vb:if condition="$show['browsers']"><span class="viewing">({vb:raw forum.browsers} {vb:rawphrase viewing})</span></vb:if>
<vb:if condition="$show['forumdescription']"><br><br><p>{vb:raw forum.description}</p></vb:if>
</div>

Any ideas how to make it right?

DeadApe 07-15-2014 04:00 PM

So I installed this mod about a year ago and its a great mod. Now I'm having a problem because I want to create a new style for my website. I like to have multiple styles so that users can pick the one they like the most. But I need to be able to create different category icons for each style I make.

Is there a way to do this?

Chadi 07-15-2014 08:53 PM

Is this possible on mobile skins too?

pmcpa 07-26-2014 02:26 PM

Have this installed, looks great, works on all the forums EXCEPT categories, no matter what I select for the Forum/SubForum Category Icon option.

What line should I look for in my skins to enable?

CoZmicShReddeR 07-26-2014 06:25 PM

Quote:

Originally Posted by pmcpa (Post 2508353)
Have this installed, looks great, works on all the forums EXCEPT categories, no matter what I select for the Forum/SubForum Category Icon option.

What line should I look for in my skins to enable?

It doesn't work for the main set category it just shows icons for the forums...

john7911 07-29-2014 03:28 PM

Hi,
It does not work for me :(
https://vborg.vbsupport.ru/external/2014/07/7.jpg
https://vborg.vbsupport.ru/external/2014/07/8.jpg
I am using 4.2.2
What I have to do?
Thank you


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