HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Listing Galleries: Download Galleries

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#12222 (In Topic #3100)
Avatar

Fan in training

I was quite frustrated, so i made my way
The thing is that almost the whole of my images come from the download galleries, since I have a download-videos based portal, and the previews are fundamental, while about other galleries, I have just 1 or 2. I suppose not to be the only one.

So here we go: the php file to change is images.php located in pages/modules
I can't tell u the line number, but it's all about the function list_galleries(), the line to remove (or better to comment is

Code

if (substr($myrow['name'],0,9)=='download_') continue;)
. However u can find the file already modfied HERE

I'm not quite sure to have the rights to modify the 'hackedby' value, for it's such a small modify… :P  but, well, let me have my 10 seconds of coolness  :cool:



ps: I've tried attaching the file, but it tells me too many attached files  O_o
Back to the top
 
Posted
Rating:
#12223
Avatar

Fan in training

can't edit the previous post: it keeps telling me "flood control: wait 2 seconds"

CORRECT LINK to modified images.php file



hope the problem hadn't already been solved ;)
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: