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)
-   -   vB3 Style Usergroup Based Username Formatting for vB 2.2.x (https://vborg.vbsupport.ru/showthread.php?t=57627)

assassingod 10-05-2003 04:24 PM

The only problem with mine is that I never finished it for forumdisplay & WOL (I should really get that done)


Good job nonetheless:)

mx3 10-05-2003 08:31 PM

Storm rarely ever releases hacks, when he told me he was releasing this one, I was pretty surprised...everyone cherish the moment because it probably won't happen again lol

Ryan Ashbrook 10-05-2003 08:39 PM

I've installed your hack and now usergroup.php(3) isn't working in my admin folder.

I'm running vB 2.3.2 with .php3 extensions(I wanted to try somethign new :p).

All I get is a blank page.

Storm 10-06-2003 12:20 AM

Quote:

Originally Posted by assassingod

Yeah I saw that but yours doesn't work for any usergroups, just 5,6,7, I figured I'd release this one so users can easily add tags for any group from the edit page. Yours is a nice hack nonetheless though.
Quote:

for the opening tags would it be possible to just add an image ? so u can add usergroup images ? i dont see y not... also is it possible to use this formting in the post bit ?
About the images, they won't work because when its parsed it will be converted into something like <font color=red>Username</font>.. also for images to work, you'd have to have a seperate image for each user you have, then specify the userid of who can use it, I know its possible because I use it on my forum ^^ only a little modifcation to the function is required.

To get the hack to work with postbits, I'd have to figure out the best way to go about that since it can interfere with the Lesane store hack (italic and glowing usernames)...

If anyone wants it to get it to work with the memberlist, just let me know :)

Quote:

I've installed your hack and now usergroup.php(3) isn't working in my admin folder.

I'm running vB 2.3.2 with .php3 extensions(I wanted to try somethign new ).

All I get is a blank page.
Thats very wierd.. probably check your edits again, if you can't get it to work you can PM your file to me and I'll take a look.
Quote:

READ MY POST !

i get this error on your wol page , mine is fine
Oh, lol, I guess I'll have to take a look at that then ^^
Quote:

Dude... you rock!
It took you like a half an hour to make this!
THANKS!
You're quite welcome :) Actually I was putting together the install file and after I posted it, I saw your post requesting it, but yeah, the hack itself didn't take me very long to make :)

Rein Masamuri 10-06-2003 05:30 AM

It works in 2.3.2 just fine
corsacrazy: Yes it'll work... just put
[openingtag]<img src="imagename.gif">[/openingtag]

If you want to do what I do (make the username an image all together so I can make a hell of a cool username) then do:
[openingtag]<img src="[/openingtag]
[closingtag].ext">[/closingtag]
and name the images usename.ext

index 12-09-2004 01:07 PM

Hi There,

I couldn't get what this ment:
TIP:

If you know a little about PHP, you can apply formatting to usernames in other areas of your board by simply querying for the userid, username, and usergroupid:

$somearray=$DB_site->query_first("SELECT userid, usergroupid, username FROM user WHERE userid=1");

etc... then doing this:

$username=formatusername($somearray);

its quite simple if you know what you are doing and know a little about PHP, just make sure that the $somearray contains the userid, usergroupid, and username.

where to use this:

$somearray=$DB_site->query_first("SELECT userid, usergroupid, username FROM user WHERE userid=1");

and this:

$username=formatusername($somearray);

and vb db, or where

Thanks a lot


All times are GMT. The time now is 08:04 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.00999 seconds
  • Memory Usage 1,729KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete