Go Back   vb.org Archive > Community Discussions > Forum and Server Management

Reply
 
Thread Tools Display Modes
  #1  
Old 11-13-2008, 12:00 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default editor_smiliebox uncached

editor_smiliebox:

This template has not been customized in this style or any of its parent styles.

Double-click the template name or click the 'Customize' button to add a customized version of this template to the current style and its child sets.

Last edited June 15 2005 at 16:22 by Jelsoft

PHP Code:
<if condition="$show['smiliebox']">
<
fieldset id="{$editorid}_smiliebox" title="$vbphrase[smilies]">
    <
legend>$vbphrase[smilies]</legend>
    <
table cellpadding="4" cellspacing="0" border="0" align="center">
    
$smiliebits
    
<if condition="$show['moresmilieslink']">
    <
tr>
        <
td class="smallfont" colspan="$vboptions[smcolumns]">[<a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" title="<phrase 1="$vboptions[smtotal]" 2="$totalsmilies">$vbphrase[showing_x_smilies_of_y_total]</phrase>">$vbphrase[more]</a>]</td>
    </
tr>
    </if>
    </
table>
</
fieldset>
<else />
<
div id="smiliebox" style="display:none"></div>
</if> 
How do i fix that?
Reply With Quote
  #2  
Old 11-17-2008, 02:43 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone fixed this?
Reply With Quote
  #3  
Old 11-17-2008, 03:25 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fix what? That template shows up as cached on my showthread page in 3.7.3. I think you need to be more explicit about what your problem is.
Reply With Quote
  #4  
Old 11-17-2008, 03:32 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I call the smile box on Show PM and on Show Thread Pages

This is my fault as the templete was not orginally designed to be shown on these pages , how do i go about cacheing it on the show pm and show thread pages ?

thanks
Reply With Quote
  #5  
Old 11-17-2008, 04:11 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You'd do it exactly how I posted about it before in your other threads regarding caching templates.

hook location - cache_templates:
PHP Code:
if (is_array($globaltemplates) AND THIS_SCRIPT == 'yourpage')
{    
   
$globaltemplates  array_merge($globaltemplates, array('your_template'));

Reply With Quote
  #6  
Old 11-17-2008, 04:44 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I performed this process to fix one of my previous plug ins and it worked ,

But im not sure how to add this to an existing templete thats not a mod .

What do i put in the input fields to cache editor_smiliebox in show thread ?

Product :
Hook Location :
Execution Order :
Plugin PHP Code :
Plugin is Active :
Reply With Quote
  #7  
Old 11-17-2008, 04:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I answered it above- what I didn't mention specifically, you can leave as default. Oh, except default is the plugin is not active, but I assume you know to make it active if you want it to work. You will need to change "yourpage" to the script name for the page and then "your_template" to the name of the template you want to cache, but it's all there for you.
Reply With Quote
  #8  
Old 11-17-2008, 05:53 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PHP Code:
if (is_array($globaltemplates) AND THIS_SCRIPT == 'SHOWTHREAD')
{    
   
$globaltemplates  array_merge($globaltemplates, array('editor_smiliebox'));

Is that correct ?
Reply With Quote
  #9  
Old 11-17-2008, 06:57 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
PHP Code:
if (is_array($globaltemplates) AND THIS_SCRIPT == 'SHOWTHREAD')
{    
   
$globaltemplates  array_merge($globaltemplates, array('editor_smiliebox'));

Is that correct ?
Thats correct if the editor is showing up uncached on the showthread page. If its showing up unchached on the private message pages you'll need to change SHOWTHREAD to whatever the name of the private message script is (i forget it or i'd tell ya
Reply With Quote
  #10  
Old 11-17-2008, 07:18 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thankjs ill give it a shot

Also

editor_smiliebox_quickreply

is uncached on SHOWPM

So would this be right

PHP Code:
if (is_array($globaltemplates) AND THIS_SCRIPT == 'SHOWPM')
{    
   
$globaltemplates  array_merge($globaltemplates, array('editor_smiliebox_quickreply'));

I have a feeling SHOWPM is not correct ?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03960 seconds
  • Memory Usage 2,280KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete