vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Forum Icons on forumhome (https://vborg.vbsupport.ru/showthread.php?t=214289)

Erez Wolf 11-05-2009 12:08 PM

1 Attachment(s)
Hello!

I'm having trouble getting this code to work.
I'm using version 3.8.3, have edited the code as it said and uploaded gifs for all the forums in the new directory "iconforums" and this is the resault:

Attachment 105904

i guess it supposed to be something simple that i'm missing but i don't know what it is.
please help.
Thank you,
Erez.

RenatoMN 11-09-2009 04:20 AM

Hum.. the images "are being show"...

Right click the "x" errors and see the properties and check if the images are right uploaded to the address informed for each forum.

vijayninel 11-10-2009 02:46 AM

Thanks for this great mod ..but how can I get them to appear for subforums in forumdisplay ?

Edit..sorry..got it now... :)

compact123 11-18-2009 05:31 PM

please update that for vb4 sir...
thanks >_<

bluej 11-25-2009 06:05 AM

thank you sophia for this great mod :)

i got the icons installed and looking great, but one problem i see is that the gradient on my footer is not extending all of the way to the end of the footer, it is short about an half inch...

any idea why this is or what i can do about it?

thanks for your help and great work :)

ViciousCode 12-06-2009 07:41 PM

why does it have to be gif? i think PNG's are better!

MattIS 01-09-2010 05:08 AM

Quote:

Originally Posted by ViciousCode (Post 1926458)
why does it have to be gif? i think PNG's are better!

PNGs have a hard time being read in IE. Use them though tell IE users to use firefox or something.


Can anyone tell me how I would add this to Sub-Forums?

Gigio755 01-15-2010 11:47 AM

Please Sofia make it compatible with Vbulletin 4 :(

pleaaaase

a9eel 01-16-2010 06:01 AM

thx sofia good jop :)

Rideharder 02-11-2010 07:51 AM

Quote:

Originally Posted by RenatoMN (Post 1906775)
To fix:

1- division between icon/forum title & description
2- error "image not found" in IE browser
3- both fixes

1-
PHP Code:

<div style='float:left'><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left" /></a></div

2-
PHP Code:

<if condition="in_array($forum[forumid],array('2','3','4'))"><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left" /></a></if> 

3-
PHP Code:

<if condition="in_array($forum[forumid],array('2','3','4'))"><div style='float:left'><a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><img border="0" src="images/misc/iconforums/$forum[forumid].gif" hspace="4px" align="left" /></a></div></if> 

Note: if using fixes 2 and 3, replace ('2','3','4') with the forum IDs you want the image to be show. I hope you don't wonder "why the new uploaded image for forum 50 isn't be showing up?" -> ADD THE ID THERE! :P

*Untested code*

Thanks you so much!


if condition="in_array($forum[forumid],array('2','3','4'))"><div style='float:left'

or

if condition="in_array($forum[forumid],array('2','3','4')"><div style='float:left'

You have two ))


All times are GMT. The time now is 03:10 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.01062 seconds
  • Memory Usage 1,760KB
  • 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_php_printable
  • (2)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