vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Avatar/Username for specific forums (https://vborg.vbsupport.ru/showthread.php?t=141352)

faeriecorpse 03-06-2007 11:49 PM

Avatar/Username for specific forums
 
Hi,
I've been searching everywhere for this and have, sadly, not found anything yet.
I'm looking for a hack that will change a user's username and avatar depending on the forum he/she is posting in.

For instance, say their username is Untitled and their avatar is a picture of a cat.
When they enter the specific forum (in my case, it will be the RPG based forums) it will change to their character name and avatar. (Such as 'Dean Winchester,' with a picture of Jensen Ackles.)

Somebody please help!

Thank you.

Gray Matter 03-07-2007 12:45 AM

You can achieve this with some messy template edits if you wish to go in that direction.

Tommy12345 03-07-2007 12:50 AM

Quote:

Originally Posted by faeriecorpse (Post 1197595)
Hi,
I've been searching everywhere for this and have, sadly, not found anything yet.
I'm looking for a hack that will change a user's username and avatar depending on the forum he/she is posting in.

For instance, say their username is Untitled and their avatar is a picture of a cat.
When they enter the specific forum (in my case, it will be the RPG based forums) it will change to their character name and avatar. (Such as 'Dean Winchester,' with a picture of Jensen Ackles.)

Somebody please help!

Thank you.

Interesting Concept

faeriecorpse 03-08-2007 10:52 PM

Messy template edits?

Can someone point me into the right direction with that?

zappsan 03-09-2007 09:39 PM

You can change what's displayed using a conditional which checks for the forum ID the post has been made in.

I'm also working on an RPG using pretty much the same concept, so I've already played around with this a little bit.

This might probably help you: http://www.vbulletin.com/forum/showthread.php?t=200894

Saskia 04-16-2007 10:16 AM

A lot of forums do this for RPG purposes and it's not that hard really. Make a new user profilefield and either:
  1. Make a new style (for that forum) and edit the desired templates, replacing the username variable by the profilefield variable; or
  2. Use forum id conditionals in your current templateset and use them to replace the username variable by the profilefield variable if in a certain forum.
This goes the same for any other variable you'd like to add/change, such as an avatar.

Good luck!


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