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
  #202  
Old 09-28-2007, 07:25 AM
kube kube is offline
 
Join Date: Mar 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone who has it working with 3.6.7 ?

and is it possible to get it working for other usergroups ?
Reply With Quote
  #203  
Old 09-28-2007, 10:19 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it is working with 3.6.7. And yes, it is possible to work it with other usergroups, but you'll need to manually edit the plugins.
Reply With Quote
  #204  
Old 09-28-2007, 08:01 PM
kube kube is offline
 
Join Date: Mar 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thanks for that information !
Reply With Quote
  #205  
Old 09-29-2007, 07:17 AM
kube kube is offline
 
Join Date: Mar 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
In the plugin 'Guest Check', find:
PHP Code:
if (($show['guest']) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1)) 
Replace With:
PHP Code:
if (($show['guest']) AND (is_member_of($vbulletin->userinfo3)) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1)) 
Find:
PHP Code:
elseif ((!$show['guest']) OR ($bot) OR ($gfpo == 0)) 
Replace With:
PHP Code:
elseif ((!$show['guest']) OR (!is_member_of($vbulletin->userinfo3)) OR ($bot) OR ($gfpo == 0)) 

If I do that, the guests can see all again AND Usergroup 3 also.

In Standard working fine for guest, but I also need it for other usergroups (primary and secondary).
Do you have an idea, what to change ?

I also tried:
PHP Code:
is_member_of($bbuserinfo3,1
but not working.
Reply With Quote
  #206  
Old 09-29-2007, 09:36 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be working...Maybe add this to the top of the plugin (if it's not already there).
PHP Code:
global $vbulletin
Reply With Quote
  #207  
Old 09-29-2007, 11:48 AM
kube kube is offline
 
Join Date: Mar 2007
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

unfortunatly still not working for other groups then guests.

for guests only working perfect
Reply With Quote
  #208  
Old 09-29-2007, 03:14 PM
forumrunt forumrunt is offline
 
Join Date: Sep 2007
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks this looks great. Has anyone seen increased registration with it?
Reply With Quote
  #209  
Old 09-29-2007, 11:09 PM
Koroku Koroku is offline
 
Join Date: Oct 2006
Location: Minnesota, USA
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, this would be perfect. Too bad it's not working with 3.6.8 =/

I'll have to wait and install it when it does ^^
Reply With Quote
  #210  
Old 09-30-2007, 07:15 AM
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 Koroku View Post
Hmm, this would be perfect. Too bad it's not working with 3.6.8 =/

I'll have to wait and install it when it does ^^
It does work with 3.6.8.
Reply With Quote
  #211  
Old 09-30-2007, 01:13 PM
forumrunt forumrunt is offline
 
Join Date: Sep 2007
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just installed it on 3.6.8 and it works fine
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 12:40 AM.


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.05141 seconds
  • Memory Usage 2,317KB
  • 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_php
  • (2)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
  • (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