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 03-29-2007 01:28 PM

Hi , i'm really need this hack . i tried to install new version but nothing changed .

i checked everything ( upload the file . import , edit templates ) 3times ! but still guests can see all posts ..

i'm really appreciate it if anybody can help .

Thanks
" Installed Again "

Dismounted 03-30-2007 09:51 AM

Then something is wrong with your style as this does not and should not happen. If you want me to, I can install it on your forums for you, drop me a PM.

Mecho 03-30-2007 01:46 PM

ok Thanks .. pm Sent

Dismounted 03-31-2007 04:11 AM

Fixed for Mecho.

Mecho 04-01-2007 11:14 AM

yea it works 100% for me ( vb 3.6.5 ) ...

Thanks alot Dismounted for check my site and fix everything :)

XanTrax 04-03-2007 02:39 PM

Just a suggestion, you should/could make the permission for on/off per usergroup OR a global option and then edit on/off from there so we dont have to go to every forum section and turn it on or off.

Dismounted 04-04-2007 05:41 AM

It could be included.

Godders25 04-07-2007 08:20 PM

Hi

Would it be easy enough / possible to extend this mod to include people who have not accepted the confirmation e-mail from seeing the whole thread.

Until they accept it I don't consider them members.

Cheers

Godders

Dismounted 04-08-2007 07:04 AM

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)) 


Godders25 04-09-2007 11:03 AM

Quote:

Originally Posted by Dismounted (Post 1222508)
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)) 


Fab - thanks for that, I'll try it out later :)


All times are GMT. The time now is 02:08 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.01428 seconds
  • Memory Usage 1,759KB
  • 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
  • (8)bbcode_php_printable
  • (1)bbcode_quote_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