vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Major Problems With No BBCode, Smiles, Thread Tools Working (https://vborg.vbsupport.ru/showthread.php?t=156938)

SBlueman 09-03-2007 04:59 PM

Major Problems With No BBCode, Smiles, Thread Tools Working
 
I am having a major problem on my site:

1. The bbcode is not being inserted when you try to click on one of the icons in the message field

2. When you click on the smiles you get redirected to the top of the site

3. When you click any of the thread tool the menus show up under the quick reply at the bottom of the page.

I am running vBulletin v3.6.5.

Has anyone heard of an issue like this where all of this gets wiped out? And if so is there a fix? Please help!

Wayne Luke 09-03-2007 05:07 PM

Your javascript is screwed up. You're probably using Firefox as IE has a popup error message on Javascript Errors by default. Look in Firefox's Javascript Console to see what the error is. Most likely, you either removed javascript from the system or added something that conflicts with the default javascript.

SBlueman 09-03-2007 05:14 PM

I am getting these errors:

Quote:

Error: missing ; before statement
Source File: http://gridironfans.com/forums/index.php
Line: 1, Column: 211
Source Code:
loffset+parentEl.offsetTop; parentEl=parentEl.offsetParent; } return totaloffset; } function overlay(curobj, subobjstr, opt_position){ if (document.getElementById){ var subobj=document.getElementById(subobjstr) subobj.style.display="block" var xpos=getpos
Quote:

Error: IMGDIR_MISC is not defined
Source File: http://gridironfans.com/forums/clien..._menu.js?v=365
Line: 171
Quote:

Warning: Error in parsing value for property 'background-color'. Declaration dropped.
Source File: http://gridironfans.com/forums/index.php
Line: 0
I did one edit to my site today...I edited the header some, this is the new code:

Quote:

<if condition="($show['guest']) AND (THIS_SCRIPT != 'register') AND (THIS_SCRIPT != 'login')">
<div id="infobar"><a href="http://gridironfans.com/forums/register.php?referrerid=1"><p>It appears you have not yet registered with our community. To register please click here...</p></a></div>
</if>
<table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center">
<tr>
<td class="tfoot" align="$stylevar[right]" width="100%">
<div class="smallfont"> <strong> <if condition="$show['contactus']"></if><if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">Home</a>
-</if> <if condition="$vboptions['hometitle']"><a href="http://gridironfans.com/forums/index.php">Forums</a>
-</if> <if condition="$vboptions['hometitle']"><a href="http://gridironfans.com/forums/view.php?pg=rss">NFL RSS Feeds</a>
-</if> <if condition="$vboptions['hometitle']"><a href="http://gridironfans.com/forums/blogs/">NFL
Blogs</a> -</if> <if condition="$vboptions['hometitle']"><a href="http://gridironfans.com/forums/view.php?pg=rules">Rules</a>
-</if> <if condition="$show['contactus']"><a href="$vboptions[contactuslink]">$vbphrase[contact_us]</a>
- <a href="http://gridironfans.com/forums/sendmessage.php?do=sendtofriend&refer=1">Refer
Friends</a> - </if> <if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]"></a></if><if condition="$vboptions['archiveenabled']"><a href="archive/index.php">Site
Map</a></if> </strong> </div>
</td>
</tr>
</table>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" bgcolor="#000000" align="center">
<tr>
<td><a href="http://gridironfans.com/" target=_self><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a>
</a></td>
<td></td>
</tr>
</table><!-- content table -->
$spacer_open $_phpinclude_output

Wayne Luke 09-03-2007 06:21 PM

I would say its the vBlogetin javascript in your headinclude template. That is what the first error is referring to.

SBlueman 09-04-2007 03:19 AM

I ended up just updating....it was worth it.

SBlueman 09-08-2007 10:56 PM

same problem popped up again...this is my headinclude code:

Quote:

<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" />
<meta name="generator" content="vBulletin $vboptions[templateversion]" />
<if condition="$show['threadinfo']">
<meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" />
<else />
<if condition="$show['foruminfo']">
<meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" />
<meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" />
<else />
<meta name="keywords" content="$vboptions[keywords]" />
<meta name="description" content="$vboptions[description]" />
</if>
</if>

<!-- vBlogetin Edit --> <if condition="defined('IN_BLOGS')"><base href="$vboptions[bburl]/index.php" /></if> <!-- End vBlogetin Edit --> <meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" /> <meta name="generator" content="vBulletin $vboptions[templateversion]" /> <if condition="$show['threadinfo']"> <meta name="keywords" content="$threadinfo[title], $vboptions[keywords]" /> <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$threadinfo[title] $foruminfo[title_clean]" /> <else /> <if condition="$show['foruminfo']"> <meta name="keywords" content="$foruminfo[title_clean], $vboptions[keywords]" /> <meta name="description" content="<if condition="$pagenumber>1"><phrase 1="$pagenumber">$vbphrase[page_x]</phrase>-</if>$foruminfo[description_clean]" /> <else /> <meta name="keywords" content="$vboptions[keywords]" /> <meta name="description" content="$vboptions[description]" /> </if> </if> <!-- CSS Stylesheet --> $style[css] <if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')"> <style type="text/css"> ul, ol { padding-left:20px; } </style> </if>

<!-- CSS Stylesheet -->
$style[css]
<if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')">
<style type="text/css">
ul, ol { padding-left:20px; }
</style>
</if>
<!-- / CSS Stylesheet -->

<script type="text/javascript">
<!--
var SESSIONURL = "$session[sessionurl_js]";
var IMGDIR_MISC = "$stylevar[imgdir_misc]";
var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10);
// -->
</script>

<script type="text/javascript" language="JavaScript1.2" src="/menu/stmenu.js"></script><script type="text/javascript">
<!-- var SESSIONURL = "$session[sessionurl_js]"; var IMGDIR_MISC = "$stylevar[imgdir_misc]"; var vb_disable_ajax = parseInt("$vboptions[disable_ajax]", 10); // --> </script><script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script>
<if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script>
</if><if condition="$vboptions['externalrss']"> <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] RSS Feed" href="http://gridironfans.com/rss.php" />
<if condition="$show['foruminfo'] OR $show['threadinfo']"> <link rel="alternate" type="application/rss+xml" title="$vboptions[bbtitle] - $foruminfo[title_clean] - RSS Feed" href="http://gridironfans.com/rss.php" /> </if> </if>
<!-- vBlogetin Edit --> <style type="text/css"> <!-- .invisibleBlog { background: #FFFFCC; } .deletedBlog { background: #FFCCD7; } .invisibleEntry { background: #FFFFCC; } .deletedEntry { background: #FFCCD7; } .invisibleComment { background: #FFFFCC; } .deletedComment { background: #FFCCD7; } --> </style> <!-- End vBlogetin Edit -->
Ok....I added this to the footer and most of the menus now work:
Quote:

<script type="text/javascript">
<!--
// Main vBulletin Javascript Initialization
vBulletin_init();
//-->
</script>
The only thing now not working is the "more" smilies link when you post a new thread or reply.


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