vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Simple Posbit legacy (https://vborg.vbsupport.ru/showthread.php?t=277625)

JAFRI 01-26-2012 11:00 PM

Simple Posbit legacy
 
1 Attachment(s)
Simple Posbit legacy.




1. postbit_onlinestatus delete all and change this code.

Code:

<vb:if condition="$onlinestatus==0"><font color="#424242">Offline</font></vb:if>
<vb:if condition="$onlinestatus==1"><font color="#00FF00"><b>Online</b></font></vb:if>
<vb:if condition="$onlinestatus==2"><font color="#424242">invisible</font></vb:if>

2. download Simple-Posbit-legacy.txt

3. Go admincp > Styles & Templates open the additional.css template of the theme that you use and add Simple-Posbit-legacy.txt code to the top

4. Open postbit_legacy 4.x if you have more field.
------------------------------------------------
Gender Field

Code:

<vb:if condition="$post['fieldx']"><dt>{vb:rawphrase  gender}</dt><dd> {vb:raw  post.fieldx}</dd></vb:if>
User ID Field

Code:

<dt>User ID</dt><dd> {vb:raw post.userid}</dd>
vbseo like Field

Code:

<dt>Liked</dt><dd> {vb:raw post.vbseo_likes_in} times</dd>
Country Flags Field With out image code.

Code:

<vb:if condition="$post['fieldx']"><dt>Country</dt><dd> {vb:raw post.fieldx}</dd></vb:if>
Change font / color / size.

color: #424242;
font-size: 11px;
font-family: Trebuchet MS, Geneva;

enjoy.

Demo : www.shiafriends.com

Compatible with vBulletin 4.2


Mark as Installed.

CrossWind 01-27-2012 07:01 PM

Simple and elegant thank you

Dr.osamA 01-28-2012 12:37 AM

thank you bro
installed and rated

thecore762 01-28-2012 03:02 AM

Really nice, no dark style available?

JAFRI 01-28-2012 03:47 AM

Quote:

Originally Posted by thecore762 (Post 2293297)
Really nice, no dark style available?

if u like dark style change background for postbit. use style variable editor.

tafreeh 01-28-2012 04:50 AM

looks good :) thanks

HHelp1 02-20-2012 12:53 PM

How may i use this ? Please be more specific and im not good at HTML much :(

JAFRI 03-06-2012 12:33 PM

Quote:

Originally Posted by HHelp1 (Post 2301542)
How may i use this ? Please be more specific and im not good at HTML much :(

Download text file.unzip and copy css code go additional.css template and paste.

additional.css template: Go > Admincp > Styles & Templates > Search Templates and Search 'additional.css'

field. postbit_legacy.

<div class="post_field"><dt>Threads</dt> <dd>{vb:raw post.threads}</dd>

if not done send login and pass in pm.

HHelp1 03-07-2012 02:32 PM

Quote:

Originally Posted by JAFRI (Post 2306771)
Download text file.unzip and copy css code go additional.css template and paste.

additional.css template: Go > Admincp > Styles & Templates > Search Templates and Search 'additional.css'

field. postbit_legacy.

<div class="post_field"><dt>Threads</dt> <dd>{vb:raw post.threads}</dd>

if not done send login and pass in pm.

I understand you and how may i use this ? <div class="post_field"><dt>Threads</dt> <dd>{vb:raw post.threads}[COLOR=Blue]</dd>

JAFRI 03-12-2012 06:46 AM

Quote:

Originally Posted by HHelp1 (Post 2307146)
I understand you and how may i use this ? <div class="post_field"><dt>Threads</dt> <dd>{vb:raw post.threads}[color=Blue]</dd>

if u have custom profile fields. use this code in postbit_legacy.


All times are GMT. The time now is 06:03 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.01111 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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