PDA

View Full Version : Show Thread Enhancements - Guests First Post Only


Pages : [1] 2

Dismounted
12-28-2006, 10:00 PM
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

Dismounted
12-29-2006, 06:28 AM
Change Log:
10/07/2008 - Version 1.6
- Enabled By Default On New Install (Archive Disabled By Default)
- Added Archive Hiding
- Fixed Possible Compatibility Issues

9/07/2008 - Version 1.5
- Fully Phrased
- Added Independent Templates
- Fixed Print Thread Bug
- Near Full Rewrite
- First 3.7 Release

10/01/2007 - Version 1.4
- Fixed 'Invalid SQL' Error In Announcements

5/01/2007 - Version 1.3
- Fixed 'Invalid SQL' Error In PM's
- Fixed Posts Being Displayed After Message
- Fixed Options Not Saving Properly

2/01/2007 - Version 1.2
- Fixed 'Call to a member function on a non-object' Error
- Fixed Message Being Displayed When Only One Post
- Fixed Options Not Saving Properly

1/01/2007 - Version 1.1
- Can Be Enabled On Per Forum Basis

29/12/2006 - Version 1.0
- Initial Release

Bladicouk
12-29-2006, 07:05 AM
so would this damage my forum seo ? or not...

Dismounted
12-29-2006, 07:09 AM
No, this should not damage your SEO.

mutasim
12-29-2006, 07:13 AM
hey... it would be great if it could be set per forum basis. Because lets be honest... who is gonig to want the restrict the "Introductions" forum :P

Bladicouk
12-29-2006, 07:24 AM
thanks for the quick answer dismounted.

projectego
12-29-2006, 10:46 AM
Not a bad idea... I'm sure people will find this useful.

Terminatoronly
12-29-2006, 01:52 PM
very useful installed ;)

Mecho
12-29-2006, 01:53 PM
Thanks man .. great idea . Installed

p.s.

i change second code like this :
<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Welcome!</td>
</tr>
<tr>
<td class="alt1"><blink><b><font size="4" color="red">To see more of this thread, please login or <a href="register.php">register</a>.</b></font></blink></td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->

Font with Red color , size 4 & blink text .

Bounce
12-29-2006, 06:06 PM
Installed and working superb :cool:

Smoothie
12-29-2006, 06:36 PM
I'm considering to implement this feature.
Allow per forum would be a nice addon. Thanks for considering.

BigJimTheLug
12-29-2006, 06:53 PM
Great modification! Thank you very much. I sincerely appreciate it!

GSPFAN
12-29-2006, 07:12 PM
If a visitor clicks on the last post on forum home they cannot view the first post of the thread. It work's fine if the visitor first enters the forum and then clicks on a thread. Can this be fixed?

GSPFAN
12-29-2006, 07:18 PM
Also the bots are not able to access user profiles.

AlexndR
12-29-2006, 08:37 PM
Cool idea! Nice!

BuzuL
12-29-2006, 10:52 PM
Thanks...But Look At Archive...:)

AzH
12-29-2006, 11:05 PM
I will install this when the option to have it on only selected forums becomes a reality. Great idea, but only if we can leave out certain forums.

bigtime
12-30-2006, 01:35 AM
I think this is a great hack. I wonder if the long term result will be less total visitors to your forum? Please post your thoughts or for those of you using it, please post your results.

Thanks.

lange
12-30-2006, 07:33 AM
Allow per forum would be a nice addon. Thanks for considering.
I am waiting me too for a basis per forum.

Dismounted
12-30-2006, 09:24 AM
I'm working on it. It should be released in the next couple of days.

Dismounted
01-01-2007, 07:03 AM
Hack Updated!

1/01/2007 - Version 1.1
- Can Be Enabled On Per Forum Basis

lange
01-01-2007, 03:46 PM
Thank you very much!

Testing.

Smoothie
01-01-2007, 07:17 PM
Can someone post a screenshot of the 'edit' window for this mod? I'd like to see the options, if any. Thanks!

Mecho
01-01-2007, 11:06 PM
after update no post or privet message shows up and this error show up :

Fatal error: Call to a member function on a non-object in /home/mechodow/public_html/forum/includes/class_postbit.php(268) : eval()'d code on line 3


any idea ?

Smoothie
01-01-2007, 11:23 PM
One thing I noticed which seems rather odd. If there is only one post, the "To see more of this thread, please login or register shows, but what's there to see? Shouldn't there be a conditional inserted to only show that link if there is more than 1 post?

Dismounted
01-02-2007, 03:55 AM
Hack Updated!

2/01/2007 - Version 1.2
- Fixed 'Call to a member function on a non-object' Error
- Fixed Message Being Displayed When Only One Post
- Fixed Options Not Saving Properly

Terminatoronly
01-02-2007, 06:49 AM
thanks for the update

Mecho
01-02-2007, 09:08 AM
After install when i open privet messages i got this db error : !!

Database error in vBulletin 3.6.4:

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

anybody have the same problem ??

Freak0204
01-03-2007, 12:22 AM
After install when i open privet messages i got this db error : !!



anybody have the same problem ??

Yes, I keep getting the same thing and when I disable it, all the posts disappear.

derfy
01-03-2007, 08:52 PM
I'm considering to implement this feature.


If you looked more closely at the hack plugin, it allows bots through as normal members and only genuine guests get blocked.

Ah, so it uses cloaking tecnology?

taxick
01-04-2007, 06:39 AM
After install when i open privet messages i got this db error : !!

anybody have the same problem ??

I have the same problem :(

If you disaple the hack, you have to remove the the templates edits in postbit

If you not do it, you can?t se eny post. This must be are bug to

I love the hack, hope you can fix the problem

Mecho
01-04-2007, 10:08 AM
exactly ..

i uninstall it and reinstall Version 1.0 on default style . but there is another problem too ( screenshot added )

i hope Dismounted fix it . thanks in advance

Dismounted
01-04-2007, 10:16 AM
Hello,

I am working on fixing the PM problem. As for Mecho, have you applied all the template changes properly?

Thanks,
Dismounted

Mecho
01-04-2007, 11:39 AM
Thanks for replied .

and yes i applied all template changes . it works for another style . but the page broken when i used it for default vb style .

AzianStang
01-04-2007, 05:29 PM
Followed the directions perfectly and the mod's not working... checked in both styles and I don't see it.

Upload the entire 'upload' folder or just the .xml to the xml folder???

Bounce
01-04-2007, 05:44 PM
Followed the directions perfectly and the mod's not working... checked in both styles and I don't see it.

Upload the entire 'upload' folder or just the .xml to the xml folder???

upload "bitfield_guests_first_post_only.xml" to includes/xml

open the upload first then upload includes

Bounce
01-04-2007, 07:20 PM
After install when i open privet messages i got this db error : !!



anybody have the same problem ??

yip version 1.2 , i upgraded as wanted forum by forum

Yes, I keep getting the same thing and when I disable it, all the posts disappear.


yea you need to remove the code also from postbit or postbit_legacy

Terminatoronly
01-04-2007, 09:02 PM
when i have uninstalled ur hack i have get a real problem that the threads doesnt shown :o and when i installed it again i can see the threads what the hell what happend to my forum :(

Dismounted
01-05-2007, 04:06 AM
Hack Updated!

5/01/2007 - Version 1.3
- Fixed 'Invalid SQL' Error In PM's
- Fixed Posts Being Displayed After Message
- Fixed Options Not Saving Properly

Also, please click install if you have installed this hack, so I can send out an update to you when the hack is updated.

AzianStang
01-05-2007, 04:55 AM
upload "bitfield_guests_first_post_only.xml" to includes/xml

open the upload first then upload includes
That doesn't make sense... then I'm asked to overwrite the .xml.

So let me get this straight...

Upload the includes/xml from the upload folder into the forums root directory? Is it not the same thing as uploading just the xml to the includes/xml folder ALREADY in my forums root directory? Because that's what I'm doing, and I'm seeing nothing. Templates look perfect.

:tired:

Dismounted
01-05-2007, 05:09 AM
It IS the same thing. Just upload the contents of the upload folder into the forum's root directory.

Terminatoronly
01-05-2007, 10:34 AM
Uninstalled

Mecho
01-05-2007, 12:51 PM
what's wrong with this hack !! great idea but still have a lot problems !

after update new version i got db error in all pages !!!!!!!!!

UNINSTALLED

Bounce
01-05-2007, 07:02 PM
what's wrong with this hack !! great idea but still have a lot problems !

after update new version i got db error in all pages !!!!!!!!!

UNINSTALLED

same,shall wait on the update, version 1 worked a charm

letsjoy
01-05-2007, 08:10 PM
very nice thanks

Dismounted
01-06-2007, 02:51 AM
same,shall wait on the update, version 1 worked a charm

what's wrong with this hack !! great idea but still have a lot problems !

after update new version i got db error in all pages !!!!!!!!!

UNINSTALLED
Do a full uninstall and install again of version 1.3, it's probably caused by my changes in the database and it doesn't apply the install code as it was upgraded.

BigJimTheLug
01-06-2007, 07:40 AM
This is a nice hack, but I'd rather let my "audience" view everything.


Good work!

*Installed*


Every version has worked fine for me, but then again, I'm mastering vbulletin coding as days pass by!:)

VBrocks!

Bounce
01-07-2007, 11:21 AM
Do a full uninstall and install again of version 1.3, it's probably caused by my changes in the database and it doesn't apply the install code as it was upgraded.
Seems to be working well now :)

I even deleted the bitfield_guests_first_post_only.xml and uploaded the new one , don't know if theres any difference in them..

Anyhoooooo its working , reclicked install :)

geveze
01-07-2007, 01:41 PM
thanks installed :)

AzianStang
01-10-2007, 04:38 AM
Dismounted - I'm having a DB error when trying to view announcements...

Database error in vBulletin 3.6.2:
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 : Monday, January 8th 2007 @ 12:38:55 AM
Script : http://synergy501.net/forums/announcement.php?f=1&a=1
Referrer : http://synergy501.net/forums/forumdisplay.php?f=1
IP Address : 71.86.53.247
Username : AzianStang
Classname : vb_database

Dismounted
01-10-2007, 04:51 AM
Hack Updated!

10/01/2007 - Version 1.4
- Fixed 'Invalid SQL' Error In Announcements

AzianStang
01-10-2007, 02:56 PM
^^^ THANK YOU!!!

Great hack BTW, I'm already receiving many more registrations...

Upgrading!

Mecho
01-10-2007, 11:06 PM
i full uninstalled it then again install new update ! but i still have problem :

https://vborg.vbsupport.ru/attachment.php?attachmentid=58477&d=1167912483

Dismounted
01-11-2007, 03:43 AM
I should have fixed that problem in version 1.3, do you have any other hacks installed?

Mecho
01-11-2007, 09:08 AM
I tried to install all versions and at last ver1.4 . I have many installed hacks ( is the problem caused by this? )

Thanks

Dismounted
01-11-2007, 09:43 AM
A hack can cause problems, it depends what they do.

Mecho
01-11-2007, 10:31 AM
u know in first version it works perfect .. after i upgraded it the problems start !
and i'm sure after that i didnt install any new hack .


i just have this problem in Default VB style .. it 100% ok in other style :(

kewl1uk
01-11-2007, 09:16 PM
Installed. Thanks.

Database error when logged-in member views a single post, i.e. by clicking the post number:
Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT gfpoforumoptions FROM vb3_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 : Thursday, January 11th 2007 @ 11:07:59 PM
Script : /showpost.php?p=179044&postcount=3
Referrer : showthread.php?t=9864
IP Address :
Username :
Classname : vb_database

Dismounted
01-12-2007, 03:18 AM
Are you sure? It's working fine for me.

kewl1uk
01-12-2007, 03:31 PM
Are you sure? It's working fine for me.

Positive. Here's the error again with a different thread:
Database error in vBulletin 3.6.4:

Invalid SQL:
SELECT gfpoforumoptions FROM vb3_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 : Friday, January 12th 2007 @ 05:27:41 PM
Script : /forums/showpost.php?p=181416&postcount=2
Referrer : /forums/showthread.php?p=183370#post183370
IP Address :
Username :
Classname : vb_database

Godders25
01-12-2007, 07:46 PM
Fab idea - But when I install it if there is more than one page of posts in the thread if I click on the "Go to last post" icon I get a blank page rather than any message. It kinda makes the forum look like it's broken rather than your not allowed to see anything.

:)

osso12
01-12-2007, 07:51 PM
I am going to try again today..
on 1.2 I was having pm issues.
Ill try the new version today and let yall know.
I know this is gonna be a good hack.
:D

osso12
01-12-2007, 08:05 PM
well i dont see that it does a darn thing.
If I log off, and dont log back in, I can read all the posts as any guest could do.
What does this thing do, or what am i doing wrong if anything?

Godders25
01-12-2007, 08:20 PM
well i dont see that it does a darn thing.
If I log off, and dont log back in, I can read all the posts as any guest could do.
What does this thing do, or what am i doing wrong if anything?


With the version I installed you have to enable it on a per forum basis in Forum Manager - HTH :)

osso12
01-12-2007, 08:24 PM
let me try that.
well... im not seeing anything in the forum manager to enable it..
Is it in a usergroup setting?
I installed latest version of the hack...1.4

osso12
01-12-2007, 08:31 PM
im not seeing anything under acp options, or user group settings...
Sounds like the author needs to make a setting in acp options where the mod can be turned off and on..
I guess we can always turn the view threads "off" under unregistered/logged off user group setting.
Still here, and waiting..

Godders25
01-12-2007, 08:40 PM
Forums and Moderators->Forum Manager->Choose "Edit Forum" from the drop down for one of your forums and click "Go".

Then at the bottom you get:

https://vborg.vbsupport.ru/external/2007/09/11.jpg

There doesn't appear to be any global on or off setting

osso12
01-12-2007, 08:43 PM
i see it now.
Thanks.
Its just in kinda of a odd place, and I did not see it in the install instructions how to get to it.
But its there.
Thanks bud!
:)

osso12
01-12-2007, 09:02 PM
works awesome! this is great!

Dismounted
01-13-2007, 03:06 AM
Positive. Here's the error again with a different thread:
It's working fine for me though. Anyone else having this problem?
Fab idea - But when I install it if there is more than one page of posts in the thread if I click on the "Go to last post" icon I get a blank page rather than any message. It kinda makes the forum look like it's broken rather than your not allowed to see anything.

:)
I'll have a look into it.
i see it now.
Thanks.
Its just in kinda of a odd place, and I did not see it in the install instructions how to get to it.
But its there.
Thanks bud!
:)
If you think about it, it's not really in an odd place :p.

kewl1uk
01-14-2007, 10:48 AM
Sorry, I had to uninstall due to the error in viewing a single post causing real problems on my board.

Mecho
01-14-2007, 02:18 PM
Are you sure? It's working fine for me.

i dunno why its not work find in default style .. in another one it works 100% fine :(

where should i check for it ?
thanks

Dismounted
01-15-2007, 02:42 AM
Check the template edits.

stonner
02-21-2007, 06:32 PM
is it possible to allow the first TWO posts instad of one?

thank you!

great idea!

Dismounted
02-23-2007, 05:06 AM
Change the plugin "Guest Check", find:
if (($show['guest']) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1))
Replace With:
if (($show['guest']) AND (!$bot) AND ($post['postcount'] == 1 || $post['postcount'] == 2) AND ($gfpo == 1))

stonner
02-26-2007, 09:46 PM
i got the same db-error when I click on some profiles: gfpoforumoptions

how can i fix this?

till this is fixed, i had to uninstall this great hack!

Dismounted
02-27-2007, 04:44 AM
I'll have a look into it. Is there any particular part of the profile it is happening in?

Mecho
02-27-2007, 04:09 PM
Uninstalled .. Still not stable !

but Great idea - thanks anyway Dismounted

stonner
02-27-2007, 05:34 PM
I really want this hack! It's great!
i already noticed that i had more registrations.

but i have to wait for a bug-free update.

maybe it's because i have installed the hack vS-Interactive Profiles?

Dismounted
02-28-2007, 07:07 AM
What specific part is it happening in?

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.
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/showthread.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/member.php?do=viewuser&u=1
Referrer : http://www.schuelerforum.net/forum/profilecomment.php?do=newprofilecomment&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
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
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:

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
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):
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 (http://www.nellysplace.co.uk/showthread.php?t=3465) 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:
if (($show['guest']) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1))
Replace With:
if (($show['guest']) AND (is_member_of($vbulletin->userinfo, 3)) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1))
Find:
elseif ((!$show['guest']) OR ($bot) OR ($gfpo == 0))
Replace With:
elseif ((!$show['guest']) OR (!is_member_of($vbulletin->userinfo, 3)) OR ($bot) OR ($gfpo == 0))

Godders25
04-09-2007, 11:03 AM
In the plugin 'Guest Check', find:
if (($show['guest']) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1))
Replace With:
if (($show['guest']) AND (is_member_of($vbulletin->userinfo, 3)) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1))
Find:
elseif ((!$show['guest']) OR ($bot) OR ($gfpo == 0))
Replace With:
elseif ((!$show['guest']) OR (!is_member_of($vbulletin->userinfo, 3)) OR ($bot) OR ($gfpo == 0))

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

Mecho
04-15-2007, 10:24 AM
Dismounted , is this use much cpu loading or these stuff ???

Dismounted
04-16-2007, 06:07 AM
No, this hack uses very little resources.

eurofunny
04-16-2007, 07:45 PM
Hi very nice Hack but i have a style problem see at here http://www.my-checkpoint.de/ich-hab-meine-t816.html

What can i do??

thx from Germany

Dismounted
04-17-2007, 06:21 AM
You have a unclosed <if> tag in your template, this is what happened with Mecho. Look through your postbit_legacy template and match all <if>'s to a closing one.

eurofunny
04-17-2007, 06:51 AM
Hello, okay thx for the quick help. The Style is now ok but when a guest comes on this site then comes the first post then the message and then all the last messages. What is wrong here. Have a nice day.

Dismounted
04-18-2007, 06:38 AM
That was the problem I was referring to. You have edited your style wrong and forgot to put a closing if tag (</if>).

eurofunny
04-18-2007, 10:38 AM
Hi,

i have this code at my postbit
at the top
<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1 || $memid == 2"></if>
<!-- End Guests First Post Only Hack -->

and at the bottom

<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Willkommen lieber Besucher!</td>
</tr>
<tr>
<td class="alt1">Als registriertes Mitglied bei My-CheckPoint.de kannst Du alles ?ber dieses Thema lesen. Bitte logge Dich mit Deinen Userdaten ein oder melde Dich jetzt kostenlos an und werde ein Teil unserer tollen Community. <a href="register.php"><font color="#0099FF"><span style="background-color:white;"><b>Jetzt kostenlos anmelden und alles lesen</b></span></font></a></td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->

Dismounted
04-18-2007, 11:41 AM
That doesn't matter. The problem is that you have an if condition that is closing mine, therefore my hack cancels out.

eurofunny
04-18-2007, 12:08 PM
Ok and what can i do :confused: Where is the error, Can you post me the right code?? Thx for your help

Dismounted
04-19-2007, 06:26 AM
I can't 'post' the right code as I do not have your postbit template. Do you even understand the problem?

eurofunny
04-19-2007, 06:47 AM
I can't 'post' the right code as I do not have your postbit template. Do you even understand the problem?

Hi, ok here is my postbit template, sorry for the trouble :)

<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1 || $memid == 2"></if>
<!-- End Guests First Post Only Hack -->
<table id="post$post[postid]" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center">
<tr>
<if condition="$show['announcement']">
<td class="thead" style="font-weight:normal" colspan="2">
<div align="center"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" />
</div>
<phrase 1="$post[startdate]" 2="$post[enddate]">
<div align="center">$vbphrase[x_until_y]</div>
</phrase></td>
<else />
<td class="thead" style="font-weight:normal" $post[scrolltothis]>
<!-- status icon and date -->
<a name="post$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /></a>
$post[postdate]<if condition="!$show['detailedtime']">, $post[posttime]</if>
$post[firstnewinsert]
<!-- / status icon and date -->
</td>
<td class="thead" style="font-weight:normal" align="$stylevar[right]">
&nbsp;
<if condition="$show['postcount']">#<a href="showpost.php?$session[sessionurl]p=$post[postid]&amp;postcount=$post[postcount]" target="new" rel="nofollow" id="postcount$post[postid]" name="$post[postcount]"><strong>$post[postcount]</strong></a></if>
<if condition="$show['inlinemod']">
<input type="checkbox" name="plist[$postid]" id="plist_$postid" style="vertical-align:middle; padding:0px; margin:0px 0px 0px 5px" value="$post[checkbox_value]" />
</if>
</td>
</if>
</tr>
<tr valign="top">
<td class="alt2" width="175">

<div id="postmenu_$post[postid]">
<if condition="$show['profile']">
<div class="pbit">
<div align="center"><a class="bigusername" href="member.php?$session[sessionurl]u=$post[userid]">$post[musername]</a></div>
</div>
<script type="text/javascript"> vbmenu_register("postmenu_$post[postid]", true); </script>
<else />
<div class="pbit">
<div align="center">$post[musername]</div>
</div>
</if>
</div>

<if condition="$post['usertitle']"><div class="pbit">
<div align="center">$post[usertitle]</div>
</div></if>
<if condition="$post['rank']"><div class="pbit">
<div align="center">$post[rank]</div>
</div></if>

<if condition="$show['avatar']">
<div class="pbit">
&nbsp;
<div align="center"><br />
<a href="member.php?$session[sessionurl]u=$post[userid]"><img src="$post[avatarurl]" alt="<phrase 1="$post[username]">$vbphrase[xs_avatar]
</phrase>
" border="0" /></a>
</div>
</div>
</if>
<div class="smallfont">
<if condition="$post['joindate']"><div class="pbit" align="center">
$vbphrase[join_date]: $post[joindate]
</div></if>
<if condition="$post['field2']"><div class="pbit" align="center">
$vbphrase[location_perm]: $post[field2]
</div></if>
<if condition="$post['age']"><div class="pbit" align="center">
$vbphrase[age]: $post[age]
</div></if>
<div class="pbit" align="center">
$vbphrase[posts]: $post[posts]
</div>
</if>
$post[crowns]$post[champtext]<br />
<if condition="$show['zointsprofile']">
<div><a href="$vboptions[zointsprofile_zurl]?id=$post[userid]" target="_blank">$vboptions[zointsprofile_postbit]</a></div>
</if>
<if condition="$show['infraction']"><div class="pbit" align="center">
$vbphrase[infractions]: $post[warnings]/$post[infractions] ($post[ipoints])
</div></if>
<if condition="$show['reputation']"><div class="pbit" align="center"><if condition="$show['reppower']">
<span id="reppower_$post[postid]_$post[userid]">$vbphrase[reppower]</span>: $post[reppower]
</if>
<div align="center"><span id="repdisplay_$post[postid]_$post[userid]">$post[reputationdisplay]</span>
</div></if>
<if condition="$post['icqicon'] or $post['aimicon'] or $post['msnicon'] or $post['skypeicon']">
<div class="pbit" align="center">
$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
</div>
</if>
</div>
<div>
</td>
<if condition="$show['moderated']">
<td class="alt2" id="td_post_$post[postid]">
<else />
<td class="alt1" id="td_post_$post[postid]">
</if>

<if condition="$show['messageicon'] OR $post['title']">
<!-- icon and title -->
<div class="smallfont">
<if condition="$show['messageicon']"><img class="inlineimg" src="$post[iconpath]" alt="$post[icontitle]" border="0" /></if>
<if condition="$post['title']"><strong>$post[title]</strong></if>
</div>
<hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<!-- / icon and title -->
</if>

<!-- message -->
<div id="post_message_$post[postid]">$post[message]</div>
<!-- / message -->

<if condition="$show['attachments']">
<!-- attachments -->
<div style="padding:$stylevar[cellpadding]px">

<if condition="$show['thumbnailattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_thumbnails]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[thumbnailattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<div style="padding:$stylevar[formspacer]px">
$post[imageattachments]
</div>
</fieldset>
</if>

<if condition="$show['imageattachmentlink']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_images]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[imageattachmentlinks]
</table>
</fieldset>
</if>

<if condition="$show['otherattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attached_files]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[otherattachments]
</table>
</fieldset>
</if>

<if condition="$show['moderatedattachment']">
<fieldset class="fieldset">
<legend>$vbphrase[attachments_pending_approval]</legend>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
$post[moderatedattachments]
</table>
</fieldset>
</if>

</div>
<!-- / attachments -->
</if>

<if condition="$post['signature']">
<!-- sig -->
<div>
<br />
<fieldset class="fieldset">
<legend><b><font color="#DF1818">$post[username]</font>'s Signatur</b></legend>
$post[signature]<br />
</fieldset>
</div>

<!-- / sig -->
</if>

<if condition="$show['postedited']">
<!-- edit note -->
<div class="smallfont"> <hr size="1" style="color:$stylevar[tborder_bgcolor]" />
<em>
<phrase 1="$post[edit_username]" 2="$post[edit_date]" 3="$post[edit_time]">$vbphrase[last_edited_by_x_on_y_at_z]</phrase>.
<if condition="$post['edit_reason']">$vbphrase[reason]: $post[edit_reason]</if>
</em>
</div>
<!-- / edit note -->
</if>

</td>
</tr>
<tr>
<td class="alt2" align="center">
$post[onlinestatus]
<if condition="$show['reputationlink']">
<span id="reputationmenu_$post[postid]"><a href="reputation.php?$session[sessionurl]p=$post[postid]" rel="nofollow" id="reputation_$post[postid]"><img class="inlineimg" src="$stylevar[imgdir_button]/reputation.gif" alt="<phrase 1="$post[username]">$vbphrase[add_to_xs_reputation]</phrase>" border="0" /></a></span>
<if condition="$show['popups']"><script type="text/javascript"> vbrep_register("$post[postid]")</script></if>
</if>
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&amp;p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if>
<if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a></if>
$post[iplogged]
&nbsp;
</td>
<if condition="$show['moderated']">
<td class="alt2" align="$stylevar[right]">
<else />
<td class="alt1" align="$stylevar[right]">
</if>
<!-- controls -->
<if condition="$post['editlink']">
<img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" />
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['multiquote_post']">
<a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<if condition="$show['deletedpost']">
<img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" />
</if>
<if condition="$show['redcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a>
<else />
<if condition="$show['yellowcard']">
<a href="infraction.php?$session[sessionurl]do=view&amp;p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a>
</if>
</if>
<!-- / controls -->
</td>
</tr>
</table>

<!-- post $post[postid] popup menu -->
<div class="vbmenu_popup" id="postmenu_$post[postid]_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$post[username]</td>
</tr>
<if condition="$show['profile']">
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$post[userid]">$vbphrase[view_public_profile]</a></td></tr>
</if>
<if condition="$show['pmlink']">
<tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['emaillink']">
<tr><td class="vbmenu_option"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[send_email_to_x]</phrase></a></td></tr>
</if>
<if condition="$show['homepage']">
<tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr>
</if>
<if condition="$show['search']">
<tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=finduser&amp;u=$post[userid]" rel="nofollow"><phrase 1="$post[username]">$vbphrase[find_more_posts_by_x]</phrase></a></td></tr>
</if>
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
</table>
</div>
<!-- / post $post[postid] popup menu -->
<!-- Start Guests First Post Only Hack -->
<if condition="$memid == 1">
<br />
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">Willkommen lieber Besucher!</td>
</tr>
<tr>
<td class="alt1">Als registriertes Mitglied bei My-CheckPoint.de kannst Du alles ?ber dieses Thema lesen. Bitte logge Dich mit Deinen Userdaten ein oder melde Dich jetzt kostenlos an und werde ein Teil unserer tollen Community. <a href="register.php"><font color="#0099FF"><span style="background-color:white;"><b>Jetzt kostenlos anmelden und alles lesen</b></span></font></a></td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->

Dismounted
04-19-2007, 07:21 AM
I need postbit_legacy as this is the one you are using. I am busy currently busy with alot of things so I might not be able to look at your template.

eurofunny
04-19-2007, 07:36 AM
I need postbit_legacy as this is the one you are using. I am busy currently busy with alot of things so I might not be able to look at your template.

The code that i post is the postbit_legacy :)

Terminatoronly
04-22-2007, 07:48 PM
i installed it but its not working for me i edited the templates too

Dismounted
04-23-2007, 06:16 AM
I reckon it's because you have an extra end if condition.

Terminatoronly
04-28-2007, 04:49 PM
i cant get this mod working please help well you please install it for me i will be much appreciated

princeedward
04-28-2007, 09:57 PM
..many thanks....for this...work like a charm to my vb forum v3.6.5 ...easy to install without any problem...
great idea bro...wonderful mod hack...

keep it up...and best regards...

:p

Mum
05-29-2007, 08:08 AM
Doesn't work for me, all edits done correct and product installed, but still shows everything to guests.

Dismounted
05-29-2007, 09:28 AM
As above, check that you don't have loose </if>'s in your postbit (or postbit_legacy).

nymyth
07-06-2007, 02:20 PM
installed....love the mod.....a great feature to have would be if we can enable it to all forums....it takes a while to go through every forum and enable it...lol

jasculs
07-08-2007, 07:34 PM
I have a custom profile using the Interactive Profiles Mod and when I install this mod it makes a database error when you click on a users profile. It is definitely this mod that is conflicting with it because when I disable your mod the profiles show up just fine without the database errors. Here is the error I'm getting:

Database error in vBulletin 3.6.7:

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, July 8th 2007 @ 03:31:11 PM
Script : http://www.mysite.com/forums/member.php?find=lastposter&f=13
Referrer : http://www.mysite.com/forums/index.php
IP Address : xx.xxx.xxx.xx
Username : MyUserName
Classname : vb_database

Help fixing this would be great as I could really use this mod that you are offering here.

My profile is using these two mods also:

vS - Interactive Profiles

https://vborg.vbsupport.ru/showthread.php?t=150028

MySpace Profile Re-Write PRO 1.0.0

https://vborg.vbsupport.ru/showthread.php?t=109094

Thank you for any help

Dismounted
07-09-2007, 05:39 AM
I'll have a look.

EDIT: Create a plugin at the hook: 'profile_start' and set the Execution Order to 1. Enter this for the PHP code.
$isnotpost = 1;

jasculs
07-09-2007, 12:12 PM
I'll have a look.

EDIT: Create a plugin at the hook: 'profile_start' and set the Execution Order to 1. Enter this for the PHP code.
$isnotpost = 1;

Ok will I did that and the same problem is happening, however it isn't happening with all of the profiles I try to visit some profiles work and some don't. It doesn't seem to have a pattern either as far as which ones work an which ones don't

Dismounted
07-10-2007, 05:41 AM
Hmmm, weird. Are you sure there's no pattern?

jasculs
07-10-2007, 05:56 AM
Unfortunately I can't notice any type of pattern. People from different usergroups are getting the errors while others are not. Also I was checking the username numbers and there isn't a pattern. It is pretty weird. I was trying to find it there was a pattern or not but I couldn't. I could really use this mod too.

quiklink
07-11-2007, 07:51 PM
Here is your problem eurofunny:

<if condition="$memid == 1 || $memid == 2"></if>

you are closing off the very first if statement (line 2 in your postbit template)

Now I am having the same problem with the mod not working. I have repeatedly checked my open and closing IF statements. I have 53 opening and 53 closing. Yet it won't work.

quiklink
07-11-2007, 08:14 PM
Ever have one of those days when your brain just doesn't work? Disregard my last post saying it wouldn't work...It helps if you actually enable the mod for the forum you want it to work for...DOH!

nymyth
07-11-2007, 08:17 PM
^^have you enabled this inside of each individual forum??

quiklink
07-11-2007, 08:42 PM
^^have you enabled this inside of each individual forum??

That's what I was saying I forgot to do until my brain quit being on strike ;)

All is working fine now. Great mod! Hopefully this will get those members who don't bother to log in to do so now.

nymyth
07-12-2007, 02:29 AM
yeah I totally missed that post...lol....good to see you got it working...

quiklink
07-12-2007, 05:01 AM
I did notice that it reset the Viewing Order, the Order Threads By, and the Show Last X Posts in every forum I turned it on in. No biggie, just had to go back and reset 50 or so forums ;)

jasculs
07-12-2007, 12:05 PM
Dismounted,

Did you have happen to figured out why a SQL error shows up when you click on the profiles if someone has the vs- Interactive Profiles mod installed on their site? Thanks

nymyth
07-12-2007, 12:25 PM
I did notice that it reset the Viewing Order, the Order Threads By, and the Show Last X Posts in every forum I turned it on in. No biggie, just had to go back and reset 50 or so forums ;)
confused....could u explain please?

quiklink
07-12-2007, 06:13 PM
confused....could u explain please?

In the AdminCP for each forum you can set what date range of posts are displayed, what order (Ascending or Descending) and what the posts are sorted on (Title, Last Post, etc.). These were reset to the first option for each in every forum I turned this mod on in. So instead of showing All Entries, Sorted By Last Post Time (Descending) each forum changed to showing All Post from Last Day, Sorted By Title (Ascending).

G0F0RBR0KE
07-21-2007, 08:38 AM
It's working now.
Silly me :)

Dismounted
07-21-2007, 10:28 AM
Now I am having the same problem with the mod not working. I have repeatedly checked my open and closing IF statements. I have 53 opening and 53 closing. Yet it won't work.
Are they opened and closed in the correct order?

quiklink
07-21-2007, 05:01 PM
Are they opened and closed in the correct order?

Note my follow-up post after that one ;) All is working, I had a brain cramp at the time!

jasculs
07-21-2007, 05:14 PM
Still no way to find out why this isn't working with vS-Interactive Profiles huh?

soletrader
07-22-2007, 02:13 AM
hello, how can i add another usergroup besides guests into this hack? thanks

Dismounted
07-22-2007, 07:02 AM
Still no way to find out why this isn't working with vS-Interactive Profiles huh?
If it working sometimes and sometimes not, without a pattern, then I have no clue.
hello, how can i add another usergroup besides guests into this hack? thanks
You must change the plugin to check for other usergroups. Frankly, I don't know why you'd want to be blocking actual members...

Arrangements
07-30-2007, 04:24 AM
You should set it as 'Yes' as default so that we don't have to press Yes to all our forums. It save a lot of time.

Arrangements
07-30-2007, 05:56 PM
There is bug or more of a turnaround that makes this mod useless, for guest you can go to thread tools and click 'Show Printable Version'

Oh ok this is a series BUG

austrainer
08-04-2007, 07:02 AM
Hi

Just installed this and its great - quick question

How do I change The Message

Welcome!
To see more of this thread, please login or register.

The word Register is a hyperlink to http://myforum/register.php

I would like to put a hyperlink on the word login :confused: that redirects to my home page

Have searched thru the phrases and can't find it - have looked at both xml files & cant find it - I am still learning so any help would be most appreciated.

raiderlax
08-04-2007, 08:39 AM
Wow this looks like a great mod, I'm looking for something VERY VERY close to this, see my thread here, https://vborg.vbsupport.ru/showthread.php?t=154273

Thanks

Dismounted
08-04-2007, 10:45 AM
Wow this looks like a great mod, I'm looking for something VERY VERY close to this, see my thread here, https://vborg.vbsupport.ru/showthread.php?t=154273

Thanks
What's the difference except from the text you see?
Hi

Just installed this and its great - quick question

How do I change The Message

Welcome!
To see more of this thread, please login or register.

The word Register is a hyperlink to http://myforum/register.php

I would like to put a hyperlink on the word login :confused: that redirects to my home page

Have searched thru the phrases and can't find it - have looked at both xml files & cant find it - I am still learning so any help would be most appreciated.
Look in your template edit.

PS. I will be releasing an update soon that will get rid of the need to edit your templates and hopefully solving a lot of people's problems.

foulplay
08-04-2007, 11:39 AM
I get a vbulletin database error when viewing profiles????

jasculs
08-04-2007, 04:56 PM
I get a vbulletin database error when viewing profiles????

Are you using the vS-Interactive Profiles....if so I get the same error when using this mod....there hasn't been a fix for it yet.

raiderlax
08-04-2007, 10:49 PM
What's the difference except from the text you see?


That one shows that text for each reply instead of the reply text. so if theirs 2 replies, than that is their twice under each persons reply.

raiderlax
08-04-2007, 11:03 PM
Okay I installed and this is showing all the other messages, it doesn't seem to work,

see here for example:

http://talkfitness.org/supplements/525-does-muscle-works.html

How do I fix this?

Thanks :)

Dismounted
08-05-2007, 05:43 AM
Again, you probably have a stray end if (</if>) that cancels out the one by this hack. I suggest you wait for the update.

raiderlax
08-05-2007, 06:16 AM
Okay thanks, I'm going to uninstall this for now until the update comes out, may I ask when it will come out?

Thanks :)

Dismounted
08-05-2007, 06:47 AM
A couple of days if nothing goes wrong.

raiderlax
08-05-2007, 07:13 AM
Awesome thanks :)

raiderlax
08-08-2007, 03:56 AM
Hows the update coming along?, I'm waiting to install this on my 3.6.8 board, thanks Dismounted :)

Dismounted
08-08-2007, 06:21 AM
I'm a bit busy with homework, but it's coming along.

raiderlax
08-08-2007, 07:50 AM
I'm a bit busy with homework, but it's coming along.


Okay thanks Dismounted for the update, take your time on it, we appreciate your work!

Snider
08-08-2007, 10:58 AM
waiting patiently !!

skrazydogz
08-11-2007, 12:18 PM
it doesn`t work on vbulletin 3.6.8 :(

Rat1972
08-11-2007, 02:39 PM
indeed, doesnt work in 3.6.8

sunnycher
08-11-2007, 05:10 PM
If you have a paid forum, can it be set to REGISTERED members see first post but to read the rest you must become a PREMIUM member and send them to the link to join the site by paying for membership?

bigraph
08-11-2007, 06:54 PM
sweet, hopefully more register!

raiderlax
08-11-2007, 07:02 PM
it doesn`t work on vbulletin 3.6.8 :(

Yes their is a new UPDATE that is going to come out soon, the coder is just currently busy at the moment, give him/her some time and it should be an awesome mod, hopefully working for 3.6.8 :)

bigraph
08-11-2007, 07:11 PM
woops, doesnt work on 3.6.8, will wait out for new version

yaoren
08-12-2007, 12:52 AM
**Installed**

But can't get it working on 3.6.7
I followed the instructione but no joy :(
(disabled until update comes out)

Update

I had to uninstall due to the fact I couldn't see any posts made in the forum. I could see the title of it but once you click on that, the post itself was blank... no good when you have files to share ;)

Thanks ... but no thanks!

HarryBO
08-14-2007, 05:39 PM
Same problem as yaoren :(

raiderlax
08-14-2007, 05:59 PM
Everyone just wait until the update comes out :)

HarryBO
08-14-2007, 08:52 PM
@yaoren: You must reinstall the entries @postbit & postbit legacy, then you can see all posts ;)

El Burro
08-15-2007, 03:13 PM
Hi just came across this thread.

Sounds great ... any evidence from anyone that it actually increases registration rates?

Thanks
El Burro

austrainer
08-16-2007, 04:03 AM
I'm noticing more regular signups

Hi just came across this thread.

Sounds great ... any evidence from anyone that it actually increases registration rates?

Thanks
El Burro

Dismounted
08-16-2007, 12:31 PM
Hi just came across this thread.

Sounds great ... any evidence from anyone that it actually increases registration rates?

Thanks
El Burro
Why wouldn't it? If you've got interesting threads, people want to read them. :)

Zagis
08-24-2007, 03:53 PM
I'm getting db error when I'm trying to use usernote.php

Database error in vBulletin 3.6.8:

Invalid SQL:
SELECT gfpoforumoptions FROM for_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 : Friday, August 24th 2007 @ 10:25:14 AM
Script : http://www.xxxxxxxxxx/forum/usernote.php?do=viewuser&u=456 (https://www.vbulletin.com/link.php?u=http%3A%2F%2Fwww.malinoiscanary.gr%2Ffo rum%2Fusernote.php%3Fdo%3Dviewuser%26u%3D456)
Referrer : http://www.xxxxxxxxxx/forum/usernote.php?do=newnote&u=456 (https://www.vbulletin.com/link.php?u=http%3A%2F%2Fwww.malinoiscanary.gr%2Ffo rum%2Fusernote.php%3Fdo%3Dnewnote%26u%3D456)
IP Address : xxxxxxxxxx
Username : xxxxxxxxxx
Classname : vb_database

Problem solved by disabling the product.

Dismounted
08-26-2007, 07:49 AM
I know the issues surrounding this modification, hopefully I will find time soon to correct these.

raiderlax
08-31-2007, 02:12 AM
So hows it going ? :)

Dismounted
08-31-2007, 10:48 AM
Still trying to fit time in. I'm really busy as I've got interim exams.

foulplay
09-04-2007, 06:15 AM
any updates? I really need this hack

succo
09-23-2007, 05:09 PM
ok, for the usernote error, add a plugin at usernote_start with $isnotpost = 1; in it... that's all :)

MediaHound
09-27-2007, 04:36 PM
Forums and Moderators->Forum Manager->Choose "Edit Forum" from the drop down for one of your forums and click "Go".

Then at the bottom you get:

https://vborg.vbsupport.ru/external/2007/09/11.jpg

There doesn't appear to be any global on or off setting

I installed the mod and would like to start using it, however I'm not seeing this bit when I click to edit any of my forums.
https://vborg.vbsupport.ru/external/2007/09/11.jpg
and so I cannot turn it on!
Any advice?
3.6.0

MediaHound
09-28-2007, 12:50 AM
I figured it out
The install instructions suggest that for an upgrade to:
(Rebuild Bitfields):
* Goto http://YOURDOMAIN/admincp/index.php?do=buildbitfields

So, even though mine was a new installation, I rebuilt the bitfields, and now the enabling option appears for my forums.
May I suggest you fix your install directions so that new installations are directed to rebuild the bitfields as well as those doing an upgrade?
Hope this helps the rest of you that are to shy to post that it didn't work when you follow the directions :)

MediaHound
09-28-2007, 12:51 AM
and btw, great mod, don't get me wrong... :)
I appreciate your hard work on it, really, much appreciated!
:)

MediaHound
09-28-2007, 01:00 AM
One thing that would be really cool would be to change the message from:
To see more of this thread, please login or register.
to:
This thread has ## replies! To see more of this thread, please login or register.
(or if 1 reply, to singular reply...)

...so that it pulls the number of replies and inserts it.
That would be great! :)

Thanks again, this mod should be a default feature of vb!

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
In the plugin 'Guest Check', find:
if (($show['guest']) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1))
Replace With:
if (($show['guest']) AND (is_member_of($vbulletin->userinfo, 3)) AND (!$bot) AND ($post['postcount'] == 1) AND ($gfpo == 1))
Find:
elseif ((!$show['guest']) OR ($bot) OR ($gfpo == 0))
Replace With:
elseif ((!$show['guest']) OR (!is_member_of($vbulletin->userinfo, 3)) 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:
is_member_of($bbuserinfo, 3,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).
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
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 (https://vborg.vbsupport.ru/showthread.php?p=1324845#post1324845)?

charles abiola
10-01-2007, 03:40 AM
It should be working...Maybe add this to the top of the plugin (if it's not already there).
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
Hello Dismounted,

Any plans for fixing this (https://vborg.vbsupport.ru/showthread.php?p=1324845#post1324845)?
A solution was posted a few posts after (I believe).
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
A solution was posted a few posts after (I believe).
I think you mean this: ok, for the usernote error, add a plugin at usernote_start with $isnotpost = 1; in it... that's all :) but I'm not quite sure how to do that.

Where to add $isnotpost = 1; ?

Any help would be appreciated.

Thanks

charles abiola
10-02-2007, 02:47 AM
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
I think you mean this: but I'm not quite sure how to do that.

Where to add $isnotpost = 1; ?

Any help would be appreciated.

Thanks
Add it in a plugin, the hook location was given in that post.
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
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
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
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:
<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:
<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 ?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

youradhere4222
12-27-2007, 03:35 PM
I'm running 3.7.2, and this isn't working.

I've set the permissions under the forum manager, and I'm still not seeing results. I've uninstalled and installed again - nothing is happening. :(

WreckRman2
12-27-2007, 03:52 PM
Designed for vB Version: 3.6.x

UltraFanatics
12-28-2007, 09:32 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.

Can you do this for me please? I have tried time and time again but still can't get it working

UltraFanatics
12-28-2007, 12:46 PM
Now done, awesome mod!

Zagis
01-02-2008, 05:28 PM
This is a great hack, however I'd like to now if what this mod does consider as cloaking tecnology? I mean, is it possible to get banned from SEs because of using this hack?

Zagis
01-03-2008, 01:03 PM
this mod uses cloaking tecnology?
Well, I guess it does even if I'm not getting any answers, so I have to uninstall this product cuz I think is better to get less registrations than to get banned from search engines (soon or later).

abroad
01-04-2008, 10:24 AM
I would like to have this for 3.7.0!!!

Dismounted
01-04-2008, 02:47 PM
This is a great hack, however I'd like to now if what this mod does consider as cloaking tecnology? I mean, is it possible to get banned from SEs because of using this hack?
I haven't heard of anyone complain about it.
Well, I guess it does even if I'm not getting any answers, so I have to uninstall this product cuz I think is better to get less registrations than to get banned from search engines (soon or later).
I'm not online 24/7 to answer questions. Going overseas makes it even harder to get online.
I would like to have this for 3.7.0!!!
As with my other modifications, I haven't had the time to play with 3.7 yet, but they will get there.

buurman
01-17-2008, 11:35 AM
Just what I was looking for, thank you very much m8!!!

buurman
01-17-2008, 01:13 PM
Counted all my <if and </if> in all my postbits, but its not working, am I missing something?

Thx for the help in advance...