vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   HELP: "No Icon" as Icon1.gif (https://vborg.vbsupport.ru/showthread.php?t=84849)

ShizzleBoy 10-03-2002 10:11 PM

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!

Tony G 10-04-2002 04:54 AM

I think the default check of it is via the template. So try the reply/topic templates.

ShizzleBoy 10-04-2002 06:06 AM

Could you be more specific? I've been digging through templates for who knows how long looking for where I can make this change... :(

Tony G 10-04-2002 01:12 PM

newthread and newreply templates.

ShizzleBoy 10-04-2002 08:17 PM

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...

Tony G 10-05-2002 12:51 AM

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. :)

Brad 10-06-2002 01:12 AM

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.

Tony G 10-06-2002 01:43 AM

Never noticed that feature. Handy. :)


All times are GMT. The time now is 10:03 AM.

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.01112 seconds
  • Memory Usage 1,724KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete