Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 03-16-2011, 09:12 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure...
HTML Code:
<div class="block usmlsablock usmlsashadow">
	<h2 class="blockhead">Title</h2>
	<div class="blockbody">
	<table id="usml_table2" width="100%">
		<tr>
			<td nowrap="nowrap">
			<div class="blockrow restore usmlsatext">
				TEXT 1
			</div>
			</td>
		</tr>
		<tr>
			<td nowrap="nowrap">
			<div class="blockrow restore usmlsatext">
				TEXT 2
			</div>
			</td>
		</tr>
	</table>
	</div>
</div>
Reply With Quote
  #12  
Old 03-16-2011, 09:53 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, and what CSS goes with that?
Reply With Quote
  #13  
Old 03-16-2011, 10:01 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Erm....that's constantly being changed at the moment lol. Trying to fine tune things

--------------- Added [DATE]1300316493[/DATE] at [TIME]1300316493[/TIME] ---------------

EDIT: I'll post an update later tonight or possibly tomorrow
Reply With Quote
  #14  
Old 03-16-2011, 10:16 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can also PM me if that would be easier. I might try to use what you end up with for my events mod on my site, if that is okay.
Reply With Quote
  #15  
Old 03-16-2011, 10:17 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Scratch that....I'll go ahead and post what I have so far in terms of CSS and the template....

Template:
HTML Code:
{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
  <head>
    <title>{vb:raw pagetitle} - {vb:raw vboptions.bbtitle}</title>
    {vb:cssfile staff_app.css}
    {vb:raw headinclude}
    {vb:raw headinclude_bottom}
  </head>
  <body>
    
    {vb:raw header}
    
    {vb:raw navbar}
    
    <div id="pagetitle">
      <h1>{vb:raw pagetitle}</h1>
    </div>

<div class="block usmlsa_block usmlsa_shadow">
	<h2 class="blockhead">{vb:rawphrase usml_staffapp_application}</h2>
	<div class="blockbody">
	<table id="memberlist_table" width="100%">
		<tr valign="top">
			<td colspan="2">
			<div class="blockrow restore usmlsa_welcome">
			<p>Welcome {vb:raw bbuserinfo.musername}!</p>
			<p>{vb:raw vboptions.usml_staffapp_welcome}</p>
			<p>Thank you!<br />{vb:raw vboptions.bbtitle}</p>
			</div>
			</td>
		</tr>
		<tr valign="top">
			<td nowrap="nowrap" width="50%">
			<div class="blockrow restore usmlsa_posradio">
			{vb:phrase usml_staffapp_position}
			</div>
			</td>
			<td nowrap="nowrap" width="50%">
			<div class="blockrow restore usmlsa_posradio">
<vb:if condition="$vboptions['usml_postitionapplying_mod_onoff'] == '1'">
			<input type="radio" name="position_applying" value="Moderator" />&nbsp;{vb:phrase usml_staffapp_mod}<br />
</vb:if>
<vb:if condition="$vboptions['usml_postitionapplying_smod_onoff'] == '1'">
			<input type="radio" name="position_applying" value="Super Moderator" />&nbsp;{vb:phrase usml_staffapp_smod}<br />
</vb:if>
<vb:if condition="$vboptions['usml_postitionapplying_admin_onoff'] == '1'">
			<input type="radio" name="position_applying" value="Administrator" />&nbsp;{vb:phrase usml_staffapp_admin}
</vb:if>

			</div>
			</td>
		</tr>
		<tr valign="top">
			<td class="blocksubhead" colspan="2">
			<b>Personal Information</b>
			</td>
		</tr>
		<tr valign="top">
			<td nowrap="nowrap" width="50%">
			<div class="blockrow restore usmlsa_singletext">
			{vb:phrase usml_staffapp_username}
			</div>
			</td>
			<td nowrap="nowrap" width="50%">
			<div class="blockrow restore usmlsa_singletext">
			<input type="text" class="primary textbox" name="username" maxlength="256" value="{vb:raw bbuserinfo.username}" readonly />
			</div>
			</td>
		</tr>
	</table>
	</div>
</div>

    {vb:raw footer}
  </body>
</html>
CSS:

Code:
@charset "UTF-8";
/* CSS Document */

.usmlsa_block {
	margin-bottom:1em;
}

.usmlsa_welcome {
	border-bottom:solid 1px {vb:stylevar light_border.borderColor};
	height:105px;
}

.usmlsa_posradio {
	border-bottom:solid 1px {vb:stylevar light_border.borderColor};
	height:50px;
}

.usmlsa_otherradio {
	border-bottom:solid 1px {vb:stylevar light_border.borderColor};
	height:50px;
}

.usmlsa_singletext {
	border-bottom:solid 1px {vb:stylevar light_border.borderColor};
	height:25px;
}

.usmlsa_multitext {
	border-bottom:solid 1px {vb:stylevar light_border.borderColor};
	height:50px;
}

.usmlsa_block .blockbody {
	border-left:{vb:stylevar tabslight_border};
	border-right:{vb:stylevar tabslight_border};
	border-bottom:{vb:stylevar tabslight_border};
}

.usmlsa_shadow {
	-moz-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
	-webkit-box-shadow: -2px 2px 2px {vb:stylevar forumbits_shadow_color};
}
Still a lot of work to be done
Attached Images
File Type: jpg staffapp.jpg (30.8 KB, 0 views)
Reply With Quote
  #16  
Old 03-16-2011, 10:56 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, any reason why this no longer works in custom templates?
HTML Code:
<div class="smallfont">
Did that change to something different?

--------------- Added [DATE]1300320096[/DATE] at [TIME]1300320096[/TIME] ---------------

Hmm....nevermind....apparently this has to be added to the css as well even for new pages....
Code:
.smallfont {
	font-size: {vb:stylevar small_fontSize};
}
Reply With Quote
  #17  
Old 03-16-2011, 11:22 PM
Boofo's Avatar
Boofo Boofo is offline
 
Join Date: Mar 2002
Location: Des Moines, IA (USA)
Posts: 15,776
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd be interested in it after you get it all tweaked and done.
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:19 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.04878 seconds
  • Memory Usage 2,256KB
  • Queries Executed 12 (?)
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
  • (2)bbcode_code
  • (3)bbcode_html
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (1)postbit_attachment
  • (7)postbit_onlinestatus
  • (7)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete