vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Limited Guest Viewing -- Motivate Guests to Register (https://vborg.vbsupport.ru/showthread.php?t=231352)

LowKey 12-29-2009 11:31 PM

Totally Sweet Man, Nominated!

gurler 12-30-2009 01:33 AM

installed and nominated.
it looks like good. i am analysing now the pageview/registeration.

may it include "thread view count / per hour or per day" ?
it will be good.

Ted S 12-30-2009 03:21 AM

Quote:

Originally Posted by gurler (Post 1942079)
installed and nominated.
it looks like good. i am analysing now the pageview/registeration.

may it include "thread view count / per hour or per day" ?
it will be good.

Can you elaborate on what you're looking for here?

gurler 12-30-2009 03:39 AM

Quote:

Originally Posted by Ted S (Post 1942135)
Can you elaborate on what you're looking for here?

i can`t understand what do you want to mean ?

Ted S 12-30-2009 03:46 AM

Quote:

Originally Posted by gurler (Post 1942143)
i can`t understand what do you want to mean ?

I am hoping you can further explain the feature(s) you would like to see added to this modification.

gurler 12-30-2009 03:52 AM

Ok. Thank you very much for coded this mod.
Its really thing what i need.

Alibass 12-30-2009 04:08 AM

Ted S

Okay I thought I had IP's older than a few days old yesterday, but apparently not. I checked them tonight and the IP's I wanted deleted were gone except for the newer ones from today and that's great, the mod is working fine.

I also downloaded the new php file and uploaded to my server and the log entries are working now too.

Great job and thank you. Nominated for MOTM. :D

Ted S 12-31-2009 05:53 AM

Quote:

Originally Posted by Alibass (Post 1942168)
Ted S

Okay I thought I had IP's older than a few days old yesterday, but apparently not. I checked them tonight and the IP's I wanted deleted were gone except for the newer ones from today and that's great, the mod is working fine.

I also downloaded the new php file and uploaded to my server and the log entries are working now too.

Great job and thank you. Nominated for MOTM. :D

Awesome!

meissenation 01-20-2010 11:07 PM

Can you please explain the difference between take-over and block? Is Take-Over the warning message while Block is the force user to register? There's no mention of which is which in the add-on description or the install file.

Edit: Nevermind - reading the phrases made it more clear. Would be nice to have a better description explicitly defining both somewhere.

Edit Edit: I have this installed and it's not doing anything. I just viewed 30 threads even though I have Register Take-Over set to 10 and it's not doing anything. Link in signature if you'd like to try to recreate. And I do have the
{vb:raw lgvmessage} in my navbar template.

Ted S 01-20-2010 11:50 PM

Quote:

Originally Posted by meissenation (Post 1961793)

Edit Edit: I have this installed and it's not doing anything. I just viewed 30 threads even though I have Register Take-Over set to 10 and it's not doing anything. Link in signature if you'd like to try to recreate. And I do have the
{vb:raw lgvmessage} in my navbar template.

What are all of your settings?

Talk-Pets 01-21-2010 01:52 PM

Quote:

Originally Posted by SoFresh (Post 1939775)
BTW, it would be awesome if you could set it so that guests could only see the first post of a thread or something like that!

+1 - that would made us install this :up:

meissenation 01-21-2010 05:56 PM

Quote:

Originally Posted by Ted S (Post 1961836)
What are all of your settings?

Enable Limited Guest Viewing - Yes
Enable Database Logging - No
Enable Register Take-Over Message - Yes
Register Take-Over Message Count - 10
Enable Register Block Page - No
Register Block Page Count - 10 (N/A)
Excluded Forum IDs - 0
Clear IP Activity Log - Never (N/A)

navbar template:
HTML Code:

<div id="navbar" class="navbar">

        <ul id="navtabs" class="navtabs floatcontainer<vb:if condition="$show['member'] AND $notifications_total"> notify</vb:if>">
                {vb:raw template_hook.navtab_start}
                <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT != 'search'">
                        <li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>
                                <ul class="floatcontainer">
                                        {vb:raw template_hook.navbar_start}
                                        <vb:if condition="$show['searchbuttons']">
                                                <vb:if condition="$show['member']">
                                                <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>
                                                <vb:else />
                                                <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li>
                                                </vb:if>
                                        </vb:if>
                                        {vb:raw template_hook.navbar_after_getnew}
                                        <vb:if condition="$show['pmmainlink']">
                                                <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
                                        </vb:if>
                                        {vb:raw template_hook.navbar_after_pm}
                                        <li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase faq}</a></li>
                                        {vb:raw template_hook.navbar_after_faq}
                                        <li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>
                                        {vb:raw template_hook.navbar_after_calendar}

                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">{vb:rawphrase community}</a>
                                                <ul class="popupbody popuphover">
                                                        {vb:raw template_hook.navbar_community_menu_start}
                                                        <vb:if condition="$show['quick_links_groups']">
                                                                <li><a href="group.php{vb:raw session.sessionurl_q}">{vb:rawphrase social_groups}</a></li>
                                                        </vb:if>
                                                        <vb:if condition="$show['quick_links_albums']">
                                                                <li><a href="album.php{vb:raw session.sessionurl_q}">{vb:rawphrase pictures_and_albums}</a></li>
                                                        </vb:if>
                                                        <vb:if condition="$bbuserinfo['userid']">
                                                                <li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li>
                                                        </vb:if>
                                                        <vb:if condition="$show['memberslist']">
                                                                <li><a href="memberlist.php{vb:raw session.sessionurl_q}">{vb:rawphrase members_list}</a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_community_menu_end}
                                                </ul>
                                        </li>
                                        {vb:raw template_hook.navbar_after_community}
                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">{vb:rawphrase forum_actions}</a>
                                                <ul class="popupbody popuphover">
                                                        <li>
                                                                <a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a>
                                                        </li>
                                                        <vb:if condition="$show['member']">
                                                        <li>
                                                                <a href="profile.php?{vb:raw session.sessionurl}do=editoptions">{vb:rawphrase edit_options}</a>
                                                        </li>
                                                        <li>
                                                                <a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a>
                                                        </li>
                                                        </vb:if>
                                                </ul>
                                        </li>
                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">{vb:rawphrase quick_links}</a>
                                                <ul class="popupbody popuphover">
                                                        <vb:if condition="$show['member']">
                                                        <vb:if condition="$show['member']">
                                                                <li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
                                                        </vb:if>
                                                        <li>
                                                                <a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a>
                                                        </li>
                                                        </vb:if>
                                                        <vb:if condition="$vboptions['forumleaders']">
                                                        <li><a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
                <vb:if condition="$vb_suite_installed">
                        {vb:rawphrase view_site_leaders}
                <vb:else />
                        {vb:rawphrase view_forum_leaders}
                </vb:if>
        </a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos1}
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos2}
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos3}
                                                        <vb:if condition="$show['wollink']">
                                                                <li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos4}
                                                </ul>
                                        </li>
                                        {vb:raw template_hook.navbar_end}
                                </ul>

                        </li>
                <vb:elseif condition="$vboptions['selectednavtab']=='usercp'" />
                        <li class="selected"><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a>
                                <ul class="floatcontainer">
                                        {vb:raw template_hook.navbar_start}
                                        <vb:if condition="$show['searchbuttons']">
                                                <vb:if condition="$show['member']">
                                                <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>
                                                <vb:else />
                                                <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li>
                                                </vb:if>
                                        </vb:if>
                                        {vb:raw template_hook.navbar_after_getnew}
                                        <vb:if condition="$show['pmmainlink']">
                                                <li><a href="private.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase private_messages}</a></li>
                                        </vb:if>
                                        {vb:raw template_hook.navbar_after_pm}
                                        <li><a rel="help" href="faq.php{vb:raw session.sessionurl_q}">{vb:rawphrase faq}</a></li>
                                        {vb:raw template_hook.navbar_after_faq}
                                        <li><a href="calendar.php{vb:raw session.sessionurl_q}">{vb:rawphrase calendar}</a></li>
                                        {vb:raw template_hook.navbar_after_calendar}
                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">{vb:rawphrase community}</a>
                                                <ul class="popupbody popuphover">
                                                        {vb:raw template_hook.navbar_community_menu_start}
                                                        <vb:if condition="$show['quick_links_groups']">
                                                                <li><a href="group.php{vb:raw session.sessionurl_q}">{vb:rawphrase social_groups}</a></li>
                                                        </vb:if>
                                                        <vb:if condition="$show['quick_links_albums']">
                                                                <li><a href="album.php{vb:raw session.sessionurl_q}">{vb:rawphrase pictures_and_albums}</a></li>
                                                        </vb:if>
                                                        <vb:if condition="$bbuserinfo['userid']">
                                                                <li><a href="profile.php?{vb:raw session.sessionurl}do=buddylist"><vb:if condition="$show['friends_and_contacts']">{vb:rawphrase contacts_and_friends}<vb:else />{vb:rawphrase contacts}</vb:if></a></li>
                                                        </vb:if>
                                                        <vb:if condition="$show['memberslist']">
                                                                <li><a href="memberlist.php{vb:raw session.sessionurl_q}">{vb:rawphrase members_list}</a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_community_menu_end}
                                                </ul>
                                        </li>
                                        {vb:raw template_hook.navbar_after_community}
                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">{vb:rawphrase forum_actions}</a>
                                                <ul class="popupbody popuphover">
                                                        <li>
                                                                <a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a>
                                                        </li>
                                                        <vb:if condition="$show['member']">
                                                        <li>
                                                                <a href="profile.php?{vb:raw session.sessionurl}do=editoptions">{vb:rawphrase edit_options}</a>
                                                        </li>
                                                        <li>
                                                                <a href="profile.php?{vb:raw session.sessionurl}do=editprofile">{vb:rawphrase edit_your_details}</a>
                                                        </li>
                                                        </vb:if>
                                                </ul>
                                        </li>
                                        <li class="popupmenu">
                                                <a href="javascript://" class="popupctrl">{vb:rawphrase quick_links}</a>
                                                <ul class="popupbody popuphover">
                                                        <li><a href="subscription.php{vb:raw session.sessionurl_q}" rel="nofollow">{vb:rawphrase subscribed_threads}</a></li>
                                                        <li>
                                                                <a href="javascript://" onclick="window.open(getBaseUrl() + 'misc.php?{vb:raw session.sessionurl}do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">{vb:rawphrase open_contacts}</a>
                                                        </li>
                                                        <vb:if condition="$vboptions['forumleaders']">
                                                        <li>
                                                                <a href="showgroups.php{vb:raw session.sessionurl_q}" rel="nofollow">
                <vb:if condition="$vb_suite_installed">
                        {vb:rawphrase view_site_leaders}
                <vb:else />
                        {vb:rawphrase view_forum_leaders}
                </vb:if>
        </a>
                                                        </li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos1}
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos2}

                                                        {vb:raw template_hook.navbar_quick_links_menu_pos3}

                                                        <vb:if condition="$show['wollink']">
                                                                <li><a href="online.php{vb:raw session.sessionurl_q}">{vb:rawphrase whos_online}</a></li>
                                                        </vb:if>
                                                        {vb:raw template_hook.navbar_quick_links_menu_pos4}
                                                </ul>
                                        </li>
                                        {vb:raw template_hook.navbar_end}
                                </ul>
                        </li>
                <vb:else />
                        <li><a class="navtab" href="{vb:raw vboptions.forumhome}.php{vb:raw session.sessionurl_q}">{vb:rawphrase forum}</a></li>
                </vb:if>
                {vb:raw template_hook.navtab_middle}
                <vb:if condition="!$vboptions['selectednavtab'] AND THIS_SCRIPT == 'search'">
                        <vb:if condition="$show['member']">
                        <li  class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a>
                                <ul class="floatcontainer">
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase new_posts_nav}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_SocialGroupMessage">{vb:rawphrase new_group_messages_nav}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Event">{vb:rawphrase new_events_nav}</a></li>
                                        {vb:raw template_hook.navbar_getnew_menu}
                                        <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a></li>
                                </ul>
                        </li>
                        <vb:else />
                        <li  class="selected"><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a>
                                <ul class="floatcontainer">
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase todays_posts}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_SocialGroupMessage">{vb:rawphrase daily_group_message}</a></li>
                                        <li><a href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Event">{vb:rawphrase daily_events}</a></li>
                                        {vb:raw template_hook.navbar_getdaily_menu}
                                        <li><a href="forumdisplay.php?{vb:raw session.sessionurl}do=markread">{vb:rawphrase mark_forums_read}</a></li>
                                </ul>
                        </li>
                        </vb:if>
                <vb:elseif condition="$show['member']" />
                        <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getnew&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>
                <vb:else />
                        <li><a class="navtab" href="search.php?{vb:raw session.sessionurl}do=getdaily&amp;contenttype=vBForum_Post">{vb:rawphrase getnew_tab}</a></li>
                </vb:if>
                {vb:raw template_hook.navtab_end}
        </ul>

        <vb:if condition="$vboptions['enablesearches']">
        <div id="globalsearch" class="globalsearch">
                <form action="search.php?do=process" method="post" id="navbar_search" class="navbar_search">
                        <input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
                        <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                        <input type="hidden" name="do" value="process" />
                        <span class="textboxcontainer"><span><input type="text" value="" name="query" class="textbox" /></span></span>
                        <span class="buttoncontainer"><span><input type="image" class="searchbutton" src="{vb:stylevar imgdir_button}/search.png" name="submit" onclick="document.getElementById('navbar_search').submit;" /></span></span>
                </form>
                <ul class="navbar_advanced_search">
                        <li><a href="search.php{vb:raw session.sessionurl_q}">{vb:rawphrase advanced_search}</a></li>
                </ul>
        </div>
        </vb:if>
</div>
</div><!-- closing div for above_body -->

<div class="body_wrapper">
<!-- TheWindows7Site Notifications -->

<vb:if condition="$notifications_total">

<div style="margin: 5px 5px;"> <div style="padding-top:10px; padding-left: 5px; padding-right: 5px;"> <div style=" -moz-border-radius-bottomleft:5px; -moz-border-radius-bottomright:5px; -moz-border-radius-topleft:5px; -moz-border-radius-topright:5px; background:#000000 none repeat scroll 0 0; border:1px solid #be0000; margin:5px 10px 0; text-align:justify; ">

<div style="padding-top:3px; padding-bottom:3px;">

<table width="100%" border="0"> <tbody> <tr>
<td width="5%" align="center"><img alt="" src="./images/notification.png" width="40" height="40"/></td>
<td width="90%">


               
                    <b><u>{vb:rawphrase your_notifications}</u>: <span class="notifications-number"><blink>{vb:raw notifications_total}</span></b></blink>
                   
                        <li><ul>{vb:raw notifications_menubits}</ul>
                   
                </li>
               

</td>
<td width="5%"></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</vb:if>

<!-- / TheWindows7Site Notifications --> 
<div id="breadcrumb" class="breadcrumb">
        <ul class="floatcontainer">
                <li class="navbithome"><a href="index.php{vb:raw session.sessionurl_q}" ><img src="{vb:stylevar imgdir_misc}/navbit-home.png" alt="{vb:rawphrase home}" /></a></li>

                {vb:raw navbits.breadcrumb}
                {vb:raw navbits.lastelement}
        </ul>
        <hr />
</div>

{vb:raw ad_location.ad_navbar_below}
{vb:raw ad_location.global_below_navbar}

<vb:if condition="$show['notices']">
        <form action="profile.php?do=dismissnotice" method="post" id="notices" class="notices">
                <input type="hidden" name="do" value="dismissnotice" />
                <input type="hidden" name="s" value="{vb:raw session.sessionurl}" />
                <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                <input type="hidden" id="dismiss_notice_hidden" name="dismiss_noticeid" value="" />
                <input type="hidden" name="url" value="{vb:raw return_link}" />
                <ol>
                        {vb:raw notices}
                </ol>
        </form>
</vb:if>

{vb:raw template_hook.forumhome_below_navbar}

{vb:raw lgvmessage}

<br>
<center><font size="-3"><a href="http://www.mifbody.com/vbulletin/advertise.php">Click here for Advertising Information</A></font><br>
<!--@vbbanners:0@-->
</center>
<br>


{vb:raw ss_rightcolumn_start}


Zelda-King 01-23-2010 07:38 AM

Working a charm for me on 4.0.1, thanks! Nice to see good punctuation in the messages too.

Rene Kriest 01-23-2010 01:07 PM

W00000000000t!

I was desperately waiting for the vb4 version of this great addon. To me this is one of the top 5 addons of all time.

Great job, I really appreciate your work.

Ted S 01-24-2010 07:41 PM

Quote:

Originally Posted by Zelda-King (Post 1964147)
Working a charm for me on 4.0.1, thanks! Nice to see good punctuation in the messages too.

Sounds like you've had some bad experiences with writing in other modifications, hopefully none were from me!

meissenation 01-25-2010 09:16 PM

1 Attachment(s)
For those that say working like a charm - did they actually test it? I can not get the mod to do anything while viewing as a guest and I've followed the instructions...


Edit: Should the hook location for lgv_plugin be itself? I think that's why I'm having the problem - it's not recognizing the hook location. I tried putting debug=1 to see what it'd do but then I realized I can't save the plugin because the hook location seems to be invalid.

Attachment 111061

Attachment 111062

Ted S 01-26-2010 01:43 AM

Yes it's been tested, I don't release a mod without testing one.

Please view your site as a guest and insure that the cookie lgv is getting set and increased.

albrens 01-26-2010 04:36 AM

Good works.

Thanks

meissenation 01-26-2010 12:42 PM

Quote:

Originally Posted by Ted S (Post 1966702)
Yes it's been tested, I don't release a mod without testing one.

Please view your site as a guest and insure that the cookie lgv is getting set and increased.

Just checked - it's at 37 and increases every time I view a different page.

Again - is it normal that the hook location for lgv_plugin is lgv_plugin? How can one edit the plugin if the hook location doesn't exist? I can't save it or make any modifications because the hook location comes up blank when I click "Edit"

Ted S 01-27-2010 07:14 AM

Quote:

Originally Posted by meissenation (Post 1967014)
Just checked - it's at 37 and increases every time I view a different page.

Again - is it normal that the hook location for lgv_plugin is lgv_plugin? How can one edit the plugin if the hook location doesn't exist? I can't save it or make any modifications because the hook location comes up blank when I click "Edit"

Yes it is normal. The hook is called in 3 places rather than having the same code 3 times.

So I'm perfectly clear are you seeing either the message or the block warning? Or do neither show when enabled.

meissenation 01-27-2010 12:27 PM

Neither show. It looks like it's increasing the cookie perfectly but the plugin isn't triggering the template to display. If it is normal then how can I edit the plugin when I can't save it?

Ted S 01-27-2010 05:11 PM

That I can't tell you, perhaps there's a conflict in something else? I'm looking at it more but this mod with the code posted is working on my test sever right now.

What happens when you try and save?

Ted S 01-27-2010 05:13 PM

1 Attachment(s)
Also to add to my last post, for the cookie to be set the lgv_plugin hook has to be called. That's where the cookie code is.

Try the version attached which enables debugging and let me know how it works.

meissenation 01-27-2010 06:32 PM

Quote:

Originally Posted by Ted S (Post 1968152)
That I can't tell you, perhaps there's a conflict in something else? I'm looking at it more but this mod with the code posted is working on my test sever right now.

What happens when you try and save?

It won't let me because when I click to edit the plugin the hook location is blank - it doesn't recognize lgv_plugin as a valid hook location.

https://vborg.vbsupport.ru/attachmen...hmentid=111062

Ted S 01-27-2010 10:46 PM

Quote:

Originally Posted by meissenation (Post 1968234)
It won't let me because when I click to edit the plugin the hook location is blank - it doesn't recognize lgv_plugin as a valid hook location.

Well that I can fix easy enough but that still doesn't explain why it isn't being called... defining the hook like this shouldn't be an issue.

In any event please upload the new XML file in the latest version of this addon.

meissenation 01-27-2010 10:54 PM

I installed the XML file and doing testing now. I didn't realize at first that you have to click in the forums for the echos to show up.

http://www.mifbody.com/vbulletin/ if you want to test as well.

Ted S 01-27-2010 11:00 PM

Version 2.0.7 has been released which adds support for editing the hook location this modifcation uses. To update upload the files in upload/incldues/xml and the new XML plugin file. Most users do not need to upgrade.

meissenation 01-27-2010 11:04 PM

"db system not enabled
we have a qualified visit -- 17 hits
nothing is excluded
COOKIE: check for counts
nothing until 10"

Ted S 01-27-2010 11:09 PM

Ok so the debug code is telling us that neither the message nor the block page were executed which is why nothing is showing up.

Can you try removing the number for the take over so that all you have is the message count at 10?

meissenation 01-27-2010 11:16 PM

I actually had to disable the modification entirely - I don't know if it's because debug is turned on now or what but my website was basically completely useless for IE6. I'd click a link to browse to a thread and IE would literally become unresponsive. I could only browse to one or two threads and then IE6 would entirely lock up to the point that I would have to "End Task" it. I disabled every mod and the site worked fine and I just went through enabling every mod one by one and the site worked fine until I enabled this one again. Sorry, I gotta give up on this... now I know why my IE6 users were complaining about hating the new vbulletin 4 system.

Ted S 01-27-2010 11:19 PM

Yikes! I'm sorry you left debug on, that was something I definitely didn't intend. The point of the debug system is to see what's happening quickly, and then turn off the mod so I can adjust it. Definitely not something you want users to have to put up with.

Debugging should never actually show on the real site. Normally I state that up front so really my appologies for any confusion.

If you chose to try it again let me know, I think I know what the cause of your issue was.

meissenation 01-27-2010 11:28 PM

I'm open to trying things - I like the idea that this add-on offers.

Ted S 01-28-2010 03:18 AM

1 Attachment(s)
Quote:

Originally Posted by meissenation (Post 1968465)
I'm open to trying things - I like the idea that this add-on offers.

Well if you decide to reinstall let me know. I think we can get the issue you had resolved as I'm pretty sure it was just settings causing things not to run right and something I've updated in the attached version.

twizzler 01-28-2010 06:37 AM

It is a good one

Boots 01-30-2010 01:55 PM

I'm not totally convinced this works as designed but I'm going to run it. It doesn't appear to show the first warning for me no matter what I set the settings to. The final registration warning appears after the user views too many threads/posts though.

Ted S 01-30-2010 09:10 PM

Quote:

Originally Posted by Boots (Post 1970493)
I'm not totally convinced this works as designed but I'm going to run it. It doesn't appear to show the first warning for me no matter what I set the settings to. The final registration warning appears after the user views too many threads/posts though.

Well we can ignore all of the sites using it and assume the mod is wrong or we can assume they have it up for a reason and instead figure out what's up on yours... If the block message is showing we know it's at least running.

First thing to check, do you have the template variable added?

newmomsforum 02-03-2010 08:09 AM

Hi Ted, this looks like a great Mod :)

One question though, could it be tweaked so that it could be used for other member groups and not just for guests?

I have one forums which is restricted to Full members or those willing to pay a subscription and this would be a great way to give members who have already registered a sneak preview before they decide whether or not to pay the $ to subscribe :)

Thanks in advance

Regards

Mark

vexvegaz 02-03-2010 12:58 PM

hey ted great mod and thanks for sharing.

1 issue, links embedded inside code tags doesn't get parsed.

Ted S 02-03-2010 05:37 PM

Quote:

Originally Posted by newmomsforum (Post 1973753)
Hi Ted, this looks like a great Mod :)

One question though, could it be tweaked so that it could be used for other member groups and not just for guests?

I have one forums which is restricted to Full members or those willing to pay a subscription and this would be a great way to give members who have already registered a sneak preview before they decide whether or not to pay the $ to subscribe :)

Thanks in advance

Regards

Mark

Mark,

You could set it up to work this way but clearing cookies or jumping IPs would let people escape the filter and thus defeat the block.

Ted
Ted

GeorgeB85 02-04-2010 02:16 AM

Where do you go to edit the messages at? I have checked in my admincp and do not see any options.


All times are GMT. The time now is 06:54 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02114 seconds
  • Memory Usage 2,015KB
  • 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_html_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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