Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple Posbit legacy Details »»
Simple Posbit legacy
Version: 1.00, by JAFRI JAFRI is offline
Developer Last Online: Jul 2015 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.1.x Rating:
Released: 01-26-2012 Last Update: 05-30-2012 Installs: 44
Template Edits
Code Changes  
No support by the author.

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.

Download Now

File Type: zip Simple-Posbit-legacy.zip (753 Bytes, 325 views)
File Type: txt Simple-Posbit-legacy.4.1.11.txt (1.7 KB, 167 views)
File Type: txt postbit_legacy-4.2.0.txt (14.5 KB, 207 views)

Screenshots

File Type: jpg 001.jpg (21.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
baghdad4ever, McAtze, sodasusu

Comments
  #12  
Old 05-28-2012, 08:54 AM
Essam Essam is offline
 
Join Date: Aug 2003
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the avatar doesn't get centered in vb4.1.12 , always on the side .. any clue ?
Reply With Quote
  #13  
Old 05-31-2012, 05:06 AM
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Essam View Post
the avatar doesn't get centered in vb4.1.12 , always on the side .. any clue ?

You check css code in attach file.


and try this.

Code:
.postbitlegacy .userinfo .postuseravatar,
.postbitlegacy .userinfo .postuseravatar img {
float:none;
text-align:center;
}
Reply With Quote
  #14  
Old 05-31-2012, 08:30 AM
WendM's Avatar
WendM WendM is offline
 
Join Date: Apr 2010
Location: DisUnited Kingdom
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi JAFRI

thanks for helping out with this...I tried the extra code you gave. but no joy, so if you could do the following for me, I'd be pleased:

PHP Code:
<vb:if condition="$show['reppower']">
                    <
dt>{vb:rawphrase reppower}</dt>
                    <
dd id="reppower_{vb:raw post.postid}_{vb:raw post.userid}">{vb:raw post.reppower}</dd>
                        </
vb:if> 
PHP Code:
</vb:if>
                {
vb:raw template_hook.postbit_userinfo_right}
                <
div class="imlinks">
                    {
vb:raw post.icqicon} {vb:raw post.aimicon} {vb:raw  post.msnicon} {vb:raw post.yahooicon} {vb:raw post.skypeicon}
                </
div>
            </
vb:if> 
would prefer to place in the additional.css template; if not, the postbit_legacy is fine! Thank you!
Reply With Quote
  #15  
Old 05-31-2012, 10:57 AM
Gemma's Avatar
Gemma Gemma is offline
 
Join Date: Apr 2004
Location: Scotland
Posts: 1,229
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for releasing, I will try this out on one of my sites
Reply With Quote
  #16  
Old 09-04-2012, 12:13 PM
ndut ndut is offline
 
Join Date: Sep 2007
Location: Indonesia
Posts: 335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice and simple..
how to add reputation image?
thank you
Reply With Quote
  #17  
Old 11-05-2012, 04:46 AM
puthzel puthzel is offline
 
Join Date: Nov 2007
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
Why this code is not working on my postbit_legacy?

Code:
<div class="post_field"><dt>Threads</dt> <dd>{vb:raw post.threads}</dd>
Showing empty text on my user info...
Reply With Quote
  #18  
Old 11-05-2012, 07:39 AM
JAFRI's Avatar
JAFRI JAFRI is offline
 
Join Date: Jun 2009
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by puthzel View Post
Hello,
Why this code is not working on my postbit_legacy?

Code:
<div class="post_field"><dt>Threads</dt> <dd>{vb:raw post.threads}</dd>
Showing empty text on my user info...
https://vborg.vbsupport.ru/showthread.php?t=267584
Reply With Quote
  #19  
Old 09-10-2013, 08:21 AM
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Location: Karachi, Pakistan
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how do i add gender in posbit legacy?
Reply With Quote
  #20  
Old 09-12-2013, 09:44 PM
xRaW xRaW is offline
 
Join Date: Jul 2012
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks good, did a little edit to display different memberships depending on your usergroup.

http://d.pr/i/IyQi

Very easy postbit to use, thank you.
Reply With Quote
  #21  
Old 01-11-2014, 01:21 AM
ndut ndut is offline
 
Join Date: Sep 2007
Location: Indonesia
Posts: 335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is this mod can use in vb 5.05 ?
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 07:17 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08132 seconds
  • Memory Usage 2,352KB
  • Queries Executed 26 (?)
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
  • (8)bbcode_code
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (3)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete