Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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.7.x Rating:
Released: 07-07-2008 Last Update: 07-08-2008 Installs: 119
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.6 - https://vborg.vbsupport.ru/showthread.php?t=135016

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
lange

Comments
  #22  
Old 07-10-2008, 10:27 AM
jorgejgm jorgejgm is offline
 
Join Date: Jan 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I do not find the code in the postbit:

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">Welcome!</td>
</tr>
<tr>
	<td class="alt1">To see more of this thread, please login or <a href="register.php">register</a>.</td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->
you use a new code?because de mod work

Thankyou
Reply With Quote
  #23  
Old 07-10-2008, 10:47 AM
UltraFanatics UltraFanatics is offline
 
Join Date: Dec 2007
Posts: 271
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone actually know how bad this affects engines and vbseo?

I really dont want to uninstall this mod but if it realy does affect them then I think I will have too
Reply With Quote
  #24  
Old 07-10-2008, 12:22 PM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jorgejgm View Post
I do not find the code in the postbit:

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">Welcome!</td>
</tr>
<tr>
	<td class="alt1">To see more of this thread, please login or <a href="register.php">register</a>.</td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->
you use a new code?because de mod work

Thankyou
Please read the ReadMe carefully. If you are installing a new copy - read the "Installation" section. If you are upgrading from 1.4/1.3/1.2/1.1, read the "Upgrading from Pre-1.5" section. If you are upgrading from 1.5, read the "Upgrading After 1.5" section.
Quote:
Originally Posted by UltraFanatics View Post
Does anyone actually know how bad this affects engines and vbseo?
The only thing that happens is that SEs don't see your second, third, etc. posts, only the first. Therefore, they will only index the first post of a thread.
Reply With Quote
  #25  
Old 07-10-2008, 04:27 PM
jorgejgm jorgejgm is offline
 
Join Date: Jan 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
In the readme.html does not say anything, ultimately investigating I have seen that is necessary to modify postbit_gfpo for the last version.

Regards.
Reply With Quote
  #26  
Old 07-11-2008, 05:02 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You should have said you wanted to modify the message. You seemed like you were upgrading and couldn't find the old code to remove.

You can modify the phrases "gfpo_login_or_register" and "gfpo_welcome" to change the messages. These phrases are used in three places (postbit_gfpo, printthread_gfpo, and in the archive).
Reply With Quote
  #27  
Old 07-11-2008, 06:48 AM
jorgejgm jorgejgm is offline
 
Join Date: Jan 2008
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, my english bad bad bad
Reply With Quote
  #28  
Old 07-16-2008, 10:23 PM
Koroku Koroku is offline
 
Join Date: Oct 2006
Location: Minnesota, USA
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way of installing this so that by default, all forums are visible?

I have a single forum that I would like to use this on, and about 100 that I don't... so I don't really want to have to go and manually edit the 100 others. >_>

Otherwise, this sounds like a great mod
Reply With Quote
  #29  
Old 07-17-2008, 11:15 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One moment, everyone wants it all on by default, the next, everyone wants it off.

In the XML, find:
Code:
	$db_alter->add_field(array(
		'name' => 'gfpo_enabled',
		'type' => 'smallint',
		'attributes' => 'unsigned',
		'null' => false,
		'default' => 1
	));
Replace With:
Code:
	$db_alter->add_field(array(
		'name' => 'gfpo_enabled',
		'type' => 'smallint',
		'attributes' => 'unsigned',
		'null' => false,
		'default' => 0
	));
Find:
Code:
$forum = array_merge($forum, array('gfpo_enabled' => 1, 'gfpo_enabled_archive' => 0));
Replace With:
Code:
$forum = array_merge($forum, array('gfpo_enabled' => 0, 'gfpo_enabled_archive' => 0));
Reply With Quote
  #30  
Old 07-17-2008, 07:07 PM
glenvw glenvw is offline
 
Join Date: Nov 2001
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a lot of trouble getting people to register. Do you that use this find this helps?

Also, does this prevent the search engines from spidering?
Reply With Quote
  #31  
Old 07-17-2008, 07:48 PM
Koroku Koroku is offline
 
Join Date: Oct 2006
Location: Minnesota, USA
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
One moment, everyone wants it all on by default, the next, everyone wants it off.
Thanks!

Maybe you could do something like have two versions of the mod - one with it on by default, one with it off.
Quote:
Originally Posted by glenvw View Post
Also, does this prevent the search engines from spidering?
Read the thread~
Reply With Quote
Reply

Thread Tools

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 02:53 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.04625 seconds
  • Memory Usage 2,307KB
  • 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
  • (6)bbcode_code
  • (4)bbcode_quote
  • (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
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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