vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Custom titles (https://vborg.vbsupport.ru/showthread.php?t=51539)

Efrain_AAV1 04-13-2003 12:09 AM

Custom titles
 
I'm no expert but I guess the database field the script uses to determine what title to give a user is the TOTAL POSTS field, correct?

If I wanted to make the script look at another field to determine what title to assign, how would I do this?

I have a new database field named Total_Block_Hours and I want the script to use this field instead of the Total Posts..

Can it be done?

Thanks in advance!

Efrain

filburt1 04-13-2003 12:29 AM

No, the user status is cached in the user table (customtitle or usertitle, can't remember which).

Efrain_AAV1 04-13-2003 12:56 AM

Ok, this is where I get lost, because one can adjust the "amount" of posts necessary for a specific Title to be used... Somewhere there must be a routine which is looking into the Total Posts field and comparing the total there to the amount specified... I think the cache would apply if you allow members to have their own custom title..

Hmmm.. I guess I posted the wrong subject! LOL

What I am interested is NOT the CUSTOM TITLE! I am interested in the USER TITLE... Sorry for the confusion Filbert! Hope you can help me now! ;) :banana:

filburt1 04-13-2003 01:03 AM

I meant user title, too.

It is based on the postcount, but the title is a counter so it must be manually updated if a new post is just randomly added to the post table.


All times are GMT. The time now is 02:58 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.01786 seconds
  • Memory Usage 1,707KB
  • 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
  • (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