vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Inline Moderation Not Working (https://vborg.vbsupport.ru/showthread.php?t=180476)

King Justice 05-25-2008 04:47 PM

Inline Moderation Not Working
 
Hi.

The inline moderation is not working at my forum. I just paid someone to make me a custom vB skin.

I just upgraded from 3.6 to 3.7 the other day, skin is for vb 3.7.

So does this mean that the JS file is missing or..?

GameWizard 05-25-2008 11:02 PM

It means one of your templates is still using old code and probably doesn't include the updated 3.7 code.

Try the header/headerinclude templates first. Make sure they are reverted. Otherwise you will have to go through the templates that are on the affected page and try to discover what code is old and have it updated by doing "View History" and checking the differences.

Worst case scenario, make a new style and reapply all your changes manually and then you should have an easier time figuring out what may have been the cause of the problem.

King Justice 05-26-2008 04:43 PM

Quote:

Originally Posted by GameWizard (Post 1531364)
It means one of your templates is still using old code and probably doesn't include the updated 3.7 code.

Try the header/headerinclude templates first. Make sure they are reverted. Otherwise you will have to go through the templates that are on the affected page and try to discover what code is old and have it updated by doing "View History" and checking the differences.

Worst case scenario, make a new style and reapply all your changes manually and then you should have an easier time figuring out what may have been the cause of the problem.

There are no messages in my control panel though saying that any templates are still using old code etc that need to be reverted etc...because they are customized.

SEOvB 05-26-2008 04:48 PM

Make a backup of your current style, and then reimport it with a new name.

Revert the following templates to see if the inline moderation works on the skin you just imported:

postbit or postbit_legacy
showthread
forumdisplay
headinclude
footer

That'll be a good place to start.

King Justice 05-26-2008 05:09 PM

headinclude: Nothing changed, only one code added.
footer: $spacerclose was deleted (could that be the problem?)
forumdisplay: Nothing was changed.
showthread:

Code:

<body onload="$onload"> code changed to <body onload="navMenu();">
Code:

<if condition="$show['inlinemod']">
$spacer_close
<form action="inlinemod.php?threadid=$threadinfo[threadid]&amp;p=$postid" method="post" id="inlinemodform">
$spacer_open
</if> deleted after $poll

Code:

<!-- end content table -->
$spacer_close
<!-- / end content table --> deleted after </if>

Code:

<!-- start content table -->
$spacer_open
<!-- / start content table --> deleted

Code:

<if condition="$show['inlinemod']">
$spacer_close
</form>
$spacer_open
</if> deleted

I have a feeling the problem is with showthread template...can you help me?


All times are GMT. The time now is 05:12 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.01073 seconds
  • Memory Usage 1,724KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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