Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4200
Latest: [chrisB]
New This Month: 0
New This Week: 1
New Today: 0
Stats
Total Posts: 42613
Total Topics: 7433
Most Online Today: 98
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 41
Total: 42

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - mashby

Pages: [1]
1
Support / Description
« on: November 21, 2008, 08:39:55 pm »
When adding/editing a gallery, there's this field:
Description:
(BBC codes are supported)

I am attempting to use the [ html ] normal HTML code [ /html ] but the function doesn't seem to work...what BB Codes are supported in that field? I looked here, but realize this may not be the same supported functions:
http://docs.simplemachines.org/index.php?topic=57

2
Support / Custom Sort
« on: May 27, 2008, 07:47:32 pm »
How could I sort the images in gallery based on a calculation (average rating)? Something like this where p.totalratings is the calculation.
Code: [Select]
case 'mostrated':

$sortby = 'p.totalratings';

break;

Also, what's the difference between sortby and sortby2?
Thanks,
mashby

Just to add more information, I'm running this code:
Code: [Select]
while($row = mysql_fetch_assoc($dbresult))
{
if ($row['totalratings']!=0)
$mashbynumber=($row['rating'] / ($row['totalratings']* 100) * 100);
else $mashbynumber='0.000001';
                 MORE CODE FROM HERE ON DOWN SHOWS IMAGES IN A SPECIFIC GALLERY

So, you can see that $mashbynumber is being reset for each image in the gallery. If I had X number of images in a gallery, how can I capture $mashbynumber and order the images descending based on the $mashbynumber for X number of images? I'm hoping to integrate this same logic in a phpbox on my home page as well.

3
Feature Requests / Calendar Functions and Gallery
« on: May 13, 2008, 05:13:39 pm »
This is likely more of a calendar mod that anything else but seems tied to some additional functionality I'd love to have with Pro. We are currently opening galleries for submission by admins/members. So, today, we have a gallery open and will keep it open for submission for a few days. It would totally awesome to have additional fields (Start Gallery/End Gallery/End Rating) such that based on these fields, the gallery would either be open or closed for submission as well as additional time (End Rating) left to rate the submissions. Also, the Start Gallery field would generate a link in the Calendar with the Gallery title as the link to the gallery itself. Is this possible?

4
Support / Show Description on SubCats
« on: May 11, 2008, 02:03:41 pm »
Hey, I'm trying to display the description of a gallery and I'm obviously not getting it. Here's what I have:
Code: [Select]
echo '<br /><table cellspacing="0" cellpadding="10" border="0" align="center" width="90%" class="tborder">

<tr class="catbg"><td align="center" colspan="', $maxrowlevel, '">', @$context['gallery_cat_name'], '</td>

</tr>

<tr class="catbg"><td align="center" colspan="', $maxrowlevel, '">', @$context['gallery_cat_description'], '</td>

</tr>';

gallery_cat_description obviously needs to be something else, but I cannot for the life of me figure it out.
Thanks,
mashby

5
Support / Regenerate Thumbs
« on: April 15, 2008, 06:19:25 pm »
SMF Version 1.1.4
Gallery Pro Version

We had our thumbs initially set to 500 wide/high (1 image per page). We realized that 250 wide/400 high max would be better with 12 images per page. We made the settings and regenerated the thumbs. Here's what happened:
Original thumbfilename:
thumb_12_13_04_08_2_48_26.jpg
Regenerated thumbfilename:
12_13_04_08_2_48_26.jpg_thumb

I tried looking at the Gallery.template.php file, but cannot figure out where regen2 is. It's at least a very consistent issue, all images are affected...any ideas?
Thanks,
mashby

6
Presales for Products / Customizing SMF Gallery Pro
« on: March 31, 2008, 08:33:57 pm »
I'm really interested in purchasing SMF Gallery Pro, but I'm more interested in working with your team on creating something based on SMF Gallery Pro. Are you open for discussion?
Thanks,
mashby

Pages: [1]

+- Recent Topics

List of changes in SMFGallery by Monocero
Today at 06:23:53 am

Permissions query by davejo
November 30, 2022, 09:52:38 am

Errors with SMF2WPBridge by [chrisB]
November 29, 2022, 04:30:26 pm

"Notify all store admins of item purchase" Not Working in SMF 2.1.2 or 2.1.3 by SMFHacks
November 29, 2022, 01:15:50 pm

Undefined index: id by Shades
November 29, 2022, 12:15:20 pm

Additional Recommendations for SMF Store by Michael Vail
November 26, 2022, 12:49:58 pm

SMF Store 5.0 Beta Errors - Trying to access array offset on value of type null by Michael Vail
November 26, 2022, 12:07:42 pm

Modification: Subcategories total in main gallery view by VisiGod
November 26, 2022, 11:27:34 am

Change log for Downloads Pro 6.13 and 6.14 by Nicole
November 20, 2022, 08:24:34 am

Release date? by SMFHacks
November 20, 2022, 08:09:10 am

Powered by EzPortal