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

Zagis 09-30-2007 01:30 PM

Hello Dismounted,

Any plans for fixing this?

charles abiola 10-01-2007 03:40 AM

Quote:

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

global $vbulletin


There is no script you talking about in 1.4 version or (bot) or check guest, I might missing something here.
Any direction to locate this script.

charles abiola 10-01-2007 03:45 AM

Installed! Work perfect! More info to locate the plugin script.

Dismounted 10-01-2007 12:16 PM

Quote:

Originally Posted by Zagis (Post 1350195)
Hello Dismounted,

Any plans for fixing this?

A solution was posted a few posts after (I believe).
Quote:

Originally Posted by charles abiola (Post 1350597)
There is no script you talking about in 1.4 version or (bot) or check guest, I might missing something here.
Any direction to locate this script.

What are you trying to do?

Zagis 10-01-2007 12:42 PM

Quote:

Originally Posted by Dismounted (Post 1350728)
A solution was posted a few posts after (I believe).

I think you mean this:
Quote:

Originally Posted by succo (Post 1345285)
ok, for the usernote error, add a plugin at usernote_start with
PHP Code:

$isnotpost 1

in it... that's all :)

but I'm not quite sure how to do that.

Where to add
PHP Code:

$isnotpost 1

?

Any help would be appreciated.

Thanks

charles abiola 10-02-2007 02:47 AM

Quote:

Originally Posted by Dismounted (Post 1350728)
A solution was posted a few posts after (I believe).

What are you trying to do?

Nothing, I just want to make sure everything is working fine.

Dismounted 10-02-2007 05:47 AM

Quote:

Originally Posted by Zagis (Post 1350744)
I think you mean this: but I'm not quite sure how to do that.

Where to add
PHP Code:

$isnotpost 1

?

Any help would be appreciated.

Thanks

Add it in a plugin, the hook location was given in that post.
Quote:

Originally Posted by charles abiola (Post 1351114)
Nothing, I just want to make sure everything is working fine.

It is, I suggested adding to to the user who wanted to add extra functionality themselves.

Mum 10-02-2007 06:21 AM

I have installed this on www.mummybrain.com and followed all steps (modifying templates, installing plugin etc), but when i log out i can still read all the posts. Please help me figure this out.

Dismounted 10-02-2007 11:26 AM

You're probably like all the others, you've got a few stray end if tags in your postbit(_legacy) template.

Zagis 10-02-2007 11:54 AM

Quote:

Originally Posted by Dismounted (Post 1351220)
Add it in a plugin, the hook location was given in that post.

I got it...

It works now, thanks ;)

Mum 10-02-2007 06:36 PM

Quote:

Originally Posted by Dismounted (Post 1351365)
You're probably like all the others, you've got a few stray end if tags in your postbit(_legacy) template.

I've been through and checked but can't find any.

Never mind, thanks, it was a great idea!

Redlee 10-04-2007 08:37 PM

I'm confused. For this mod to work I still need to search my postbit templates for stray ifs??? :cool:

Dismounted 10-08-2007 06:50 AM

You only need to search for stray conditionals because you've incorrectly edited your templates. Otherwise, you'll be fine.

Redlee 10-09-2007 01:19 AM

Quote:

Originally Posted by Dismounted (Post 1355338)
You only need to search for stray conditionals because you've incorrectly edited your templates. Otherwise, you'll be fine.

I can't get it to work. I searched and didn't find anything. :erm:

Dismounted 10-09-2007 10:02 AM

What do you mean you searched? What did you search for?

Redlee 10-10-2007 12:03 AM

I searched in the postbit and postbit legacy templates and dont know enough about code to see if anything is stray. :eek: I changed to another style and I still don't get the option for this hack in my forum permissions :(

Dismounted 10-10-2007 06:07 AM

I'll give you an example. Look at this:
Code:

<if condition="...">
Do something
</if>
</if>

See how there's an extra end if? If you do the template edits required for my modification, you get:
Code:

<if condition="$memid == 1">
<if condition="...">
Do something
</if>
</if>
Everyone will see this.
<else />
No one sees this because the above end if cancels out this condition.
</if>


Redlee 10-10-2007 09:29 PM

Ok I will check again. Thanks for the help. :)

Redlee 10-10-2007 09:53 PM

I still can't find a stray </if>. Is this the only problem it could be? and also I was wondering is it more likely to have to many </if> or not enough. Thanks for any help I really would like to use this hack. :cool:

Dismounted 10-11-2007 09:54 AM

Yes, it could also be because you've got not enough </if>'s.

Konstantinos 10-21-2007 12:14 PM

are these lines normal ? both ie and firefox how to get rid of the lines ?Attachment 71268

Dismounted 10-22-2007 12:00 PM

You seem to have extra code hidden somewhere.

nickypoooo 10-24-2007 09:08 PM

Great mod, Installed

turkforum 10-25-2007 12:58 PM

Hey there it seems like great hack for showthread..
But before I install it, I have some questions..
1.Is it effecting search engines to crawl? In other words, is it bad for seo?

2.Is this also reducing server loads because of it is not showing after first post? Or the other way arround?
(I just get my 80k hits from google)
3. What is difference beetwen this two?
https://vborg.vbsupport.ru/showthread.php?t=124395
Thank you.. :)

Dismounted 10-26-2007 09:59 AM

1./ No.
2./ This should not affect server performance whatsoever.
3./ I really don't know, I haven't heard of that modification.

kube 11-04-2007 09:48 PM

Working fine BUT if you change to for example to hybrid view, you can see all posts !

LewisAinslie 12-21-2007 01:27 PM

Nice work mate, thanx.

WreckRman2 12-24-2007 05:52 AM

Good work... I like it.

forumrunt 12-27-2007 12:56 PM

Where is the hack that allows spiders in? I love the first post hack installing asap

WreckRman2 12-27-2007 01:21 PM

My registrations went from 3-5 a day to 30-40 a day over the past 3 days since installing this. Finally forced all them lurkers to join. LOL

December 26, 2007 42
December 25, 2007 30
December 24, 2007 13
December 23, 2007 5
December 22, 2007 3
December 21, 2007 3
December 20, 2007 3
December 19, 2007 4
December 18, 2007 2


All times are GMT. The time now is 08:14 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.01750 seconds
  • Memory Usage 1,834KB
  • 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
  • (2)bbcode_code_printable
  • (10)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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