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)

Ted S 12-04-2011 11:35 PM

This mod is designed to work with threads only.

You could potentially extend it to other areas but that's really a matter of what content you show and how you want to limit things -- Few sites have ever asked about limiting articles and for good reason.

gox 12-18-2011 12:13 AM

Any issues reported with VB v4.1.9?

Ted S 12-18-2011 12:26 AM

Quote:

Originally Posted by gox (Post 2278715)
Any issues reported with VB v4.1.9?

4.x.x

Jack2k10 12-18-2011 01:07 AM

Hey I'm getting this error..
Quote:

CREATE TABLE lgv (
id int(7) unsigned NOT NULL auto_increment,
ipaddress VARCHAR(25) NOT NULL default '0.0.0.0',
firstaccess INT UNSIGNED NOT NULL DEFAULT '0',
views INT(4) NOT NULL DEFAULT '0',
lastactivity INT UNSIGNED NOT NULL DEFAULT '0',
PRIMARY KEY (id),
KEY indexs (ipaddress,views,lastactivity)
) TYPE=MyISAM;

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 'TYPE=MyISAM' at line 9
Error Number : 1064

Ted S 12-18-2011 05:56 AM

What version of mySQL are you using?

Jack2k10 12-18-2011 07:03 PM

Quote:

Originally Posted by Ted S (Post 2278760)
What version of mySQL are you using?

According to my developer[Site manager] it's the latest mysql

Ted S 12-18-2011 07:26 PM

Quote:

Originally Posted by Jack2k10 (Post 2278925)
According to my developer[Site manager] it's the latest mysql

That's not really something I can answer off of... the latest stable? The latest beta? The latest beta of the new series release?

The query its self is solid but something is making it mad. You can remove the myisam part from the plugin file but it's worth knowing why.

thompson 12-21-2011 09:05 AM

is it good for great boards ? 1 mio. posts and 15.000 visitors

work with 4.18 ?

Winter Sonata 12-21-2011 09:23 AM

Ted S , I am using your Mod since ages :) and it has drived me tons of new members, thanks alot.

I am using the Register Block Page, can I increase the width of the block(page) a bit wider ?

Ted S 12-21-2011 05:15 PM

Quote:

Originally Posted by thompson (Post 2279658)
is it good for great boards ? 1 mio. posts and 15.000 visitors

I'm not sure what a "great" board is but you'd be far from the biggest site using the mod. Database logging adds a query, the default option does not.

Quote:

Originally Posted by thompson (Post 2279658)
work with 4.18 ?

4.x.x

Ted S 12-21-2011 05:15 PM

Quote:

Originally Posted by Winter Sonata (Post 2279663)
Ted S , I am using your Mod since ages :) and it has drived me tons of new members, thanks alot.

I am using the Register Block Page, can I increase the width of the block(page) a bit wider ?

Block uses your error template, change the style on that to change the result but it will impact all site errors.

thompson 12-21-2011 07:37 PM

Quote:

Originally Posted by Ted S (Post 2279781)
I'm not sure what a "great" board is but you'd be far from the biggest site using the mod. Database logging adds a query, the default option does not.



4.x.x

;-)
for me its great.
but thanks for answering. ted.

kizy 12-28-2011 02:22 PM

Hi, this mod is good. I like to use it. But when I testing with Lift Guest Viewing Limit (vbulletin)/along with Greasemonkey -- to remove the viewing limit for guest/unregistered imposed by the LGV addon.... - then this Limit guest Viewing wont work :)

I just wonder, It doesnt matter if I turn ON the Enable Database Logging --> the Limit Guest Viewing completely not working on my site. But when I tested on the other site I will get Lock. Can you tell or explain why it make different b/w my site than the other?

Thank you for the mod.

Winter Sonata 12-29-2011 11:21 AM

Quote:

Originally Posted by Ted S (Post 2279782)
Block uses your error template, change the style on that to change the result but it will impact all site errors.

Can you please let me know what's this template called (the one shows the site error ?

MaXimus 12-29-2011 08:00 PM

Does this work fine with 4.1.9 ?

Ted S 12-30-2011 04:02 AM

Quote:

Originally Posted by Winter Sonata (Post 2281894)
Can you please let me know what's this template called (the one shows the site error ?

Standard Error

Ted S 12-30-2011 04:02 AM

Quote:

Originally Posted by berryracer (Post 2281993)
Does this work fine with 4.1.9 ?

As the descriptions says, 4.x.x

MaXimus 12-30-2011 09:54 AM

thanks! installed and nominated!

Vattermann 01-05-2012 07:48 PM

Works fine her on 4.1.9 Thanks :)

Winter Sonata 01-05-2012 11:08 PM

Quote:

Originally Posted by Ted S (Post 2282095)
Standard Error

Thanks alot Ted S but

This is the template :

Code:

{vb:stylevar htmldoctype}
<html xmlns="http://www.w3.org/1999/xhtml" <vb:if condition="!is_browser('ie') OR is_browser('ie',8)"> dir="{vb:stylevar textdirection}"</vb:if> lang="{vb:stylevar languagecode}" id="vbulletin_html">
<head>
        {vb:raw headinclude}
        <vb:if condition="$show['search_noindex']"><meta name="robots" content="noindex,follow" /></vb:if>

        <title>{vb:raw pagetitle}</title>
       
        <script type="text/javascript" src="clientscript/vbulletin_md5.js?v={vb:raw vboptions.simpleversion}"></script>

        {vb:raw headinsert}
{vb:raw headinclude_bottom}
</head>
<body>

{vb:raw header}

{vb:raw navbar}

<div class="standard_error">
        <h2 class="blockhead">{vb:rawphrase vbulletin_message}</h2>
        <vb:if condition="$show['permission_error'] OR $show['error_form']">
                <form class="block vbform"  method="post" action="login.php?do=login" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, {vb:raw show.nopasswordempty})">
                        <vb:if condition="$show['permission_error']">
                                <input type="hidden" name="do" value="login" />
                                <input type="hidden" name="url" value="{vb:raw scriptpath}" />
                                <input type="hidden" name="vb_login_md5password" />
                                <input type="hidden" name="vb_login_md5password_utf" />
                                {vb:raw postvars}
                                <input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
                                <input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
                                <div class="blockbody formcontrols">
                                       
                                        <h3 class="blocksubhead">{vb:rawphrase not_logged_no_permission}</h3>
                                        <div class="blockrow restore">
                                                <ol>
                                                        <li>{vb:rawphrase not_logged_in_fill_in_form}</li>
                                                        <li>{vb:rawphrase may_not_have_sufficient_privileges}</li>
                                                        <li>{vb:rawphrase administrator_may_disabled_account}</li>
                                                </ol>
                                        </div>
                                        <p class="blockrow">{vb:rawphrase admin_required_register, {vb:raw session.sessionurl}}</p>
                                       
                                        <h3 class="blocksubhead">{vb:rawphrase log_in}</h3>               
                                        <div class="blockrow">
                                                <label for="vb_login_username">{vb:rawphrase username}:</label>
                                                <input type="text" class="primary textbox" id="vb_login_username" name="vb_login_username" accesskey="u" tabindex="1" />
                                        </div>
                                        <div class="blockrow">                       
                                                <label for="vb_login_password">{vb:rawphrase password}:</label>
                                                <input type="password" class="primary textbox" id="vb_login_password" name="vb_login_password" tabindex="1" />
                                        </div>
                                        <div class="blockrow singlecheck">
                                                <label for="cb_cookieuser"><input type="checkbox" name="cookieuser" id="cb_cookieuser" value="1" tabindex="1" /> {vb:rawphrase remember_me}</label>
                                        </div>
                                       
                                </div>
                                <div class="blockfoot actionbuttons">
                                        <div class="group">
                                                <input type="submit" class="button" value="{vb:rawphrase log_in}" accesskey="s" tabindex="1" />
                                                <input type="reset" class="button" value="{vb:rawphrase reset_fields}" accesskey="r" tabindex="1" />
                                        </div>
                                </div>
                        <vb:comment>
                                Mainly to support inline mod login -- which should be probably be merged with above login code
                                in some way
                        </vb:comment>
                        <vb:elseif condition="$show['error_form']" />
                                {vb:raw errormessage}
                        </vb:if>
                </form>
        <vb:else />
                <div class="blockbody formcontrols">
                        <div class="blockrow restore">{vb:raw errormessage}</div>
                </div>
        </vb:if>
</div>

<vb:if condition="!$show['enableforumjump']">{vb:raw forumjump}</vb:if>

{vb:raw footer}
</body>
</html>

What should I change to make the block's wiedth wider ?

Ted S 01-06-2012 12:08 AM

Quote:

Originally Posted by Winter Sonata (Post 2284293)
Thanks alot Ted S but

This is the template :

What should I change to make the block's wiedth wider ?

Do you know css?

chq 01-08-2012 10:53 AM

I have a problem. I Installed the limited guest viewing no problem and tested it out. After I have received the second prompt, the block page, I am unable to view the forum again until I turn limited guest viewing off altogether. I am unable to login using my admin username and password, if I do it just resets the block page asking me to register or login, so for now I have had to turn the feature off. I love this feature and would really like to have it on my site.

site is crimeshq.com

Can you help me?

Winter Sonata 01-08-2012 01:22 PM

Quote:

Originally Posted by Ted S (Post 2284302)
Do you know css?

I remember I have heard about it ;)

Yes, I knowit but I don't really know where exactly should the edits go, sorry :rolleyes:

Videx 01-08-2012 02:18 PM

Quote:

Originally Posted by chq (Post 2285128)
... I am unable to view the forum again until I turn limited guest viewing off altogether. I am unable to login using my admin username and password, if I do it just resets the block page asking me to register or login, so for now I have had to turn the feature off....

The mod has no provision to block admins. Maybe you've managed to change your Guests from user ID 1?

And I just gotta know how you managed to turn the mod off if you couldn't log in as admin.

chq 01-08-2012 03:00 PM

Quote:

Originally Posted by Videx (Post 2285190)
The mod has no provision to block admins. Maybe you've managed to change your Guests from user ID 1?

And I just gotta know how you managed to turn the mod off if you couldn't log in as admin.

I couldn't log onto the forums under admin but I could still log onto the admincp to make the changes.

Ted S 01-09-2012 02:19 AM

Quote:

Originally Posted by chq (Post 2285128)
I have a problem. I Installed the limited guest viewing no problem and tested it out. After I have received the second prompt, the block page, I am unable to view the forum again until I turn limited guest viewing off altogether. I am unable to login using my admin username and password, if I do it just resets the block page asking me to register or login, so for now I have had to turn the feature off. I love this feature and would really like to have it on my site.

site is crimeshq.com

Can you help me?

The mod will block accessing threads but has no relationship with your login system. What error are you getting specifically?

Ted S 01-09-2012 02:20 AM

Quote:

Originally Posted by Winter Sonata (Post 2285163)
I remember I have heard about it ;)

Yes, I knowit but I don't really know where exactly should the edits go, sorry :rolleyes:

You'll want to try the coding or design forum for tips on how to alter your styles to edit the block message.

alghzil 01-11-2012 10:54 AM

i tryed it it didnt work

when i delet it i had Database error. pleassssssssss help

Videx 01-11-2012 02:27 PM

Quote:

Originally Posted by alghzil (Post 2286473)
i tryed it it didnt work

when i delet it i had Database error. pleassssssssss help

I don't know why it didn't work for you. But the most common reason for errors after uninstalling is that you neglected to delete the files you uploaded with the product.

Ted S 01-14-2012 12:09 AM

Quote:

Originally Posted by alghzil (Post 2286473)
i tryed it it didnt work

when i delet it i had Database error. pleassssssssss help

"It had database error" is not something I can help with no matter how many s's you use in please.

Explain what you were doing and what the exact error was and I'll suggest what I can.

Ichigo88 01-15-2012 01:55 PM

hi! is possble to change usergroup?
i neet to limit viewing post for normal user

Ted S 01-15-2012 10:42 PM

Quote:

Originally Posted by Ichigo88 (Post 2288142)
hi! is possble to change usergroup?
i neet to limit viewing post for normal user

You'd have to edit the code... just hack the plugin to swap the guest check for a usergroup check.

alghzil 01-16-2012 12:27 AM

Quote:

Originally Posted by Videx (Post 2286537)
I don't know why it didn't work for you. But the most common reason for errors after uninstalling is that you neglected to delete the files you uploaded with the product.

That is true .

shuld i delet the files before deleting the Mod?

am new here i dont know.

Ted S 01-16-2012 12:57 AM

Quote:

Originally Posted by alghzil (Post 2288354)
That is true .

shuld i delet the files before deleting the Mod?

am new here i dont know.

Deleting the files will not have any impact on the uninstall process.

Videx 01-16-2012 01:07 AM

Quote:

Originally Posted by Ted S (Post 2288362)
Deleting the files will not have any impact on the uninstall process.

Ted means in this particular mod, there are no scheduled tasks running so you can just ignore any uploaded files. But don't expect to be so lucky with all mods.

In your case I guess you'll have to give us the exact error message. But it's unlikely to be coming from this mod after uninstallation. Try disabling all your other mods to track it down.

Merjawy 01-16-2012 06:33 AM

Nice Mod and thanks for providing it. I can't use it though.

Most users on my site like to browse the forum without logging in, this will really make them just $@#$# :)

alghzil 01-16-2012 08:23 AM

thank you all for your attention.

no particular error message ! just Database error.!

and effected all the forum even the admincp .

this is the second time it happen to me with deleting Mod's

and i had no choice only back up my site an lose some Data :(

and now am afraid to install any new mod :confused:

Videx 01-16-2012 01:54 PM

Quote:

Originally Posted by alghzil (Post 2288467)
no particular error message ! just Database error.!

The first thing you must do is learn how to view the actual error message. Either by viewing the page source or in the email you receive when an error occurs. Without that there's no way to figure out what's going on.

Ted S 01-16-2012 03:45 PM

Quote:

Originally Posted by Videx (Post 2288543)
The first thing you must do is learn how to view the actual error message. Either by viewing the page source or in the email you receive when an error occurs. Without that there's no way to figure out what's going on.

Well said and since this happens with other mods you should probably take the error back to general vBulletin support for the professional help.

alghzil 01-18-2012 09:00 AM

thanx a lot


All times are GMT. The time now is 06:48 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.02094 seconds
  • Memory Usage 1,860KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete