vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Programming Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=188)
-   -   How To Add Custom Profile Field Information To The Postbit (https://vborg.vbsupport.ru/showthread.php?t=118896)

Macartist6 10-08-2008 02:33 PM

anyone want to do this on my site for me???... this is way over my head... PM me

I'll Pay you via PayPal

--------------- Added [DATE]1223485311[/DATE] at [TIME]1223485311[/TIME] ---------------

I got someone thank you!

mmoore5553 12-03-2008 12:22 PM

does anyone know how to make this show up on thread ....under there name and show a picture ? i added the custom user group but cant find where to modify it ..i looked up nder post legacy

msn - mmoore@smoothstone. com

--------------- Added [DATE]1228324154[/DATE] at [TIME]1228324154[/TIME] ---------------

oh here is my example ..i have choices ... 1 2 3
if they pick1 they get this gif by there name or under it or beside dont matter to me
if they pick 2 they get this other picture or gif
if they pick 3 they get this other pic or gif ...

i know what needs to be done but cant figure it out for love of me ...i have paypal

DarkFormula 12-31-2008 11:23 PM

FYI, there's nowhere specified where to add this in the template, and adding it under existing fields called for causes an error of "The conditional on line 62 appears to be missing its beginning tag (<if>). This may cause unexpected behavior."

mmoore5553 01-01-2009 02:28 AM

i actually figured out how to add special modifications on my site ..

www.cg-hq.com

i have them pick what 3d software they use adn then it adds a picture under there avatar ...just to let you know this guide plus another helped me

Lynne 01-01-2009 02:35 AM

Quote:

Originally Posted by DarkFormula (Post 1698218)
FYI, there's nowhere specified where to add this in the template, and adding it under existing fields called for causes an error of "The conditional on line 62 appears to be missing its beginning tag (<if>). This may cause unexpected behavior."

They can't tell you exactly where to add it in the template because everyone wants to add their stuff in a different place. It is assumed you will make sure you are not replacing an <if> tag, or doing something else to 'break' the html in the template.

DarkFormula 01-01-2009 03:16 AM

Quote:

Originally Posted by Lynne (Post 1698282)
They can't tell you exactly where to add it in the template because everyone wants to add their stuff in a different place. It is assumed you will make sure you are not replacing an <if> tag, or doing something else to 'break' the html in the template.

Where would be the best place to add it, then? I've tried several places and the error always appears, just with a different line reference.

Lynne 01-01-2009 02:38 PM

Why don't you post the line you are adding and the code a few lines above and below that part in your template and see can see what is wrong.

makofu 01-05-2009 08:43 PM

Quote:

Originally Posted by DarkFormula (Post 1698298)
Where would be the best place to add it, then? I've tried several places and the error always appears, just with a different line reference.

I got the same thing initially...realized I forgot to add a quote in my <if ....> statement. Make sure you have all of your quotes in place.

selwonk 01-06-2009 09:38 AM

Great tutorial! Is there any way to only show the profile field once per page? For example, I run a motoring forum and I show the user's "garage" beneath their signature* but I'd like to only show it on the first post per page for that user

Thanks in advance!

* Not within so that it always shows the garage regardless of whether they have a signature or not

Lynne 01-06-2009 02:29 PM

Quote:

Originally Posted by selwonk (Post 1703107)
Great tutorial! Is there any way to only show the profile field once per page? For example, I run a motoring forum and I show the user's "garage" beneath their signature* but I'd like to only show it on the first post per page for that user

Thanks in advance!

* Not within so that it always shows the garage regardless of whether they have a signature or not

That is really beyond the scope of the article. If you want to do that, I suggest you have a look at the modification to only have a signature show up once on a page. Modify that code for use with your profile fields.


All times are GMT. The time now is 01:07 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.02296 seconds
  • Memory Usage 1,738KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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