vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Custom User Status by Usergroup [Final] (https://vborg.vbsupport.ru/showthread.php?t=41166)

JJR512 07-18-2002 01:38 AM

I've read the explanation of what this hack does, and although both our hacks involve custom titles, I believe that how the custom titles are assigned, and the purposes behind the custom titles, are different enough that there is no reason for any concern. Thanks for thinking of me, Velocd, and thanks for the PM, Jen. :)

Chris M 07-18-2002 10:13 AM

JJR512's hacks can actually be used in the same way as this - All you have to do is set it editable by user to no, and bingo!

I know its not Usergroup based, but still similar...

Satan

Allstar DC 08-21-2002 03:48 AM

is it possible to let it show an image instead of text???

Jen 08-21-2002 08:34 AM

While I haven't tested this, you should be able to just add standard html IMG tags to the custom status field to show an image for every user of a particular usergroup.

Allstar DC 08-21-2002 10:22 PM

and how would i do that?

Jen 08-26-2002 04:20 PM

PHP Code:

<IMG SRC="http://www.yourhost.com/yourimage.gif"

Using the standard HTML syntax for adding images. Just use an IMG tag inside the field and you'll be adding that image as the custom group title to each user within that usergroup.

Allstar DC 08-28-2002 06:10 AM

hmmm, i tried that, but it only showed the code, not the image

FASherman 08-28-2002 01:56 PM

Regarding custom user titles by user group...

Why not add a second field to the usertitle table for usergroupid? Then, in member.php, newreply.php, and newthread.php change the select statement for user title from "...WHERE minposts <= $bbuserinfo[posts]..." to ""...WHERE minposts <= $bbuserinfo[posts] AND usergroupid=$bbuserinfo[usergroupid]..."

There will also have to be some updates select statements in admin programs, leaving the bulk of the work in usertitle.php

Just an idea if someone is filling to run with it...

Elly 09-03-2002 11:31 PM

This isnt working for me .. I have stars installed could that be causing a problem?

Jen 09-04-2002 02:31 AM

Elly: I'll install Stars on this end and see if there's something that isn't working between the two. Right now I'm not sure if there are any conflicts.

Allstar: I found the problem and will post code tomorrow for you.


All times are GMT. The time now is 05:28 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.01019 seconds
  • Memory Usage 1,727KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete