vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Whats wrong with my code its not working (https://vborg.vbsupport.ru/showthread.php?t=288950)

bigs15 10-11-2012 03:48 PM

Whats wrong with my code its not working
 
Code:

<td class="forumTBg">

<div style="padding-left: 41px; color: #FFF;" class="smallfont">

        <!-- status icon and date -->
                        <a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
                        <if condition="!$show['announcement']">
                                $post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
                        <else />
                                <phrase 1="$post[startdate]" 2="$post[enddate]">$vbphrase[x_until_y]</phrase>
                        </if>
                        $post[firstnewinsert]
                        <!-- / status icon and date -->
</div>
</td>
<td class="forumCBg">

        &nbsp;

                </td>



<td style="width:12px;"><img src="http://site.com/images/1434/misc/forumtr.jpg" alt="" /></td>


        </tr>

</table>

When i used this code in my local host it works fine ...but when i used in my cpanel (real site) its not working whtas the problem...
i checked the source of the page after inserting in postbit .Its does not show the
<td class="forumCBg">
<td class="forumTBg">
.But in local host it show how to solve it?

Simon Lloyd 10-11-2012 04:52 PM

If you cannot view it in source then it's either not been overwritten in place of the code you replaced it for, you're viewing a cached view (press Ctrl+F5 to clear cache for that page) or your actually viewing the file in a different location than you think it is.

bigs15 10-11-2012 05:00 PM

nope i checkd it i cleared my cache and i tried ccleaner too...its not showing but when i used in local host it works fine :(

Simon Lloyd 10-11-2012 05:05 PM

Have you made sure that you have copied the css over for the classes? is your image path correct?

bigs15 10-11-2012 05:11 PM

its the default css which is already in Additional CSS Definitions..i am just using it in postbit....

edit: i tried in postbit_legacy it show in source but it looks ugly ..any solution

Simon Lloyd 10-11-2012 05:59 PM

Link?

kpmedia 10-14-2012 07:45 PM

Are you sure that there's not a server cache? Varnish, an opcode cache, memcache, etc?
Changes are often not instant on heavily cached servers.


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