PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
Author Message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2408
Location: Pennsylvania

PostPosted: Mon Nov 10, 2008 6:21 am Reply with quote Back to top

Not sure if you anyone would want to go with a different downlaod module, but if not I think the current module should have its admin section moved to the module dirrectory. This would of course move it out of general administration to module administration and open it up to non God admins.

I personally think that RavenNuke should switch to one of the other download modules. Maybe NSN? What do you guys think?
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6302
Location: Vsetin, Czech Republic

PostPosted: Mon Nov 10, 2008 7:33 am Reply with quote Back to top

NSN GR Downloads is very popular (based on the number of mentions it gets on this site) and of course it is 'group' aware which could be useful and some of us already have modified it for RN CAPTCHA awareness too.
View user's profile Send private message Send e-mail Visit poster's website
jestrella
Moderator


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

PostPosted: Mon Nov 10, 2008 8:14 pm Reply with quote Back to top

I think NSN GR Downloads is the way to go regarding the download module. But I would like to see some modifications as well, like having different download links for the same file, this will be very useful if for example you want to have different packages for one file (let's say rar, zip, tar, gz, bz2, 7z...), so you can have all links in just one place and the user just choose the best archiver for himself. This will also provide more control over download stats... Just my humble opinion.
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Tue Nov 11, 2008 7:56 am Reply with quote Back to top

I think Montego started a list of requested enhancements for NSN Group Downloads as he is taking over development for that, but I think tracking different file formats as one download might be useful.
View user's profile Send private message
montego
Former Admin in Good Standing


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

PostPosted: Fri Nov 14, 2008 6:29 am Reply with quote Back to top

jestrella, this is definitely an interesting idea. I have added it to my own issue tracker... the list is growing and growing and growing... lol.
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Mon Nov 17, 2008 11:02 pm Reply with quote Back to top

Someone mentioned an updated AvantGo module - look at
Only registered users can see links on this board!
Get registered or login to the forums!
(link courtesy NukeEvangelist). Very interesting...
View user's profile Send private message
sixf00t4
Regular
Regular


Joined: Nov 05, 2006
Posts: 96

PostPosted: Tue Nov 18, 2008 1:48 pm Reply with quote Back to top

I had laid ground work for a tagging/tagcloud system for news items, but I kept putting it off to see what the new version of RN held. Now I want to work on getting a few other things back to normal before I pick it back up.

- Better download system or incorporation of NSN downloads
- social bookmarking links like the new subscription options in feeds
- stats, stats, stats. we've talked about ms-analysis a few times. that was a great module.
- more ajax.
View user's profile Send private message Visit poster's website AIM Address
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3028
Location: United Kingdom

PostPosted: Tue Nov 18, 2008 2:20 pm Reply with quote Back to top

If we were to include a new stats module I would want the ability to disable it, because cPanel comes with Awstats etc and I quite often use Google Analytics. Therefore I don't need the additional load of a stats module. JMO
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Tue Nov 18, 2008 8:20 pm Reply with quote Back to top

Understood, jakec. The one thing those can't do, though, and what MSAnalysis does, is link the statistics to site members.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6302
Location: Vsetin, Czech Republic

PostPosted: Wed Nov 19, 2008 3:38 am Reply with quote Back to top

jestrella wrote:
I think NSN GR Downloads is the way to go regarding the download module. But I would like to see some modifications as well, like having different download links for the same file, this will be very useful if for example you want to have different packages for one file (let's say rar, zip, tar, gz, bz2, 7z...), so you can have all links in just one place and the user just choose the best archiver for himself. This will also provide more control over download stats... Just my humble opinion.

Would be really nice if you could just upload a directory of files and then they are compressed in the requested format on-the-fly before delivery. I think it can be done with zip gzip and gz.tar but not sure about the others.
View user's profile Send private message Send e-mail Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Wed Nov 19, 2008 8:02 am Reply with quote Back to top

Any comments on the iPhone module?
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6302
Location: Vsetin, Czech Republic

PostPosted: Wed Nov 19, 2008 9:11 am Reply with quote Back to top

iPhone module?
View user's profile Send private message Send e-mail Visit poster's website
spasticdonkey
RavenNuke(tm) Development Team


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

PostPosted: Wed Nov 19, 2008 9:22 am Reply with quote Back to top

Speaking of ms-analysis, the cron update script is broken under latest RN, worked with RN until most recent update.. I believe it may be because it resides in modules/MS_Analysis/include but you have to access the script directly... (not thru module)

was there a security upgrade to prevent such access?
View user's profile Send private message
sixf00t4
Regular
Regular


Joined: Nov 05, 2006
Posts: 96

PostPosted: Wed Nov 19, 2008 10:33 am Reply with quote Back to top

Guardian2003 wrote:
iPhone module?


kguske wrote:
Someone mentioned an updated AvantGo module - look at
Only registered users can see links on this board!
Get registered or login to the forums!
(link courtesy NukeEvangelist). Very interesting...
View user's profile Send private message Visit poster's website AIM Address
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Wed Nov 19, 2008 10:52 am Reply with quote Back to top

Here's an iphone script I adapted for RN back in August for a client. BTW, since I don't read Spanish, that site doesn't tell me much ROTFL

Code:
<?php

/*
PHP to detect mobile phones
http://www.andymoore.info/php-to-detect-mobile-phones/
Last updated: 28th February 2009
Version: 3.00

Subscribe to my RSS feed to keep updated of changes to this script:
http://andymoore.info/feed/

Andy Moore - dotMobi Certified Mobile Web Developer
http://www.andymoore.info/

Need hosting or domain names?
https://www.nostinghosting.com/

Copyright 2008 Andy Moore (email :
Only registered users can see links on this board!
Get registered or login to the forums!
)

SHARED SOURCE LICENSE

This License governs use of the accompanying Software, and your use of the Software constitutes acceptance of this license.

You may use this Software for any non-commercial purpose, subject to the restrictions in this license. Some purposes which can be non-commercial are teaching, academic research, and personal experimentation. You may also distribute this Software with books or other teaching materials, or publish the Software on websites, that are intended to teach the use of the Software.

You may not use or distribute this Software or any derivative works in any form for commercial purposes. Examples of commercial purposes would be running business operations, licensing, leasing, or selling the Software, or distributing the Software for use with commercial products.

You may modify this Software and distribute the modified Software for non-commercial purposes, however, you may not grant rights to the Software or derivative works that are broader than those provided by this License. For example, you may not distribute modifications of the Software under terms that would permit commercial use, or under terms that purport to require the Software or derivative works to be sublicensed to others.

You may use any information in intangible form that you remember after accessing the Software. However, this right does not grant you a license to any of Andy Moore's copyrights or patents for anything you might create using such information.

In return, we simply require that you agree:

   1. Not to remove any copyright or other notices from the Software.

   2. That if you distribute the Software in any form, you will include a verbatim copy of this license.

   3. That if you distribute derivative works of the Software in source code form you do so only under a license that includes all of the provisions of this License, and if you distribute derivative works of the Software solely in object form you do so only under a license that complies with this License.

   4. That if you have modified the Software or created derivative works, and distribute such modifications or derivative works, you will cause the modified files to carry prominent notices so that recipients know that they are not receiving the original Software. Such notices must state: (i) that you have changed the Software; and (ii) the date of any changes.

   5. THAT THE SOFTWARE COMES "AS IS", WITH NO WARRANTIES. THIS MEANS NO EXPRESS, IMPLIED OR STATUTORY WARRANTY, INCLUDING WITHOUT LIMITATION, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR ANY WARRANTY OF TITLE OR NON-INFRINGEMENT. ALSO, YOU MUST PASS THIS DISCLAIMER ON WHENEVER YOU DISTRIBUTE THE SOFTWARE OR DERIVATIVE WORKS.

   6. THAT ANDY MOORE WILL NOT BE LIABLE FOR ANY DAMAGES RELATED TO THE SOFTWARE OR THIS LICENSE, INCLUDING DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL OR INCIDENTAL DAMAGES, TO THE MAXIMUM EXTENT THE LAW PERMITS, NO MATTER WHAT LEGAL THEORY IT IS BASED ON. ALSO, YOU MUST PASS THIS LIMITATION OF LIABILITY ON WHENEVER YOU DISTRIBUTE THE SOFTWARE OR DERIVATIVE WORKS.

   7. That if you sue anyone over patents that you think may apply to the Software or anyone's use of the Software, your license to the Software ends automatically.

   8. That your rights under the License end automatically if you breach it in any way.

   9. Andy Moore reserves all rights not expressly granted to you in this license.

*/

function detect_mobile_device(){

  // check if the user agent value claims to be windows but not windows mobile
  if(stristr($_SERVER['HTTP_USER_AGENT'],'windows')&&!stristr($_SERVER['HTTP_USER_AGENT'],'windows ce')){
    return false;
  }
  // check if the user agent gives away any tell tale signs it's a mobile browser
  if(eregi('up.browser|up.link|windows ce|iemobile|mini|mmp|symbian|midp|wap|phone|pocket|mobile|pda|psp',$_SERVER['HTTP_USER_AGENT'])){
    return true;
  }
  // check the http accept header to see if wap.wml or wap.xhtml support is claimed
  if(stristr($_SERVER['HTTP_ACCEPT'],'text/vnd.wap.wml')||stristr($_SERVER['HTTP_ACCEPT'],'application/vnd.wap.xhtml+xml')){
    return true;
  }
  // check if there are any tell tales signs it's a mobile device from the _server headers
  if(isset($_SERVER['HTTP_X_WAP_PROFILE'])||isset($_SERVER['HTTP_PROFILE'])||isset($_SERVER['X-OperaMini-Features'])||isset($_SERVER['UA-pixels'])){
    return true;
  }
  // build an array with the first four characters from the most common mobile user agents
  $a = array(
                    'acs-'=>'acs-',
                    'alav'=>'alav',
                    'alca'=>'alca',
                    'amoi'=>'amoi',
                    'audi'=>'audi',
                    'aste'=>'aste',
                    'avan'=>'avan',
                    'benq'=>'benq',
                    'bird'=>'bird',
                    'blac'=>'blac',
                    'blaz'=>'blaz',
                    'brew'=>'brew',
                    'cell'=>'cell',
                    'cldc'=>'cldc',
                    'cmd-'=>'cmd-',
                    'dang'=>'dang',
                    'doco'=>'doco',
                    'eric'=>'eric',
                    'hipt'=>'hipt',
                    'inno'=>'inno',
                    'ipaq'=>'ipaq',
                    'java'=>'java',
                    'jigs'=>'jigs',
                    'kddi'=>'kddi',
                    'keji'=>'keji',
                    'leno'=>'leno',
                    'lg-c'=>'lg-c',
                    'lg-d'=>'lg-d',
                    'lg-g'=>'lg-g',
                    'lge-'=>'lge-',
                    'maui'=>'maui',
                    'maxo'=>'maxo',
                    'midp'=>'midp',
                    'mits'=>'mits',
                    'mmef'=>'mmef',
                    'mobi'=>'mobi',
                    'mot-'=>'mot-',
                    'moto'=>'moto',
                    'mwbp'=>'mwbp',
                    'nec-'=>'nec-',
                    'newt'=>'newt',
                    'noki'=>'noki',
                    'opwv'=>'opwv',
                    'palm'=>'palm',
                    'pana'=>'pana',
                    'pant'=>'pant',
                    'pdxg'=>'pdxg',
                    'phil'=>'phil',
                    'play'=>'play',
                    'pluc'=>'pluc',
                    'port'=>'port',
                    'prox'=>'prox',
                    'qtek'=>'qtek',
                    'qwap'=>'qwap',
                    'sage'=>'sage',
                    'sams'=>'sams',
                    'sany'=>'sany',
                    'sch-'=>'sch-',
                    'sec-'=>'sec-',
                    'send'=>'send',
                    'seri'=>'seri',
                    'sgh-'=>'sgh-',
                    'shar'=>'shar',
                    'sie-'=>'sie-',
                    'siem'=>'siem',
                    'smal'=>'smal',
                    'smar'=>'smar',
                    'sony'=>'sony',
                    'sph-'=>'sph-',
                    'symb'=>'symb',
                    't-mo'=>'t-mo',
                    'teli'=>'teli',
                    'tim-'=>'tim-',
                    'tosh'=>'tosh',
                    'treo'=>'treo',
                    'tsm-'=>'tsm-',
                    'upg1'=>'upg1',
                    'upsi'=>'upsi',
                    'vk-v'=>'vk-v',
                    'voda'=>'voda',
                    'wap-'=>'wap-',
                    'wapa'=>'wapa',
                    'wapi'=>'wapi',
                    'wapp'=>'wapp',
                    'wapr'=>'wapr',
                    'webc'=>'webc',
                    'winw'=>'winw',
                    'winw'=>'winw',
                    'xda-'=>'xda-'
                  );
  // check if the first four characters of the current user agent are set as a key in the array
  if(isset($a[substr($_SERVER['HTTP_USER_AGENT'],0,4)])){
    return true;
  }
}

function detect_iphone(){
  if(eregi('iphone',$_SERVER['HTTP_USER_AGENT'])||eregi('ipod',$_SERVER['HTTP_USER_AGENT'])){
    return true;
  }
}

// example 1 - detect and redirect mobile browsers
if(detect_mobile_device()){
  header('Location: http://domain.com/modules.php?name=AvantGo');
  exit;
}

// example 2 - detect and redirect desktop browsers
if(!detect_mobile_device()){
  header('Location: http://domain.com/');
  exit;
}

// example 3 - send iphone to specific site
if(detect_iphone()){
  header('Location: http://domain.com/modules.php?name=AvantGo/');
  exit;
}

?>
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Wed Nov 19, 2008 11:16 am Reply with quote Back to top

The site has English translation... Check out the demo links. But it's not automatic like the nifty script you posted.

BTW: CMWD - certified by whom? Smile
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Wed Nov 19, 2008 11:19 am Reply with quote Back to top

My guess is you'll find your answer somewhere at

Andy Moore - dotMobi Certified Mobile Web Developer
Only registered users can see links on this board!
Get registered or login to the forums!

killing me
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
spasticdonkey
RavenNuke(tm) Development Team


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

PostPosted: Sat Nov 29, 2008 12:49 pm Reply with quote Back to top

Guardian2003 wrote:
In your module index page if you add
Code:

define ('RN_MODULE_CSS','custom_style.css');

the code in header will then attempt to load
Code:
themes/YOURTHEME/style/custom_style.css


just lusting some more Smile
would be cool to add this same type of functionality for including javascript(s) on a per module basis.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6302
Location: Vsetin, Czech Republic

PostPosted: Sat Nov 29, 2008 1:06 pm Reply with quote Back to top

I was thinking about this the other day Wink
In 'theory' it should be possible to do something in includes/javascript.php to load additional js stuff on a per module basis much like we did with the module level style sheet.
View user's profile Send private message Send e-mail Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Sat Nov 29, 2008 4:45 pm Reply with quote Back to top

That's not theory, it's always been possible.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Sat Nov 29, 2008 6:44 pm Reply with quote Back to top

And, it's what we're thinking of for enhancing jquery.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Tue Dec 09, 2008 5:40 am Reply with quote Back to top

Just bumping this to see if there are any other nifty ideas for the future...
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6302
Location: Vsetin, Czech Republic

PostPosted: Tue Dec 09, 2008 6:23 am Reply with quote Back to top

The iPhone idea seems good but I cannot help wondering why bother just for AvantGo, why not go the whole hog and use something like
Only registered users can see links on this board!
Get registered or login to the forums!

I installed that on a site a few years ago. Installation was really easy - just like adding a normal module, and it converts a lot of content, not just news.

The standard *nuke Downloads, Weblinks and Stats modules have definitely seen better days and there have been numerous discussions for potential functionality enhancements to those but some presentation enhancements would be nice too.

The News module - well I tried not to mention it but it needs a lot of work, especially in 'modularising' it and it certainly should not be reliant on code in the users theme for it to work. Themes IMHO should be for presentation not for core code functionality.

Language support - it's far superior to standard *nuke but there are still things that can be done to improve it (use arrays and correct the logic in get_lang ).

The core *nuke permissions system should be retired and replaced by an upgraded NSN Groups system so we have just the one set of code handling all permissions - could pave the way for more granular permission rules (read/write/edit/moderate/administer).
View user's profile Send private message Send e-mail Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Tue Dec 09, 2008 9:58 am Reply with quote Back to top

PHP-Portal. Bye, bye *nuke. Write from scratch, so to speak.
Only registered users can see links on this board!
Get registered or login to the forums!
is still my dream. We have more ideas and more tools than we did when I proposed it.

The answer is out there Wink
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6302
Location: Vsetin, Czech Republic

PostPosted: Tue Dec 09, 2008 11:12 am Reply with quote Back to top

Well that scuppers any thoughts I had of a vacation <sigh> Smile
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.

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