• Register
    • Help

    striker  0 Items
    Currently Supporting
    • Home
    • News
    • Forum
    • Wiki
    • Support
      • Manage Subscriptions
      • FAQ
      • Support For
        • VaultWiki 4.x Series
        • VaultWiki.org Site
    • What's New?
    • Buy Now
    • Manual
    • 
    • Support
    • VaultWiki 3.x Lite
    • Bug
    • Display on showwiki.php faulty v3.0.x

    1. Welcome to VaultWiki.org, home of the wiki add-on for vBulletin and XenForo!

      VaultWiki allows your existing forum users to collaborate on creating and managing a site's content pages. VaultWiki is a fully-featured and fully-supported wiki solution for vBulletin and XenForo.

      The VaultWiki Team encourages you to join our community of forum administrators and check out VaultWiki for yourself.

    Issue: Display on showwiki.php faulty v3.0.x

    • Issue Tools
      • View Changes
    1. issueid=2382 June 26, 2011 1:39 PM
      Stefanus Stefanus is offline
      New Member
      Display on showwiki.php faulty v3.0.x
      "Permissions" Boxes, "Bookmarks", "Page Information" and "Tags for this page" does not display correctly.

      Permissions Boxes, Bookmarks, Page Information and Tags for this page does not display correctly.

      See img for clarity:

    Issue Details
    Issue Number 2382
    Issue Type Bug
    Project VaultWiki 3.x Lite
    Category Article Display
    Status Fixed
    Priority 8 - Major Features / Enhancements
    Affected Version 3.0.9 Lite
    Fixed Version 3.0.10 Lite
    Software DependencyvBulletin 4.x
    Users able to reproduce bug 0
    Users unable to reproduce bug 0
    Attachments 0
    Assigned Users (none)
    Tags (none)




    1. June 26, 2011 6:38 PM
      pegasus pegasus is offline
      VaultWiki Team
      This occurs on vBulletin 4.1.0 and higher. It's also worth noting that this is just an esthetic issue and it doesn't affect functionality.
      Reply Reply  
    2. June 27, 2011 6:56 AM
      Stefanus Stefanus is offline
      New Member
      Correct, but it does break the uniform look of the forum and it gives the impression that this product, is quality wise is not on the same level as the rest of the forum.

      Would it be so much of a "coding nighmare" to repair this?
      Reply Reply  
    3. June 27, 2011 6:57 AM
      Stefanus Stefanus is offline
      New Member
      Here is a repaired "vault_article_main" without most of the "esthetic issue", the "{vb:raw forumrules}" area still needs some work.

      Code:
      {vb:stylevar htmldoctype}
      <html xmlns="http://www.w3.org/1999/xhtml" dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}">
      <head>
      	<vb:if condition="$threadinfo['keywords']"><meta name="keywords" content="{vb:raw threadinfo.keywords}" /></vb:if>
      	<meta name="description" content="{vb:raw thread.meta_description}" />
      	{vb:raw headinclude}
      	<vb:if condition="$show['meta_robots']"><meta name="ROBOTS" content="<vb:if condition="$show['meta_noindex']">NOINDEX<vb:if condition="$show['meta_nofollow']">,</vb:if></vb:if><vb:if condition="$show['meta_nofollow']">NOFOLLOW</vb:if>" /></vb:if>
      	<title><vb:if condition="$thread['displaytitle']">{vb:raw thread.displaytitle}<vb:else />{vb:raw thread.title}</vb:if><vb:if condition="$tabtitle"> - {vb:raw tabtitle}<vb:if condition="$pagenumber > 1"> {vb:rawphrase page_x, {vb:raw pagenumber}}</vb:if></vb:if> - {vb:raw vboptions.bbtitle}</title>
      	<vb:if condition="$show['reputation']">
      	<script type="text/javascript" src="clientscript/vbulletin-ajax-reputation.js?v={vb:raw vboptions.simpleversion}"></script>
      	</vb:if>
      	<script type="text/javascript" src="clientscript/vbulletin_post_loader.js?v={vb:raw vboptions.simpleversion}"></script>
      	<vb:if condition="$show['threadrating']">
      	<script type="text/javascript" src="clientscript/vbulletin_ajax_threadrate.js?v={vb:raw vboptions.simpleversion}"></script>
      	</vb:if>
      	<vb:if condition="$show['multiquote_global']">
      	<script type="text/javascript" src="clientscript/vbulletin_multi_quote.js?v={vb:raw vboptions.simpleversion}"></script>
      	</vb:if>
      	<vb:if condition="$show['edit_tab'] OR $show['discussion_tab']">
      	<script type="text/javascript" src="clientscript/vbulletin-editor.js?v={vb:raw vboptions.simpleversion}"></script>
      	</vb:if>
      	<vb:if condition="$show['discussion_tab'] AND $show['quickedit']">
      	<script type="text/javascript" src="clientscript/vbulletin_quick_edit.js?v={vb:raw vboptions.simpleversion}"></script>
      	</vb:if>
      	<vb:if condition="$show['quickreply']">
      	<script type="text/javascript" src="clientscript/vbulletin_quick_reply.js?v={vb:raw vboptions.simpleversion}"></script>
      	</vb:if>
      	<vb:if condition="$show['manage_tag']">
      	<script type="text/javascript" src="clientscript/vbulletin_ajax_taglist.js?v={vb:raw vboptions.simpleversion}"></script>
      	<script type="text/javascript" src="clientscript/vbulletin_ajax_suggest.js?v={vb:raw vboptions.simpleversion}"></script>
      	</vb:if>
      	<vb:if condition="$show['lightbox']">
      	<script type="text/javascript" src="clientscript/vbulletin_lightbox.js?v={vb:raw vboptions.simpleversion}"></script>
      	</vb:if>
      	<vb:if condition="$vboptions['storecssasfile']">
      	<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}showthread-rollup.css" />
      	<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}postbit-rollup.css" />
      	<vb:if condition="VAULT_402_COMPAT">
      	<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}vaultwiki-rollup.css" />
      	</vb:if>
      	<vb:else />
      	<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}vbulletin-formcontrols.css,editor.css,bbcode.css,showthread.css,postbit.css<vb:if condition="$show['lightbox']">,lightbox.css</vb:if><vb:if condition="$show['discussion_tab']">,postlist.css</vb:if><vb:if condition="$threadinfo['pollid'] AND $threadinfo['open'] != 10">,poll.css</vb:if>,vaultwiki.css" />
      	</vb:if>
      	<!--[if lt IE 8]>
      	<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}vw-tabbed-ie7.css" />
      	<![endif]-->
      	<!--[if lt IE 7]>
      	<link rel="stylesheet" type="text/css" href="{vb:raw vbcsspath}vw-tabbed-ie6.css" />
      	<![endif]-->
      	<vb:if condition="$show['popups']">
      	<script type="text/javascript" src="clientscript/special_section.js?v={vb:raw vwmisc.simpleversion}"></script>
      	<vb:if condition="$show['quickedit']">
      	<script type="text/javascript" src="clientscript/vbulletin_textedit.js?v={vb:raw vboptions.simpleversion}"></script>
      	</vb:if>
      	<script type="text/javascript">
      	<!--
      	var VAULT_40X_COMPAT = <vb:if condition="VAULT_40X_COMPAT">true<vb:else />false</vb:if>;
      	var VAULT_IMGDIR = "{vb:stylevar imgdir_vault}";
      	var VAULT_INWIKI = true;
      	//-->
      	</script>
      	</vb:if>
      	<link rel="canonical" href="{vb:raw threadinfo.url}<vb:if condition="$pagenumber > 1">{vb:raw session.vw_sessionurl_d}do=comments&amp;page={vb:raw pagenumber}</vb:if>" />
      	{vb:raw headinclude_bottom}
      </head>
      <body>
      {vb:raw header}
      {vb:raw navbar}
      
      <div id="collapseobj_ca-poll"<vb:if condition="$forum_header"> style="margin-top: 1em"</vb:if>>
      	{vb:raw poll}
      </div>
      
      <div id="vault_tabs">
      	{vb:raw vwblocks.tabs}
      </div>
      
      {vb:raw template_hook.article_below_tabs}
      
      <br />
      <div id="thread_info" class="thread_info">
      	<vb:if condition="$show['tag_box'] AND $threadinfo['threadid'] != 'error'">
      	<h4 class="threadinfohead blockhead"><span class="optiontitle">{vb:rawphrase tags_for_this_thread}</span></h4>
      	<div id="thread_tags_list" class="thread_info_block blockbody formcontrols">
      		<div class="inner_block">
      			<vb:if condition="$show['manage_tag']">
      			<a id="tag_edit_link" href="threadtag.php?{vb:raw session.sessionurl}t={vb:raw thread.threadid}" class="textcontrol" style="float:right; font-size:11px; margin:10px;">{vb:rawphrase edit_tags}</a>
      			</vb:if>
      			<div id='tag_list_cell'>
      				{vb:raw tag_list}
      			</div>
      			<p>
      				<a href="tags.php{vb:raw session.sessionurl_q}">{vb:rawphrase view_tag_cloud}</a>
      			</p>
      		</div>
      	</div>
      	</vb:if>
      	{vb:raw similararticles}
      	<vb:if condition="$show['activeusers'] AND $show['wikitabs']">
      	<h4 class="threadinfohead blockhead"><span class="optiontitle">{vb:rawphrase thread_information}</span></h4>
      	<div id="thread_onlineusers" class="thread_info_block blockbody formcontrols">
      		<div class="inner_block">
      			<h5>{vb:rawphrase users_browsing_this_thread}</h5>
      			<div>
      				<p>{vb:rawphrase users_currently_browsing_x_y_z, {vb:raw totalonline}, {vb:raw numberregistered}, {vb:raw numberguest}}</p>
      				<ul class="commalist">
      					{vb:raw activeusers}
      				</ul>
      			</div>
      		</div>
      	</div>
      	</vb:if>
      	{vb:raw template_hook.showthread_after_activeusers}
      	<div class="options_block_container">
      		<vb:if condition="$bookmarksites AND $threadinfo['threadid'] != 'error'">
      		<div class="options_block2">
      			<h4 class="blockhead"><span class="optiontitle">{vb:rawphrase bookmarks}</span></h4>
      			<div id="social_bookmarks_list" class="thread_info_block blockbody formcontrols floatcontainer">
      				<h5 class="blocksubhead">{vb:rawphrase bookmarks}</h5>
      				
      				<ul class="icon_list"><li class="smallfont">{vb:raw bookmarksites} </li> </ul>
      			</div>
      		</div>
      		</vb:if>
      		<vb:if condition="$forumrules">
      		<div class="options_block">
      			<h4 class="collapse blockhead">
      				<a class="collapse" id="collapse_posting_rules" href="{vb:raw relpath}#top"><img src="{vb:stylevar imgdir_button}/collapse{vb:raw vbcollapse.collapseimg_info_options}_40b.png" alt="" /></a>
      				<span class="optiontitle">{vb:rawphrase posting_rules}</span>
                              </h4>			
      			<div id="posting_rules" class="thread_info_block blockbody formcontrols floatcontainer">
      				{vb:raw forumrules}
      			</div>
      		</div>
      		</vb:if>
      	</div>
      </div>
      
      {vb:raw footer}
      
      </body>
      </html>
      Reply Reply  
    4. June 28, 2011 8:39 PM
      Stefanus Stefanus is offline
      New Member
      To fix the display issues in the "Posting Permissions" block replace the "vault_general_forumrules" with the following:

      Code:
      <vb:if condition="THIS_SCRIPT == 'showwiki' || THIS_SCRIPT == 'forumdisplay'">
      <div id="posting_rules" class="thread_info_block blockbody formcontrols floatcontainer">
      	
      	<vb:if condition="$show['wiki_rules'] OR !$show['codeonly']">
              <div id="forumrules" class="info_subblock">
      	<ul class="youcandoblock">
      	</vb:if>
      <vb:else />
      
      	<vb:if condition="$show['wiki_rules'] OR !$show['codeonly']">
              <div id="forumrules" class="info_subblock">
      	<ul class="youcandoblock">
      	</vb:if>
      </vb:if>
      		<vb:if condition="$show['wiki_rules']">
      		<li><vb:if condition="$can['postnew']">{vb:rawphrase you_may_post_new_articles}<vb:else />{vb:rawphrase you_may_not_post_new_articles}</vb:if></li>
      		<li><vb:if condition="$can['editwiki']">{vb:rawphrase you_may_edit_articles}<vb:else />{vb:rawphrase you_may_not_edit_articles}</vb:if></li>
      		</vb:if>
      		<vb:if condition="!$show['codeonly']">
      		<li><vb:if condition="$can['reply']">{vb:rawphrase you_may_post_comments}<vb:else />{vb:rawphrase you_may_not_post_comments}</vb:if></li>
      		<li><vb:if condition="$can['attachment']">{vb:rawphrase you_may_post_attachments}<vb:else />{vb:rawphrase you_may_not_post_attachments}</vb:if></li>
      		<li><vb:if condition="$can['editpost']">{vb:rawphrase you_may_edit_your_comments}<vb:else />{vb:rawphrase you_may_not_edit_your_comments}</vb:if></li>
      		</vb:if>
      	<vb:if condition="$show['wiki_rules'] OR !$show['codeonly']">
      	</ul>
      	</vb:if>
      	<div class="bbcodeblock">
      		<ul>
      			<li>{vb:rawphrase bb_code_is_x, {vb:raw session.sessionurl}, {vb:raw bbcodeon}}</li>
      			<li>{vb:rawphrase smilies_are_x, {vb:raw session.sessionurl}, {vb:raw smilieson}}</li>
      			<li>{vb:rawphrase img_code_is_x, {vb:raw session.sessionurl}, {vb:raw imgcodeon}}</li>
      			<li>{vb:rawphrase html_code_is_x, {vb:raw htmlcodeon}}</li>
      		</ul>
      	</div>
      	<p class="rules_link">{vb:rawphrase forum_rules_link, {vb:raw session.sessionurl}}</p>
      </div>
      <vb:if condition="THIS_SCRIPT != 'showwiki' AND THIS_SCRIPT != 'forumdisplay'"></div></vb:if></div>
      Reply Reply  
    5. April 24, 2012 9:34 PM
      pegasus pegasus is offline
      VaultWiki Team
      Fixed for the next build. The solution was a change in the vault_article_main template. The vault_general_forumrules template looks okay as is.
      Reply Reply  
    + Reply

    Assigned Users
    Loading Please Wait
    Tags
    Loading Please Wait
    • Contact Us
    • License Agreement
    • Privacy
    • Terms
    • Top
    All times are GMT -4. The time now is 9:30 AM.
    This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Learn more… Accept Remind me later
  • striker
    Powered by vBulletin® Version 4.2.5 Beta 2
    Copyright © 2023 vBulletin Solutions Inc. All rights reserved.
    Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2023 DragonByte Technologies Ltd.
    Copyright © 2008 - 2013 VaultWiki Team, Cracked Egg Studios, LLC.