vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   customtitle in forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=42226)

fahad 08-12-2002 10:00 PM

customtitle in forumdisplay
 
1 - forumdisplay.php

Find
PHP Code:

eval("\$thread[gotonew] = \"".gettemplate('forumdisplay_gotonew')."\";"); 

after that add

PHP Code:

$showtitle $DB_site->query_first("SELECT user.username,user.userid,user.usertitle,user.customtitle FROM user WHERE userid=$thread[postuserid]");
$showtitlecurrent $showtitle[usertitle]; 

save file

2 - EDIT template forumdisplaybit
after
PHP Code:

$thread[postedby

add
PHP Code:

<br><smallfont>$showtitlecurrent</smallfont

arabic demo:FFF.FM

C U http://www.fff.fm/vb/images/smilies/thumb.gif

mewgood 08-13-2002 04:26 AM

Hm.. I dont know how to read that language so I dunno whats the difference..

fahad 08-13-2002 04:28 AM

???? forumdisplay.php
???? ??
eval("\$thread[gotonew] = \"".gettemplate('forumdisplay_gotonew')."\";");

??? ?????

$showtitle = $DB_site->query_first("SELECT user.username,user.userid,user.usertitle,user.cust omtitle FROM user WHERE userid=$thread[postuserid]");
$showtitlecurrent = $showtitle[usertitle];
???? ??????? forumdisplaybit
????
$thread[postedby]

??? ?????

<br><smallfont>$showtitlecurrent</smallfont>
??????? ??? ????? ???? ?? ??????? ??
??????

fahad 08-13-2002 04:34 AM

ok

fahad 08-13-2002 04:38 AM

arabic

[D]Vincent 08-13-2002 05:11 AM

No offense but you just have to put <br>($bbuserinfo[usertitle]) in the forum display template where the username is displayed and you get the same effect.

fahad 08-13-2002 05:25 AM

:( :( no no no

$bbuserinfo[usertitle] = your title

$showtitlecurrent = user customtitle started thread

fahad 08-13-2002 05:36 AM

[D]Vincent

[D]Vincent 08-13-2002 05:42 AM

That moderator thing is $bbuserinfo[usertitle]

fahad 08-13-2002 05:49 AM

no
announcement post title

$announcement[usertitle]


All times are GMT. The time now is 12:11 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.01108 seconds
  • Memory Usage 1,736KB
  • 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_php_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