|
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 - treasurenet
Pages: [1]
1
« on: August 19, 2009, 02:10:00 am »
Is this normal? When I try to send out a new newsletter.... I go to.... http://www.mysite.com/index.php?action=news;sa=mailingmembersI deselect all the recipients... admin, mod, newbies, etc. Then I select an item from the pull down menu... "Use Saved List". In my test case, I had three recipients.... Then I select an item from the pull down menu... "Use Saved Message" The next time I go into that page, there are TWO items in each pull down menu.... under Use Saved List, I have one list with 3 emails and one list with zero items. What gives?
2
« on: August 05, 2009, 05:41:17 pm »
I click up it goes down, I click down it goes up, then the final result is opposite of what you'd expect.
3
« on: July 30, 2009, 10:31:29 am »
v. 2.5 I have "Display who is viewing a picture" and "Views counted once per session" selected. However, Who is viewing gallery is not working. It is showing zero- and I have tested it with multiple accounts. Any idea why? Thanks! p.s., the more I play with this the cooler it gets! It gives me an idea for my domain name digitalimagery.com.
4
« on: July 26, 2009, 02:54:09 am »
1. lightbox not working. Cause: incorrect url to lightbox javascript files.
Fix....
In Gallery2.php find....
// Using Lighbox if ($modSettings['gallery_set_nohighslide'] == 2) $context['html_headers'] .= '<script type="text/javascript" src="' . $modSettings['gallery_path'] . 'js/prototype.js"></script> <script type="text/javascript" src="' . $modSettings['gallery_path'] . 'js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="' . $modSettings['gallery_path'] . 'js/lightbox.js"></script> <link rel="stylesheet" href="' . $modSettings['gallery_path'] . 'css/lightbox.css" type="text/css" media="screen" />'; Replace with....
// Using Lighbox if ($modSettings['gallery_set_nohighslide'] == 2) $context['html_headers'] .= '<script type="text/javascript" src="' . $modSettings['gallery_url'] . 'js/prototype.js"></script> <script type="text/javascript" src="' . $modSettings['gallery_url'] . 'js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="' . $modSettings['gallery_url'] . 'js/lightbox.js"></script> <link rel="stylesheet" href="' . $modSettings['gallery_url'] . 'css/lightbox.css" type="text/css" media="screen" />';
In Gallery.php find....
// Using Lighbox if ($modSettings['gallery_set_nohighslide'] == 2) $context['html_headers'] .= '<script type="text/javascript" src="' . $modSettings['gallery_path'] . 'js/prototype.js"></script> <script type="text/javascript" src="' . $modSettings['gallery_path'] . 'js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="' . $modSettings['gallery_path'] . 'js/lightbox.js"></script> <link rel="stylesheet" href="' . $modSettings['gallery_path']. 'css/lightbox.css" type="text/css" media="screen" />'; Replace with....
// Using Lighbox if ($modSettings['gallery_set_nohighslide'] == 2) $context['html_headers'] .= '<script type="text/javascript" src="' . $modSettings['gallery_url'] . 'js/prototype.js"></script> <script type="text/javascript" src="' . $modSettings['gallery_url'] . 'js/scriptaculous.js?load=effects"></script> <script type="text/javascript" src="' . $modSettings['gallery_url'] . 'js/lightbox.js"></script> <link rel="stylesheet" href="' . $modSettings['gallery_url']. 'css/lightbox.css" type="text/css" media="screen" />'; 2. invalid html code align=top" should be valign="top"
Fix...
Go to line 1490 of Gallery.template.php
find...
'?action=profile;u=' . $context['gallery_pic']['ID_MEMBER'] . '">' . $context['gallery_pic']['realName'] . '</a><a href="', $scripturl, '?action=gallery;sa=myimages;u=' . $context['gallery_pic']['ID_MEMBER'] . '"><img src="'.$settings['images_url'].'/filter.gif" align=top" style="margin: 0 1ex;" alt="" /></a> '; replace with....
'?action=profile;u=' . $context['gallery_pic']['ID_MEMBER'] . '">' . $context['gallery_pic']['realName'] . '</a><a href="', $scripturl, '?action=gallery;sa=myimages;u=' . $context['gallery_pic']['ID_MEMBER'] . '"><img src="'.$settings['images_url'].'/filter.gif" valign="top" style="margin: 0 1ex;" alt="" /></a> '; 3. invalid html code.... closing tag for input form missing.....
Fix - go to line 1876 of Gallery.template.php
find....
if ($modSettings['gallery_set_showcode_bbc_image']) echo '<tr><td width="30%">', $txt['gallery_txt_bbcimage'], '</td><td> <input type="text" value="[img]' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '[/img]" size="50"></td></tr>';
if ($modSettings['gallery_set_showcode_directlink']) echo '<tr><td width="30%">', $txt['gallery_txt_directlink'], '</td><td> <input type="text" value="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" size="50"></td></tr>'; if ($modSettings['gallery_set_showcode_htmllink']) echo '<tr><td width="30%">', $txt['gallery_set_showcode_htmllink'], '</td><td> <input type="text" value="<img src="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" />" size="50"></td></tr>'; replace with....
if ($modSettings['gallery_set_showcode_bbc_image']) echo '<tr><td width="30%">', $txt['gallery_txt_bbcimage'], '</td><td> <input type="text" value="[img]' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '[/img]" size="50" /></td></tr>';
if ($modSettings['gallery_set_showcode_directlink']) echo '<tr><td width="30%">', $txt['gallery_txt_directlink'], '</td><td> <input type="text" value="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" size="50" /></td></tr>'; if ($modSettings['gallery_set_showcode_htmllink']) echo '<tr><td width="30%">', $txt['gallery_set_showcode_htmllink'], '</td><td> <input type="text" value="<img src="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" />" size="50" /></td></tr>'; 4. Missing alt tags
There are several not mentioned here, but go to line 1372 in Gallery.template.php and find.....
if ($modSettings['gallery_make_medium'] == 0 || $context['gallery_pic']['mediumfilename'] == '') echo '<img height="' . $context['gallery_pic']['height'] . '" width="' . $context['gallery_pic']['width'] . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" />'; else echo '<a href="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '"><img height="' . $context['gallery_pic']['height'] . '" width="' . $context['gallery_pic']['width'] . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['mediumfilename'] . '" /></a>'; } else if ($modSettings['gallery_set_nohighslide'] == 2) { // Lightbox if ($modSettings['gallery_make_medium'] == 0 || $context['gallery_pic']['mediumfilename'] == '') echo '<a href="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" rel="lightbox" title="' . $context['gallery_pic']['description'] . '"><img height="' . $context['gallery_pic']['height'] . '" width="' . $context['gallery_pic']['width'] . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" /></a>'; else echo '<a href="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" rel="lightbox" title="' . $context['gallery_pic']['description'] . '"><img height="' . $context['gallery_pic']['height'] . '" width="' . $context['gallery_pic']['width'] . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['mediumfilename'] . '" /></a>'; and replace with....
if ($modSettings['gallery_make_medium'] == 0 || $context['gallery_pic']['mediumfilename'] == '') echo '<img height="' . $context['gallery_pic']['height'] . '" width="' . $context['gallery_pic']['width'] . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" alt="" />'; else echo '<a href="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '"><img height="' . $context['gallery_pic']['height'] . '" width="' . $context['gallery_pic']['width'] . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['mediumfilename'] . '" alt="" /></a>'; } else if ($modSettings['gallery_set_nohighslide'] == 2) { // Lightbox if ($modSettings['gallery_make_medium'] == 0 || $context['gallery_pic']['mediumfilename'] == '') echo '<a href="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" rel="lightbox" title="' . $context['gallery_pic']['description'] . '"><img height="' . $context['gallery_pic']['height'] . '" width="' . $context['gallery_pic']['width'] . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" alt="" /></a>'; else echo '<a href="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" rel="lightbox" title="' . $context['gallery_pic']['description'] . '"><img height="' . $context['gallery_pic']['height'] . '" width="' . $context['gallery_pic']['width'] . '" src="' . $modSettings['gallery_url'] . $context['gallery_pic']['mediumfilename'] . '" alt="" /></a>';
5
« on: July 20, 2009, 05:15:48 am »
I just upgraded to the latest, greatest beta.... VERY COOL. However, I couldn't figure out why the highslide.js functions weren't working... looking at the head tag, I noticed.... <script type="text/javascript" src="highslide/highslide-full.packed.js"></script> ... but the installer does.... <require-dir name="highslide" destination="$boarddir" /> It didn't work for me until I moved the highslide directory into my Theme directory. Is that a problem with the mod, or did I do something wrong? Thanks.
6
« on: June 06, 2009, 07:07:34 am »
I just looked under "Licenses" and see that my Gallery Pro license has expired. Does that mean I should no longer use the software? Or - that I am no longer eligible for updates? On another note... I would like to show the gallery descriptions in the template_userlist function..... function template_userlist() { global $txt, $scripturl, $db_prefix; echo '<table cellspacing="0" cellpadding="5" border="0" align="center" width="100%" class="tborder"> <tr class="titlebg"> <td align="center">' . $txt['gallery_user_index'] . '</td> </tr> <tr class="catbg"> <td align="center">' . $txt['gallery_app_membername'] . '</td> </tr>'; $dbresult = db_query("SELECT DISTINCT m.realName, m.ID_MEMBER FROM {$db_prefix}gallery_usercat AS c, {$db_prefix}members as m WHERE c.ID_MEMBER = m.ID_MEMBER", __FILE__, __LINE__); while($row = mysql_fetch_assoc($dbresult)) { echo '<tr class="windowbg"> <td align="center"><a href="' . $scripturl . '?action=gallery;su=user;u=' . $row['ID_MEMBER'] . '">' . $row['realName'] . '</a></td> <td> XXXXXXXXXXXXXXXXXX GALLERY DESCRIPTION HERE XXXXXXXXXXXXXXXXXXXXXXXXXXX </td> </tr>'; } mysql_free_result($dbresult); echo ' <tr class="titlebg"> <td align="center"><a href="', $scripturl, '?action=gallery">', $txt['gallery_text_returngallery'], '</a></td> </tr> </table>';
I tried, as is done in the template_main function with.... ' . doUBBC($row['description']) . '
But that doesn't work. How would I display the gallery descriptions there? (actually the users avatar, total files in the gallery, and last additions date would be cool too ) Thanks in advance
Pages: [1]
|
No thumbnails on new uploads
by SMFHacks
March 27, 2024, 02:10:41 pm
|
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
|
[Mod] RSS Feed Poster
by SMFHacks
February 27, 2024, 11:57:18 am
|
find duplicate pictures
by fvlog19
February 14, 2024, 02:22:40 pm
|
Error uploading video.
by SMFHacks
February 08, 2024, 02:04:16 pm
|
Gallery icon as last added image
by fvlog19
February 01, 2024, 01:04:56 pm
|
|
|