Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Guests First Post Only Details »»
Guests First Post Only
Version: 1.6, by Dismounted Dismounted is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.x Rating:
Released: 12-28-2006 Last Update: 07-08-2008 Installs: 134
DB Changes Uses Plugins
 
No support by the author.

Guests First Post Only

Description:
This mod only shows the first post of a thread to guests. After it displays the first post, it then displays a message telling the guest to login or register.

Installation:
All the installation information is in the package.

Changes:
2 Templates
12 Plugins
4 Phrases

Other Versions:
Guests First Post Only for 3.7 - https://vborg.vbsupport.ru/showthread.php?t=184717

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #122  
Old 04-15-2007, 10:24 AM
Mecho's Avatar
Mecho Mecho is offline
 
Join Date: Aug 2006
Posts: 648
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Dismounted , is this use much cpu loading or these stuff ???
Reply With Quote
  #123  
Old 04-16-2007, 06:07 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, this hack uses very little resources.
Reply With Quote
  #124  
Old 04-16-2007, 07:45 PM
eurofunny eurofunny is offline
 
Join Date: Aug 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #125  
Old 04-17-2007, 06:21 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #126  
Old 04-17-2007, 06:51 AM
eurofunny eurofunny is offline
 
Join Date: Aug 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #127  
Old 04-18-2007, 06:38 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was the problem I was referring to. You have edited your style wrong and forgot to put a closing if tag (</if>).
Reply With Quote
  #128  
Old 04-18-2007, 10:38 AM
eurofunny eurofunny is offline
 
Join Date: Aug 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 -->
Reply With Quote
  #129  
Old 04-18-2007, 11:41 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That doesn't matter. The problem is that you have an if condition that is closing mine, therefore my hack cancels out.
Reply With Quote
  #130  
Old 04-18-2007, 12:08 PM
eurofunny eurofunny is offline
 
Join Date: Aug 2006
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok and what can i do Where is the error, Can you post me the right code?? Thx for your help
Reply With Quote
  #131  
Old 04-19-2007, 06:26 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


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 11:09 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.05824 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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