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)

kube 09-28-2007 07:25 AM

Anyone who has it working with 3.6.7 ?

and is it possible to get it working for other usergroups ?

Dismounted 09-28-2007 10:19 AM

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.

kube 09-28-2007 08:01 PM

Great, thanks for that information !

kube 09-29-2007 07:17 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)) 



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.

Dismounted 09-29-2007 09:36 AM

It should be working...Maybe add this to the top of the plugin (if it's not already there).
PHP Code:

global $vbulletin


kube 09-29-2007 11:48 AM

unfortunatly still not working for other groups then guests.

for guests only working perfect

forumrunt 09-29-2007 03:14 PM

Thanks this looks great. Has anyone seen increased registration with it?

Koroku 09-29-2007 11:09 PM

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

Dismounted 09-30-2007 07:15 AM

Quote:

Originally Posted by Koroku (Post 1349891)
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.

forumrunt 09-30-2007 01:13 PM

I just installed it on 3.6.8 and it works fine


All times are GMT. The time now is 05:09 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.01250 seconds
  • Memory Usage 1,747KB
  • 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
  • (6)bbcode_php_printable
  • (2)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