vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Is there a way.. (https://vborg.vbsupport.ru/showthread.php?t=217156)

Mellymonster 06-26-2009 03:36 AM

Is there a way..
 
Is there a way to have post bit icons like a marital status icon, show up in the description in side the forum area?

I'm not talking about post icons.

https://vborg.vbsupport.ru/external/2009/06/6.png

That, I want when someone starts a thread, for that icon to appear automatically in the forum area without them having to do anything, is this possible?

https://vborg.vbsupport.ru/external/2009/06/7.png

freewilley 06-26-2009 08:28 AM

I never came across such a mod but you might find some if you do a search or ask some coder to do it for you.. I am sure there are quite a lot around here who can do it for you for a good price.

regards

Spank 06-26-2009 09:09 AM

This should be achievable with custom profile fields.

Mellymonster 06-26-2009 03:05 PM

Right thats my forum, not sure you are reading it correctly, I am wanting to make that profile field appear when someone posts a thread, so members know if the OP of the thread is married or not married. KWIM?

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

I am just wondering, maybe if I took the postbit code for that and post it in the forum display or something area, would that work?

Maybe I am thinking of the wrong template.

BlueNinjaGo 06-26-2009 03:11 PM

This is a wild shot in the dark... but in the forumdisplay template, there is
Code:

$vbphrase[thread] / $vbphrase[thread_starter]
Perhaps a conditional after that?

Mellymonster 06-26-2009 03:28 PM

hmm that didn't work I added this

Code:

<if condition="$post[field17]"> <img src="$stylevar[imgdir_misc]/$post[field17].gif" alt="$post[field17]" /></if>

BlueNinjaGo 06-26-2009 03:39 PM

i'm pretty sure $post[] will only work in postbit templates... (maybe showthread?)

I doubt it would work in forumdisplay

Mellymonster 06-26-2009 03:45 PM

oh right lol, but showthread didn't work either.

mikey1991 06-26-2009 03:56 PM

Quote:

Originally Posted by Mellymonster (Post 1837893)
hmm that didn't work I added this

Code:

<if condition="$post[field17]"> <img src="$stylevar[imgdir_misc]/$post[field17].gif" alt="$post[field17]" /></if>

Try adding that to the postbit template. Shot in the dark.

BlueNinjaGo 06-26-2009 04:00 PM

Quote:

Originally Posted by Mellymonster (Post 1837910)
oh right lol, but showthread didn't work either.

sorry, I wasn't suggesting to add it to the showthread template... Just trying to say that $post[] probably won't work in the forumdisplay template.

Quote:

Originally Posted by mikey1991 (Post 1837918)
Try adding that to the postbit template. Shot in the dark.

That would add it to the postbit, which I'm pretty sure she said was already done.


All times are GMT. The time now is 04:26 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.01386 seconds
  • Memory Usage 1,737KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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