vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How to add postbit link? (https://vborg.vbsupport.ru/showthread.php?t=297400)

I.G.O.T.A. 04-20-2013 12:45 PM

How to add postbit link?
 
Here is what I want to do. Under your avatar I want to add say "My Journal" with a link that people can click that and be taken to his journal page. How would I go about doing that? I'm on vB 4.2.

Lynne 04-20-2013 02:54 PM

Add a user profile field and have users enter a URL in it and then just add the field to the postbit. (There is an article in the articles area on how to add the field to the postbit. There have also beena couple of threads lately about doing exactly what you want to do - turn the profile field into a link - so try a search.)

I.G.O.T.A. 04-20-2013 03:19 PM

I will search for that now. Thank you.

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

OK well I did a search and really didn't get the answer I was looking for.

I first created a profile field call Journal. After I did that I went to postbit and came up with this code, but its not working once I enter the link. What am I missing?

<vb:if condition="$post['field19']"><div><a href="$post[field19]">Journal</a></div></vb:if>

I.G.O.T.A. 04-21-2013 03:48 PM

Anyone?

Lynne 04-21-2013 07:55 PM

And what is the result of your code? And *exactly* where did you add it and into what template (post the five lines above your added code so we can tell where it is). And exactly what had you entered into the Journal field on your settings page.

I.G.O.T.A. 04-22-2013 12:03 AM

First I created a new user profile name called Journal. I set that all up. Next I went to the postbit legacy and posted the code there alone with some other codes I have done. It didn't work, lol.

Lynne 04-22-2013 01:36 AM

Sorry, but unless you tell me exactly what you did, which is what I asked for, I cannot help.

I.G.O.T.A. 04-22-2013 08:46 PM

Sorry that is all I did.

Lynne 04-23-2013 01:18 AM

I cannot help without you telling me exactly what you did. If you can't tell me, per my response in post 5, then I cannot help.

blind-eddie 04-24-2013 12:08 AM

Try this.

<vb:if condition="$post['field19']"><dt>Journal</dt><dd>{vb:raw post.field19}</dd></vb:if>

Source


All times are GMT. The time now is 09:57 AM.

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.01041 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete