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)
-   -   Show Thread Enhancements - Updated Postbit Legacy (https://vborg.vbsupport.ru/showthread.php?t=225502)

JGreig 10-17-2009 10:00 PM

Updated Postbit Legacy
 
1 Attachment(s)
This will add a nice background and border to the postbit_legacy information such as join date, posts, reputation etc.

Styles & Templates >> Postbit templates >> postbit_legacy >> Find:

Code:

<if condition="$post['joindate']"><strong>$vbphrase[join_date]:</strong> $post[joindate]</if>
Change to:
Code:

<if condition="$post['joindate']"><div class="userinfo"><strong>$vbphrase[join_date]:</strong> $post[joindate]</div></if>
Save and now go to All Style Options for your template and add the following code to your CSS:
Code:

.userinfo {
        background: #e6ebf0;
        border: 1px solid #a2a2a2;
        border-left-width: 3px;
        text-align: left;
        padding: 5px;
        margin-bottom: 2px;
}

You can also add the following code around anything in the postbit_legacy template:
Code:

<div class="userinfo"></div>
Example:

Code:

<if condition="$post['age']"><div class="userinfo"><strong>$vbphrase[age]:</strong> $post[age]</div></if>

<div class="userinfo">
<strong>$vbphrase[posts]:</strong> $post[posts]
</div>

-------------------------------------------------------
I hope I explained it well, if not I am sorry, this is the first time I have posted something like this. My apologies in advance.

JGreig 10-18-2009 05:31 PM

Reserved! :)

Michael1337 10-18-2009 05:38 PM

Good job! Looks very good. Going to give it a test on my forums and see if the members like it!

JGreig 10-18-2009 05:55 PM

I hope it works for you. Hopefully your members will like it, tell me what they say ;)

BucWiLd 10-18-2009 08:32 PM

can i see a screen shot from someone?

EDIT : Sorry i see it

ChopSuey 10-19-2009 01:50 AM

Think of the demo as you trying to get members :p But OMG
this is the same https://vborg.vbsupport.ru/showthread.php?t=170238

JGreig 10-19-2009 09:37 AM

Sorry I didn't see that, I was just sharing what I have on mine.

You are incorrect about just needing members, I have over 100 and we have a referral contest in progress, so I get the members another way.

Thanks for your reply though.

ChopSuey 10-19-2009 01:23 PM

They're like the same thing except yours is named userinfo. Different CSS too.
But anyways nice one. *Install

baghdad4ever 10-20-2009 07:21 AM

very nice

please how to make login form like that in demo site??

JGreig 10-20-2009 08:21 PM

The login form is just a couple of text boxes, a login button and the background is a simple white rectangle. The ribbon at the top is cut into 3 pieces. I could possibly share that in my next contribution.

Please keep on-topic for this in future please, and anything else please PM me.

Regards.


All times are GMT. The time now is 11:00 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.01031 seconds
  • Memory Usage 1,727KB
  • 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
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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