vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - [Mod-Mall] Apture - Keep visitors on your pages longer (as used at economist.com) (https://vborg.vbsupport.ru/showthread.php?t=263293)

BadgerDog 05-08-2011 05:24 PM

Quote:

Originally Posted by nitra1000 (Post 2193328)
Check your settings, it's most likely that a setting is not setup properly....

If you can't solve it pm me a screenshot of your settings page and a url of your forum

Ok, will do ... :)

Here's a settings screen shot ... I xxx'd out the Token in he script for security ...

As a test, just installed on our 4.13 vBulletin devforum and as with our 4.04 production version, works fine with "guests" ONLY, not with logged in user.

Thanks ...

Regards,
Doug

Edit: Just took the java script and put it directly into the bottom of the footer template of the style and it worked fine, even for a user logged in and not just guests, so whatever is wrong, involves the process of inserting it through the mod's plugins?

BadgerDog 05-08-2011 08:36 PM

Ok, figured it out .... :up:

For anyone else who experiences the problem of it not working, I traced our issue back to the "field" On or Off .....

Yes, you can add and set up a field as described using Radio Buttons, but the field doesn't have any default value for any existing user, until they go into their profile and click on one of the two values.

So, when these two fields in the mod are completed .. ie:

Quote:

What is the FieldID (in the name column) of the user profile field you created? field15

What is the enabled text in the user profile field options (please enter it exactly)? On
It doesn't mean anything because the value in the user record is "null" until they place something there.

As soon as I went through a few users from the various UserGroups permitted by the mod in that field and manually checked On, the "apture" started working just fine, of course, just for the users that go through that process.

I think the mod should somehow assume the field is ON as the starting default for all users, until they get around to going into their profiles and selecting the OFF option if they don't want it.

Nice mod and a good addition to our site nitra1000 ... :up:

Will be sending PayPal ... ;)

Regards,
Doug

nitra1000 05-08-2011 08:45 PM

Quote:

Originally Posted by BadgerDog (Post 2193422)
Nice mod and a good addition to our site nitra1000 ... :up:

Will be sending PayPal ... ;)

Regards,
Doug

Many thanks Doug will make the mod assume on, rather than assume off next version... You can set the default when setting up the field itself (it will always assumes the top of the list).... I have edited the documentation to tell people to do this now (Set Default).

All the Best,
John

p.s Many thanks for the donation! it is very much appreciated

BadgerDog 05-08-2011 09:13 PM

Quote:

Originally Posted by nitra1000 (Post 2193427)
Many thanks Doug will make the mod assume on, rather than assume off next version... You can set the default when setting up the field itself (it will always assumes the top of the list).... I have edited the documentation to tell people to do this now (Set Default).

All the Best,
John

p.s Many thanks for the donation! it is very much appreciated

You're welcome John ... nice work .. thanks again ... :up:

By the way, I do have the default set in the "fieldxx" set-up area ..

Quote:

Set Default Will set the first non blank option as the default. "checked ON"
... but, for whatever reason, it doesn't use that value except to cosmetically display (in the case of radio buttons) which button is highlighted. It doesn't put anything into a user record until they actually choose which one and save their profile again.

I'd like to bring live your mod in the next few days for everyone, so anything you can do to assume the default is ON in the mod would be great. There's not much sense for us to bring live the mod globally, when I'll have to tell 16,000 members to go to their profile, select a button ON or OFF, then save it, just to see what the mod looks like. Most probably wouldn't bother and I think they'd be missing something pretty neat.

Regards,
Doug

nitra1000 05-08-2011 09:41 PM

Quote:

Originally Posted by BadgerDog (Post 2193437)
You're welcome John ... nice work .. thanks again ... :up:

By the way, I do have the default set in the "fieldxx" set-up area ..



... but, for whatever reason, it doesn't use that value except to cosmetically display (in the case of radio buttons) which button is highlighted. It doesn't put anything into a user record until they actually choose which one and save their profile again.

I'd like to bring live your mod in the next few days for everyone, so anything you can do to assume the default is ON in the mod would be great. There's not much sense for us to bring live the mod globally, when I'll have to tell 16,000 members to go to their profile, select a button ON or OFF, then save it, just to see what the mod looks like. Most probably wouldn't bother and I think they'd be missing something pretty neat.

Regards,
Doug

Updated to reflect this bug, let me know how it handles :up:

Note the change to the Settings page now you must enter the DISABLED text not the enabled text!

The Rocketeer 05-09-2011 02:56 AM

demo site is not working. using ff4

Brandon Sheley 05-09-2011 03:13 AM

Quote:

Originally Posted by The Rocketeer (Post 2193520)
demo site is not working. using ff4

it's working fine for me in ff4

Is there a way to turn that toolbar off? I don't care for that part but I do like how you can highlight text and get related threads..

thx

The Rocketeer 05-09-2011 04:21 AM

<a href="http://www.economist.com/node/16316937" target="_blank">http://www.economist.com/node/16316937</a>

no, it doesn't work Brandon, I have tried different browsers....

nitra1000 05-09-2011 05:47 AM

Quote:

Originally Posted by Brandon Sheley (Post 2193522)
it's working fine for me in ff4

Is there a way to turn that toolbar off? I don't care for that part but I do like how you can highlight text and get related threads..

thx

Yes you can turn off the toolbar (I beleive it's off by default, when you setup an account)

nitra1000 05-09-2011 05:50 AM

Quote:

Originally Posted by The Rocketeer (Post 2193533)
no, it doesn't work Brandon, I have tried different browsers....

Are you blocking javascript or running an adblock?


All times are GMT. The time now is 04:37 PM.

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.01241 seconds
  • Memory Usage 1,751KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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