vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   [Critical] What did I do wrong? (https://vborg.vbsupport.ru/showthread.php?t=122271)

Hiro 07-27-2006 03:57 AM

[Critical] What did I do wrong?
 
I installed vbArcade and the vbPlaza yesterday, and this is how my forum looks now:

What is with the extra link next to it?

http://img157.imageshack.us/img157/1843/previewyg5.png

Shazz 07-27-2006 04:12 AM

ive experianced this problem with one of my skins.. it was only on that skin.
Did you Do the coding right?
________
Honda NSR125

Hiro 07-27-2006 04:15 AM

I didn't make the skin, it is from extremepixels...

Would you be able to tell me how you rectified your problem?

Kirk Y 07-27-2006 04:35 AM

I had the same problem. It has to do with the second template edit to the threadbit template.

I changed it to this instead:
Code:

<!-- vbPlaza start -->
                        <if condition="$show['gotonewpost']">
                                <strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]" <if condition="$thread['titlestyle']">style="$thread[titlestyle]"</if>>$thread[threadtitle]</a></strong>
                        </if>
<!-- vbPlaza end -->


Hiro 07-27-2006 04:55 AM

It fixed all but the BOLD unread topics.

The read topics are single and the bold ones are as is on the screenshot, wtf?

Kirk Y 07-27-2006 05:12 AM

I just realized why this is happening. There are two <if condition="$show['gotonewpost']"> -- we both replaced the first one The one that needs to be replaced is the 2nd one, it has an <else /> in it.

Hiro 07-27-2006 05:37 AM

I just removed the whole thing, what will happen now ive removed it?

Kirk Y 07-27-2006 05:42 AM

Removed what? The entire template? Then... the whole strip of Thread, Author, etc would be gone.

Hiro 07-27-2006 07:37 AM

Just the part that made it double.

The vbPlaza Start to End

Kirk Y 07-27-2006 03:45 PM

You're supposed to replace this:
Code:

<if condition="$show['gotonewpost']">
                                <strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a></strong>
                        <else />
                                <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]">$thread[threadtitle]</a>
                        </if>

With this:
Code:

<!-- vbPlaza start -->
                        <if condition="$show['gotonewpost']">
                                <strong><a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]" <if condition="$thread['titlestyle']">style="$thread[titlestyle]"</if>>$thread[threadtitle]</a></strong>
                        <else />
                                <a href="showthread.php?$session[sessionurl]t=$thread[threadid]$thread[highlight]" id="thread_title_$thread[realthreadid]" <if condition="$thread['titlestyle']">style="$thread[titlestyle]"</if>>$thread[threadtitle]</a>
                        </if>
<!-- vbPlaza end -->

Only you didn't find the right piece of code to be replaced -- you replaced the code above that in the threadbit template:
Code:

<if condition="$show['gotonewpost']"><a href="showthread.php?$session[sessionurl]goto=newpost&amp;t=$thread[threadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/firstnew.gif" alt="$vbphrase[go_to_first_new_post]" border="0" /></a></if>
Suffice it to say, just redo the template edits for your threadbit template and look carefully at what you're supposed to find.


All times are GMT. The time now is 09:47 PM.

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.01682 seconds
  • Memory Usage 1,729KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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