vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Miscellaneous Hacks - A new 'newthread' look. (https://vborg.vbsupport.ru/showthread.php?t=216688)

Saint_I_Am 07-18-2009 11:43 PM

1 Attachment(s)
Thanks James.

I had to remove $usernamecode from that code as it displayed "Logged in as ***" twice.

Just a minor thing with that code. See attachment. At the top of tags box there is a small box. Not sure how to remove this.

JamesC70 07-19-2009 01:39 AM

Quote:

Originally Posted by Saint_I_Am (Post 1851409)
Just a minor thing with that code. See attachment. At the top of tags box there is a small box. Not sure how to remove this.

Please verify that the center part of newthread template looks like this:

Code:

$posticons
  <!-- message area -->
  </div>
  </td>
  <td width="50%" valign="top" class="alt2"><if condition="$show['podcasturl']">
    <!-- podcast stuff -->
    <fieldset class="fieldset">
    <legend>$vbphrase[podcast_options]</legend>
    <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
    <tr>
      <td class="smallfont">$vbphrase[podcast_url]:</td>
      <td class="smallfont">&nbsp;$vbphrase[filesize_bytes]:</td>
    </tr>
    <tr>
      <td><input type="text" class="bginput" name="podcasturl" value="$podcasturl" size="50" maxlength="255" tabindex="1" title="$vbphrase[podcast_url]" /></td>
      <td>&nbsp;<input type="text" class="bginput" name="podcastsize" value="$podcastsize" size="10" tabindex="1" title="$vbphrase[podcast_size]" /></td>
    </tr>
    <tr>
      <td class="smallfont">$vbphrase[subtitle]:</td>
      <td class="smallfont">&nbsp;$vbphrase[explicit]:</td>
    </tr>
    <tr>
      <td><input type="text" class="bginput" name="podcastsubtitle" value="$podcastsubtitle" size="50" maxlength="255" tabindex="1" title="$vbphrase[subtitle]" /></td>
      <td><input type="checkbox" name="podcastexplicit" value="1" tabindex="1" $explicitchecked title="$vbphrase[explicit]" /></td>
    </tr>
    <tr>
      <td class="smallfont">$vbphrase[keywords]:</td>
      <td class="smallfont">$vbphrase[author]:</td>
    </tr>
    <tr>
      <td><input type="text" class="bginput" name="podcastkeywords" value="$podcastkeywords" size="50" maxlength="255" tabindex="1" title="$vbphrase[keywords]" /></td>
      <td><input type="text" class="bginput" name="podcastauthor" value="$podcastauthor" size="25" maxlength="255" tabindex="1" title="$vbphrase[author]" /></td>
    </tr>
    </table>
    </fieldset>
    <!-- / podcast stuff -->
    </if>
  <if condition="$show['tag_option']">
  <fieldset class="fieldset" style="margin-top: $stylevar[cellpadding]px">
  <legend>$vbphrase[tags]</legend>
  <div style="padding:$stylevar[formspacer]px">
    <div>$vbphrase[separate_tags_using_comma]</div>
    <span id="tag_add"><input type="text" class="bginput" name="taglist" id="tag_add_input" value="$newpost[taglist]" size="40" tabindex="1" /></span>
    <if condition="$show['tags_remain']"><div><phrase 1="$tags_remain">$vbphrase[you_may_add_x_tags_to_thread]</phrase></div></if>
  </div>
  <if condition="$show['popups']">
    <div id="tag_add_menu" class="vbmenu_popup" style="display:none"></div>
    <script type="text/javascript" src="clientscript/vbulletin_ajax_tagsugg.js?v=$vboptions[simpleversion]"></script>
    <script type="text/javascript">
    <!--
    vbmenu_register('tag_add', true);
    tag_add_comp = new vB_AJAX_TagSuggest('tag_add_comp', 'tag_add_input', 'tag_add');
    tag_add_comp.allow_multiple = true;
    tag_add_comp.set_delimiters('$tag_delimiters');
    //-->
    </script>
  </if>
  </fieldset>
  </if>
 
    $attachmentoption

I suspect that an extra <td> </td> pair or an extra <div> </div> pair got into your template. Remove that (verifying against the code above) and you'll be fine.

nyqnzguju999 07-19-2009 11:25 PM

is it possible to have a direct browse button in attachments?

lordtopcat 07-19-2009 11:56 PM

What do you mean ?

nyqnzguju999 07-20-2009 12:05 AM

For attachments have the browse button rather then a popup

JamesC70 07-21-2009 12:14 AM

Quote:

Originally Posted by nyqnzguju999 (Post 1851922)
For attachments have the browse button rather then a popup

The attachment of uploads is a different script than posting the message text. I'm hesitant to try to merge the two, as the vBulletin authors kept the code seperate for a reason. :(

TimberFloorAu 07-23-2009 09:48 PM

1 Attachment(s)
I have tried everything to get this to align properly, but still struggling.
I think it may have something to do with extra bbcode icons in message area.

In stylevars our Main table width is 972 , not 972% or 972px.
If i change to px or % the whole forum width goes haywire, so have left at 972

Form width is 540px
User cp form width 480px
Message area width is 500px
User cp message area width is 520px
code block width 540px

In newthread I have:

<td width="300px" class="alt2">
td align="center" width="600px" class="alt1">

I cannot seem to get the message area to resize ( by that I mean the as in the image )

Saint_I_Am 07-23-2009 10:20 PM

Looks like those extra icons in your editor might be causing it to stretch.

My Message area width is 600px and this is what I was changing to adjust it.

I also have this

<td width="50%" valign="top" class="alt2">

<td align="center" valign="top" width="50%" class="alt1">

TimberFloorAu 07-24-2009 01:20 AM

Cheers mate, yeah I am thinking the icons are pushing it across.

Ive tried to find out how to spill the icons onto 2 lines, but cannot seem to find that info.

Perhaps theres a means of popping out extra bb icons, im not sure.

Ste

bojomojo 07-28-2009 10:56 AM

When I try to edit a post, the new look appears, can someone do the edit template?


All times are GMT. The time now is 05:55 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.01078 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete