vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Is this possible? (https://vborg.vbsupport.ru/showthread.php?t=50734)

Yuber 03-23-2003 09:58 PM

Is this possible?
 
1 Attachment(s)
I was wondering if it were possible to have check boxs next to each Style instead of having a drop down selection? If you are not sure what I mean. If you look at the image I got from the options at www.vbulletin.com/forum where it says

PHP Code:

Post elements:
Select which user features you wish to appear in posts

Signatures 
Avatars 
Attachments 

I was wondering if you change the style selection drop down in your profile options to this where it says Style Select inplace of Post Elements and it would have eachstyle that you have available with a check box next to it and you can pick only one ofcourse?

Dpcows 03-24-2003 05:37 AM

Yes, ofcourse that is possible.
But why check boxes ?
You can't display multiple skins can you ?

Yuber 03-24-2003 07:41 PM

I just prefer an option like that instead of a drop down menu.

assassingod 03-24-2003 08:11 PM

Ok, in the modifyoptions_stylecell template,
replace everything with:
Code:

<tr>
        <td bgcolor="#F1F1F1"><normalfont><b>Style Set:</b><br>
        <smallfont>You may pick a style set to browse with that may or may not override the default settings.</smallfont></normalfont></td>
        <td bgcolor="#F1F1F1"><smallfont>
               
                $stylesetlist
               
        </smallfont></td>
</tr>

open the modifyoptions_styleset template,
replace everything with :
Code:

<input type="checkbox" value="$thisid" $selected> $thisstylename<BR>
Untested but should work - Though I wouldn't recommend it because check boxes can be multiply selected at one time. Using radio buttons would be safer

Yuber 03-24-2003 08:22 PM

Thanks assasin. How would I use radio options?

assassingod 03-24-2003 08:25 PM

Replace:
<input type="checkbox"

with;
<input type="radio"

Yuber 03-24-2003 08:27 PM

Thank you very much.

assassingod 03-24-2003 08:32 PM

No problem:)


All times are GMT. The time now is 05:36 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.01512 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_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