vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Trying to figure out a minor bug. (https://vborg.vbsupport.ru/showthread.php?t=150994)

Skipsoutdoors 06-30-2007 12:24 AM

Trying to figure out a minor bug.
 
I'm in the process of going through my site page by page and trying to decrease bandwidth, speed up page loads etc.

For the Showthread page, one of the problems is it loads the 4 control buttons every how many posts it displays so 15 times 4 is 60 images.

My plan is to convert these commands to tabs. I'm talking about the control buttons that "Quote" "Edit Post" "Multi Quote" and "Quick Reply"

So farm I've got 3 of the 4 to work properly using tabs but the Multi Quote is giving me fits. I can make a tab appear, but it's non-functional.

The stock code for the line is:

<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>

This is what I've tried:

<li><if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><span><if condition="$show['multiquote_selected']">Multi Quote On<else />Multi Quote Off</if></span></a>
</if></li>

The tab appears but I haven't figured out how to make it functional.

Anybody got any ideas?

Skip


All times are GMT. The time now is 11:40 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.01148 seconds
  • Memory Usage 1,704KB
  • 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
  • (1)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