Sub Menu
Links Menu
Online Users

In total there are 308 users online :: 3 registered, 0 hidden and 305 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

photo bbcode w/ lightbox

This forum contains member submitted mods and hacks for IntegraMOD/IM Portal versions

*please read the "Read Me" post*

Moderator: Integra Moderator

photo bbcode w/ lightbox

PostAuthor: Helter » Thu Jan 03, 2008 12:47 pm

This bbcode [photo] will display a 300px wide resized image. When selected, it will expand to fullsize using the "LightBox" mod
[url=http]photo bbcode w/ lightbox[/url]
Let me know if you have any trouble installing it because I just finished writing it.
here are a few examples
[photo]http://www.forumimages.co.uk/images/custom_provista.jpg[/photo]
[photo]http://www.forumimages.co.uk/images/main_logo.jpg[/photo]
[photo]http://www.integramod.com/images/IM142.gif[/photo]

also, once this is installed, you may use lightbox to display any image on your forum by adding rel="lightbox" to your image path.
example code
Code: Select all
<a><img></a>

<a><img></a>
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: photo bbcode w/ lightbox

PostAuthor: CaNNon » Thu Jan 03, 2008 11:52 pm

I'm using your dark theme (black) and I'm missing one location line.

Code: Select all
 #-----[ FIND ]---- missing this? ----------------------------#type="text/java.script" src="templates/fi_newsfader_user.js"  


Is it something I should install or is there another line i can find?
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Re: photo bbcode w/ lightbox

PostAuthor: Helter » Fri Jan 04, 2008 12:19 am

doh!... I wrote it on my personal site.

add it after

Code: Select all
<link>


:)
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: photo bbcode w/ lightbox

PostAuthor: CaNNon » Fri Jan 04, 2008 12:35 am

Pretty easy to install and it looks really cool! <img>
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Re: photo bbcode w/ lightbox

PostAuthor: Helter » Fri Jan 04, 2008 12:49 am

I like it because it wont break your forum. You can post any size image and it will display at 300px wide till clicked
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: photo bbcode w/ lightbox

PostAuthor: spaniel » Sun Jan 06, 2008 2:58 pm

i can't get this to work - i've installed it all but when i click on the little camera nothing happens.


Spoke too soon!! It works but the X Close image doesn't appear..... i'll check my uploads again <img>
Last edited by spaniel on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 3:29 pm
Cash on hand: 0.00

Re: photo bbcode w/ lightbox

PostAuthor: spaniel » Sun Jan 06, 2008 3:37 pm

done and seems to work well - thnx for this ingenious piece of js <img>
Last edited by spaniel on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 3:29 pm
Cash on hand: 0.00

PostAuthor: BitingMonkey » Mon Jan 07, 2008 6:24 am

This is a very slick and well polished mod! Thank you very much! Your second post helped on where to add in the overall_header.tpl. I got stuck there too. The install.txt still doesn't mention that bit when I downloaded it today anyways. Also there are two instances of that line in that file I put mine after the first one assuming it didn't matter? It seems to work fine.
~If your regular bbcode stops working after this try deleting your cache files ACP:ImPortal ~that had me stuck for a bit.
Thanks again very nice indeed.
Last edited by BitingMonkey on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

BitingMonkey
Members
Members
 
Posts: 36
Likes: 0 post
Liked in: 0 post
Joined: Sat Nov 11, 2006 4:32 am
Cash on hand: 0.00

Re: photo bbcode w/ lightbox

PostAuthor: Helter » Mon Jan 07, 2008 3:16 pm

I thought I'd updated it, but it really dosent matter where as long as it is before </head>
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

PostAuthor: spaniel » Tue Jan 08, 2008 1:24 am

this works with Integra2 and fisubice, but it doesnt seem to work with fisubice_black.

The images dont pop up, but load way way down the screen far below the forum!

What could be the cause of this?


fisubice has a .css for each colour so i placed that code in each one.
Last edited by spaniel on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 3:29 pm
Cash on hand: 0.00

PostAuthor: spaniel » Tue Jan 08, 2008 1:34 am

ok got it to work with fisubice_black - my webhost has been playing up again! They corrupted the .css file.

Which makes me wonder, which is the most reliable webhost for hosting IntegraMod?
Last edited by spaniel on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 3:29 pm
Cash on hand: 0.00

PostAuthor: spaniel » Tue Jan 08, 2008 1:38 am

No no - the problem seems browser related.

Works fine on firefox, but loads way down the screen on Opera.


And as i'm on a mac i hav no idea how it works on IE.
Last edited by spaniel on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 3:29 pm
Cash on hand: 0.00

Re: photo bbcode w/ lightbox

PostAuthor: Helter » Tue Jan 08, 2008 1:57 am

ive never checked it on opera so I cant comment, but is it that way on every template now?
Last edited by Helter on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4167
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 172.60
Location: Seattle Wa
IntegraMOD version: IM 3

PostAuthor: spaniel » Tue Jan 08, 2008 7:16 am

i've uninstalled Integra2, but on fisubice and its colours it is like that.

what's it like on IE? i only hav the mac version 5.2 and that won't even let me access the IntegraMod.com website!
Last edited by spaniel on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 3:29 pm
Cash on hand: 0.00

Re: photo bbcode w/ lightbox

PostAuthor: CaNNon » Tue Jan 08, 2008 9:23 am

do you have firefox?
[url=http]http://www.mozilla.com/en-US/firefox/all.html[/url]
Last edited by CaNNon on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 11:15 am
Cash on hand: 0.00

Next

Return to Mods/Hacks

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]

cron