Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues
Author Message
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Thu Aug 19, 2010 7:41 pm Reply with quote

I thought that maybe copying over /fckeditor and /jquery from the previous version that worked that it would work in 2.4.0.1 .. nope, just a blank page for the index page. So, maybe there is another directory to copy over or what? I'd really like to get LB to work.

Thanks
 
View user's profile Send private message
nuken
RavenNuke(tm) Development Team



Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina

PostPosted: Fri Aug 20, 2010 6:20 am Reply with quote

Try this one. It uses the built in colorbox in RavenNuke 2.40.01
http://nukeseo.com/modules.php?name=Downloads&op=getit&lid=39

_________________
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Send e-mail Visit poster's website
dad7732







PostPosted: Fri Aug 20, 2010 6:35 am Reply with quote

Sweet!!! And faster than Lightbox, nice looking border as well.

Thanks!!

Yikes, just noticed that you can scroll through all images as well in the colorbox.
 
nuken







PostPosted: Fri Aug 20, 2010 6:47 am Reply with quote

Only if you select to group them. If they are not grouped it only shows the one image.
 
dad7732







PostPosted: Fri Aug 20, 2010 6:58 am Reply with quote

Just went with the default which the first line is "group". In the old Lightbox this didn't happen .. Nice !!
 
dad7732







PostPosted: Sat Aug 21, 2010 10:03 pm Reply with quote

Ok, gonna get myself in trouble again .. but .. Will installing Colorbox where Lightbox is installed work or do I have to uninstall Lightbox first. Colorbox is soooo much nicer!! Smile
 
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Mon Aug 23, 2010 7:23 am Reply with quote

They should work together. It won't hurt to uninstall Lightbox.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
dad7732







PostPosted: Mon Aug 23, 2010 7:32 am Reply with quote

Experimented with it last night. I had to remove the /includes/directory and /jquery/ and then re-up the latest RN 2.4.0.1 /includes/ and /jquery/ followed by removing the script lines in the messages where the lightbox/jquery scripts were placed. Then uploaded colorbox and worked just fine. However, on another domain, all that was necessary was to remove the script lines in the beginning of the messages that called lightbox and load colorbox. Each installation of lightbox has it's own nuances.

"Colorbox" is sooo much easier to install and use.

Cheers
 
kguske







PostPosted: Mon Aug 23, 2010 8:09 am Reply with quote

I tested 16 different lightbox / modal scripts before selecting Colorbox (which I didn't discover until I had already tested the others).

Not only is it easier to install and use, but it also has much more robust functionality than the others I reviewed - at least those with open source licenses. There was another tool (ShadowBox) that was also pretty good, but didn't have a license compatible with RN.

The difficult part about selecting these types of scripts is that they continue to evolve - in both good and bad ways. Today's best pick might not be the best tomorrow... (though I suspect Colorbox is around for the long haul). Fortunately, many are implemented the same way (as we found with some of these lightbox scripts), which makes it easier to plug and play when a better script comes along...
 
dad7732







PostPosted: Mon Aug 23, 2010 8:15 am Reply with quote

Well, I am one that doesn't upgrade just for the sake of upgrading. The reason why some of us are in the support venue is to fix those things that are broken by upgrading .. Smile

Everytime Firefox and Thunderbird "upgrade", the support arenas are filled with "my addon no longer works" ... Wink

Cheers
 
dad7732







PostPosted: Tue Aug 24, 2010 3:01 pm Reply with quote

Anyone with an idea how to get Colorbox to work on an image posted in the forum?

rel="colorbox' doesn't do it. And yes, "rel" is an accepted tag in the forum config along with other necessary tags, etc.

Cheers
 
spasticdonkey
RavenNuke(tm) Development Team



Joined: Dec 02, 2006
Posts: 1693
Location: Texas, USA

PostPosted: Tue Aug 24, 2010 3:22 pm Reply with quote

rel="colorbox" should work if you load the proper JS in the head... I might change it to something else though, something like

$("a[rel='forumimage']").colorbox({transition:"fade", width:"85%"});

I just added mine to includes/jquery/jquery.colorbox.php
or you can create your own includes/addons/head-xxx.php file to make upgrades easier... so if you added to jquery.colorbox.php might look like:

Code:
$inlineJS = '<script type="text/javascript">

   $(document).ready(function(){
      $(".colorbox").colorbox({opacity:0.65, current:"{current} of {total}"});
      $("a[rel=\'forumimage\']").colorbox({transition:"fade", width:"85%"});
      $(".colorboxSEO").colorbox({opacity:0.50, width:"750", height:"300", iframe:true});
   });
</script>'."\n";
addJSToHead($inlineJS,'inline');


or you can use the default css colorbox class on your links as well

a class="colorbox"
 
View user's profile Send private message Visit poster's website
nuken







PostPosted: Tue Aug 24, 2010 3:47 pm Reply with quote

Here is a way to use the forums attachment in a colorbox too.
http://www.ravenphpscripts.com/postt18708.html
 
dad7732







PostPosted: Tue Aug 24, 2010 5:45 pm Reply with quote

class="colorbox" did the trick and was by far the easiest and less typing/thinking, etc. And now that I remember, that's what I did for lightbox in posts. Smile

adding the script to jquery.colorbox.php caused the site to come up with a blank page.

Cheers
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.4 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©