PHP Web Host - Quality Web Hosting For All PHP Applications Clan Themes! We make clans look good!!
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1174

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

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: 1435
Location: North Carolina

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

Try this one. It uses the built in colorbox in RavenNuke 2.40.01
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1174

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

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.
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


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

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

Only if you select to group them. If they are not grouped it only shows the one image.
View user's profile Send private message Send e-mail Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1174

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

Just went with the default which the first line is "group". In the old Lightbox this didn't happen .. Nice !!
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1174

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

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5996

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

They should work together. It won't hurt to uninstall Lightbox.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1174

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

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5996

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

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...
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1174

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

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
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1174

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

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
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team


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

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

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
nuken
RavenNuke(tm) Development Team


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

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

Here is a way to use the forums attachment in a colorbox too.
Only registered users can see links on this board!
Get registered or login to the forums!
View user's profile Send private message Send e-mail Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1174

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

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
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum