Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
[Mod-Mall] Apture - Keep visitors on your pages longer (as used at economist.com) Details »»
[Mod-Mall] Apture - Keep visitors on your pages longer (as used at economist.com)
Version: 1.00, by nitra1000 nitra1000 is offline
Developer Last Online: Jun 2012 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.1.2 Rating:
Released: 05-06-2011 Last Update: 05-07-2011 Installs: 18
Uses Plugins
 
No support by the author.

What Apture Does
Apture allows the users to select a piece of text and then searchs your website (or websites) to find pages releavent to that text. This keeps people on your pages and website longer, as they don't go and google the next topic of interest.

It has too many features to list but if you go to there website you will get a decent idea..

Apture Website

You can try it out on the economist.com

What This Mod Does
This mod inserts the javascript in your header template, saving you from having to edit or revert your templates every upgrade.

It also has built in conditionals to allow you (or your users) to configure who the script is active for


Currently supports
  • Disable for guests
  • Allow users to enable/disable from their options
  • Only show for certain usergroups (for example only people who donate)
  • Only show to people above a certain post count
  • More coming soon...

How to install
  1. Import the xml
  2. Register at apture.com, and configure your settings
  3. It should give you some code that looks like the below to insert into your header
    Code:
    <script id="aptureScript">
    (function (){var a=document.createElement("script");a.defer="true";a.src="http://www.apture.com/js/apture.js?siteToken=#######";document.getElementsByTagName("head")[0].appendChild(a);})();
    </script>
  4. copy and paste this into the script box found in your admincp under Settings>Options>Add apture Script
  5. Activate and configure the add on in the same screen

To allow users to turn Apture on and off
  1. Do all the steps listed in install
  2. in your admincp go to "Add New User Profile Field"
  3. Select "Single Selection Radio Buttons" and fill in the following
    (you can change these as you see fit but these are my setup)
    • Title: Apture
    • Description: Turn Apture Search on or off.
    • Profile Field Category: Doesn't matter
    • Options:
      • On
      • Off
    • Set Default: Yes (VERY IMPORTANT!)
    • Display Order: Doesn't Matter
    • Field Required: No
    • Field Editable by User: Yes
    • Private Field: No
    • Field Searchable on Members List: No
    • Show on Members List: No
  4. Save that, and note down the name (note this isn't the title and should be something like "field13"
  5. Go back to Settings>Options>Add apture Script
  6. Fill in the What is the fieldid box with the name of your field
  7. Fill in the Disabled text (in the example above this would "Off" without the quotes)
  8. Select Yes to allow users to enable/disable toolbar

How to upgrade
  1. Import the xml, set overwrite to allow/yes/on
  2. Check the settings at Settings>Options>Add Apture Script


Releases
V1.0 - Initial Release
V1.1 - Added support for different options, usergroups, post counts
V1.2 - Bug fix (to do with how VB handles defaults)

To Do List
  • [S]Additional user checks (User ID, Usergroup)[/S] - Done V1.1
  • [S]Allow different field options (i.e different to on/off)[/S] - Done V1.1
  • [S]Vbulletin NULLS the field values, which disabled the addon[/S] - Fixed V1.2
  • Additional forum checks (Forum ID)
  • Style checks

Notes
I will support this modification but not Apture... if you need help signing up or using the service... You can find help on the apture.com website.

Do not remove the attributation link...

Please note I have nothing to do with apture, I just needed this for my forum and thought I would be nice....

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-07-2011, 02:06 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reserved for other tips/advice
Reply With Quote
  #3  
Old 05-07-2011, 04:48 PM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tagged for later.
Reply With Quote
  #4  
Old 05-07-2011, 07:05 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small update:

Now Supports checks for
  • Set which usergroups to show Apture to (i.e only to members who have donated)
  • Set a postcount at which the Apture is available

And you can now use different options i.e instead of on/off
Reply With Quote
  #5  
Old 05-07-2011, 09:05 PM
mfnforex mfnforex is offline
 
Join Date: Jan 2010
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will try , thx
Reply With Quote
  #6  
Old 05-08-2011, 01:50 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I'm confused ...

Installed fine and tested with Apture from their set-up site. It says it's installed fine and running, but I don't see anywhere how to type anything into a bar or use it?

I must be missing something obvious.. sorry about that ... give me a coffee break and you have to retrain me...

Any help would be appreciated ...

Regards,
Doug
Reply With Quote
  #7  
Old 05-08-2011, 01:58 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BadgerDog View Post
Ok, I'm confused ...

Installed fine and tested with Apture from their set-up site. It says it's installed fine and running, but I don't see anywhere how to type anything into a bar or use it?

I must be missing something obvious.. sorry about that ... give me a coffee break and you have to retrain me...

Any help would be appreciated ...

Regards,
Doug
Its really simple just select some text, and the learn more button will come up
Reply With Quote
  #8  
Old 05-08-2011, 03:05 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nitra1000 View Post
Its really simple just select some text, and the learn more button will come up
Well, their demo site shows that, plus just if I start scrolling the bar drops down using their test demo window.

However, when on our live site logged in, nothing happens ...

It works fine if I log out and only be a "guest"?

Regards,
Doug
Reply With Quote
  #9  
Old 05-08-2011, 03:11 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 05-08-2011, 04:27 PM
Juggernaut Juggernaut is offline
 
Join Date: Dec 2009
Location: California
Posts: 589
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, and looking good, does Apture support any language other than english?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:43 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.07078 seconds
  • Memory Usage 2,294KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete