Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-03-2002, 10:11 PM
ShizzleBoy
Guest
 
Posts: n/a
Default HELP: "No Icon" as Icon1.gif

I'm sorry to ask this retarted question, especially considering the fact that I did this little modification on my old vB forums... but I've forgotten how, and I've came up short on a search as to if this question has already been answered here. So here it goes:

How can I make Icon1.gif show up on the thread view and such as the default icon, if someone selects "no icon", the Icon1.gif will show up rather than an empty space.

Again, sorry for the retarted question, please help a guy in need. Thank you for understanding!
Reply With Quote
  #2  
Old 10-04-2002, 04:54 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think the default check of it is via the template. So try the reply/topic templates.
Reply With Quote
  #3  
Old 10-04-2002, 06:06 AM
ShizzleBoy
Guest
 
Posts: n/a
Default

Could you be more specific? I've been digging through templates for who knows how long looking for where I can make this change...
Reply With Quote
  #4  
Old 10-04-2002, 01:12 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

newthread and newreply templates.
Reply With Quote
  #5  
Old 10-04-2002, 08:17 PM
ShizzleBoy
Guest
 
Posts: n/a
Default

In posticonbits
<input type="radio" name="iconid" value="$iconid" $iconchecked>&nbsp;<img src="$iconpath" height="15" width="15" align="middle" alt="$alttext">&nbsp;&nbsp;&nbsp;&nbsp;

In posticons
<tr>
<td bgcolor="#FFFFFF" valign="top"><normalfont><b>Message Icon:</b></normalfont><br>
<smallfont><input type="radio" name="iconid" value="0" $iconchecked>&nbsp;&nbsp;No icon</smallfont></td>
<td bgcolor="#FFFFFF"><smallfont>$posticonbits</smallfont></td>
</tr>

-------
Yeah, and how would I get the 'no icon' to display as icon1.gif on the forum page...
Reply With Quote
  #6  
Old 10-05-2002, 12:51 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remove $iconchecked from the <input> tag in posticons. That removes the auto-check.

Try putting $iconchecked in the <input> tag in posticonbits. It can't check them all so lets hope that will just do the first one for you.
Reply With Quote
  #7  
Old 10-06-2002, 01:12 AM
Brad Brad is offline
 
Join Date: Nov 2001
Posts: 4,765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your admin cp (www.yoursite.com/forum/admin) -> vBulletin otpions -> [Thread display options] -> Show default icon (tick this to yes)

Quote:
Show default icon
Show a default icon if a user doesn't choose a message icon or is unable to choose one based on forum settings? {imagesfolder}/icons/icon1.gif will be used.
Reply With Quote
  #8  
Old 10-06-2002, 01:43 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never noticed that feature. Handy.
Reply With Quote
Reply


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:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08084 seconds
  • Memory Usage 2,214KB
  • Queries Executed 11 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (5)postbit_onlinestatus
  • (8)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_imicons
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete