vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Posbit Location hack (https://vborg.vbsupport.ru/showthread.php?t=60994)

attroll 01-31-2004 06:18 AM

Posbit Location hack
 
Is there a way to add the "location" from my custom fields in the profile field in postbit say either under the User Title or above the join date the join date?

StarBuG 01-31-2004 08:44 AM

I don?t know if this works but try to add this where you want it in your postbit:

Code:

<if condition="$post[fieldXX]"><div>$vbphrase[YYY]:$post[fieldXX]</div></if>
You have to replace XX with the number your custom profile field has and make a phrase for YYY or replace $vbphrase[YYY]: with what you want there or completly leave it

Hope this helps

StarBuG

Zachery 01-31-2004 10:47 AM

Quote:

Originally Posted by StarBuG
I don?t know if this works but try to add this where you want it in your postbit:

Code:

<if condition="$post[fieldXX]"><div>$vbphrase[YYY]:$post[fieldXX]</div></if>
You have to replace XX with the number your custom profile field has and make a phrase for YYY or replace $vbphrase[YYY]: with what you want there or completly leave it

Hope this helps

StarBuG

This has been covered 100000 times at vBulletintemplates.com as well as here, try a search next time

Boofo 01-31-2004 11:19 AM

Quote:

Originally Posted by Faranth
This has been covered 100000 times at vBulletintemplates.com as well as here, try a search next time

I only counted 74,362 times at both places. ;)

attroll 01-31-2004 01:55 PM

Sorry but I did a search before I posted. I did a search for the following and found nothing of what I wanted, postbit, custom fields, profile field, location, birthday, and a couple more.

But I did get it working after using the following line:

PHP Code:

<if condition="$post['field2']"><div>$vbphrase[location]: $post[field2]</div></if> 

Just sorry that I could not find it in my search and had to post here.


What should I have type in the search block?

Boofo 01-31-2004 02:12 PM

Don't worry about it, my friend. You are all taken care of now. ;)

Zachery 01-31-2004 08:47 PM

Quote:

Originally Posted by Boofo
I only counted 74,362 times at both places. ;)

Thanks Boofo i miss counted

next time try

profile feild

or postbit ;)

Boofo 01-31-2004 09:11 PM

I was always good in my AB3's. ;)

And if he tried your spelling of 'field', no wonder he couldn't find it. ;)


All times are GMT. The time now is 05:04 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.01618 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete