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)
-   -   BB Code Enhancements - BritePic BBCODE (Monetize and bring life to your images) (https://vborg.vbsupport.ru/showthread.php?t=181323)

veenuisthebest 06-02-2008 10:00 PM

BritePic BBCODE (Monetize and bring life to your images)
 
**************veenuisthebest*****************
*************Visit Tech6.com***************

Just found it while surfing the web. Its an AdBrite technology. Check out the demo here.
http://www.britepic.com/

What is BritePic?
  • BritePic adds interactivity and ads (if you want them) to the photos on your website.
  • BritePic is free and easy to use.
What kind of interactivity?

BritePic adds the following features to the images on your website:
  • Email this image
  • Link to this image
  • Embed this image (you still get the ad revenue, even if your pic is embedded elsewhere)
  • Zoom in and out
  • Captions that slide out when you hover over the pic
  • Ads from AdBrite
  • Link the image to another URL
  • Subscribe to RSS
  • Rate this image (coming soon)
  • View gallery (coming soon)
  • Discuss this image (coming soon)
  • Accessibility features for visually impaired (coming soon)
  • And more?
1. All you need to do is to register with AdBrite for this free service.

2. Now go to admincp->BBCODE Manager->Add New BBCODE

Title:- BritePic
Tag:- britepic
Replacement:-
Code:

<script>
 britepic_id="Your unique BritePic ID";
 britepic_src="{param}";
</script>
<script src="http://www.britepic.com/britepic.js"></script>
<noscript>
<img src="{param}">
</noscript>

Example:- [britepic]URL to your example image[/britepic]
Description:- Allow users to add BritePics to their posts.

Rest leave default and Save.

Do not forget to put your BritePic ID in the Replacement code above.

3. DONE

Limitations:-
  • Currently allows Jpegs only.
  • Images smaller then 355px wide and 110px tall will not show ads.
LIVE DEMO

Do not forget to Mark as Installed if you find it useful..:)

redraider 06-02-2008 11:40 PM

Great mod! .... is there a way we can just change the default image tags .... to this? That would make all the images on the site with ads ...

veenuisthebest 06-03-2008 12:02 AM

if i'm not wrong.. that would require some serious code editing
cannot think of it right now ..

btw.. you forgot to click install ;)

iogames 06-03-2008 12:28 AM

NO WAY! :eek:

now I'm really become a millionaire :D

veenuisthebest 06-03-2008 12:57 AM

Quote:

Originally Posted by iogames (Post 1539272)
NO WAY! :eek:

now I'm really become a millionaire :D

you can buy Adobe then..:)

Milad 06-03-2008 11:31 AM

Yes, by one edit to class_bbcode.php file.

nike.stars 06-03-2008 12:14 PM

Quote:

Originally Posted by Milad (Post 1539616)
Yes, by one edit to class_bbcode.php file.

can you show me how to do that?

M-Tuning 06-03-2008 01:10 PM

Quote:

Originally Posted by nike.stars (Post 1539643)
can you show me how to do that?

https://vborg.vbsupport.ru/showthread.php?t=181384

Milad 06-03-2008 01:24 PM

Quote:

Originally Posted by M-Tuning (Post 1539685)

You may say 'thank you for the tip' to me.

Milad 06-03-2008 01:28 PM

By the way:
In order to be XHTML 1.0 Transitional compatible, the code must be like this:

HTML Code:

<script>
<!--
        britepic_id="Your unique BritePic ID";
        britepic_src="{param}";
// -->

</script>
<script type="text/javascript" src="http://www.britepic.com/britepic.js"></script>
<noscript>
        <img src="{param}" alt="" />
</noscript>

M-Tuning: please don't copy/paste the code without saying who made it XHTML 1.0 Transitional compatible.

Regards


All times are GMT. The time now is 09:13 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.01056 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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