Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
images in forum bit vb3 Details »»
images in forum bit vb3
Version: 1.00, by nguyenvu27 nguyenvu27 is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Version: 3.0.0 Rating:
Released: 01-11-2004 Last Update: Never Installs: 14
 
No support by the author.

add images into forum bit .
What this hack does:
this will add 1 images on forumlist

1 Query to run

1 Files to edit

admincp/forum.php

2 Templates edit:
forumhome_forumbit_level1_post
forumhome_forumbit_level2_post

working on vbb RC 2

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 01-27-2004, 03:50 PM
Matrixgl Matrixgl is offline
 
Join Date: Sep 2002
Location: Canada
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Ok, how would you do it for each forum without a hack?
http://www.vbulletintemplates.com/mo...ead.php?t=5037

You dont need a hack for this. You just have to edit two templates, and this can be achived. You can even have both on and off status icons.
Reply With Quote
  #23  
Old 01-31-2004, 02:56 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It would be better to have JUST one icon, with different trasparency when on and off ...
Reply With Quote
  #24  
Old 02-01-2004, 02:20 AM
LordJMann LordJMann is offline
 
Join Date: Jan 2003
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmarik
It would be better to have JUST one icon, with different trasparency when on and off ...
gmarik, thats only just more work, then you have to encorporate a bit of code in conjunction with GD to do this and not all servers have GD, this is very simple and effective. Having more than 1 icon is more versatile anyway.
Reply With Quote
  #25  
Old 02-01-2004, 01:03 PM
Matrixgl Matrixgl is offline
 
Join Date: Sep 2002
Location: Canada
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LordJMann
gmarik, thats only just more work, then you have to encorporate a bit of code in conjunction with GD to do this and not all servers have GD, this is very simple and effective. Having more than 1 icon is more versatile anyway.
You can use dhtml/javascript to change the transparency too, dont really need GD. GD would be the radiculas way of doing this.
Reply With Quote
  #26  
Old 04-01-2004, 09:14 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
Ok, great! Thank you, sir.
HTML Code:
		<if condition="($forum[parentid] == XX) OR ($forum[parentid] == XX)"><img src="images/forumhome/$forum[forumid].gif" alt="" border="0" filter:alpha(opacity=80); -moz-opacity: 0.6;" align="left" /></if>
here you go boofo, forgot you were after this.
Reply With Quote
  #27  
Old 04-01-2004, 09:57 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'd have to write this line of code for each forum then, right? That could get pretty long if you want to use different images for each forum.
Reply With Quote
  #28  
Old 04-01-2004, 10:23 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Boofo
You'd have to write this line of code for each forum then, right? That could get pretty long if you want to use different images for each forum.
nope just add it to your "forumhome_forumbit_level2_post" template, the most you'd have to do is have the images in the right directory and named correctly.
Reply With Quote
  #29  
Old 04-01-2004, 10:52 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is this for then?

HTML Code:
<if condition="($forum[parentid] == XX)
Reply With Quote
  #30  
Old 04-01-2004, 11:06 AM
sabret00the's Avatar
sabret00the sabret00the is offline
 
Join Date: Jan 2003
Location: London
Posts: 5,268
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's for if you wanted all the forums in the bears den to bear an image, instead of all the forums on the forumhome.
Reply With Quote
  #31  
Old 04-01-2004, 11:10 AM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How did you know about the Bear's Den? Have you been peeking?

Ahhh, ok, that makes sense now. Thank you for explaining it to me.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:12 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.05193 seconds
  • Memory Usage 2,304KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete