![]() |
BritePic Integration
Britepic is a service from Adbrite which includes ads in your images. Here's a demo: http://www.britepic.com/ If you want to use this mod you first will need an account with Adbrite/Britepic. You can make an account here: https://www.adbrite.com/mb/britepic_...ource=britepic Open the file includes/class_bbcode.php Search the line (~line 1950 ): Code:
return '<img src="' . $link . '" border="0" alt="" />'; Code:
return '<script> Credits to veenuisthebest for the idea & Milad for the XHTML 1.0 Transitional code change. Please click Install when you like this hack! |
To do:
- Make links working with the images (Linked images don't work yet) - Image resizing If anyone want's to help me with these things, I will really appreciate it. |
In order to be XHTML 1.0 Transitional compatible, the code must be like this:
PHP Code:
|
Thanks, changed it.
Now i only have to see how I can get links and resizing to work with BritePic. |
If you can do this for guests only this would be an amazing hack!
|
Quote:
|
Your unique BritePic ID = site ?? (( www.7lanet.com/vb )) ??
|
No, you will get the id ( a number ) when you register on adbrite/BritePic
|
Parse error: syntax error, unexpected T_STRING in /home/joker/public_html/vb/includes/class_bbcode.php on line 1952
|
I see, the code for showing only to guests is not ok right now, I will see what's the problem and place the code again when it works.
|
Just for what it's worth... BritePic stuff seems to be blocked natively with the AdBlock Plus plugin in Firefox. I suspect if your members use the ABP plugin, they may wonder why pics on your site are suddenly not being shown.
|
Quote:
|
I see the two pics on the demo, but both are exactly the same o_O If this is because of FF then i'll wait until it does work in FF
|
I don't understand... is this hack affects the pictures uploaded from who?
|
very nice
|
Quote:
|
Quote:
|
getting an account with britepic is very difficult task..
|
Quote:
|
be careful with adbrite as it shows ads and even allows trojans to be picked up on it pages.I used adbrite till people started complaining about the full page ads which wanted to infect their computers.
|
Quote:
No, only images posted with [img] |
Great idea but as already a user mentioned Firefox blocked those images . also Kaspersky blocked the images in britepic.com too ...
any solution ? |
No, i'm a afraid not.
it has to come from the creator from Adblock Pro and Kaspersky. |
Quote:
Added: I did everything and it doesn't work :( and how can I modify the class_bbcode to center all the images on the thread? |
adbrite will never be as good as adsense because it does`nt care what sites it shows as advertisments so long as it gets revenue.
check google for more on the trojan problem. http://www.google.co.uk/search?sourc...e+Search&meta= |
Thanks a lot mate.
|
Upgrades?
|
You can use this code to center all pictures:
Code:
return '<center><script> |
I just see everything else just the no the Ad :'(
|
Works with IE but can't see nothing on FF... now what? :confused:
|
It's probably Adblock..
|
Tagged. Will install if u can make it only for guest. Will it be possible?
|
When i installed the mod, the ad shows up fine like in the demo, but when using quick reply only, I get a blank page when i submit the post. i have to hit refresh to see the post. any idea what could cause this? I disabled it for now but would reallly like to use it.
|
u post a pic. then if u need to edit it.. u cant. how can i fix it?
|
Can any1 support thins mod please? simple bump, if its ok. :p
|
IE7 works
FF no |
Ah, that sucks. I wanted to install this.
|
Could this be modified to work with linkbucks?
Oh didn't read the whole thread. |
Quote:
|
Thanks :)
Work with 3.8.4 :) Installed |
All times are GMT. The time now is 04:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|