Random Photos+Videos+Sound

**FREE MOD**

now you can show public photos/videos & sounds randomly on your homepage



will post it in the market cant do it here since this f. forum strips out just about everything
http://www.boonex.com/unity/extensions/entry/Random_Photos_Videos_Audio

Quote · 18 Mar 2010

Thank you, thank you.

This will add a nice touch to my web sites.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 18 Mar 2010

Does this mod work in

7.0.3 ?

Quote · 4 Oct 2010

I tried it in D7.0.3 and it did NOT work, maybe we have to wait a bit for mod developers catch up with D.7.0.3

You possess an intuitive intelligence so powerful it can help you heal, and relieve stress.
Quote · 4 Oct 2010

i tried in my 7.03

and it worked

 

but i just wanted a small change

i want "random" pictures to be  the  default way to view the photos

and no t the "latest"

 

any idea how to change this

 

Thanks

Quote · 4 Oct 2010

to have random as default selection  (mod must be already installed)
edit "BxBaseSearchResult.php"

around line 289 find

'sorting' => 'last',

and just a bit below find

$this->aCurrent['sorting'] = $aCustom['sorting'];

change to

//'sorting' => 'last',//

//$this->aCurrent['sorting'] = $aCustom['sorting'];//

NOTE IT'S FOR 7.0.2 it should be the same for 7.0.3 if not let me know and ill find out

Quote · 4 Oct 2010

Big thanks

 

Quote · 4 Oct 2010

 

is there a way to make this mod for public albuns too?

 

Thanks

Quote · 5 Oct 2010

 

 

is there a way to make this mod for public albuns too?

 

Thanks

the photo block on home page ?.. is should work by default make sure to empty the junk folder now in 7.0.3 the blocks are cached

Quote · 5 Oct 2010

Thanks a lot.... it worked fr my 7.0.3 site too.....

https://www.facebook.com/4thmolar
Quote · 18 Oct 2010

 

to have random as default selection  (mod must be already installed)
edit "BxBaseSearchResult.php"

around line 289 find

'sorting' => 'last',

and just a bit below find

$this->aCurrent['sorting'] = $aCustom['sorting'];

change to

//'sorting' => 'last',//

//$this->aCurrent['sorting'] = $aCustom['sorting'];//

NOTE IT'S FOR 7.0.2 it should be the same for 7.0.3 if not let me know and ill find out

Works perfect in 7.0.2, thanks.

Quote · 18 Oct 2010

im using trunk  trunk-14618

i installed  the mod

it works in main page but random i not the  default

it keeps showing newest first

 

i went do admin

modules

im photo configs and there is a place to choose

witch to use  as  defailt, but there is only  top and newest

can anybody see  if this trunk is diferent  from 703

 

thanks

 

Quote · 7 Nov 2010

 

im using trunk  trunk-14618

i installed  the mod

it works in main page but random i not the  default

it keeps showing newest first

 

i went do admin

modules

im photo configs and there is a place to choose

witch to use  as  defailt, but there is only  top and newest

can anybody see  if this trunk is diferent  from 703

 

thanks

 

 did you edit BxBaseSearchResult.php   as shown few post above.

Quote · 7 Nov 2010

 

 

to have random as default selection  (mod must be already installed)
edit "BxBaseSearchResult.php"

around line 289 find

'sorting' => 'last',

and just a bit below find

$this->aCurrent['sorting'] = $aCustom['sorting'];

change to

//'sorting' => 'last',//

//$this->aCurrent['sorting'] = $aCustom['sorting'];//

NOTE IT'S FOR 7.0.2 it should be the same for 7.0.3 if not let me know and ill find out

Works perfect in 7.0.2, thanks.

sorry  my fault

tjis  works just  fine

thanks

for  your  quick answer

Quote · 7 Nov 2010

Working good on 7.0.4. too

thanks Smile

https://www.facebook.com/4thmolar
Quote · 30 Nov 2010

On the home (index) page public photos and public video does not show random it shows latest but if i click on home photos or videos it show random strange, I am using 7.0.4 i did all the steps mentioned up on this page.

the random avatars worked great

Quote · 6 Dec 2010

It works great on 7.0.4 it has been fixed forgot to change :)

//'sorting' => 'last',//

//$this->aCurrent['sorting'] = $aCustom['sorting'];//

Quote · 9 Dec 2010

This is working fine, the only problem is that it displays photos in random order not only on index page but also in the Photos Module in Administration, so it makes it difficult to manage photo moderation as it is not showing latest ones, can this be solved?

 

thanks

 

marco

Quote · 12 Dec 2010

Has anyone had any luck installing this mod on 7.0.6?  so far I have tried all of the fixes for 7.0.4 and below.

Quote · 1 May 2011

Dolphin 7.0.6 random not working! (Fix)

I dont know if during the install I might have overlooked something, but my random members option was not working. I followed the install and upgrade instructions to the "T". the prob was that it would bring up all of the members without avatars first and the random tab was not selected.

I found that if you find this code at line 328:

if (empty($_GET[$sBlockName . 'Mode'])) {

$sMode = 'last';

and replace 'last' with 'rand'

it will rotate the members with avatars only (just like the older versions).

 

This is a must have MOD for those who want a professional looking community. keep up the great work 'prolaznik'

Quote · 2 May 2011

 

Dolphin 7.0.6 random not working! (Fix)

I dont know if during the install I might have overlooked something, but my random members option was not working. I followed the install and upgrade instructions to the "T". the prob was that it would bring up all of the members without avatars first and the random tab was not selected.

I found that if you find this code at line 328:

 

if (empty($_GET[$sBlockName . 'Mode'])) {

$sMode = 'last';

and replace 'last' with 'rand'

it will rotate the members with avatars only (just like the older versions).

 

This is a must have MOD for those who want a professional looking community. keep up the great work 'prolaznik'

thank you. but your reply goes here
http://www.boonex.com/forums/#topic/Random-members-Online-.htm

Quote · 2 May 2011

Works fine in 7.0.5

It gives our sites the impression of being more ALIVE!!

Thanks prolaznik

Quote · 3 May 2011

Hey, the mode is not fully working in 7.0.6. I followed all the instructions in the text file. But "Random" is not the default selection. It still defaults to latest even after following this:

Now let's make the random option the default selection

files to edit:

/templates/base/scripts/BxBaseSearchResult.php

around line 224 find this code

 

 

function clearFilters ($aPassParams = array(), $aPassJoins = array()) {

//clear sorting

$this->aCurrent['sorting'] = 'last';

 

 

change to

 

 

function clearFilters ($aPassParams = array(), $aPassJoins = array()) {

//clear sorting

$this->aCurrent['sorting'] = 'rand';
Free the Dolphin...
Quote · 4 May 2011

Yeah, I think I remember it now working when I installed on on 7.0.6 also - tweeked around with it till I got it working, but forgot what I did - so all I can do is verify.  Please post the fix when you get it so we can document.

Quote · 4 May 2011

3 places to edit

/templates/base/scripts/BxBaseSearchResult.php

line 235

$this->aCurrent['sorting'] = 'last';
change to
$this->aCurrent['sorting'] = 'rand';

 

line 299
'sorting' => 'last',
change to
'sorting' => 'rand',

 

and then line 310

$this->aCurrent['sorting'] = $aCustom['sorting'];
change to
//$this->aCurrent['sorting'] = $aCustom['sorting'];//

Quote · 4 May 2011

 

3 places to edit

/templates/base/scripts/BxBaseSearchResult.php

line 235

$this->aCurrent['sorting'] = 'last';
change to
$this->aCurrent['sorting'] = 'rand';

 

line 299
'sorting' => 'last',
change to
'sorting' => 'rand',

 

and then line 310

$this->aCurrent['sorting'] = $aCustom['sorting'];
change to
//$this->aCurrent['sorting'] = $aCustom['sorting'];//

Thanks it worked.

Free the Dolphin...
Quote · 6 May 2011

Working in 7.0.9 Beta

:)

Quote · 17 Jan 2012

oh no, the link to download the mod is broken....has the mod been taken down? :(

Quote · 17 Jan 2012

does any body has this mood? I realy need it

 

Quote · 19 Jan 2012

I wonder if there is a way to Randomize the TAGS block. I hate how it's Alphabetical.

Quote · 20 Jan 2012

Has anyone noticed that the links at the top of the block only display Latest Top

It used to show "Last, Popular, Top" etc.. 

Can I get it back & still use this mod?

Quote · 21 Jan 2012

 

Has anyone noticed that the links at the top of the block only display Latest Top

It used to show "Last, Popular, Top" etc.. 

Can I get it back & still use this mod?

 unmodified dolphin version never did show those options only latest and top.maybe i am wrong.

Quote · 21 Jan 2012

I got it working thanks

Quote · 11 Apr 2012

where i can find this mod? i wanna test it but the link is not valid anymore... :(

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 6 May 2012

 

where i can find this mod? i wanna test it but the link is not valid anymore... :(

 ==============================================================================================
Random Photos/Video/Sound on home page by Prolaznik
==============================================================================================


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   Installation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Step one: let's add the random function
files to edit:
/templates/base/scripts/BxBaseSearchResultSharedMedia.php
around line 239 find this code

function getTopMenu ($aExclude = array()) {
        $aDBTopMenu = array();
        $aLinkAddon = $this->getLinkAddByPrams($aExclude);
        foreach (array( 'last', 'top') as $sMyMode) {
              switch ($sMyMode) {
                   case 'last':
                         $sModeTitle = '_Latest';
                        break;
                   case 'top':
                        $sModeTitle = '_Top';
                        break;
              }

change to

function getTopMenu ($aExclude = array()) {
        $aDBTopMenu = array();
        $aLinkAddon = $this->getLinkAddByPrams($aExclude);
        foreach (array( 'last', 'rand', 'top') as $sMyMode) {
              switch ($sMyMode) {
                   case 'last':
                         $sModeTitle = '_Latest';
                        break;
                   case 'rand':
                         $sModeTitle = '_Random';
                        break;
                   case 'top':
                        $sModeTitle = '_Top';
                        break;
              }




Now let's make the random option the default selection
files to edit:
/templates/base/scripts/BxBaseSearchResult.php
around line 224 find this code


function clearFilters ($aPassParams = array(), $aPassJoins = array()) {
        //clear sorting
        $this->aCurrent['sorting'] = 'last';


change to


function clearFilters ($aPassParams = array(), $aPassJoins = array()) {
        //clear sorting
        $this->aCurrent['sorting'] = 'rand';

NOTE if it's not around line 224 try to find it around line 290
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                      Prolaznik
                                                                      prolaznik@Net-Zabava.com
                                                                         http://Net-Zabava.com                                    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Quote · 6 May 2012

Thanks

Check my GeoDistance, Watermark, TorBlock and Android Push Notifications mods | http://goo.gl/H3Vp81
Quote · 7 May 2012

 

Thanks

 

I think there is  some  updates for 7.0.9

be careful  read  the  topic   carefuly 

Quote · 9 May 2012

where to download the mod?

for dolphin 7.0.9

Quote · 7 Oct 2012

For 7.1 ????

https://www.facebook.com/4thmolar
Quote · 18 Feb 2013

It is working with 7.1, but it is not setting random as default in the home page. Any fix for that?
Got it work by disabling

$this->aCurrent['sorting'] = $aCustom['sorting'];

onlyheavymetal.com
Quote · 10 Mar 2013

Works in 7.1.4

Quote · 8 Nov 2013

Cheers!! =) 

 

 

where i can find this mod? i wanna test it but the link is not valid anymore... :(

 ==============================================================================================
Random Photos/Video/Sound on home page by Prolaznik
==============================================================================================


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                   Installation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Step one: let's add the random function
files to edit:
/templates/base/scripts/BxBaseSearchResultSharedMedia.php
around line 239 find this code

function getTopMenu ($aExclude = array()) {
        $aDBTopMenu = array();
        $aLinkAddon = $this->getLinkAddByPrams($aExclude);
        foreach (array( 'last', 'top') as $sMyMode) {
              switch ($sMyMode) {
                   case 'last':
                         $sModeTitle = '_Latest';
                        break;
                   case 'top':
                        $sModeTitle = '_Top';
                        break;
              }

change to

function getTopMenu ($aExclude = array()) {
        $aDBTopMenu = array();
        $aLinkAddon = $this->getLinkAddByPrams($aExclude);
        foreach (array( 'last', 'rand', 'top') as $sMyMode) {
              switch ($sMyMode) {
                   case 'last':
                         $sModeTitle = '_Latest';
                        break;
                   case 'rand':
                         $sModeTitle = '_Random';
                        break;
                   case 'top':
                        $sModeTitle = '_Top';
                        break;
              }




Now let's make the random option the default selection
files to edit:
/templates/base/scripts/BxBaseSearchResult.php
around line 224 find this code


function clearFilters ($aPassParams = array(), $aPassJoins = array()) {
        //clear sorting
        $this->aCurrent['sorting'] = 'last';


change to


function clearFilters ($aPassParams = array(), $aPassJoins = array()) {
        //clear sorting
        $this->aCurrent['sorting'] = 'rand';

NOTE if it's not around line 224 try to find it around line 290
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                                      Prolaznik
                                                                      prolaznik@Net-Zabava.com
                                                                         http://Net-Zabava.com                                    
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

Quote · 5 Feb 2017
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.