vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Show Thread Enhancements - Guests First Post Only (https://vborg.vbsupport.ru/showthread.php?t=135016)

Mecho 04-15-2007 10:24 AM

Dismounted , is this use much cpu loading or these stuff ???

Dismounted 04-16-2007 06:07 AM

No, this hack uses very little resources.

eurofunny 04-16-2007 07:45 PM

Hi very nice Hack but i have a style problem see at here http://www.my-checkpoint.de/ich-hab-meine-t816.html

What can i do??

thx from Germany

Dismounted 04-17-2007 06:21 AM

You have a unclosed <if> tag in your template, this is what happened with Mecho. Look through your postbit_legacy template and match all <if>'s to a closing one.

eurofunny 04-17-2007 06:51 AM

Hello, okay thx for the quick help. The Style is now ok but when a guest comes on this site then comes the first post then the message and then all the last messages. What is wrong here. Have a nice day.

Dismounted 04-18-2007 06:38 AM

That was the problem I was referring to. You have edited your style wrong and forgot to put a closing if tag (</if>).

eurofunny 04-18-2007 10:38 AM

Hi,

i have this code at my postbit
at the top
Code:

<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1 || $memid == 2"></if>
<!-- End Guests First Post Only Hack -->

and at the bottom

Code:

<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Willkommen lieber Besucher!</td>
</tr>
<tr>
<td class="alt1">Als registriertes Mitglied bei My-CheckPoint.de kannst Du alles ?ber dieses Thema lesen. Bitte logge Dich mit Deinen Userdaten ein oder melde Dich jetzt kostenlos an und werde ein Teil unserer tollen Community. <a href="register.php"><font color="#0099FF"><span style="background-color:white;"><b>Jetzt kostenlos anmelden und alles lesen</b></span></font></a></td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->


Dismounted 04-18-2007 11:41 AM

That doesn't matter. The problem is that you have an if condition that is closing mine, therefore my hack cancels out.

eurofunny 04-18-2007 12:08 PM

Ok and what can i do :confused: Where is the error, Can you post me the right code?? Thx for your help

Dismounted 04-19-2007 06:26 AM

I can't 'post' the right code as I do not have your postbit template. Do you even understand the problem?


All times are GMT. The time now is 03:14 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.01381 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete