vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   A simple mod... (https://vborg.vbsupport.ru/showthread.php?t=42471)

Mr L 08-19-2002 07:34 AM

A simple mod...
 
Hi,

I've got a request for a simple mod, but don't have the PHP skills to write it.

I'd like to place a small graphic next to the user name, much like the Tetris King mod. This would however be dependend on if user is in group X then they get the graphic, if they are not, then they don't.

Can anybody help me.

Thanks.

Harvey.

NTLDR 08-19-2002 10:05 AM

There are allready a few realeases that do this, see PPN's profile, I'm sure he did one of them.

g-force2k2 08-19-2002 01:26 PM

just open up admin/functions.php

find:

PHP Code:

// do ip addresses 

before it add:

PHP Code:

if($bbuserinfo[usergroupid] == XX]) {
  
$spimg "<img src=\" url here \" border=\"0\">";
} else {
  
$spimg "";


replace the XX with the usergroup and the url here with the url for the image... hope that helps :)

g-force2k2

Mr L 08-22-2002 09:35 PM

Hiya,

Just back from holiday today and have seen this.

Many thanks for taking the time to do this, I'll put it in place tomorrow.

Cheers.

Harvey.

Mr L 08-31-2002 07:20 AM

Hiya,

Many thanks for this, I shall put this in place tomorrow and I
appreciate you taking the time to email me this.

Just back from holiday.

Harvey.

-----Original Message-----
From: vBulletin.org Forum Mailer [mailto:post@vbhacks.com]
Sent: 19 August 2002 15:27
To: hlodder@btinternet.com
Subject: A simple mod...

Hello HLodder,

g-force2k2 has just replied to a thread you have subscribed to entitled
- A simple mod... - in the Requests forum of vBulletin.org Forum.

~~~~~ NEW ~~~~~
New at vBulletin.org!
You can now reply to the thread by replying to this message. All you
need to do is to make sure this code appears in the e-mail subject:

You should also remove this text to ensure your reply is readable by
other forum users.
~~~~~ NEW ~~~~~

Here are the contents of the post:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
just open up admin/functions.php

find:

PHP Code:

// do ip addresses 

before it add:

PHP Code:

if($bbuserinfo[usergroupid] == XX]) {
  
$spimg "<img src=\" url here \" border=\"0\">";
} else {
  
$spimg "";


replace the XX with the usergroup and the url here with the url for the
image... hope that helps :)

g-force2k2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This thread is located at:
https://vborg.vbsupport.ru/showthrea...71&goto=newpos
t

There may be other replies also, but you will not receive any more
notifications until you visit the board again.

Yours,
vBulletin.org Forum team

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unsubscription information:

To unsubscribe from this thread, please visit this page:
https://vborg.vbsupport.ru/member2.p...threadid=42471

To unsubscribe from ALL threads, please visit this page:
https://vborg.vbsupport.ru/member2.p...type=allthread


All times are GMT. The time now is 05:37 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.01148 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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