Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43293
Total Topics: 7522
Most Online Today: 118
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 93
Total: 93

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

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

Powered by EzPortal