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)

Dismounted 12-28-2006 10:00 PM

Guests First Post Only
 
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 :
Quote:

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

Quote:

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

Quote:

Originally Posted by Smoothie (Post 1147087)
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 :

Quote:

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 : !!

Quote:

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

Quote:

Originally Posted by Mecho (Post 1149027)
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

Quote:

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

Quote:

Originally Posted by Mecho (Post 1149027)
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

Quote:

Originally Posted by AzianStang (Post 1150734)
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

Quote:

Originally Posted by Mecho (Post 1149027)
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

Quote:

Originally Posted by Freak0204 (Post 1149540)
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

Quote:

Originally Posted by hIBEES (Post 1150748)
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:


All times are GMT. The time now is 05:23 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.01396 seconds
  • Memory Usage 1,817KB
  • 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
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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