Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Custom Field Below Signature on Legacy Postbit Details »»
Custom Field Below Signature on Legacy Postbit
Version: 1.0, by evenmonkeys evenmonkeys is offline
Developer Last Online: Dec 2018 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 10-12-2005 Last Update: 10-17-2005 Installs: 13
Template Edits
 
No support by the author.

This is my first released hack ever so I hope it all works right. Don't hate me if it doesn't do what it's suppose to. Lol.

Description
Basically, this allows you to create a custom profile field, or anything for that matter, and display it along the bottom of each post. Aligned to the right side are the edit and quote buttons. This will align a field of your choice to the left side. Note that this is primarily for the legacy Postbit.

Templates to edit: 1 (postbit legacy)

Comments
I use this on my forums for two different things. One thing I use it for is ranks. It looks a lot cleaner having them somewhere out of the way, but very obvious to see. They tend to get very cluttered up around the username and avatar. The other thing I use it for is a comment that people can make. They have a custom field that they can say a quote or something in and it'll display this along the bottom below their signatures.

01/13/2006- Tested on 3.5.3 and works perfectly.

Supporters / CoAuthors

Show Your Support

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

Comments
  #2  
Old 10-13-2005, 11:29 PM
ForYou ForYou is offline
 
Join Date: Nov 2001
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello ,

Can i put in this custom field randomly of theard that user make it ,

Regards
Reply With Quote
  #3  
Old 10-14-2005, 12:37 AM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!
Reply With Quote
  #4  
Old 10-14-2005, 05:00 AM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForYou
Hello ,

Can i put in this custom field randomly of theard that user make it ,

Regards
I'm not sure what you're asking. >_<

Where the following is, anything can go between the <td>'s. My suggestion is merely to use custom profile fields or ranks. You can put anything there that you want.

PHP Code:
    <td class="alt1" align="$stylevar[left]">
        <if 
condition="$post['fieldx']">
            
$post[fieldx]
        </if>
    </
td
Reply With Quote
  #5  
Old 10-14-2005, 07:05 AM
rb290's Avatar
rb290 rb290 is offline
 
Join Date: Oct 2005
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What do you mean replace x with the field ID ?
Reply With Quote
  #6  
Old 10-14-2005, 07:10 AM
Flow Fusion Flow Fusion is offline
 
Join Date: Jul 2003
Location: Georgia
Posts: 512
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rb290
What do you mean replace x with the field ID ?

WHere it says fieldx you will need to change the x to the field number. Like it will say 14 or 6 or what ever your field number is. To become field14 field15 etc.
Reply With Quote
  #7  
Old 10-14-2005, 03:17 PM
evenmonkeys's Avatar
evenmonkeys evenmonkeys is offline
 
Join Date: Aug 2004
Location: Iowa
Posts: 896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exactly as Fusion said. If you create a new Field, it's going to have an ID on the right side of the manager. Make sure you copy the field number and not the order number. Then take that number and place it in both areas.

Example:
PHP Code:
<if condition="$post['field2']"
            
$post[field2
        </if> 
Reply With Quote
  #8  
Old 11-13-2005, 07:48 PM
Xplorer4x4 Xplorer4x4 is offline
 
Join Date: Apr 2005
Posts: 938
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting, I may end up using this.
Reply With Quote
  #9  
Old 04-12-2006, 06:21 AM
webmastershome webmastershome is offline
 
Join Date: Apr 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi there,

Can you help me if ,

<if condition="$post['fieldx']">
$post[fieldx]
</if>

if i want to add some more info with this fiels in showthread.php

like if(!empty($post['fieldx'])
$post['my_new_var']='somevalue'.$post['fieldx'];

when i call this variable in postbit it's blank

$post['my_new_var']

is it correct or not

Regards
Jitender
Reply With Quote
  #10  
Old 05-10-2006, 01:08 PM
Smiry Kin's's Avatar
Smiry Kin's Smiry Kin's is offline
 
Join Date: Dec 2005
Location: United Kingdom!
Posts: 954
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how about "Report This Post" link?
Reply With Quote
Reply

Thread Tools

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 08:53 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.06562 seconds
  • Memory Usage 2,290KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete