View Full Version : CMPS Random Gallery Center Column
civicowners.com
08-08-2005, 02:36 PM
Hi
When I put Random Galley in center column, it doesn't show they way I want it to.
It show as:
*Image
Space
*Image
Space
*Image
Space
*Image
Space
The way I want is:
*Image Space *Image Space *Image Space *Image Space.
Thanks in advance. Hope it's easy to fix.
ConqSoft
08-08-2005, 02:37 PM
This is a hack/module, you need to post in the thread for that particular hack, for help.
Kevin has talked about revamping that module though...
civicowners.com
08-08-2005, 02:42 PM
I know tried but Kevin explain how to do it on Forum itself not CMPS, is it?
Plus I tried everything and it never worked. I've read like 5 threads about random gallery and was unlucky to find a solution.
Please help if you know how to change that
thanks
KW802
08-08-2005, 02:49 PM
CivicOwners.... there are a few different versions of that module floating around now.... if you give a link to which on you have installed I'll try to talk you through it for the changes you want (left-to-right instead of top-to-bottom).
civicowners.com
08-08-2005, 03:03 PM
I went through this step:
http://www.vbadvanced.com/forum/showthread.php?t=8303
Then I alter the some codes to remove image description to leave only images.
KW802
08-08-2005, 03:27 PM
Which code did you change, in the PHP file or the template?
civicowners.com
08-08-2005, 04:07 PM
Then I did this to remove description:
http://www.vbadvanced.com/forum/showpost.php?p=20526&postcount=8
KW802
08-08-2005, 04:16 PM
You made both changes, the template and the PHP code?
civicowners.com
08-08-2005, 04:25 PM
That's right. From A to Z.
The only thing I need now is that when I put this module in center column, I want the images go from left to right and not top to bottom.
Thanks :)
civicowners.com
08-09-2005, 12:27 PM
So, any ideas how to fix it?
civicowners.com
08-14-2005, 11:56 PM
Anyone?
Gary Bolton
08-15-2005, 12:46 AM
I have'nt used the block myself, but would it not just be a case of removing the line breaks or paragraphs in the template code that makes the images drop down one below each other. For example:
image
<br> or <p>
image
and instead just putting for a row of 4 then a break.
image "space" image "space" image "space" image
<br> or <p> or <br><br>
image "space" image "space" image "space" image
Only guesing mind you!
civicowners.com
08-15-2005, 11:38 PM
I believe there's no that kind of code in template.
civicowners.com
08-18-2005, 02:17 AM
Bump
civicowners.com
08-21-2005, 06:19 PM
^^^bump
civicowners.com
09-05-2005, 09:04 PM
^^^ Bump ^^^
bryanb
09-29-2005, 12:14 AM
anyone? LOL
I got the four images going across...but once I remove the description box it messes up the format LOL
bryanb
09-29-2005, 12:19 AM
got it... in the gallery_random.php
Find // Create a list of fields to be shown in the imagebit
$showfield = explode(',', $vba_options['gallery_imagebitdisplay']);
if (!empty($showfield))
{
$showfields = array();
foreach ($showfield AS $field)
{
$showfields["$field"] = 0;
}
}
// If you DON'T want of these fields to show then unremark
// the line in question by removing the "//" in the front it.
$showfields['description'] = 1;
$showfields['rating'] = 1;
$showfields['user'] = 1;
$showfields['dateline'] = 1;
$showfields['views'] = 1;
$showfields['dimensions'] = 1;
$showfields['filesize'] = 1;
$showfields['posts'] = 1;
$showfields['lastpost'] = 1;
require_once('./includes/functions_bbcodeparse.php');
$show['category'] = true;
$query = fetch_image_fields();
// Turn the category field off/on in the display.
$show['category'] = 1;
Change the 1's to 0's and it works great! I skipped the part above where it linked to another way to remove the description. :)
sensimilla
10-10-2005, 12:27 PM
so it works with 3.5 ? :o
vBulletin® v3.7.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.