vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Show Thread Enhancements - vB Staff Titles (https://vborg.vbsupport.ru/showthread.php?t=71447)

Logikos 11-06-2004 10:00 PM

vB Staff Titles
 
vB Staff Titles


====================
Author: Ken 'LiveWire' Iovino
Site: www.initialz.com
Version: 1.0
====================

Updates
  • None at this moment


What this does
This will give you the option to add an addtional title for staff members, or any user you would like to add. This can be done with conditions only, like if userid = X show this. But this will make things much eaiser to edit and manage.


To do list...
  • Time to install: 3 minutes
  • Queries to run: 1
  • File Mods: 1
    • /admincp/user.php
  • Templates to edit: 1
    • postbit or postbit_legacy
  • Templates to add: 0
  • New Phrases: 1

Please read carefully and make all the necessary changes as stated. This is will work if installed properly.
PLEASE REMEMBER TO BACKUP BEFORE YOU BEGIN! If you like this hack

Click It

Help & Support
Before asking for support Please make sure you have done all necessary changes! If you still need support please post a reply here.

Please post bugs and errors here. Hope you like, feedback welcomed.



BarHopper 11-07-2004 05:58 AM

Have you got a screenshot of the postbit?

bendigo-tech 11-07-2004 06:52 AM

Quote:

Originally Posted by BarHopper
Have you got a screenshot of the postbit?

Yep... postbit screeny wouldn't go astray! :)

HiDeo 11-07-2004 07:05 AM

Really nice idea, thanks

Logikos 11-07-2004 02:41 PM

Its just an extra title for user that you set it for, for those with no imaganation. Updated first post with screeny. :p

turbidblue 11-07-2004 02:44 PM

thanks!

[high]* turbidblue clicks install :)[/high]

Xenon 11-07-2004 02:56 PM

wouldn't it be easier to just create a custom profilefield editable by Admins and noone else?

That would eliminate the need of changing the db structure and the manipulating of any files :)

just a hint, the idea still is good :)

Logikos 11-07-2004 03:10 PM

Ya, this could also be done with conditions only, but this way gives a more orginaized type feel.

djjeffa 11-07-2004 08:08 PM

I have a lil problem. Any Ideals?
An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'djjeffa_djjeffaVB.user' doesn't exist

GamerJunk.net 11-07-2004 08:31 PM

Great hack!

Floris 11-08-2004 12:37 AM

Quote:

Originally Posted by RasMasta
Great hack!

I feel this is reinventing the wheel.
vBulletin comes with 'user ranks' which can be both an image or text.
That is what I use and works great. I am sorry, but I feel no use for this resource.

trackpads 11-08-2004 10:17 AM

The problem with only ranks though is that some staff members like their custom titles as well. This fits both that need and the need to identify staff.

For example on my site I have several staff divisions and this will help alot.

Thanks again,

-Jason

the Sandman 11-08-2004 10:19 AM

I'm assuming the extra title will be between the regular title and rank image (if any) - is that correct?

Logikos 11-08-2004 04:44 PM

Its not reinventing the wheel, its adding a spear tire to the car. Mods can still have a custom title for there selfs, and a title that shows there still staff.

Would if i was a new user on vb.org, and i saw Xenon posting, but lets say his user title wasn't admin, and vb.org didn't want to use the color usernames. how would i know he is a staff member just by his post? With this hack, you can add a little extra title for this.

Like i said, its a small mod, and not for everyone.

TTG 11-08-2004 05:52 PM

Useful,small & simple .. just the way I like 'em :)
Clicked install

trackpads 11-15-2004 12:48 AM

Is there a way to use images instead of just text?

Jaxx 11-29-2004 03:31 AM

Thanks. *installed*

Just to clarify for some since I was asked by a friend how to do the postbit edit, open your styles and edit postbit (or postbit_legacy) and find your line that has:

Code:

$post[usertitle]
And either above or below that add:

Code:

$post[staffrank]
To make it uniform, use the same codes that surround the usertitle tag. i.e. mine is:

Code:

                                <if condition="$post['staffrank']"><div class="smallfont">$post[staffrank]</div></if>

skinny 12-19-2004 11:29 PM

Thanks for this. Just what I needed to identify what forums my staff members were modding. Works fine and only takes a minute to install.

trackpads 12-19-2004 11:48 PM

Quote:

Originally Posted by trackpads
Is there a way to use images instead of just text?

Livewire, pretty please!

vBTotal 12-19-2004 11:53 PM

Cool, will install, Nice one Lime!

mrmax 12-20-2004 11:51 AM

I like it *installs*

Is there a way to get the install instructions for edits to the other files
where you could display the staff titles? Such as the member / members list. I have done
this myself with the members page - trying to figure out the memberslist page.

Thanks

Megareus Rex 12-22-2004 11:17 AM

Cool hack, and much needed on my board :)

Although the Rank system COULD be used for this, we also use images to denote rank via # of posts, so staff was left without the post rank indicator. Plus, we use a lor of usergroups that can be set as primary display group, which makes it impossible to use them for staff indication purposes.

catocom2 01-26-2005 05:42 PM

Installed.

Can this only be changed from the admincp, or can the mods change their own?

Timbeaux38 08-25-2005 01:43 PM

message from my admin guy...
Quote:

I am having a hard time understanding this

====================================
Run this query
====================================
+---------------------+
ALTER TABLE user ADD (
staffrank varchar(100) not null default ''
)
+---------------------+


I dont know what to put in the run query box... This can seriously f$%& up our board... and it is irreversable..

So Im hessitant..

Logikos 08-25-2005 04:47 PM

Admincp -> Import & Maintenance -> Execute SQL Query

Then you past:
[sql]
ALTER TABLE user ADD (
staffrank varchar(100) not null default ''
)
[/sql]

In that box. Just so you know, this is irreversable. ;)

yoyoyoyo 08-25-2005 05:30 PM

can you please update the 3.0.X version to inclide HTML markup like the 3.5 version?

Timbeaux38 08-25-2005 07:17 PM

Thanks Man!

MET920 08-26-2005 10:40 PM

Great hack!

/me clicks install!

yoyoyoyo 08-26-2005 10:57 PM

this is not my day... I installed this hack and now I am unable to change the staff title. When I go the the ACP and change the user title, and click submit the title does not change, so now the only way to edit it is via phpMyadmin... any ideas?

Logikos 08-27-2005 12:17 AM

Quote:

Originally Posted by yoyoyoyo
this is not my day... I installed this hack and now I am unable to change the staff title. When I go the the ACP and change the user title, and click submit the title does not change, so now the only way to edit it is via phpMyadmin... any ideas?

Hmmm, thats odd. I don't have vB 3.0.x installed on my computer anymore, but I don't remember having this problem. Anyone else having this problem?

MET920 08-28-2005 06:22 PM

Live Wire.. I installed the mod.. But I want to know where to add the "$post[staffrank]" to make it like in the screen shot you posted?

Logikos 08-28-2005 08:52 PM

Just add $post[staffrank] in your postbit or postbit_legacy template, which ever one your using.

MET920 08-28-2005 11:19 PM

Where in the postbit do you add it?


All times are GMT. The time now is 04:57 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.01315 seconds
  • Memory Usage 1,780KB
  • 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
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)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