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

Reply
 
Thread Tools Display Modes
  #21  
Old 05-24-2009, 10:01 PM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm wondering.....where would I add it to place it right above the signature (and below that horizontal line)?

I wanted to see if it would look better. Where would I place that?
Reply With Quote
  #22  
Old 05-24-2009, 10:08 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to put it inbetween the horizontal line and the signature, it would be inside a conditional and wouldnt show if the user hasnt got a signature.

what you could do is put it right at the bottom of the signature, or possibly above the line?
Reply With Quote
  #23  
Old 05-24-2009, 10:20 PM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Gotcha. So, it would be best to have it right above the signature line so that it avoids not showing up those folks that don't have a signature.

Put it above this code, right?

Code:
<if condition="$post['signature']">
		<!-- sig -->
--------------- Added [DATE]1243207346[/DATE] at [TIME]1243207346[/TIME] ---------------

Yikes, that didn't work.

I'll wait for the correct place to put it
Reply With Quote
  #24  
Old 05-24-2009, 10:28 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you're on the right track but a new row wouldn't work there as at that point the table has been closed,

right above:

Code:
 
$template_hook[postbit_signature_start]
give this a try:

Code:
<if condition="THIS_SCRIPT != 'private'">

<div class="alt2">
<!-- add your content here -->
</div>
</if>
<br />
let me know how you get on mate
Reply With Quote
  #25  
Old 05-24-2009, 10:49 PM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, so I'm close

Now, I have that 'frame' all the way around the sig field as well.

Here's the code I'm using....

Code:
<!-- new row by tipoboy -->
<if condition="THIS_SCRIPT != 'private'">

<div class="alt2">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px"> <legend>WDBling</legend> <div>
<center>$commerce_icons[ALL]</center>
</div>
</if>
<br />
<!-- end new row by tipoboy -->

...it's from the mod here https://vborg.vbsupport.ru/showthread.php?t=118076

And, I'm guessing that it's something other than "alt2" since it's a darker color than the post area background.

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

Got it, removed the <div> and now I just have to do some adjustments with the line breaks
Reply With Quote
  #26  
Old 05-24-2009, 10:53 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ArnyVee View Post
Okay, so I'm close

Now, I have that 'frame' all the way around the sig field as well.

Here's the code I'm using....

Code:
<!-- new row by tipoboy -->
<if condition="THIS_SCRIPT != 'private'">
 
<div class="alt2">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px"> <legend>WDBling</legend> <div>
<center>$commerce_icons[ALL]</center>
</div>
</if>
<br />
<!-- end new row by tipoboy -->

...it's from the mod here https://vborg.vbsupport.ru/showthread.php?t=118076

And, I'm guessing that it's something other than "alt2" since it's a darker color than the post area background.
I'm assuming you dont want it all the way round the sig therefor give this a try:


Code:
<!-- new row by tipoboy -->
<if condition="THIS_SCRIPT != 'private'">
 
<div class="alt2">
<fieldset class="fieldset" style="margin:$stylevar[formspacer]px 0px 0px 0px"> <legend>WDBling</legend>
<div>
<center>$commerce_icons[ALL]</center>
</div>
</fieldset>
</div>
</if>
<br />
<!-- end new row by tipoboy -->
Reply With Quote
  #27  
Old 05-25-2009, 12:00 AM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dave, I had already removed the <div> tag and then added some line breaks before the code and removed the one after so it wasn't so far from the sig line. I also changed the alt2 to alt1, IIRC, to make it match the background of the posting area.

Was I okay to remove that <div> tag that followed </legend>?

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

Oh, just noticed something. The 'frame' around it shows even if someone doesn't have any of the icons. What kind of "if statement" do I add for it not to show if there isn't one showing?
Reply With Quote
  #28  
Old 05-25-2009, 06:40 AM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm unsure about that arny, you could possibly ask the original author of the mod if the code can be used in a if condition
Reply With Quote
  #29  
Old 05-25-2009, 06:54 PM
ArnyVee's Avatar
ArnyVee ArnyVee is offline
 
Join Date: Mar 2008
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yup, good advice Dave. I've already posed the question. Hopefully I'll have a solution soon enough.

Thanks again for your help my friend! :up:
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 08:43 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.04129 seconds
  • Memory Usage 2,268KB
  • 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
  • (6)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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