Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[snap] BBcode : capture screens of websites ! Details »»
[snap] BBcode : capture screens of websites !
Version: 1.00, by cclaerhout cclaerhout is offline
Developer Last Online: Feb 2013 Show Printable Version Email this Page

Category: BB Code Enhancements - Version: 3.8.3 Rating:
Released: 08-19-2009 Last Update: Never Installs: 15
Uses Plugins Template Edits Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

[snap] BBcode
-Version 1.0-
Created by C?dric Claerhout
for www.vBulletin(-fr).org

Version history:

2009 august 20: version 1.0 is out

Presentation:
This BBcode, which is provided as a product file, is based on Webthumb service. It consists of making screen capture of a website. It's working the following way: user borders website url with [snap] BBcode. When he valides a message, the website url is sent to Webthumb server, which sends back a picture that will be save on your server. Then, time has come for BBcode [snap] to be replaced by its brotherhood [IMG] BBcode, which will load picture from your server

You HAVE to open an account on Webthumb website in order to get an APIkey. This kind of license will allow you to make 100 screenshots per month. This product has been created to make you able to enter a default APIKEY for all your users AND, if you want it, you can create a User Profile Field to allow users to enter their own APIKEY.

This module can be automatically integrated to Advanced BB Codes Toolbar.

There are many options:
  • Usergroups permissions
  • Default APIkey
  • User APIkey
  • Image format
  • Image default size
  • Horizontal resolution
  • Vertical resolution
  • Multi sizes?
  • Multi-Snap Option
  • Advanced BB Codes Toolbar Integration
  • Single-button Option with Advanced BB Codes Toolbar

Information
Don't use this product on crowded forum except if you configure it for a few number of users. The reason : when user submits a message with [snap] bbcodes inside, the website "snapped" URL is sent to Webthumb, but during this time your server is waiting for Webthumb answer. And if this answer is taking to much time to come, an SQL error will be displayed. Nothing serious but your admin email account will be spammed with error messages. Quite boring.


I don't think I will be able to improve this product. I've reached my coding limits. So if a smart coder wants to continue this project, please do ! For your information, Webthumb uses a GNU license. For my vB Code, you can modify it as you want (with or without sourcing me) providing to distribute your modification on vBulletin.org.

I'm sorry but I will not support this modification

Show Your Support

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

Comments
  #2  
Old 08-20-2009, 05:29 AM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

HOW TO CREATE A USER PROFILE FIELD FOR APIKEY

Step 1 :
Admincp=>Champs du profil=>Add New User Profile Field=> Single-Line Text Box
Intitul? :
Code:
[snap] BBcode APIKEY
Description :
Code:
Enter here the [snap] BBcode APIkey. If you don't have one, go to <a href="http://webthumb.bluga.net/home">Webthumb</a> website and open an account for free.
Max length of allowed user input: 100
Field Required: no
Field Editable by User: yes
Private Field: no
Field Searchable on Members List: no
Afficher sur la liste des membres : yes

Display Page: "Edit your details"


=> SAVE AND WRITE DOWN THE FIELD ID

Step 2 :

Open the [snap] BBcode xml product and search :
Code:
            $APIKEY = $vbulletin->userinfo['fieldXX'];
Then replace the XX with your User Profile Field ID, save and import product.
Reply With Quote
  #3  
Old 08-20-2009, 01:48 PM
MikesSite MikesSite is offline
 
Join Date: Jan 2009
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks pretty cool, have any screen shots?
Reply With Quote
  #4  
Old 08-20-2009, 02:23 PM
theforumist theforumist is offline
 
Join Date: Jul 2008
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interested in this. Get some screenies up and I might consider installing it.
Reply With Quote
  #5  
Old 08-20-2009, 02:25 PM
ErrorLog ErrorLog is offline
 
Join Date: Jul 2008
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please screenshot ?
Reply With Quote
  #6  
Old 08-20-2009, 02:57 PM
cclaerhout's Avatar
cclaerhout cclaerhout is offline
 
Join Date: Aug 2004
Location: Paris (France)
Posts: 448
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well even though screenshots won't tell you more than has already been by the description, here you are ^^

P.S: I've tested this hack on two forums.

I see that one vB member give my hack one star. That's kind but it would have be kinder if he could have told be why.
Reply With Quote
  #7  
Old 08-20-2009, 04:21 PM
RTMdotORG RTMdotORG is offline
 
Join Date: Dec 2008
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great... will probably install this later... I need something like this...thanks..
Reply With Quote
  #8  
Old 08-21-2009, 01:57 AM
Faizan Faizan is offline
 
Join Date: Mar 2008
Location: fullmaza.com
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow great Man
Reply With Quote
  #9  
Old 08-21-2009, 02:27 AM
choccyclaire choccyclaire is offline
 
Join Date: Jan 2008
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have no use for it but what an interesting idea...
Reply With Quote
  #10  
Old 08-24-2009, 02:53 PM
Shevko's Avatar
Shevko Shevko is offline
 
Join Date: Sep 2007
Location: Turkey
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Idea.. Thanks
Reply With Quote
Reply


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 02:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04552 seconds
  • Memory Usage 2,296KB
  • 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
  • (3)bbcode_code
  • (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
  • (1)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