vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Postbit_Legacy REVERSED Layout 1 v.1.0 (https://vborg.vbsupport.ru/showthread.php?t=114968)

Bubble #5 05-21-2006 09:05 PM

Quote:

Originally Posted by Freesteyelz
Ahh. Let me know how it goes.

So far, so good ;)

I really haven't had time to test it thoroughly though as I'm smack in the middle of designing a new skin :surprised:

Freesteyelz 05-21-2006 09:43 PM

I'm glad that (so far) it's working. If the fix becomes true then we can blame the faulty display on vB developers for missing the "px". Hehe. :D

Bubble #5 05-21-2006 11:46 PM

Well it's doing it again :bunny: Another thing that we noticed is that the username menu doesn't work, which might have something to do with it. We're looking at that part now.

Freesteyelz 05-21-2006 11:54 PM

In post #34 you removed the Username code that used the popup menu. The Username at the right doesn't use it. :)

Bubble #5 05-22-2006 12:08 AM

No we are using that code and it still doesn't work. The full code from the default skin is:

Code:

<div id="postmenu_$post[postid]">
                                <if condition="$show['profile']">
                                <a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                                <script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
                                <else />
                                $post[musername]
                                </if>
</div>


Freesteyelz 05-22-2006 12:20 AM

It won't work if the left column Username with the <div> tag is in the code. In post #34 you removed the Username bit but you may have left the <div> tag there.

Code:

                <!-- POST DATE & USERNAME -->
                        <div id="postmenu_$post[postid]">
                        <!-- status icon and date -->
                        <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
                        $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
                        $post[firstnewinsert]
                        <!-- / status icon and date -->
                        <!-- USERNAME -->
&nbsp;by&nbsp;<a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a>
                        <!-- / USERNAME -->
                        <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
                        </div>
                <!-- / POST DATE & USERNAME -->

The bolded code should also be removed for post #34 and #45 to work properly.

Only one, same <div> ID tag will work at a time.

Bubble #5 05-22-2006 12:44 AM

Quote:

Originally Posted by Freesteyelz
Only one, same <div> ID tag will work at a time.

Yes that fixed that part :banana: Thank You! BTW, the over sized user column problem, it's not always the first post. Sometimes it's every other post, and some times it's a random post (for example; post 1,2 4... are fine but #3 is over sized). It's a new forum so I know no other hacks are conflicting with this one. Also, I just learned that it doesn't matter who makes the posts (admin or member). When viewed from the admin account the problem always shows up. I may install a test forum later where you will be able to log in and see this problem for yourself, just in case you're thinking that I'm drunk on Scotch ;)

Freesteyelz 05-22-2006 01:03 AM

Nah. Frankly, I appreciate the input. It's all about helping each other as your signature correctly states. :)

I have been stripping down the code and looking for any hints of a problem. I am focusing on the Admin account since that seems to be where you're experiencing the problem.

Bubble #5 05-22-2006 01:11 AM

Quote:

Originally Posted by Freesteyelz
I am focusing on the Admin account since that seems to be where you're experiencing the problem.

Yeah it's something to do with the admin account. Only difference offhand that I can see is the checkbox and the IP code. I will check tomorrow to see if moderators have the problem too. I'm guessing yes, but I'll post back either way for you :bunny:

Freesteyelz 05-22-2006 01:16 AM

Hmm. I wonder...

Try replacing this:

Code:

                <td class="thead" style="font-weight:normal;text-align:right;vertical-align:middle">
<strong>$vbphrase[replies]: $thread[replycount]</strong>&nbsp;

With this:

Code:

                <td width="175px" class="thead" style="font-weight:normal;text-align:right;vertical-align:middle">
<strong>$vbphrase[replies]: $thread[replycount]</strong>&nbsp;

And replace:

Code:

<!-- / MESSAGE BUTTONS -->
<!-- IP & REPORT POST -->
        <td class="alt2" align="$stylevar[right]">

And replace it with:

Code:

<!-- / MESSAGE BUTTONS -->
<!-- IP & REPORT POST -->
        <td width="175px" class="alt2" align="$stylevar[right]">

I've set all right postbit (right) columns to 175px width. Since I'm not getting the problem as you are can you let me know if that helps?


All times are GMT. The time now is 08:51 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.01438 seconds
  • Memory Usage 1,749KB
  • 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
  • (6)bbcode_code_printable
  • (3)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