![]() |
1 Attachment(s)
What is this? (FireFlys location)
|
Wrong Forum bro.
|
Why?
|
This forum is for critiques on forum design and such. Your post should be in the general chat, or the lounge.
|
Yes, I see... sorry I only read the headline and interpreted it as comments about THIS forum ;)
|
Anyways, he has it set so that it says that for all users. So for me it says the same thing, but my name.
|
Is this a hack or a 2.2.0 option?
|
That's a little mod to online.php, not part of v2.2. :)
I can post the code here if you wish. |
No need, thank you ;) I was just wondering...
|
I wouldnt mind it :p
|
Quote:
|
:) that's pretty cool
|
I added this:
Code:
if ($userinfo[userid]==1) { Code:
default: Code:
case 'firefly': Code:
default: |
Simple, but kinda cool.:p
:cool: Removed my very long quote. Please don't post long quotes, especially when it's just a message above. :) |
it's quite a neat feature...
|
I'll be adding this one. :pleased:
|
If you're already using v2.2.0, you can also do this.
Add this: Code:
if ($userinfo[usergroupid]==6) { Code:
default: Code:
case 'admin': Code:
default: In online.php, add this: Code:
$userinfo[$key][usergroupid] = $user[usergroupid]; Code:
$userinfo[$key][invisible] = $user[invisible]; |
hehe
gr8 hack FireFly muchas gracias :D |
sweet hack.. i'll be giving it a try later on tonight..
thanks for the post. |
aah! thats awesome.. ^^ uh... But it shows that for one of my guests.. O.o not supposed to is it? lol
grr.... Now it wont work no matter what i do... >_< lol -Syphin |
Ok I updated my last post, add the added code. :)
I have that on my online.php by default so I thought you also do. :china: |
Thank you... ^^ works great now... :p
Oh, and should that code have been in my file? O.o :lost: -Syphin |
No, but I got some custom things going on in my file so I had to add that line. :)
|
Very cool. Thanks FireFly!
|
Make your life easier ...
You can use replacements to replace the inserted text. This comes in handy when you get bored of what you have displayed. For example, under Replacements (Admin cp) > add custom replacement > give it a name > insert the text you want. |
Neat @ Cool, thanks firefly
|
Could you also modify it to include that text for all moderators and admins? (I mean with one line of code instead of adding every username?) :)
|
wait what dose this ezactly do,
I can't tell? |
Maybe you could make a small hack that allowed easy addition of custom text for certain users. That'd be a cool priviledged "service" at my forums :)
|
Is their a way for Admins to over-ride this and see where other admins are?
|
Ahhhh that had me confused for a minute, but thanks for replying to my PM Firefly :)
|
Muahahahaha!!
I love it!! *G* StarBuG |
Tweaked version available at
https://vborg.vbsupport.ru/showthrea...threadid=34047 (Thanks Chen!!!!!) Kathi |
doesnt work for me, I check it but it says my location ... What could i be doing wrong ? :(
|
My username is
/\ and it gives me a parse error when I put that instead of your name forefly in the mod I make to online.php what should i do :( |
I think you better install this as a real hack, Moonwolf posted it a few days ago. :)
|
Cool as always :)
|
Any chance of updating this for vB3.0.0?
|
Yeh, I just tried this and it doesn't work for 3. Because it can't find any of the lines.
|
You gotta change it according to vB3's coding style.
|
All times are GMT. The time now is 04:02 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|