Registered: May 18, 2007 | Posts: 13 |
| Posted: April 7, 2022 7:31 PM | | | | Hello, all. I realize that this is not a plugin question, but no idea where else to ask this  . In phpDVDProfiler, in my localsiteconfig.php, I have it set to by default expand boxsets ($expandboxsets = true;), and this works fine. Does anyone know how (i.e. what code to modify) to make gallery.php display with all boxsets expanded by default? Currently, when the Front (and Back) Cover Gallery is displayed, all boxsets are collapsed, and users need to physically click on the + in the top-left corner of boxset thumbnails individually to expand them. What I am trying to do is, whenever Front (and Back) Cover Gallery is displayed, all boxsets to be expanded. Any coders out there know how to do that? Hopefully it is just a simple coding change  . On a side note, decades ago, Fred mentioned extra text that could be appended to phpDVDProfiler URLs, that would show a page displaying the phpDVDProfiler version, in addition to PHP & MySQL versions. Anyone remember what that extra text is? Thank you in advance & have yourselves a great day. Regards & be safe, John phpDVDProfiler v3.8.2.1 r20200130 PHP v7.4.0 MySQL v8.0.28 phpDVDProfiler site ... heavily-modified to display my coins  | | | Last edited: April 7, 2022 7:46 PM by JMM |
|
Registered: March 18, 2007 | Reputation:  | Posts: 6,507 |
| Posted: April 7, 2022 8:28 PM | | | | Very clever. | | | Thanks for your support. Free Plugins available here. Advanced plugins available here. Hey, new product!!! BDPFrog. |
|
Registered: March 14, 2007 | Reputation:  | Posts: 6,755 |
| Posted: April 8, 2022 5:52 AM | | | | Open gallery.php and look for Quote:
$plusgif = 'gfx/plus.gif'; $plusdisplay = 'none'; $plusclass = 'hide';
it should be around line 807 or so. Try to replace it with Quote:
if($expandboxsets) { $plusgif = 'gfx/minus.gif'; $plusdisplay = ''; $plusclass = ''; } else { $plusgif = 'gfx/plus.gif'; $plusdisplay = 'none'; $plusclass = 'hide'; }
| | | Karsten DVD Collectors Online
 | | | Last edited: April 8, 2022 5:54 AM by DJ Doena |
|
Registered: May 18, 2007 | Posts: 13 |
| Posted: April 8, 2022 7:42 AM | | | | Karsten, you're the best... it works like magic.
Much appreciated for your fast reply, and your expertise.
Have a great weekend, everyone, and be safe.
John |
|
Registered: March 14, 2007 | Reputation:  | Posts: 6,755 |
| |