vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Jeez, I feel dumb (https://vborg.vbsupport.ru/showthread.php?t=39158)

~Brain~Wav~ 05-28-2002 07:14 PM

Jeez, I feel dumb
 
Okay, here's the problem.
On my board, we have two custom titles, one is the standard VB one, and the other is a user selectable one.

Recently, I was trying to tweak the postbit, and the custom title ceased working.
PHP Code:

<normalfont><b><table style="filter:glow(color=$post[field10], strength=7">$post[username]</table></b></normalfont>

<
smallfont>$post[usertitle]</smallfont><br>
    
$post[avatar]<br><smallfont><b>$extratitle</b></smallfont><br>
    <
smallfont>Registered$post[joindate]<br>
    
Location$post[field2]<br>
    
Posts$post[posts]<br>
                
Style: <a href='showthread.php?styleid=$post[styleid]&postid=$post[postid]&s=$session[sessionhash]#post$post[postid]'>$post[styletitle]</a></smallfont></td

The "$extratitle" is the custom title... I don't know why it isn't working, but could someone please look at it.

Oh, and I tried encasing it in $post[], and $bbuserinfo[], but neither worked.

Xenon 05-28-2002 09:26 PM

is extratitle a field in your usertable?

if yes, you have to take $post[extratitle]

but why have you added a field to the db?

why don't you use another profilefield wich you can setup from the CP?

if you have done so, and named it Extratitle, you must use $post[field5] or 6 or 7 or whatever field it is

~Brain~Wav~ 05-29-2002 12:15 AM

I didn't actually create it, another admin did, and he hasn't been around for a while. It is a field in the user profile, but I have no idea what number it is.... would it be the display order number?

EDIT: w00t! Thanks, that's what the problem was. I hate being a VBB newb...

Xenon 05-29-2002 11:57 AM

np, everyone started as a newb once :)


All times are GMT. The time now is 09:00 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.02067 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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