vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   New Profile field... (https://vborg.vbsupport.ru/showthread.php?t=95166)

Metropolitan 08-27-2005 12:12 PM

New Profile field...
 
Hi @ll

is it possible to create a customn profile field where the users could select which kind of user ranks they wanna have in their postbit(_legacy) info?

I have no idea of coding :ermm:

I hope someone could help me :nervous:

Greetz

Metro

Marco van Herwaarden 08-27-2005 07:13 PM

YEs just create a single select User Profile field.

Metropolitan 08-27-2005 08:59 PM

To create the new profile field isn´t the problem i guess, but how to manage, that if they choose a type of ranks, exactly these ranks are shown up in the postbit?

Example:

User 1 selects rank type "Army" --> Army ranks are shown up in the postbit(_legacy)
User 2 selects rank type "Navy" --> Navy ranks are shown up in the postbit(_legacy)

Reeve of shinra 08-27-2005 10:15 PM

Not sure what your using for ranks or how its done but ... in the postbit I would add something like this

<img src="www.mysite.com/board/images/ranks/$post[fieldx]/$rank">

$post[fieldx] = x would be the field # and would choose the folder the images are in.

$rank = would be like corporal, seargent, major, private, etc but this part depends on the hack your using itself.

Metropolitan 08-28-2005 12:55 AM

At the moment i´m using the normal rank system from vBulletin, but there i can only use one type of ranks (like army) and the rank depends on the amount of posts :s

Reeve of shinra 08-28-2005 04:05 AM

Quote:

Originally Posted by Metropolitan
At the moment i?m using the normal rank system from vBulletin, but there i can only use one type of ranks (like army) and the rank depends on the amount of posts :s

Oooooo... there is a hack around here somewhere for 3.0.x I believe that will give you different types of ranks for different usergroups - I think that is what you want.

You would just have a army / navy as secondary joinable usergroups.

Metropolitan 08-28-2005 09:10 AM

Well, i guess i found it, but it´s for 2.2.x :disappointed:

and i have no idea how to do it for 3.5.0 RC2 :ermm:

Metropolitan 08-29-2005 11:58 PM

*bump*


All times are GMT. The time now is 05:02 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.00989 seconds
  • Memory Usage 1,719KB
  • 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
  • (8)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