vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How is this done? (https://vborg.vbsupport.ru/showthread.php?t=225143)

Wifey 10-13-2009 12:43 PM

How is this done?
 
How is it possible to make one person be two or three different characters, depending on a forum.

Say a person registers as Jane Doe. That is her main board username, and that is what she goes by. However, when she enters into certain forums, say an RPG forum, when she posts, it no longer shows her posting as Jane Doe, it shows her posting as Dora Explorer.

How is this done?

Lynne 10-13-2009 01:57 PM

Could be done any number of ways... perhaps Dora Explorer is a user profile field and so when you enter that other forum, it uses FieldX for the username.

Wifey 10-13-2009 02:46 PM

Is there a specific hack that has this done already or a how to somewhere?

Lynne 10-13-2009 03:06 PM

I haven't seen a modification released, but I do remember helping someone with parts of their version of this modification in a thread a while ago. I don't remember how much of his code he posted in the thread though.

Basically, just use a new style for the other forum and go into the postbit(_legacy) template and replace $post[musername] with $post[fieldx].


All times are GMT. The time now is 02:32 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.01012 seconds
  • Memory Usage 1,706KB
  • 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