Advertisement:

Author Topic: Members List  (Read 4195 times)

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: Members List
« Reply #20 on: September 19, 2011, 11:58:40 AM »
You seem to have several different problems.  Do you have any mods installed?

1) Undefined variable modSettings in Themes/default/languages/index.german.php
It would seem to me that the function LoadLanguage (in Load.php) should be including this file, and that it manages this by calling function template_include, which has already gotten hold of the global $modSettings before it requires or evals the language file.
Either way, modSetting should be properly defined. Do you have any mods related to action=admin;area=languages?

2) Problems in the theme Yabb_SE_Next_Gen_SMF2, in Display.template.php, with undefined indexes -- href, title
in the body_above sub template.  Have a look in that file for 'title' and 'href'.  How are you attempting to use them?
Is this some kind of customization you have made to the template, or did some mod add this to the theme?

3) You have several users listed as "a Spam". Is there a mod related to referring to users as "a Spam"
------------
Edit: removed extra number in list.
« Last Edit: September 19, 2011, 01:19:42 PM by AngelinaBelle »
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline TheLookBook

  • Jr. Member
  • **
  • Posts: 192
  • Gender: Male
    • TheLookBook
Re: Members List
« Reply #21 on: September 19, 2011, 01:08:12 PM »
You seem to have several different problems.  Do you have any mods installed?

1) Undefined variable modSettings in Themes/default/languages/index.german.php
It would seem to me that the function LoadLanguage (in Load.php) should be including this file, and that it manages this by calling function template_include, which has already gotten hold of the global $modSettings before it requires or evals the language file.
Either way, modSetting should be properly defined. Do you have any mods related to action=admin;area=languages?

2) Problems in the theme Yabb_SE_Next_Gen_SMF2, in Display.template.php, with undefined indexes -- href, title
in the body_above sub template.  Have a look in that file for 'title' and 'href'.  How are you attempting to use them?
Is this some kind of customization you have made to the template, or did some mod add this to the theme?

3) You have several users listed as "a Spam". Is there a mod related to referring to users as "a Spam"
2)

Yes there is a mod: Stop Forum Spam. Will look in the file Display.template.php and get back with you.
Keep Your "Dreams" Alive!

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: Members List
« Reply #22 on: September 19, 2011, 01:25:01 PM »
I don't know much about Stop Forum Spam.
http://custom.simplemachines.org/mods/index.php?mod=1519
It is supposed to deny registration to users based on their IP address and/or Email, looking at the list at http://www.stopforumspam.com/

According to the author, it is normal for the mod to write some kind of message to the "log forum". I suppose this means "forum error log". So this would be normal, and not an indication of a problem, if those emails and IP adresses are on the list.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline TheLookBook

  • Jr. Member
  • **
  • Posts: 192
  • Gender: Male
    • TheLookBook
Re: Members List
« Reply #23 on: September 19, 2011, 02:13:20 PM »
I don't know much about Stop Forum Spam.
http://custom.simplemachines.org/mods/index.php?mod=1519
It is supposed to deny registration to users based on their IP address and/or Email, looking at the list at http://www.stopforumspam.com/

According to the author, it is normal for the mod to write some kind of message to the "log forum". I suppose this means "forum error log". So this would be normal, and not an indication of a problem, if those emails and IP adresses are on the list.

It's a great mod and helps to stop spammers at registration with a few other settings if they are listed. Just that I got the extra stuff shown in the snapshots inside the mods control panel. Seems titles were loaded twice but everything works.
Keep Your "Dreams" Alive!

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: Members List
« Reply #24 on: September 19, 2011, 02:34:36 PM »
Sounds  like maybe you had some trouble during installation. Did you contact the mod's author?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline TheLookBook

  • Jr. Member
  • **
  • Posts: 192
  • Gender: Male
    • TheLookBook
Re: Members List
« Reply #25 on: September 19, 2011, 02:43:17 PM »
Sounds  like maybe you had some trouble during installation. Did you contact the mod's author?


The only thing changed is that in order to install the ADK portal, some mods had to be uninstalled then reinstalled. No, I did not contact the mod author. Just looked in the Yabb_SE_Next_Gen_SMF2 theme, in Display.template.php and don't really know what to look for but the file is attached with this reply. Some things look double. I think a mod may have altered the template. Yet all things are working. Thanks for your support.
Keep Your "Dreams" Alive!

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: Members List
« Reply #26 on: September 19, 2011, 04:18:02 PM »
What stuff got doubled?

It looks like, in       if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
         echo '
                        <li class="online">', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', '<img src="', $message['member']['online']['image_href'], '" alt="', $message['member']['online']['text'], '" />', $context['can_send_pm'] ? '</a>' : '', '&nbsp;', $message['member']['online']['text'], '</li>';

It is the 'href' which is not defined -- like something was left over in the template after you uninstalled a mod?
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline TheLookBook

  • Jr. Member
  • **
  • Posts: 192
  • Gender: Male
    • TheLookBook
Re: Members List
« Reply #27 on: September 20, 2011, 12:08:47 PM »
Ok, your view of the file as SMF support shows nothing double. Maybe it looked that way at the very end of the file to me. However, if something was left behind how do I get rid of it or should it be left there?
Keep Your "Dreams" Alive!

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: Members List
« Reply #28 on: September 20, 2011, 12:33:43 PM »
If this is left over from a mod you no longer have ...
I would look at the mod's manual install instructions, to see what it installs in that part of the file, and manually undo that work, to set it as it was before the mod was there at all.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor

Offline TheLookBook

  • Jr. Member
  • **
  • Posts: 192
  • Gender: Male
    • TheLookBook
Re: Members List
« Reply #29 on: September 20, 2011, 02:07:30 PM »
The mod is still there, just uninstalled then reinstalled which needed to be done to install the ADK portal.
Keep Your "Dreams" Alive!

Offline Angelina Belle

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 7,586
Re: Members List
« Reply #30 on: September 20, 2011, 02:20:56 PM »
I may be confused about which part of the code is causing the problem. You are getting errors for lines 496 and 497 of Display.template.php, but the version of Display.template.php you attached doesn't seem to match this.
Code: (lines 489-496) [Select]
if (!empty($options['display_quick_mod']) && $options['display_quick_mod'] == 1 && $message['can_remove'])
echo '
<li class="inline_mod_check" style="display: none;" id="in_topic_mod_check_', $message['id'], '"></li>';

if ($message['can_approve'] || $context['can_reply'] || $message['can_modify'] || $message['can_remove'] || $context['can_split'] || $context['can_restore_msg'])
echo '
</ul>';

So I am actually very lost, and I don't know how to help you.
Never attribute to malice that which is adequately explained by stupidity. -- Hanlon's Razor