vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Moderation Tools not working (https://vborg.vbsupport.ru/showthread.php?t=314819)

HKimF 10-10-2014 03:28 PM

Moderation Tools not working
 
Hi Everyone!

My team and I have been working on a new theme, and somewhere along the way, we've ended up having the moderation tools not work for this specific theme. We've tried disabling our custom javascript/CSS framework, but it hasn't helped.

Some symptoms that I know of:

The checkboxes do work
The moderation tool dropdown does not 'count up' as checkboxes are checked
Any action within the moderation tools does not work

I presume that the javascript which looks for checked boxes (or the checked boxes which makes the moderation tools count appropriately) is at fault. However, we've poured over our coding, and I'm not sure how modifying themes would break the javascript code.

Any tips for a sort of good programmer, but n00b at vBulletin modifications/vBulletin themes? Where do I start looking?

Note to mods: I wasn't sure if this is a theme issue or a programming issue, so excuse my choice if I'm wrong! :)

Lynne 10-10-2014 04:14 PM

I would check the main templates - header, headinclude, footer, and the page template (FORUMDISPLAY, SHOWTHREAD) and compare them to the default template. Make sure all the <div> tags are closed and make sure you don't have any <form> tags within other <form> tags because that will certainly break the form.

Dave 10-10-2014 04:44 PM

Did you check the console in the developer console for any (red) errors?

HKimF 10-10-2014 05:15 PM

So I've definitely checked the divs and ... I don't have any form tags... I'll have my designer look into the main templates herself (since it's her code...)

@Dave - tips on the developer console? I presume it's FF/Chromium's Dev Console, but I'm not too familiar with using it (I usually just use inspect element). I did scan the console on your suggestion, but I only see (a crap ton!) of CSS errors, but nothing JS.

I usually design websites in sublime/notepad++, so my sites/code tend to be much smaller and easier to handle... ~___~''


All times are GMT. The time now is 05:41 PM.

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.01041 seconds
  • Memory Usage 1,715KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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