PDA

View Full Version : A simple mod...


Mr L
08-19-2002, 07:34 AM
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:

// do ip addresses

before it add:

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:

// do ip addresses

before it add:

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/showthread.php?threadid=42471&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.php?action=usub&threadid=42471

To unsubscribe from ALL threads, please visit this page:
https://vborg.vbsupport.ru/member2.php?action=usub&type=allthread