vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   show moderators errors. (https://vborg.vbsupport.ru/showthread.php?t=216348)

JMEWLS` 06-17-2009 11:09 AM

show moderators errors.
 
<a href="http://www.nbadimensions.net/forums/" target="_blank">http://www.nbadimensions.net/forums/</a>

I now have myself as a moderator per forums. When I am not assigned. Also a " , " is before a user has been mentioned. How do I fix this?

Lynne 06-17-2009 03:20 PM

That must be a modification you are using because it isn't standard vbulletin code. You should ask for help in the modification thread. I'm guessing it is something in your template, so take a look at the templates for that part of your page.

JMEWLS` 06-18-2009 09:13 PM

Is there any other possible errors?

Lynne 06-18-2009 09:30 PM

With the amount of information you have posted regarding it, I really don't know.

JMEWLS` 06-19-2009 04:13 AM

Quote:

Originally Posted by Lynne (Post 1832228)
With the amount of information you have posted regarding it, I really don't know.

I don't understand how the modification could change how the Moderators are displayed though? The code is pretty much correct, I thought perhaps there was an option in which I didn't show.

Lynne 06-19-2009 03:24 PM

You've got an extra comma showing up in there. It's coming from somewhere - either your code or your template. There is no option that says "please add an extra comma into the moderator list".

JMEWLS` 06-19-2009 10:31 PM

I've actually managed to remove the comma. But I don't know why my name is showing up in all the forums as a moderator? It's weird. Any suggestions?

Lynne 06-19-2009 10:43 PM

Check admin cp > forums & moderators > show all moderators. Do you show up as a moderator in all those forums on the Moderators list there?

JMEWLS` 06-19-2009 10:46 PM

Quote:

Originally Posted by Lynne (Post 1832980)
Check admin cp > forums & moderators > show all moderators. Do you show up as a moderator in all those forums on the Moderators list there?

Check, I'm not.

Lynne 06-19-2009 11:41 PM

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 

If that doesn't fix it, then we really need to see the code you are using to output the moderator names.

JMEWLS` 06-20-2009 12:34 AM

I temporarily disabled. It didn't do anything. How do I look at the code using to output the moderator names?

Here's the image of what happened once disabling:

http://img197.imageshack.us/img197/460/fhdd.png

Thoughts?

Lynne 06-20-2009 01:08 AM

Try this:
Create a new style with no parent:
  • Styles & Templates > Style Manager > Add New Style
  • Parent Style: No Parent Style
  • Title: Default vBulletin
  • Allow User Selection: Yes
  • Save
Now, turn off your plugins again and browse the site using this totally default vbulletin style with the plugins off - does your name still show up under every single forum as a moderator?

I really don't know what to suggest here because you are using a modification to make the forums look like that and you have a custom template that you created. You may have to go through the code and debug it to figure out why it is putting your name in every spot.

JMEWLS` 06-20-2009 01:26 AM

Just did what you said, and it's still up. Where would you recommend to start this looking for the bug? I seriously have no idea.

Lynne 06-20-2009 01:36 AM

I don't see a default style on your site at all in the style dropdown. What was the result?

I really don't know where you should start looking. I don't know the code for that modification at all. But I guess that is what I would start with.

JMEWLS` 06-20-2009 01:45 AM

Quote:

Originally Posted by Lynne (Post 1833066)
I don't see a default style on your site at all in the style dropdown. What was the result?

I really don't know where you should start looking. I don't know the code for that modification at all. But I guess that is what I would start with.

It's private I can link you to the style if you please? It came up exactly the same, with my name in the text. I have to add a function to the includes/functions_forumlist.php file. Would the problem possibly be in there? I've been looking but haven't been able to find anything.

Lynne 06-20-2009 03:38 AM

If the style is not viewable to the public, then simply giving me a link won't allow me to view it. But, even if you gave me a link, I wouldn't be seeing it with your plugins off also since it's obvious you still have them on.

You can start by looking in that code. I don't know how to tell you what to look for. I'm big on spitting out variables left and right when I debug, but everyone has their own style that works for them.


All times are GMT. The time now is 06:31 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
  • Page Generation 0.01261 seconds
  • Memory Usage 1,748KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete