vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   alternative var to "postusername" (like musername) (https://vborg.vbsupport.ru/showthread.php?t=70544)

Kurtie 10-13-2004 09:02 PM

alternative var to "postusername" (like musername)
 
hmm, i have this command line:

<if condition="$show['guestuser']">
$thread[postusername]
<else />
<a href="member.php?$session[sessionurl]u=$thread[postuserid]">$thread[postusername]</a>
</if>

"postusername" posts only the username. i want to post the username with its tag (if it has one), something like the "musername" var.

how can i change this command line to achieve that?

thanks in advance.

p.s
this script is from the threadbit template.

Kurtie 10-14-2004 11:05 AM

hmm, help? :)

Xenon 10-14-2004 04:25 PM

please do not bump a thread in less than 24h

it is annoying to those who just read the board once a day, and will also reduce your chance of getting help.

to answer your question. the needed variable isn't defined by default.
there is a function called fetch_musername which does what you want, but you have to modify all those files which are useing the threadbit template.

Kurtie 10-14-2004 09:12 PM

sorry about that.

thanks for your help' but can you be more specific about changing the files? what files and how should i change them?

Kurtie 10-16-2004 12:08 PM

up.
can't you guys help me on this one? :|


All times are GMT. The time now is 08:57 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.00906 seconds
  • Memory Usage 1,708KB
  • 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
  • (5)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