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)

griffinpower 02-04-2012 09:23 PM

Installed and working great.

massrealtorpro 02-08-2012 10:01 AM

this is pure freeekin genius!

sweetpotato 02-29-2012 04:47 AM

I would like to add stylevar for the error message to style it. How can I do it please?

Ted S 02-29-2012 04:52 AM

Quote:

Originally Posted by sweetpotato (Post 2304525)
I would like to add stylevar for the error message to style it. How can I do it please?

The error message uses the default vBulletin error template which you can modify as you see fit through your template manager but it will impact all errors.

Alternatively you can add HTML to the error message phrase.

sweetpotato 02-29-2012 05:44 AM

Thank Ted S, How about the reminder message? Where I can Style it please?

Ted S 02-29-2012 05:48 AM

Quote:

Originally Posted by sweetpotato (Post 2304533)
Thank Ted S, How about the reminder message? Where I can Style it please?

It uses the notice template and a phrase.

The best way to find mod elements is always to search the phrases, find the right one and then find the template it's in.

Engdge 03-20-2012 08:54 PM

Nice.... I like it! Installed

Thank you very much..

Davey-UK 04-04-2012 07:56 PM

Not working on 4.1.11 unfortunately. :(

Ted S 04-04-2012 11:54 PM

Quote:

Originally Posted by Davey-UK (Post 2316800)
Not working on 4.1.11 unfortunately. :(

It's really really really hard to do anything only knowing that it's "not working".

What exactly is happening or not happening?

Davey-UK 04-06-2012 08:10 AM

Sorry mate, forgot to do the template edit on my updated style :(:down:
Sorry.

Also i got my edits to work so that it would show if members of a certain usergroup didnt upgrade to a subscription, instead of guests registering. :D

Nirjonadda 04-06-2012 03:59 PM

Its not working for me on 4.1.10....any support please.

Ted S 04-06-2012 05:28 PM

Quote:

Originally Posted by Nirjonadda (Post 2317431)
Its not working for me on 4.1.10....any support please.

I hate to sound like a broken record but no one can offer you support when the details of your issue are simply "it's not working".

davidg 05-23-2012 03:22 PM

works fine with 4.1.11 and worked with 4.1.10 to

Robru 05-31-2012 05:46 PM

Works fine with 4.2.x

CubicWebs 06-08-2012 02:05 AM

Warning: mysqli_query() [function.mysqli-query]: (42S02/1146): Table 'habbfeve_sarah.lgv' doesn't exist in [path]/includes/class_core.php on line 1391
Updated ID Field


Warning: mysqli_query() [function.mysqli-query]: (42S02/1146): Table 'habbfeve_sarah.lgv' doesn't exist in [path]/includes/class_core.php on line 1391

Warning: mysqli_query() [function.mysqli-query]: (42000/1064): 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 in [path]/includes/class_core.php on line 1391

When I use that additional one you added I get the same error:

Database error in vBulletin 4.2.0:

Invalid SQL:
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
Request Date : Thursday, June 7th 2012 @ 10:03:27 PM
Error Date : Thursday, June 7th 2012 @ 10:03:27 PM
Script : http://********/admincp/plugin.php?do=productimport
Referrer : http://********/admincp/plugin.php?do=productadd
IP Address : ******************
Username : ***
Classname : vB_Database_MySQLi
MySQL Version : 5.5.23-55

Ted S 06-09-2012 06:32 PM

Does your mySQL server not use MyISAM?

CubicWebs 06-10-2012 02:40 PM

Quote:

Originally Posted by Ted S (Post 2338203)
Does your mySQL server not use MyISAM?

Don't know my mate uses HostGator.

Edit:

(4:50:00pm)Ezekiel K.:Our MySQL servers use innodb instead of MyISAM.

Ted S 06-11-2012 04:40 AM

Quote:

Originally Posted by CubicWebs (Post 2338466)
Don't know my mate uses HostGator.

Edit:

(4:50:00pm)Ezekiel K.:Our MySQL servers use innodb instead of MyISAM.

vBulletin has generally assumed MyISAM but this is not a big deal. Simply remove the Type=MyISAM bit leaving ); in the query / xml file.

CubicWebs 06-11-2012 11:15 AM

Quote:

Originally Posted by Ted S (Post 2338634)
vBulletin has generally assumed MyISAM but this is not a big deal. Simply remove the Type=MyISAM bit leaving ); in the query / xml file.

Thank you :D yey

rosmac54 07-10-2012 08:58 PM

Hey Tom great Mod... been using this mod for over 3 years and love it. Great job my friend! Question what do I need to replace to get this to work with registered members. Looking at your code I cannot for the life of me figure this out! I know that non reg is 1 and my registered is 2, could you please let me know where to make these changes in the code and does it also need to be done in MySQL...if so where? Any help would be appreciated. Thanks again.

Ross

Ted S 07-10-2012 10:10 PM

Quote:

Originally Posted by rosmac54 (Post 2346785)
Hey Tom great Mod... been using this mod for over 3 years and love it. Great job my friend! Question what do I need to replace to get this to work with registered members. Looking at your code I cannot for the life of me figure this out! I know that non reg is 1 and my registered is 2, could you please let me know where to make these changes in the code and does it also need to be done in MySQL...if so where? Any help would be appreciated. Thanks again.

Ross

Tom? We've got an Andrew, a Drew, but no Tom's around here to pass your remarks on to... :confused:

As far as your question, if you want to limit how registered members see threads you'd essentially be taking the base code and rewriting the check functionality to switch from guest to a usergroup check. You can find the aproppriate functions in the vBulletin documentation.

rosmac54 07-11-2012 05:24 PM

Thanks for all your smart ass help TED! TEDDY! EDWARD! EDWARDO! UN-Installed. I'll rewrite the whole thing and post it. One word of advice...be very careful who you insult, especially when you have NO IDEA who you are insulting.

Videx 07-11-2012 05:51 PM

Quote:

Originally Posted by rosmac54 (Post 2347045)
Thanks for all your smart ass help ... be very careful who you insult

I think you have seriously misinterpreted his response if you think that was an insult. The smiley alone shows he's just palling around. Lighten up.

Ted S 07-11-2012 05:57 PM

Quote:

Originally Posted by rosmac54 (Post 2347045)
Thanks for all your smart ass help TED! TEDDY! EDWARD! EDWARDO! UN-Installed. I'll rewrite the whole thing and post it. One word of advice...be very careful who you insult, especially when you have NO IDEA who you are insulting.

What insult? Now I'm even more confused.

Anyways to each their own. But if you do decide to create a better version of this idea I certainly do hope you share it with the community. That's the point of this all, right?

iadventure 07-13-2012 09:21 PM

I get database error when I try to install on 4.1.12.
I even used the updated one from page one as well. no dice.

xRaW 07-17-2012 01:04 PM

Quote:

Originally Posted by Ted S (Post 2338634)
vBulletin has generally assumed MyISAM but this is not a big deal. Simply remove the Type=MyISAM bit leaving ); in the query / xml file.

thanks :D i had the same error and that worked. I could easily enable MyISAM but i was being lazy so just removed type=MyISAM :D

Ted S 07-21-2012 02:47 AM

Quote:

Originally Posted by xRaW (Post 2348940)
thanks :D i had the same error and that worked. I could easily enable MyISAM but i was being lazy so just removed type=MyISAM :D

InnoDB is a better option anyways :D

Geisthund99 07-21-2012 08:50 AM

Change: TYPE=MyISAM to Engine=MyISAM
Works for Mysql 5 plus
HTH

cooljeba 07-21-2012 11:54 AM

Thanks Installed :)

Ted S 07-21-2012 06:54 PM

Hey LGV users!

It's been a while since we've had an update for the mod and today's release of 2.1.0 is one part functionality, one part compatibility...

- Adds basic usergroups limiting just like guests get
- Adds option to enable/ disable guest blocking
- Removes requirement for template edits
- Removes references to MyISAM to support mySQL 5.5 and above
- Updates search bot list and checking process

Of course if there's other features you'd like to see please chime in.

Ted S 07-21-2012 07:56 PM

Quote:

Originally Posted by Geisthund99 (Post 2350064)
Change: TYPE=MyISAM to Engine=MyISAM
Works for Mysql 5 plus
HTH

Fixed in version 2.1.0 - MyISAM is not required so we'll default to whatever your mySQL install uses.

mathforum 07-24-2012 04:50 PM

This is a great mod! I'm really hoping this will up our registration. Question, if you go to our site http://www.mathhelpboards.com/thread...Welcome-to-MHB as a guest the guest message appears but it's not in the yellow background that other notices are? What CSS option can I change for this?

Ted S 07-24-2012 05:13 PM

You would need to change the output template to wrap it into whatever css attribute you want. The template is limited_guest_viewing

mathforum 07-24-2012 06:13 PM

Quote:

Originally Posted by Ted S (Post 2351092)
You would need to change the output template to wrap it into whatever css attribute you want. The template is limited_guest_viewing

Thank you! Why isn't it showing in the same color as your example pictures (grey)? I would actually prefer that color so it doesn't look too monotonous but it's showing up without wrapping at all.

I tried using the following css in additional.css but nothing changed unfortunately.

Code:

.thread_controls lgvcontrol {background: #E9E9E9;}

Ted S 07-25-2012 05:50 AM

Quote:

Originally Posted by mathforum (Post 2351106)
Thank you! Why isn't it showing in the same color as your example pictures (grey)? I would actually prefer that color so it doesn't look too monotonous but it's showing up without wrapping at all.

I tried using the following css in additional.css but nothing changed unfortunately.

Code:

.thread_controls lgvcontrol {background: #E9E9E9;}

Because on that test forum the template uses a css element defined elsewhere... You'll need to find the right attribute to assign to this one... using firebug in the firefox browser can give you a head start.

cooljeba 07-25-2012 08:19 AM

Quote:

The following dependencies were not met:
This product is not compatible with version 4.2.0 of vBulletin. (Compatible starting with 4.0.0 beta 4 / Incompatible with 4.1.0 alpha 1 and greater)
It is imcompatible with 4.2 ? any other similiar mod which is compatible .

Thanks :)

ProFifaLeagues 07-25-2012 09:04 AM

Working Fine on 4.2 for me mate

Ted S 07-25-2012 03:39 PM

Quote:

Originally Posted by cooljeba (Post 2351240)
It is imcompatible with 4.2 ? any other similiar mod which is compatible .

Thanks :)

That a mod is not working on your install does not mean it is incompatible with a version. LGV is live and working fine on many, many 4.2 installs.

TheChief 07-26-2012 01:49 PM

installed and exactly what is needed on my board

Kudos, it allows a great teaser to potential new members

Thanks again

Chief (a non-stat measuring forum admin)

mathforum 07-26-2012 08:00 PM

Quote:

Originally Posted by Ted S (Post 2351218)
Because on that test forum the template uses a css element defined elsewhere... You'll need to find the right attribute to assign to this one... using firebug in the firefox browser can give you a head start.

I've tried and can't find it. I'm not just being lazy and I don't want to waste your time.

Anyone willing to look into this? I'm willing to send you something small for your time if need be.


All times are GMT. The time now is 02:26 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.01962 seconds
  • Memory Usage 1,830KB
  • 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
  • (2)bbcode_code_printable
  • (18)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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