Log in

View Full Version : Major Problems With No BBCode, Smiles, Thread Tools Working


SBlueman
09-03-2007, 04:59 PM
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:

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

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

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:

<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:

<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:
<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.