Custom Who.template.php - separated list for users, guests and spiders

Started by Owdy, November 03, 2004, 01:15:56 PM

Previous topic - Next topic

NativePages

http://www.nativepages.com/tnindian
I came, I saw, I installed, I asked a million questions, but eventually I got it!

Pedja

Quote from: Zenigata on February 22, 2007, 09:46:22 AM
I've this error:

Fatal error: smf_main() [function.require]: Failed opening required '/home/jwwwazen/public_html/forum/Sources/Who.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/jwwwazen/public_html/forum/index.php on line 344

It seems you did not put Who.php on th right place.

Quote from: کíŋ on February 26, 2007, 05:43:11 AM
Is there a way of showing any other user names that these IP's may belong to in that last column?  

Click on IP number and it will open another page, with various info about that IP, including list of other users who visit or post on forum using the very same IP.

Quote from: NativePages on February 26, 2007, 10:59:13 AM
I updated those lines in the copy from this thread that I'm pretty sure were NOT relevant to differentiating the spiders out from the members and guests. When I was done, the only things not changed between the two were very specific to the members, guests, spiders arrays and the list of spiders.

But I'm gettin' no changes on my forum after uploading the new who.template file. Did I mess up?

Sorry, when you alter the code, only you know what you altered.

SME mod system sucks and leads to problem like what you have. My strongest advice is not to mod until it is neccessary :(

Kindred

Quote from: Pedja on March 12, 2007, 04:38:15 AM
SME mod system sucks and leads to problem like what you have. My strongest advice is not to mod until it is neccessary :(

First of all, what are you talking about?   SMF's mod system is incredibly powerful and easy to use.

Second of all, this is not a mod. This does not install in the package manager... all you do is upload a copy of the revised who.template.php into your theme's directory using FTP.

I will agree with your last comment, though...  you should not mod unless you feel the mod-function is necessary.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

ckgb

Is it possible to split "who" template in 2 parts. On the left Males, on the right Females and to get guests eliminated.

Kinda like this
http://user.33b.ru/view.user.online.php

Thanks

MoreBloodWine

Quote from: ckgb on March 14, 2007, 02:29:53 AM
Is it possible to split "who" template in 2 parts. On the left Males, on the right Females and to get guests eliminated.

Kinda like this
http://user.33b.ru/view.user.online.php

Thanks
This is something I can guarantee will never change to gert what your asking you should go post in the mod request forum and just go from there...
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


Kindred

more specifically, yes, it would be POSSIBLE to do so...   however, as indicated in the previous post, this is such an arcane request that you will have to have someone mod it for you (if you can't do it yourself) because I doubt anyone else would be interested in having it divided that way...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."


Vinspire


Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

giggetto

I'm sorry for my bad english.
La mia traduzione del TP 0.98 lingua italiana, ancora beta.

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Pedja

Quote from: Kindred on March 12, 2007, 08:49:00 AM
First of all, what are you talking about?   SMF's mod system is incredibly powerful and easy to use.

Powerful enough that when you do some mod, you cannot upgrade any more (if you do not deinstall all mods)  and if some other mod changed some code then you cannot implement another mod. The worst case is that you cannot uninstall some mod. But... this is not subject here.

Quote
Second of all, this is not a mod. This does not install in the package manager... all you do is upload a copy of the revised who.template.php into your theme's directory using FTP.

Right, but I think he already installed some mod that changed who.template.php, so if he just replace it with this one, he looses that changes.

Kindred

neither of those issues has anything to do with the power and effectiveness of SMF's mod package system

Obviously, if you try to install two mods that affect the same portion of code, you are going to have issues. That is the nature of the beast, with ANY system that modifies code.


As for upgrading, of course you can...   I do.
Again, yes, when you upgrade major versions, you will lose any mods you have installed (in the code, mod-database tables remain untouched)
So, then you can re-install the mods in the new version.
With minor upgrades, however, you can use the same package manager system to perform the upgrade, thus maintaining your existing mods.

Of course, the more heavily modified your system, the more trouble you will have upgrading (automatically) or even applying more mods...   Again, how is this a problem with SMF's mod package system?  If you modify the code, then it's no longer "standard" and mod-coders can only code for what they KNOW (i.e. baseline files).

So, I say, one more time, what the heck are you talking about?
You seme to imply that there should be som auto-magic effect that applies any modification you want by reading your mind and doing what you want, not what you say....
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

edi67

CrazyZone - My SMF Forum


From the difficult the hardening of the man you can see

than

Quote from: RBH on August 14, 2006, 12:34:50 PM
recently i have had a swarm of snapbots visiting my site. they are showing as guests so i tried adding them to the who.template as instructed in the first post but they still show as guests. here is what i added to template.

array (

'agent' => 'Snapbot/1.0',

'spidername' => 'Snapbot',

'spider' => true,

),


any ideas on how to get these guys to show up with thier name other then guest?

Hi  :D

Any solution for this???

Regards

giggetto

HI
here (attach) is the italian version of the modified who.template.php!
gasp! I can't use the attachment function in this board...

however is someone need the italian version i have hosted it at my site here.

If I can send this file to someone to insert it in the first post, send me a PM

I hope this could be usefull for someone!
I'm sorry for my bad english.
La mia traduzione del TP 0.98 lingua italiana, ancora beta.

ladynada

WORK for Truth, Print it, Take Time to READ ALL LINKS NOTED  click here --> The TWO Witnesses are Mom and Dad and SMF Skins

ladynada

WORK for Truth, Print it, Take Time to READ ALL LINKS NOTED  click here --> The TWO Witnesses are Mom and Dad and SMF Skins

Surferbird

Browser detailed info doesn't show up when FireFox browser in use...why?

IE7 shows it nicely.
.:: Always something to ask - always grateful for assistance ::.

ladynada

it shows firefox version on mine

example:

(ppp208-87.adsl.forthnet.gr), Firefox
User agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; el; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

regards,
nada
WORK for Truth, Print it, Take Time to READ ALL LINKS NOTED  click here --> The TWO Witnesses are Mom and Dad and SMF Skins

Advertisement: