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)

EricPSF 12-28-2008 08:21 PM

Quote:

Originally Posted by Ted S (Post 1695295)
And when you disable this addon and only this addon and follow the same steps what happens?

Hi Ted,

I followed yr steps, it's kind a "on and off" things; the issue sometimes goes away and runs smoothly but when I closed and re-opened browser again, sometimes it happens again. Really confuses me.:confused:

It may not be this addon's problem. I will reload vB and see how. Will inform you again, thank you.

Megatr0n 01-01-2009 12:04 AM

Hi Ted,

Happy New Year! :)

A minor issue. I have enabled IP logging and set it to clear after a day.

However, with me I notice my IP does not clear after 24 hours and I am always prompted to register when I try to view a thread?

Ted S 01-02-2009 07:56 PM

Quote:

Originally Posted by Megatr0n (Post 1698240)
Hi Ted,

Happy New Year! :)

A minor issue. I have enabled IP logging and set it to clear after a day.

However, with me I notice my IP does not clear after 24 hours and I am always prompted to register when I try to view a thread?

Have you uploaded the cron file and is the scheduled task showing up in your ACP?

TriMe 01-02-2009 11:36 PM

I would like to change the CSS of the block page to alt2 so the links in the block page are in Blue and underlined. Where can that be edited?

Thanks and Happy New Year!

TriMe 01-02-2009 11:37 PM

Quote:

Originally Posted by Ted S (Post 1694921)
You need database create rights for your vbulletin database user. Admin rights are not relevant here.

How do I do that?

Megatr0n 01-03-2009 11:53 PM

Quote:

Originally Posted by Ted S (Post 1699621)
Have you uploaded the cron file and is the scheduled task showing up in your ACP?

It is showing and I have uploaded that file.

Ted S 01-04-2009 05:50 PM

Quote:

Originally Posted by TriMe (Post 1699855)
How do I do that?

Depends on how your server is configured; you may do this through a control panel program, phpmyadmin, or the mysql shell.

Megatr0n 01-04-2009 07:37 PM

Quote:

Originally Posted by Megatr0n (Post 1700797)
It is showing and I have uploaded that file.

Still the same problem even when I run cron job manually "Run Now" it just shows this:

Doesn't even say "Done".

Ted S 01-04-2009 07:53 PM

Quote:

Originally Posted by Megatr0n (Post 1701617)
Still the same problem even when I run cron job manually "Run Now" it just shows this:

Doesn't even say "Done".

It actually wasn't coded to say anything. If you want to debug a bit try the attached version and let me know what it says (ideally you'll get 3 lines of text ending with all done).

Megatr0n 01-04-2009 09:52 PM

Quote:

Originally Posted by Ted S (Post 1701641)
It actually wasn't coded to say anything. If you want to debug a bit try the attached version and let me know what it says (ideally you'll get 3 lines of text ending with all done).

Where do I upload that attachment file?

And, what am I s'pose to do. Try to run it manually again?

Ted S 01-05-2009 03:19 AM

Upload it to the includes/cron folder and then manually run the scheduled task again.

Megatr0n 01-05-2009 03:35 AM

I get this error:

Database error in vBulletin 3.7.4:

Invalid SQL:

DELETE FROM vb_lgv
WHERE (lastactivity + ( * 86400)) < 1231133741;

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 '* 86400)) < 1231133741' at line 2
Error Number : 1064
Request Date : Monday, January 5th 2009 @ 12:35:41 AM
Error Date : Monday, January 5th 2009 @ 12:35:42 AM

Ted S 01-05-2009 04:20 AM

Shoot, left a line out in the version. Please use this one. My appologies.

Megatr0n 01-05-2009 10:31 AM

Now, I get:

lgv_cleardb
Clearing LGV Entries
Keep going...
All Done.

Done

Ted S 01-05-2009 03:31 PM

And is the data getting reset for you?

Megatr0n 01-05-2009 06:58 PM

Quote:

Originally Posted by Ted S (Post 1702379)
And is the data getting reset for you?

Nope, I instantly check to see if my IP has been wiped and try to browse a thread but I still get the message prompting me to register.

Ted S 01-05-2009 09:22 PM

Quote:

Originally Posted by Megatr0n (Post 1702559)
Nope, I instantly check to see if my IP has been wiped and try to browse a thread but I still get the message prompting me to register.

And you've cleared your cookies to insure that's no why, correct?

Megatr0n 01-06-2009 05:07 PM

Correct, I just did that now and still no change.

Maybe this requires more investigation. Shall I PM you my forum details?

Ted S 01-06-2009 09:04 PM

Thanks, that's extremely helpful. It sounds like there's an issue with the query which I should be able to debug from my end now that I know it's properly running for you. I'll post something in the next day or two.

Megatr0n 01-06-2009 10:04 PM

Quote:

Originally Posted by Ted S (Post 1703631)
Thanks, that's extremely helpful. It sounds like there's an issue with the query which I should be able to debug from my end now that I know it's properly running for you. I'll post something in the next day or two.

Hi Ted,

You lost me. What's running for me? Even after clearing cookies my IP does not get wiped.

So, do you wish for me to PM you my forum details?

Ted S 01-06-2009 11:06 PM

Sorry for not being clear. The clean up file is running... in that it gets to the end of the script without errors. however it's not doing it's job. That something I can diagnose from my end (rather than a bug with the script which could be site specific). Look for an update in the next few days.

Megatr0n 01-06-2009 11:11 PM

Oh OK.

I look forward to it.

BettorsTalk.com 01-08-2009 10:21 AM

Anyone have this installed on their forum so I can check to see how it appears for a guests point of view?

Ted S 01-08-2009 03:44 PM

Checkout the screenshots in the main description for an example from a "real" application.

Ted S 01-08-2009 08:25 PM

Megatr0n,

Sorry to keep asking you to be the guinea pig with this but if you don't mind, upload this version of the cron file and manually run the schedule task which should clear out your IP record database properly.

If that does not work you can manually clear it by using the mySQL query: DELETE FROM lgv

(Note: if you use table prefixes you will need to add that before lgv... ie vb_lgv).

Megatr0n 01-08-2009 08:37 PM

Hi Ted,

No problem. This Decepticon is always willing to lend a helping hand. :D

It works but only when you do it manually. After running the crob job manually and then deleting my cookies it didn't work.

Ted S 01-08-2009 09:13 PM

Very very strange. How about this version? Does that do the trick? (Keep simplifying things until they world...).

I'll be retesting myself shortly but am in the process of working on getting all my addons to 3.8 right now.

Megatr0n 01-08-2009 09:53 PM

Quote:

Originally Posted by Ted S (Post 1705580)
Very very strange. How about this version? Does that do the trick? (Keep simplifying things until they world...).

I'll be retesting myself shortly but am in the process of working on getting all my addons to 3.8 right now.

That did the trick! :)

Ted S 01-08-2009 09:59 PM

Well that's good but unfortunately it doesn't account for days. When you were testing were you setting your days to wait to 0?

BettorsTalk.com 01-08-2009 10:39 PM

Quote:

Originally Posted by Ted S (Post 1705252)
Checkout the screenshots in the main description for an example from a "real" application.

Yeah, I looked at the screen shots on here. However, I wanted to see what it looked like in a real setting.

Ted S 01-09-2009 12:40 AM

Quote:

Originally Posted by BettorsTalk.com (Post 1705681)
Yeah, I looked at the screen shots on here. However, I wanted to see what it looked like in a real setting.

Not sure how much more real you get than screenshots taken from an actual install but if you want to see it on a site in use I'd suggest looking back through the thread for people who have it installed and link to their site. Most installed users don't return to a hack's thread unless they have an issue with it.

Megatr0n 01-09-2009 12:47 AM

Quote:

Originally Posted by Ted S (Post 1705624)
Well that's good but unfortunately it doesn't account for days. When you were testing were you setting your days to wait to 0?

I set it so the IPs would be wiped after a day.

Ted S 01-09-2009 02:36 AM

Great but in your testing were the views a day earlier or were you logging data, going to clear it and getting no reuslts?

kimdk 01-09-2009 05:13 AM

Thank you for the mod Ted! It works great.. 10 minutes, and up and running :up:

MaR? 01-11-2009 06:56 PM

Hi Ted!... Is It working on 3.8.0? Because I was using this on 3.7.5. with no problem.

Thanks!

Ted S 01-11-2009 07:17 PM

It should but I have not done any formal testing since beta. Please let me know if you run into any issues.

psychotica 01-11-2009 07:27 PM

It's working like a charm in 3.8.0

MaR? 01-11-2009 07:32 PM

Hi again Ted,

Well... the only thing that dosen´t works is the Register Take-Over Message Count, but the Register Block Page Count It´s OK.

Attaching a print.

Thank´s!!

Megatr0n 01-11-2009 08:19 PM

Quote:

Originally Posted by Ted S (Post 1705851)
Great but in your testing were the views a day earlier or were you logging data, going to clear it and getting no reuslts?

I was logging data, going to clear and getting no results.

Lee Roberts 01-12-2009 11:40 AM

Marked as Installed !
Marked for Nomination !


All times are GMT. The time now is 02:25 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.01640 seconds
  • Memory Usage 1,818KB
  • 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
  • (16)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