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
Add editable Info to end of posts Details »»
Add editable Info to end of posts
Version: 1.00, by AURFSCAN AURFSCAN is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Category: Profile Enhancements - Version: 4.x.x Rating:
Released: 09-04-2011 Last Update: Never Installs: 3
Template Edits
 
No support by the author.

tested on 4.08 not sure about others


Add editable Info to the end of your posts. - look at the attached pics.

1. Create a new User Profile field http://www.youtube.com/watch?v=7rwHpG6Iilo

2. take note of the field number of your newly created field (screen @3:46 on the vid above) eg. field20

3. goto postbit template

4. Find and add above this line
Code:
<vb:if condition="$show['postedited']">

this

Code:
<vb:if condition="$post['field20']"><br /><br /><br /><br /><SPAN STYLE="font-size: 8pt"><font color="#151B54"><b>Equip: </b></font>{vb:raw post.field20}</span></vb:if>

so it looks like this

Code:
<vb:if condition="$post['field20']"><br /><br /><br /><br /><SPAN STYLE="font-size: 8pt"><font color="#151B54"><b>Equip: </b></font>{vb:raw post.field20}</span></vb:if>

<vb:if condition="$show['postedited']">

5. Change field20 in the above code (there are 2 Instances of field20) to your new field number eg. field8, field 12, field18 etc.

6. Change 'Equip' to whatever you want to show before editable info, also use html to change color etc.

Done

Screenshots

File Type: jpg equip2.jpg (65.9 KB, 0 views)
File Type: jpg equip3.jpg (61.5 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-05-2011, 04:21 PM
AURFSCAN AURFSCAN is offline
 
Join Date: Dec 2007
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some Ideas for Information displayed could be Computer specs, youtube channel, website url, Map url, mods etc. etc.


edit*

Some more features

- Add extra line
- Limit width of text on page



To add an extra line, create another custom field, note the field number and use the code below, again replacing the field
numbers with yours.

To limit the width of text edit width:820px (820 pixels) with a size that suits you



Code:
<vb:if condition="$post['field20']"><br /><br /><br /><br /> <div style="width:820px"><SPAN STYLE="font-size: 8pt"><font color="#2B3856"><b>Equip:</b></font> &nbsp; {vb:raw post.field20}</span></div></vb:if>

<vb:if condition="$post['field21']"><div style="width:820px"><SPAN STYLE="font-size: 8pt"><font color="#800517"><b>Equip2:</b></font> &nbsp; {vb:raw post.field21}</span></div></vb:if>



Attached Images
File Type: jpg 1info.jpg (78.6 KB, 0 views)
File Type: jpg 2info.jpg (55.3 KB, 0 views)
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 02:33 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.05387 seconds
  • Memory Usage 2,225KB
  • Queries Executed 16 (?)
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
  • (4)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (1)postbit
  • (4)postbit_attachment
  • (2)postbit_onlinestatus
  • (2)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete