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

messengermatt 02-05-2010 09:59 PM

I need some help here, i installed the mod and it didnt work i also searched for the specific code and it wasnt found in the style im using which is just a normal style with a different colour.

I posted a few posts back about my issue and nobody helped me out but sub forums support would be a good thing as thats what i need

Gamempire 02-07-2010 04:18 PM

i made an interesting change to the template modification, different from that this coder use in this mod:
https://vborg.vbsupport.ru/showthread.php?t=235240

opacity and different forum icons for each forum..

however, you did a great job for the product, Elmer :)

Aclikyano 02-08-2010 12:57 AM

how do i remove where it says LAST POST by where the name of the section is?

Aclikyano 02-08-2010 12:58 AM

Quote:

Originally Posted by footose (Post 1937374)
I have modified the template code so that you can put icon's in the category fields of the site also.


Open forumhome_forumbit_level1_nopost

Find <span class="forumtitle">

Insert Above:

PHP Code:

<vb:if condition="$forum['iconlocation']">
<
img style="float:left;" src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" />
</
vb:if> 

Looks like this:

https://vborg.vbsupport.ru/attachmen...1&d=1261678452


hey anyway to remove where it says LAST POST???

movslow 02-08-2010 01:19 PM

Quote:

Originally Posted by Spiritvn (Post 1974739)

#moveslow:

You can find on the forumhome_forumbit_level2_post

Code:

<h2 class="forumtitle" >
Then add before:

Code:

<vb:if condition="$forum['iconlocation']"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}"/></vb:if>
It's better with small icon and you can controll with css by class, .forumicon controls status icon so if you want to place that position, you should change the class, add new class and edit its style.

Thanks for the reply, but this isn't what I was needing.

I've enclosed a screenshot so you can see what/where I am referring to.

http://movslow.com/stuff/forumicons.jpg

My 2 questions are:

1.) The RED underlines are the sub-forum icons, is it possible to place something there?

2.) The RED X, is the category description, is it possible to place something there as well?

Thanks again for your help.
:up:

Ranger187 02-08-2010 01:23 PM

Did ya bother to read the post above yours from yesterday? ;) He said how to put an icon in the category description bud...

New Joe 02-08-2010 11:39 PM

Quote:

Originally Posted by Gamempire (Post 1976758)
i made an interesting change to the template modification, different from that this coder use in this mod:
https://vborg.vbsupport.ru/showthread.php?t=235240

opacity and different forum icons for each forum..

however, you did a great job for the product, Elmer :)

Yes, a big thanks for that code, I had been looking for a way to do that for many week.
Good work.

delmarva 02-09-2010 04:38 AM

Quote:

Originally Posted by GreigM (Post 1956037)
Good mod, I made a little modification so that the image is clickable and is a link to the forum

Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription"><vb:if condition="$forum['iconlocation']"><a href="{vb:link forum, {vb:raw forum}}"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float: left; margin-right: 4px;" /></a></vb:if>{vb:raw forum.description}</p>
                                        <vb:elseif condition="$forum['iconlocation']" /><p class="forumdescription"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></p></vb:if>


Thank you for this. :)

Great Mod.. *INSTALLED*

abdulbasitsaeed 02-14-2010 03:50 AM

Thank you Elmer, for this lovely mod. :)

Quote:

Originally Posted by House M.D. (Post 1966482)
To make the forum icon sit to the left of the title and description, you need to do this :

Uninstall any previous version and install a fresh copy. Do not make any edits to the mod except for what you see below.

It took a lot of trial and error to get this right - If you like what you see, please make a PayPal donation to mcs@sunwave.net to cover my time in getting this done. Thank you.

1) Install a fresh copy of this mod

2) Open up : Styles and Templates / Style Mananger / Edit Templates / Forum Home Templates / forumhome_forumbit_level2_post


Look for :
Code:

<div class="datacontainer">

Add this code after that line :
Code:

<div style="float: left; margin-right: 5px;">
<vb:if condition="$forum['iconlocation']"><a href="{vb:link forum, {vb:raw forum}}"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></a></vb:if>
</div>
<div style="float: left; width: 90%;">



Look for :
Code:

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

Replace that line with :
Code:

<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if></div>


That's it! - Hit the "Save and Reload" button and your done.

This will show the icon to the left of the title and description. Also, if you hover your mouse over the icon, it will show that board titles name. If you click on the icon, it will take you to that boards location.

I hope you enjoy it - any donations would be greatly appreciated.

Here is what the results will look like :

https://vborg.vbsupport.ru/external/2014/03/62.png

Thank you very much, House M.D.! :)

This worked perfectly on my side. To make the space even on both sides of the forum icon, I changed margin-right: to 15 px instead of 5.

Pro-eSports.com 02-17-2010 10:35 PM

Someone said that vBulletin already has this integrated by default, is this true? Because then I don't need this mod.


All times are GMT. The time now is 09:09 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.01203 seconds
  • Memory Usage 1,758KB
  • 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
  • (7)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_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