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)
-   -   Add-On Releases - Limited Guest Viewing -- Motivate Guests to Register (https://vborg.vbsupport.ru/showthread.php?t=178720)

Ted S 12-06-2008 11:05 PM

Quote:

Originally Posted by eglyntine (Post 1679918)

I have a parenting site and most of my members do not like the fact that anyone can just "lurk" on the site and read about their issues and they don't know who they are. And while *I* know it's the internet and if you are going to post personal stuff on an internet site you might as well take an ad out in the AP but these ppl think that if they have restrictions and private forums then they are safe.

I run into the dilemma do I shut the whole board down to unregistered ppl or do I tell my members to suck up and deal with it? This add-on gives me the opportunity to compromise. I can set it up where certain General forums can be viewed by guests and the other forums with more personal details are kept away from non-registered ppl.

I also have it set up to where after the viewing of one thread it tells the person they need to register to view more and once they have registered we have a welcoming committee that leaves Welcome messages on their visitor page to help break the ice and then we encourage the new members to post an intro in our Introductions forum.

So far since I've put in this add-on and created the Welcoming Committee, 9 out of every 10 ppl that register have become active members. Before the addon there was no reason to register because they could read without having to interact and when I shut it down to unregistered user, they wouldn't come by cause there was nothing to encourage them to want to be a part of the site. It's a good balance you need to find to get ppl to participate and I'm still working on it daily but it is slowly working for me.

Great Add-on Ted, and when used like it's designed to be used it really is very helpful. Thanks again for your work.

Awesome feedback! Thanks so much for sharing that with the addon community and I hope you come back to provide feedback on how this addon can be improved for you in the future.

Megatr0n 12-08-2008 10:42 AM

Hi Ted,

I've tested this hack and it doesn't seem to be working for me.

After I get prompted to register I delete my cookies and when I refresh it allows me to view the thread I originally clicked to view.

Ted S 12-08-2008 04:41 PM

Quote:

Originally Posted by Megatr0n (Post 1680852)
Hi Ted,

I've tested this hack and it doesn't seem to be working for me.

After I get prompted to register I delete my cookies and when I refresh it allows me to view the thread I originally clicked to view.

Have you enabled ip logging?

Megatr0n 12-08-2008 08:32 PM

Quote:

Originally Posted by Ted S (Post 1681072)
Have you enabled ip logging?

Oops. :p

Edit: After enabling it. It gives me a db error when users try to open a thread. It just says Database error. Doesn't specify exactly what the error is.

Ted S 12-09-2008 03:59 AM

Please view the source of the page to find the error so I can diagnose your issue.

shervin_dvb 12-09-2008 08:12 AM

<font color="Sienna">Hi All Dear Coder

In Need To Hide text in the post for Guests

Guests can only see 30-50 character in the post
thanx for help me
</font>

Megatr0n 12-09-2008 12:50 PM

Quote:

Originally Posted by Ted S (Post 1681416)
Please view the source of the page to find the error so I can diagnose your issue.

Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT id,views
FROM vb_lgv AS lgv
WHERE lgv.ipaddress = '81.97.205.196';

MySQL Error : Table 'smiggy_gupshupp.vb_lgv' doesn't exist
Error Number : 1146
Request Date : Tuesday, December 9th 2008 @ 09:49:08 AM
Error Date : Tuesday, December 9th 2008 @ 09:49:08 AM
Script : http://www.gupshupp.com/forums/showt...ost&amp;t=8589
Referrer : http://www.gupshupp.com/forums/
IP Address : 81.97.205.196
Username : Unregistered
Classname : vB_Database
MySQL Version :

Ted S 12-09-2008 03:47 PM

Quote:

Originally Posted by shervin_dvb (Post 1681493)
Hi All Dear Coder

In Need To Hide text in the post for Guests

Guests can only see 30-50 character in the post
thanx for help me

Sorry but that is not what this addon does.... you will need to find or develop a different hack to accomplish that.

Ted S 12-09-2008 03:49 PM

Quote:

Originally Posted by Megatr0n (Post 1681627)
Database error in vBulletin 3.7.4:

Invalid SQL:

SELECT id,views
FROM vb_lgv AS lgv
WHERE lgv.ipaddress = '81.97.205.196';

MySQL Error : Table 'smiggy_gupshupp.vb_lgv' doesn't exist
Error Number : 1146
Request Date : Tuesday, December 9th 2008 @ 09:49:08 AM
Error Date : Tuesday, December 9th 2008 @ 09:49:08 AM
Script : http://www.gupshupp.com/forums/showt...ost&amp;t=8589
Referrer : http://www.gupshupp.com/forums/
IP Address : 81.97.205.196
Username : Unregistered
Classname : vB_Database
MySQL Version :

The installer was unable to create a table for storing records. Please create one manually via phpmyadmin, mysql shell or similar.

Code:

CREATE TABLE vb.lgv (
        id smallint(5) 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


Megatr0n 12-09-2008 08:16 PM

Quote:

Originally Posted by Ted S (Post 1681723)
The installer was unable to create a table for storing records. Please create one manually via phpmyadmin, mysql shell or similar.

Code:

CREATE TABLE vb.lgv (
        id smallint(5) 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


What, if I just simply reimport the product file?

Ted S 12-09-2008 08:59 PM

The table didn't get added for a reason... You can try reimporting but it's likely your vbulletin mysql account doesn't have enough access to create the table in the first place... But no reason you can't try.

EricPSF 12-09-2008 11:51 PM

Hi,

I hv installed and tested out without logging into my forum.

I tested it out by clicking on the "back" button of the browser everytime for more than 5 times, but I'm still unable to see the limited guest message?

Any advise? I hv already enabled the mod in admincp.

adamskiii 12-10-2008 12:44 AM

nice one man. thanks

Ted S 12-10-2008 03:38 AM

Quote:

Originally Posted by EricPSF (Post 1682007)
Hi,

I hv installed and tested out without logging into my forum.

I tested it out by clicking on the "back" button of the browser everytime for more than 5 times, but I'm still unable to see the limited guest message?

Any advise? I hv already enabled the mod in admincp.

I'm not following your issue... did you view 5 threads or use a back button multiple times to see 5 cached pages?

Rene Kriest 12-10-2008 04:05 AM

Kudos, Ted_S!

This addon really boosts registrations. If you have a decent forum with information of great value for your visitors then this is without any doubt the way to go.

I really cannot see why this addon doesn't show up as MotM and still suffers its fith star. Well...

EricPSF 12-10-2008 08:46 AM

Quote:

Originally Posted by Ted S (Post 1682083)
I'm not following your issue... did you view 5 threads or use a back button multiple times to see 5 cached pages?

Hi Ted,

Yes, I viewed 5 threads. I used the back button to go back to the main forum page everytime to select 5 threads.

Thank you.

IcheeWaWa 12-10-2008 02:05 PM

I updated my version of this plugin yesterday and starting seeing db errors in my email this morning when the cron ran:

Invalid SQL:

DELTE FROM lgv
WHERE (lastactivity + ( * 86400)) < 1228892404;

I looked at the lgvdb.php in /includes/cron and the sql is incorrect:

// actually do the kill
$vbulletin->db->query_write("
DELTE FROM " . TABLE_PREFIX . "lgv
WHERE (lastactivity + (". $lgvcleardays ." * 86400)) < ". TIMENOW ."

Note the DELTE. I know it's just a typo and I have corrected it on my system.

Thanks for the mod!

Ted S 12-10-2008 05:39 PM

Quote:

Originally Posted by EricPSF (Post 1682239)
Hi Ted,

Yes, I viewed 5 threads. I used the back button to go back to the main forum page everytime to select 5 threads.

Thank you.

I'm still not following... did you load 5 threads by clicking on them or did you simply surf back using a back button to see 5 threads you had already viewed? There's a dramatic differance between the two actions... if you click a link the page loads up and calls the system, if you merely go back and foward to pages you've already seen it's all from your cache and the system doesn't refresh.

Ted S 12-10-2008 05:40 PM

Quote:

Originally Posted by IcheeWaWa (Post 1682404)
I updated my version of this plugin yesterday and starting seeing db errors in my email this morning when the cron ran:

Invalid SQL:

DELTE FROM lgv
WHERE (lastactivity + ( * 86400)) < 1228892404;

I looked at the lgvdb.php in /includes/cron and the sql is incorrect:

// actually do the kill
$vbulletin->db->query_write("
DELTE FROM " . TABLE_PREFIX . "lgv
WHERE (lastactivity + (". $lgvcleardays ." * 86400)) < ". TIMENOW ."

Note the DELTE. I know it's just a typo and I have corrected it on my system.

Thanks for the mod!

Yikes. Good catch... issuing an update right now!

Ted S 12-10-2008 05:44 PM

An important bug update has been released for the 2.0 version of this addon! This update fixes a typo in the cron file causing it to improperly reset guest counts. Anyone using the 2.0 version of this addon who has database logging AND the clearing tool enabled should upgrade immediately.

To update simply download the attached version2 zip file and replace the cron files via FTP. No changes to the plugin file were made other than updating the version number.

Users not using database logging or on version1 do not need to upgrade.

Thank you to IcheeWaWa for discovering this bug and reporting it.

Issue: #2-01

shervin_dvb 12-10-2008 07:48 PM

Thankx For Answer To Me

please Show Me Link For This Hack Or Code that Hide text in the post for Guests Only Show 50 character in the a part of it

I Think Need a Code For This


Quote:

Originally Posted by Ted S (Post 1681722)
Sorry but that is not what this addon does.... you will need to find or develop a different hack to accomplish that.


EricPSF 12-10-2008 09:46 PM

Quote:

Originally Posted by Ted S (Post 1682568)
I'm still not following... did you load 5 threads by clicking on them or did you simply surf back using a back button to see 5 threads you had already viewed? There's a dramatic differance between the two actions... if you click a link the page loads up and calls the system, if you merely go back and foward to pages you've already seen it's all from your cache and the system doesn't refresh.

Hi Ted,

Apologized for the confusion.
(1) I tested out by clicking 1 thread from the main forum.
(2) I click the "back" button back to the main forum and select another new thread (which is 2 threads).
(3) So I repeated step 1 and step 2 for more than 5 times, but it still didn't pop-up the message.

I am using firefox and I have enabled the database option too.

Thanks.

Ted S 12-11-2008 12:58 AM

Quote:

Originally Posted by shervin_dvb (Post 1682679)
Thankx For Answer To Me

please Show Me Link For This Hack Or Code that Hide text in the post for Guests Only Show 50 character in the a part of it

I Think Need a Code For This

This forum is for support of this addon only. As you need another addon you should post this in the appropriate forum here on vbulletin.org to seek assistance.

Ted S 12-11-2008 12:59 AM

Quote:

Originally Posted by EricPSF (Post 1682753)
Hi Ted,

Apologized for the confusion.
(1) I tested out by clicking 1 thread from the main forum.
(2) I click the "back" button back to the main forum and select another new thread (which is 2 threads).
(3) So I repeated step 1 and step 2 for more than 5 times, but it still didn't pop-up the message.

I am using firefox and I have enabled the database option too.

Thanks.

Perfect. Got it...

Can you PM me the url to your site as well as your take over message and/ or block settings?

shervin_dvb 12-12-2008 04:22 AM

Thankx For Answer To Me

Please Give Me Link in the appropriate forum here on vbulletin.org

Quote:

Originally Posted by Ted S (Post 1682823)
This forum is for support of this addon only. As you need another addon you should post this in the appropriate forum here on vbulletin.org to seek assistance.


Ted S 12-12-2008 05:01 AM

Quote:

Originally Posted by shervin_dvb (Post 1683605)
Thankx For Answer To Me

Please Give Me Link in the appropriate forum here on vbulletin.org

shervin_dvb, This thread is for the support of the Limited Guest Viewing system only. Please post your questions in an appropriate forum. I don't use other forums and could not tell you which is appropriate, that's something you can discover browsing the site.

eglyntine 12-12-2008 08:13 AM

Ted thanks for looking into that database problem I was having. I'm going to delve into it more this weekend but I just wanted to let you know that there is a common factor. It isn't just giving me the error for any unregistered user like I thought before. It seems to only do it with spambots. So I'm wondering if they are running some script that trips the error.

Anyway, I'll let you know what I find out and again Thank you so much for making this mod and taking the time to help out with the minor issues like you do. It's greatly appreciated. :)

Ted S 12-12-2008 04:17 PM

eglyntine,

Although I don't normally do support for other mods feel free to drop me a PM if you get stuck and I may be able to lend a hand.

TriMe 12-23-2008 06:43 PM

I installed and will test tonight, can't wait. A small typo in the options page on the bottom. See attached picture. Also,

Quote:

how can we make that this mod instead of the showthread to work for header or headinclude so that user has limited viewing to ALL forum pages like profiles etc
Quote:

Originally Posted by Ted S (Post 1662667)
You would have to modify the addon to look at all pages and conditions... basically take the logging function and rewrite where it's called.

Can you elaborate on this? I have a YouTube video section that I would like to cut off from guests. For either:

A. Viewing video for a certain amount of time
and/or
B. Watching 5 or 6 videos.

Thanks in advance,

TriMe

Ted S 12-23-2008 09:22 PM

Quote:

Originally Posted by TriMe (Post 1692265)
I installed and will test tonight, can't wait. A small typo in the options page on the bottom. See attached picture. Also,



Can you elaborate on this? I have a YouTube video section that I would like to cut off from guests. For either:

A. Viewing video for a certain amount of time
and/or
B. Watching 5 or 6 videos.

Thanks in advance,

TriMe

Neither of those functions is something this addon covers and would require you to modify the code to impact whatever scripts you have to show videos.

TriMe 12-26-2008 02:52 PM

Quote:

Originally Posted by Ted S (Post 1681723)
The installer was unable to create a table for storing records. Please create one manually via phpmyadmin, mysql shell or similar.

Code:

CREATE TABLE vb.lgv (
        id smallint(5) 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


Some reason it's not letting me write the table through the phpmyadmin either. I get a error:

#1142 - CREATE command denied to user

But I have all admin access rights.

Any suggestions?

Ted S 12-27-2008 05:21 PM

You need database create rights for your vbulletin database user. Admin rights are not relevant here.

welovehiphop 12-27-2008 05:32 PM

great add on

EricPSF 12-27-2008 09:34 PM

Hi,

I have being using this mod for sometime until yesterday that I'm unable to view any attachments even though I'm logged in.

The error message said that I'm do not have the permission to view the file and asked me to refresh page and logged in again?!

Any advise? I have disable this mod and everything goes smooth again.

Thank you.

Ted S 12-27-2008 10:15 PM

Quote:

Originally Posted by EricPSF (Post 1695105)
Hi,

I have being using this mod for sometime until yesterday that I'm unable to view any attachments even though I'm logged in.

The error message said that I'm do not have the permission to view the file and asked me to refresh page and logged in again?!

Any advise? I have disable this mod and everything goes smooth again.

Thank you.

This mod does not look at the attachments system. Are you encountering an error when you login and view attachments or while logged out?

James Argo 12-28-2008 01:58 AM

Thank you Ted, I've installed this mod for long time, and I'm happy with it :)

I have to report some issue, in my experience, updating the product to recent version has erased the translation of both lgv phrases. I tested it twice, in my local testing server and my live site as well. As soon as I upgrade, the translation phrases were blank, I need to re-write it.

I run vBulletin 3.7.3, updating the mod from version 1.5.2 (as listed in product manager) to the latest 3.7.0.

Does anyone have same issue?

Other than that, everything works great! Thank you! :)

EricPSF 12-28-2008 03:42 AM

Quote:

Originally Posted by Ted S (Post 1695119)
This mod does not look at the attachments system. Are you encountering an error when you login and view attachments or while logged out?

Hi Ted,

I hv clicked on the attachments when I'm logged in. I can't see the thumbnails too, just the lettering.jpg, for example. When I clicked on the filename, it brings me to the page asking me to key in my username and password. When I tried to key in all my particulars, logged in and click on the attachments again, it still doesn't work.:confused:

Ted S 12-28-2008 04:02 AM

Quote:

Originally Posted by James Argo (Post 1695225)
Thank you Ted, I've installed this mod for long time, and I'm happy with it :)

I have to report some issue, in my experience, updating the product to recent version has erased the translation of both lgv phrases. I tested it twice, in my local testing server and my live site as well. As soon as I upgrade, the translation phrases were blank, I need to re-write it.

I run vBulletin 3.7.3, updating the mod from version 1.5.2 (as listed in product manager) to the latest 3.7.0.

Does anyone have same issue?

Other than that, everything works great! Thank you! :)

If you override a phrase it will be rewritten... Theres no way to restore a phrase once it's been reset so you would have to retranslate. I'm not sure why this is happening on an upgrade as the phrases haven't been changed but I'll be sure to look into it.

Ted S 12-28-2008 04:03 AM

Quote:

Originally Posted by EricPSF (Post 1695283)
Hi Ted,

I hv clicked on the attachments when I'm logged in. I can't see the thumbnails too, just the lettering.jpg, for example. When I clicked on the filename, it brings me to the page asking me to key in my username and password. When I tried to key in all my particulars, logged in and click on the attachments again, it still doesn't work.:confused:

And when you disable this addon and only this addon and follow the same steps what happens?

SPARKS MAN 12-28-2008 05:02 AM

thanks i translate only the message appear to the guest
to Arabic
thank u very much


All times are GMT. The time now is 12:06 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.02247 seconds
  • Memory Usage 1,867KB
  • 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
  • (3)bbcode_code_printable
  • (25)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