vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=326948

Auto populate based on setting
by Irishnotsane
06 Dec 2018 14:57

Hello.

I'm wondering if anyone can help me
Basically I have the username (with a link to PM them) of certain people within my forum rules.

This person gets replaced every now and then, and there are multiple references to these people throughout the forum rules.

Is there a way I can edit a box in the admincp for example.

"Current General Manager": Harry
"Current Assistant Manager": Patrick
"Current Forum Manager": Julie

Etc..

Then once I change those names, it'll automatically change the names within the forum rules (along with a hyperlink to direct them to their PM)

I'd really appriciate this help, please let me know if you need more information

z3r0 06 Dec 2018 15:52

1 Attachment(s)
You could make a new phrase for each user, something like this.

Attachment 157303

And then reference the phrase anywhere you want your text to show

{vb:rawphrase Current_General_Manager}

Alan_SP 06 Dec 2018 19:04

Thinking on this and using idea z3r0, it can be made into BBcode (if what's needed is used in places where BBcode works).

After that, you just reference (use) that BBcode.

When you need to change things, edit BBcode in ACP.

Irishnotsane 07 Dec 2018 13:46

Quote:

Originally Posted by z3r0 (Post 2597686)
You could make a new phrase for each user, something like this.

Attachment 157303

And then reference the phrase anywhere you want your text to show

{vb:rawphrase Current_General_Manager}

This doesn't seem to work

It simply comes up with "{vb:rawphrase Current_General_Manager}" in the Forum Rules?
Any advice?

Basically the Forum Rules are sections of the FAQ's that I've added

z3r0 07 Dec 2018 14:43

I've just tested and this works - $vbphrase[Current_General_Manager]


All times are GMT. The time now is 23:31.

Powered by vBulletin® Version 3.8.14
Copyright © 2022, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.