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)

Tom_S 02-28-2007 12:18 PM

It did nothing for me. It didn't mess anything up but after installation and setting the forums I chose to allow guest to see first post it showed nothing.

Dismounted 03-01-2007 04:03 AM

Did you do the template edits?

HMBeaty 03-01-2007 04:04 AM

Awesome.

/me clicks installed

stonner 03-01-2007 08:15 AM

I will install it again as soon as it is updated!

THE BEST HACK!

hiepsi@ 03-02-2007 01:39 AM

How about 3.6.5? Who have this hack ?

Dismounted 03-03-2007 02:25 AM

Should work fine for 3.6.5.

Zagis 03-03-2007 08:04 AM

It did nothing for me too. After installation and setting the forums I chose to allow guest to see first post it showed nothing.
Quote:

Originally Posted by Dismounted (Post 1193110)
Did you do the template edits?

I did... postbit & postbit_leagcy, but nothing happened. (vb 3.6.5)

Dismounted 03-03-2007 10:54 AM

Do you have any other mods that could affect postbit/postbit_leagcy?

Zagis 03-03-2007 11:29 AM

Such as?
I think I got some...

Dismounted 03-04-2007 02:01 AM

Anything that has to do with posting.

Zagis 03-04-2007 07:35 AM

Yes, I got "ICash", "Post Thank You Hack", "SendPM", and "ShowProfileFieldInPostBits"

Dismounted 03-04-2007 08:29 AM

Which vBulletin version are you running? Also, could you PM your forum's URL?

Zagis 03-04-2007 08:40 AM

vB 3.6.5. PM has been sent.

Zagis 03-04-2007 08:48 AM

Solved...
Instaled.

stonner 03-06-2007 08:21 PM

I changed the layout abit:

Demo: http://www.schuelerforum.net/forum/s...ead.php?t=1395

The hack is exactly what i need. but i have one problem.

When I post a comment on a profile and try to submit the comment, I get a DB-error:

Datenbankfehler in vBulletin 3.6.5:

Invalid SQL:
SELECT gfpoforumoptions FROM vb3_forum WHERE forumid =;

MySQL-Fehler : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Fehler-Nr. : 1064
Datum : Tuesday, March 6th 2007 @ 11:20:33 PM
Skript : http://www.schuelerforum.net/forum/m...o=viewuser&u=1
Referrer : http://www.schuelerforum.net/forum/p...ilecomment&u=1
IP-Adresse : ************
Benutzername : ********
Klassenname : vb_database

How can I solve this problem?

thank you very much for this useful hack!

Dismounted 03-07-2007 05:11 AM

I would remove your IP address from your post. The is caused by a conflict with the hack: Profile Commenting. As I do not have a copy, could you please send me a copy of the hack to fix your problem?

Thanks.

stonner 03-07-2007 05:29 AM

PM sent.

stonner 03-07-2007 05:30 AM

Quote:

Originally Posted by Dismounted (Post 1197724)
I would remove your IP address from your post.
Thanks.

how can i do that?
in vB-options it is already "Don't save".

Dismounted 03-07-2007 07:40 AM

No, from the post you posted above. Edit it and remove the IP address. You don't have to if you don't want to, just security precautions.

stonner 03-07-2007 07:43 AM

ok thanks :)

kaviar 03-07-2007 12:21 PM

How to make compatible "Guests First Post Only" with GARS

Thanks

Dismounted 03-08-2007 03:47 AM

Sorry, this hack is incompatible with GARS as it does not use the postbit templates and there is no way to hook into the files to apply code unless you edit the file directly.

Bounce 03-11-2007 02:02 AM

Quote:

Originally Posted by Dismounted (Post 1197724)
I would remove your IP address from your post. The is caused by a conflict with the hack: Profile Commenting. As I do not have a copy, could you please send me a copy of the hack to fix your problem?

Thanks.

Database error in vBulletin 3.6.5:
Code:

Invalid SQL:
SELECT gfpoforumoptions FROM forum WHERE forumid =;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error Number : 1064
Date        : Sunday, March 11th 2007 @ 02:58:56

Get this when an announcement is viewed

Uninstalled and announcements are fine

Is there a fix for it as liked your hack DM :up:

Dismounted 03-11-2007 02:47 AM

Have you installed the latest version? As I should've fixed this error in the latest version (1.4).

Bounce 03-11-2007 11:59 AM

Quote:

Originally Posted by Dismounted (Post 1200593)
Have you installed the latest version? As I should've fixed this error in the latest version (1.4).


no I shall try this now , many thanks

edit: yip , works again ...whooooo , I must read more LOL

thanks DM

stonner 03-11-2007 11:25 PM

how do i have to modify it if i want the message shown after the first post even if there is no reply?

thank you

Dismounted 03-12-2007 04:21 AM

In the plugin 'Guest Check', remove (it's down the bottom):
PHP Code:

if (($memid == 1) AND ($thread['replycount'] == 0))
{
    
$memid 2;



Bree 03-12-2007 09:15 PM

Thanks a bunch *Installed*

(Props for easy instructions! <-- Thanks for that too hehe)

Always, Bree

SnitchSeeker 03-16-2007 08:41 AM

This looks great! I really love the idea. Will probably install it later this week.
Cheers! :)

Godders25 03-25-2007 09:51 PM

Hi there - I've just found out about a bit of a problem I'm having with this hack.

In this thread on my board it appears that people using the AOL browser software arn't affected by the hack and can see everything. The same people then try using firefox or IE and it works as expected.

Your welcome to go and have a read through by you will have to register first (or use the AOL browser) or your own hack will stop you. Let me know if you are waiting for admin approval and I'll get you authorised.

Cheers

Godders

:)

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 01:34 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.01668 seconds
  • Memory Usage 1,821KB
  • 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
  • (1)bbcode_code_printable
  • (9)bbcode_php_printable
  • (5)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