News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

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

locomotion182

I have a question about this themplate
In my "whos" in the robots table the name displayed is "robotas"
i want to change that to "spiders"
just change the name but im not sure what to change.

any suggetion?

chep

In the very first post it suggests right in here


$brokendown = array (
                'homies' => array(),
                'visitors' => array(),
                'robotas' => array(),
        );


To change it example would be below. I changed members and spiders.


$brokendown = array (
                'members' => array(),
                'visitors' => array(),
                'spiders' => array(),
        );

yume_kokoro

wtf-anime.com [nofollow]
Looking for Anime/Manga sites to Affiliate with.
Contact via http://wtf-anime.com/index.php?action=contact [nofollow]

kalimocho

It doesn't work for me with SMF 1.1.3 & TP 0.9.8 & "new definition" theme.

After install I get this over the forum:

// OB - Googlebot - Inicio // Cadenas del indice del foro $txt['ob_googlebot_modname'] = 'Googlebot & Spiders'; $txt['ob_googlebot_spider'] = 'Robot'; $txt['ob_googlebot_spiders'] = 'Robots'; $txt['ob_googlebot_spiders_last_active'] = 'Robots activos en los últimos ' . $modSettings['lastActive'] . ' minutos'; // Opciones y configuracion del foro $txt['ob_googlebot_count_all_instances'] = 'Contar todas las instancias del mismo robot'; $txt['ob_googlebot_display_all_instances'] = 'Mostrar todas las instancias del mismo robot
("' . $txt['ob_googlebot_count_all_instances'] . '" debe de estar seleccionado)
'; $txt['ob_googlebot_display_agent'] = 'Mostrar agente en vez del nombre'; $txt['ob_googlebot_display_own_list'] = 'Mostar robots en su propia lista'; $txt['ob_googlebot_count_most_online'] = 'Contar en "Máximo conectados"'; $txt['ob_googlebot_redirect_phpsessid'] = 'Redireccionar PHPSESSID URLs'; // Permisos $txt['permissiongroup_googlebot'] = $txt['ob_googlebot_modname']; $txt['permissionname_googlebot_view'] = 'Ver Googlebot y Robots'; // OB - Googlebot - Fin

Bigguy

That looks to be a problem with the modifications.english.php file. Look in it and see if:

?>

is right at the very end of the file on it's own line. If not find it and move it there. it should not be right next to ANY code.

Moonlit_Ninja

Forgive my stupidity in advance, but...

Where can I find this modified 'theme file'?, I've looked up and down and cannot see the link anywhere amongst the nine pages of clutter ;D

EDIT: Damn, I am stupid!... had to be logged in to see it lol :P

kalimocho

Thx bigguy and owdy!  I obviously installed the mod (Googlebot_v2_0_3_only_smf1.1.x.zip) through SMF package manager and then I got that "strange" text over the SMF on any page :?

(Im using spanish-utf8 if that matter)

Bulakbol

Quote from: kalimocho on July 04, 2007, 11:16:11 AM
Thx bigguy and owdy!  I obviously installed the mod (Googlebot_v2_0_3_only_smf1.1.x.zip) through SMF package manager and then I got that "strange" text over the SMF on any page :?

(Im using spanish-utf8 if that matter)

Uninstall the Googlebot_v2_0_3_only_smf1.1.x and download the Who.template.php from the first post. Then upload the Who.template.php to your Default Theme directory. You don't have to install it.
Please do not PM me for support · My Mods and Theme · SMF Coding Guidelines · Modifications Approval Guidelines

kalimocho

Quote from: JohnyB on July 04, 2007, 01:13:54 PM
Uninstall the Googlebot_v2_0_3_only_smf1.1.x and download the Who.template.php from the first post. Then upload the Who.template.php to your Default Theme directory. You don't have to install it.

thank you!!! ;)


kalimocho

I have it working!! it's impressive! :D

This bot is missing (http://www.noxtrum.com/):

QuoteNoxtrum
(194.x.x.x, noxtrumbot/1.0)


aldo

Wow. I am using this(only used for a few seconds so far) and I already love it! Thanks, just what i was looking for to. ;)

MinasC

got an error in installation (smf 1.1.3 tp 0.9.8) in ModSettings.php ! i tried to install the latest version of the mod after i first uploaded and overwrote the who.template.php with the one given in the first post of this topic ! did i do anything wrong ? it is supposed to work with 1.1.3 , right ?

thnx !

Kindred

???   what mod?!?!?   this is a replacement for the who.template.php, so far as I know there is no mod package associated with it.
Сл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."

MinasC

isn't this mod http://mods.simplemachines.org/index.php?mod=143 associated to it ? i thought it was strongly recommended to custom who.template.php before we use it !


Kindred

that mod may recommend that you add the custom who.tmeplate first... but that mod is not related to this customization...    and problems with that mod should be asked about in the other thread...

replacing the who.template will not cause errors in any files, most especially not modsettings...
Сл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."

MinasC

you are sooooo right , my fault , i am sorry for being off topic here !  :-[
should i ask again in the mod topic ?

shaiss

this may have been answered before.  But what agents and spiders are already in the template.   And what are the most common ones that arn't in the template?
-Shai
If you ride on two wheels you need to ocmoto.com!

Advertisement: