Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue Dec 30, 2008 8:24 am Reply with quote

This is fantastic work testy1! Wow, like fkelly, I come back from the Holidays and look what nice present is sitting under the tree... Wink Thanks!

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6432

PostPosted: Tue Dec 30, 2008 11:15 am Reply with quote

Great! I figured using jQuery UI would address browser support issues. I can't see the photo right now as I am behind a firewall, but it's sounding great!

_________________
I search, therefore I exist...
nukeSEO - nukeFEED - nukePIE - nukeSPAM - nukeWYSIWYG
 
View user's profile Send private message
testy1
Involved
Involved



Joined: Apr 06, 2008
Posts: 484

PostPosted: Tue Dec 30, 2008 5:29 pm Reply with quote

Well if you cant see the photo you probably cant see this little video

Click Me Click Me

can you tell im excited lol
 
View user's profile Send private message
spasticdonkey
RavenNuke(tm) Development Team



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

PostPosted: Tue Dec 30, 2008 8:18 pm Reply with quote

very cool testy!
now I want a theme where users can arrange and remove blocks like that Smile
 
View user's profile Send private message Visit poster's website
testy1







PostPosted: Tue Dec 30, 2008 8:32 pm Reply with quote

I actually started working on that about 3 months ago.I got it working mostly but it got way out of control.
 
Palbin
Site Admin



Joined: Mar 30, 2006
Posts: 2583
Location: Pittsburgh, Pennsylvania

PostPosted: Tue Dec 30, 2008 8:50 pm Reply with quote

testy1 can you post your UI files.

_________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." — Brian W. Kernighan. 
View user's profile Send private message
kguske







PostPosted: Tue Dec 30, 2008 10:20 pm Reply with quote

Beautiful! This is coming along really nicely!
 
testy1







PostPosted: Tue Dec 30, 2008 11:59 pm Reply with quote

Im having an issue with the popup.I think it needs to be selector based as it will currently only work on the first block.Im guessing because it is being defined multiple times.Anyone know how to convert this.


includes/jquery/jquery.php
Code:


echo '<script type="text/javascript" language="JavaScript" src="includes/jquery/jquery.cluetip.js"></script>';
echo '<script type="text/javascript">
$(document).ready(function() {

// Rounded Corner theme
$(\'ul.rounded li:eq(0)\').cluetip({splitTitle: \'|\', dropShadow: false, cluetipClass: \'rounded\', showtitle: false});
$(\'ul.rounded li:eq(1)\').cluetip({cluetipClass: \'rounded\', dropShadow: false, showtitle: true, positionBy: \'mouse\'});
$(\'ul.rounded li:eq(2)\').cluetip({cluetipClass: \'rounded\', dropShadow: false, showtitle: true, positionBy: \'bottomTop\', topOffset: 70});
$(\'ul.rounded li:eq(3)\').cluetip({cluetipClass: \'rounded\', dropShadow: false, sticky: true, ajaxCache: false, arrows: true});
$(\'ul.rounded li:eq(4)\').cluetip({cluetipClass: \'rounded\', dropShadow: false});
});
</script>';


admin/modules/JQBlocks.php
Code:


echo '<ul id="SortL" class="sortable rounded">';
   for ($i = 0, $count = count($blocks['l']); $i < $count; $i++) {
      if (!empty($blocks['l'][$i]['content'])) {
         $TypeImage = 'html.png"';
      } elseif (!empty($blocks['l'][$i]['url'])) {
         $TypeImage = 'rss.png"';
      } else {
         $TypeImage = 'php.png"';
      }
      if (!empty($blocks['l'][$i]['groups'])) {
      $BlockGroupID = $blocks['l'][$i]['groups'];
      $groupsSql = $db->sql_query('select gid, gname from ' . $prefix . '_nsngr_groups WHERE gid='.$BlockGroupID.' ORDER BY gname');
      $groupsResult = $db->sql_fetchrow($groupsSql);
      $GroupName = $groupsResult['gname'];
      
      $PermYesPop = htmlentities('title=\'|<font color="red"><b>Block Info</b></font>|<b>Block Type:</b> Block File|<b>Permissions:</b> Group permissions <b>'.$GroupName.'</b>\'');
      
      $PermNoPop = htmlentities('title=\'|<font color="red"><b>Block Info</b></font>|<b>Block Type:</b> Block File|<b>Permissions:</b> No group permissions\'');
      }      
      
      if (($blocks['l'][$i]['groups'] > 0) || ($blocks['l'][$i]['view'] > 0)) {
         echo '<li '.$PermYesPop.' style="color: ' . $textcolor1 . ';" class="activegroup">';
      } else {
         echo '<li '.$PermNoPop.' style="color: ' . $textcolor1 . ';" class="sortable">';
      }


this is the main UL

Code:


echo '<ul id="SortL" class="sortable rounded">';


Palbin,

Ill post that stuff tomorrow its about 2.5 hours away from new years eve party time lol

Happy New Years
 
testy1







PostPosted: Wed Dec 31, 2008 11:06 pm Reply with quote

kguske,

I sent you a PM

The latest files have been passed on to the RN Team but here is a screenshot of where I got to.

Image

Image


EDIT: Here is a post that definately would apply
[ Only registered users can see links on this board! Get registered or login! ]
 
Palbin







PostPosted: Thu Jan 01, 2009 10:38 pm Reply with quote

testy can I get a copy of that?
 
jestrella
Moderator



Joined: Dec 01, 2005
Posts: 593
Location: Santiago, Dominican Republic

PostPosted: Fri Jan 02, 2009 9:24 am Reply with quote

wow testy... I am verry amazed after watching the video... keep it up, you are the man.

_________________
"For those whom have not reach the sky... Every mountain seems high"

Best Regards
Jonathan Estrella [ Only registered users can see links on this board! Get registered or login! ] 
View user's profile Send private message Visit poster's website
testy1







PostPosted: Fri Jan 02, 2009 6:50 pm Reply with quote

here is a better qualty video that shows where I got to.Unfortunately its now getting out of my league.


Just download and open with FF or IE
[ Only registered users can see links on this board! Get registered or login! ]
 
Palbin







PostPosted: Fri Jan 02, 2009 8:12 pm Reply with quote

I'm working on a 'lightbox" preview of the blocks i''l post a screen shot when I'm done. Currently trouble shooting other things :/
 
spasticdonkey







PostPosted: Sat Jan 03, 2009 11:29 am Reply with quote

Highslide is pretty cool too: supports html, iframe, ajax, flash, etc [ Only registered users can see links on this board! Get registered or login! ]
 
Palbin







PostPosted: Sat Jan 03, 2009 11:35 am Reply with quote

I was looking for a jquery plugin, but I will look at highslide to Smile. It is very nice.
 
Palbin







PostPosted: Sat Jan 03, 2009 11:38 am Reply with quote

I just saw that they change for commercial sites. So I don't want to use it.

They don't change for single users, but this could be used as a commercial site so I would like to follow their wishes.
 
kguske







PostPosted: Tue Jan 06, 2009 5:12 am Reply with quote

I'll have to check my notes, but I looked at several lightbox scripts that work with jQuery.
 
kguske







PostPosted: Fri Aug 13, 2010 4:28 pm Reply with quote

Also bumping this as I'd like to see some progress implementing a block editor...

any updated testy1?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

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 ©