vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Show Thread Enhancements - Guests First Post Only (https://vborg.vbsupport.ru/showthread.php?t=184717)

Dismounted 07-07-2008 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.6 - https://vborg.vbsupport.ru/showthread.php?t=135016

Dismounted 07-08-2008 02:54 PM

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

RACHR 07-08-2008 03:06 PM

Great MOD, works fine.

Automatical ENABLED for all Forums when i Install this, does Goes better.

Why?
Anybody must set all the Sections on enable..............ich ca 40 Forums ^^
This can be modification that any Section is automatical anabled when i install this??

Sry, for this english, iam german

UltraFanatics 07-08-2008 04:52 PM

Just installed this mod and now I cant see anything even when logged in!!

I disabled it and it's still the same so no users can see any threads heeeeeeeeeeeeeelp

UltraFanatics 07-08-2008 05:03 PM

Quote:

Originally Posted by UltraFanatics (Post 1570220)
Just installed this mod and now I cant see anything even when logged in!!

I disabled it and it's still the same so no users can see any threads heeeeeeeeeeeeeelp

Deleted the mod now and it's still empty!

Any ideas I need serious help ASAP

UltraFanatics 07-08-2008 05:18 PM

Panic over!

I found the old code still in my template for some reason so must have affected it majorly. PHEW!

Now working perfect so thanks mate, a truely superb mod but remember everyone to delete your old code.

Quick question - This doesn't affect spiders and vbseo looking at the hidden posts does it?

KURTZ 07-08-2008 06:56 PM

Dismounted comes onto 3.7.x ... :D

7lanet 07-08-2008 08:15 PM

Does this affect the work of archiving search engines? ex / google : yahoo ???

Hornstar 07-08-2008 09:40 PM

Quote:

Originally Posted by 7lanet (Post 1570403)
Does this affect the work of archiving search engines? ex / google : yahoo ???

If you were to make it show for search engines and not guests, that would be bad for seo anyway.

Dismounted 07-09-2008 04:49 AM

Quote:

Originally Posted by UltraFanatics (Post 1570220)
Just installed this mod and now I cant see anything even when logged in!!

I disabled it and it's still the same so no users can see any threads heeeeeeeeeeeeeelp

Quote:

Originally Posted by UltraFanatics (Post 1570229)
Deleted the mod now and it's still empty!

Any ideas I need serious help ASAP

Quote:

Originally Posted by UltraFanatics (Post 1570238)
Panic over!

I found the old code still in my template for some reason so must have affected it majorly. PHEW!

Now working perfect so thanks mate, a truely superb mod but remember everyone to delete your old code.

This shows that people don't read the ReadMe file ;).
Quote:

Originally Posted by KURTZ (Post 1570317)
Dismounted comes onto 3.7.x ... :D

Slowly, one by one :D. If you look in my profile, you might be able to guess which is coming next ;).
Quote:

Originally Posted by UltraFanatics (Post 1570220)
Quick question - This doesn't affect spiders and vbseo looking at the hidden posts does it?

Quote:

Originally Posted by 7lanet (Post 1570403)
Does this affect the work of archiving search engines? ex / google : yahoo ???

See below. SEs will penalise you for doing that. I believe that some will even remove your listing. Posts in the archive are not "hidden", so they will still be indexed anyway. I am looking in to having an option to "hide" posts in the archive as well.
Quote:

Originally Posted by hornstar1337 (Post 1570463)
If you were to make it show for search engines and not guests, that would be bad for seo anyway.


Dismounted 07-09-2008 06:17 AM

Modification Updated!

Changes From Version 1.5 To 1.6
- Enabled By Default On New Install (Archive Disabled By Default)
- Added Archive Hiding
- Fixed Possible Compatibility Issues

Q-v-n-s-Q 07-09-2008 06:44 AM

nice mod, thanks

verino 07-09-2008 07:21 AM

Thank's mate *installed* :D

Nevermind, need to disabled it for certain forum :D

KURTZ 07-09-2008 08:41 AM

Quote:

Originally Posted by Dismounted
Slowly, one by one . If you look in my profile, you might be able to guess which is coming next .

ehehe slowly and painless ... :D

ps. thx for the update ;)

Mecho 07-09-2008 05:52 PM

This is one of my favorite mods . using for along time and i'm happy to have it .

Great update Dismounted , just one suggestion :

to make it easier for us make an admin option that we can put the forums id and exclude the forums that we want , instead of go to each forum and set them one by one :D

Thanks man

unicorn2433 07-09-2008 06:22 PM

Quote:

Originally Posted by 7lanet (Post 1570403)
Does this affect the work of archiving search engines? ex / google : yahoo ???

wondering same thing.
Will the search engines still be able to do their thing?

Dismounted 07-10-2008 05:42 AM

Quote:

Originally Posted by Mecho (Post 1571220)
Great update Dismounted , just one suggestion :

to make it easier for us make an admin option that we can put the forums id and exclude the forums that we want , instead of go to each forum and set them one by one :D

The reason I won't do this is because it is not "non-geek" user friendly. vBulletin has the functionality to set things on a forum basis via the Admin CP, that is what I will utilise.
Quote:

Originally Posted by unicorn2433 (Post 1571249)
wondering same thing.
Will the search engines still be able to do their thing?

Please read the thread ;).

jorgejgm 07-10-2008 08:44 AM

In old versions was modifying the postbit template to introduce new columns with code of adsense. Since I can do it in this version?

Thankyou

UltraFanatics 07-10-2008 09:38 AM

I didn't realise that this affects search engines and vbseo, I guess I will have to uninstall it :(

Damn my favourite mod too

Dismounted 07-10-2008 10:16 AM

Quote:

Originally Posted by jorgejgm (Post 1571781)
In old versions was modifying the postbit template to introduce new columns with code of adsense. Since I can do it in this version?

Thankyou

You can do anything to your postbit template - the new version does not even touch it.

jorgejgm 07-10-2008 10:27 AM

I do not find the code in the postbit:

Code:

<!-- 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">To see more of this thread, please login or <a href="register.php">register</a>.</td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->

you use a new code?because de mod work

Thankyou

UltraFanatics 07-10-2008 10:47 AM

Does anyone actually know how bad this affects engines and vbseo?

I really dont want to uninstall this mod but if it realy does affect them then I think I will have too :(

Dismounted 07-10-2008 12:22 PM

Quote:

Originally Posted by jorgejgm (Post 1571832)
I do not find the code in the postbit:

Code:

<!-- 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">To see more of this thread, please login or <a href="register.php">register</a>.</td>
</tr>
</table>
</if>
</if>
<!-- End Guests First Post Only Hack -->

you use a new code?because de mod work

Thankyou

Please read the ReadMe carefully. If you are installing a new copy - read the "Installation" section. If you are upgrading from 1.4/1.3/1.2/1.1, read the "Upgrading from Pre-1.5" section. If you are upgrading from 1.5, read the "Upgrading After 1.5" section.
Quote:

Originally Posted by UltraFanatics (Post 1571836)
Does anyone actually know how bad this affects engines and vbseo?

The only thing that happens is that SEs don't see your second, third, etc. posts, only the first. Therefore, they will only index the first post of a thread.

jorgejgm 07-10-2008 04:27 PM

Hello,
In the readme.html does not say anything, ultimately investigating I have seen that is necessary to modify postbit_gfpo for the last version.

Regards.

Dismounted 07-11-2008 05:02 AM

You should have said you wanted to modify the message. You seemed like you were upgrading and couldn't find the old code to remove.

You can modify the phrases "gfpo_login_or_register" and "gfpo_welcome" to change the messages. These phrases are used in three places (postbit_gfpo, printthread_gfpo, and in the archive).

jorgejgm 07-11-2008 06:48 AM

Sorry, my english bad bad bad

Koroku 07-16-2008 10:23 PM

Is there a way of installing this so that by default, all forums are visible?

I have a single forum that I would like to use this on, and about 100 that I don't... so I don't really want to have to go and manually edit the 100 others. >_>

Otherwise, this sounds like a great mod :D

Dismounted 07-17-2008 11:15 AM

One moment, everyone wants it all on by default, the next, everyone wants it off. :D

In the XML, find:
Code:

        $db_alter->add_field(array(
                'name' => 'gfpo_enabled',
                'type' => 'smallint',
                'attributes' => 'unsigned',
                'null' => false,
                'default' => 1
        ));

Replace With:
Code:

        $db_alter->add_field(array(
                'name' => 'gfpo_enabled',
                'type' => 'smallint',
                'attributes' => 'unsigned',
                'null' => false,
                'default' => 0
        ));

Find:
Code:

$forum = array_merge($forum, array('gfpo_enabled' => 1, 'gfpo_enabled_archive' => 0));
Replace With:
Code:

$forum = array_merge($forum, array('gfpo_enabled' => 0, 'gfpo_enabled_archive' => 0));

glenvw 07-17-2008 07:07 PM

I have a lot of trouble getting people to register. Do you that use this find this helps?

Also, does this prevent the search engines from spidering?

Koroku 07-17-2008 07:48 PM

Quote:

Originally Posted by Dismounted (Post 1577650)
One moment, everyone wants it all on by default, the next, everyone wants it off. :D

Thanks!

Maybe you could do something like have two versions of the mod - one with it on by default, one with it off. :D
Quote:

Originally Posted by glenvw (Post 1577911)
Also, does this prevent the search engines from spidering?

Read the thread~

G-man 07-17-2008 07:57 PM

Just installed this on forums, but it does nto seem to function. Is there a place I can check what usergroup ID I need to have the guest group AKA unregistered/notlogged in set at?

BTW I DID read the instructions, thanks...

Dismounted 07-18-2008 07:07 AM

You shouldn't have to set anything, except for enable/disable it for each forum.

westward 07-23-2008 10:29 PM

Ok, so I have everything installed. As per this request - what should I be looking for so that only paid subscribers can view the entire thread - and only non paid subscribers can view the first post.

Thanks!

Dismounted 07-24-2008 07:57 AM

What is the usergroup ID of "non-subscribers"?

westward 07-24-2008 11:18 PM

the subscribers to one forum is 9 and another forum is 10

kofoid 07-25-2008 01:34 AM

love it - thanks!

Deepdog009 07-25-2008 05:39 AM

Dank U!

Dismounted 07-27-2008 03:57 AM

Quote:

Originally Posted by westward (Post 1583466)
the subscribers to one forum is 9 and another forum is 10

Quote:

Originally Posted by Dismounted (Post 1582917)
What is the usergroup ID of "non-subscribers"?

That is, the IDs of usergroups who should see the message.

westward 07-30-2008 03:22 PM

got it, okay so for one it would be "1,2,3,4,8,10"

and the other would be "1,2,3,4,8,9"

Did I understand the question correctly?

Dismounted 07-31-2008 07:01 AM

And the respective forum IDs?


All times are GMT. The time now is 06:05 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.02365 seconds
  • Memory Usage 1,836KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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