|
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.
Messages - DarkWolf
Pages: [1]
1
« on: June 03, 2008, 07:13:26 pm »
To fix search for guest you can use this code: Search: // No Category is set. if($g_add && !($context['user']['is_guest'])) echo '<div align="right"><a href="' . $scripturl . '?action=gallery;sa=myimages;u=' . $ID_MEMBER . '">' . $txt['gallery_text_myimages'] . '</a> <a href="' . $scripturl . '?action=gallery;sa=search">' . $txt['gallery_text_search'] . '</a></div>';
echo '<h1 align="center">' . $txt['gallery_text_title'] .'</h1>';
//List all the catagories Replace: // No Category is set. if($g_add && !($context['user']['is_guest'])) { echo '<div align="right"><a href="' . $scripturl . '?action=gallery;sa=myimages;u=' . $ID_MEMBER . '">' . $txt['gallery_text_myimages'] . '</a> <a href="' . $scripturl . '?action=gallery;sa=search">' . $txt['gallery_text_search'] . '</a></div>'; } else { //Mostra ricerca ai visitatori echo '<div align="right"><a href="' . $scripturl . '?action=gallery;sa=search">' . $txt['gallery_text_search'] . '</a></div>'; } echo '<h1 align="center">' . $txt['gallery_text_title'] .'</h1>';
//List all the catagories
2
« on: July 09, 2007, 01:32:02 pm »
Instead i don't wont to only one board (News Board)
3
« on: July 05, 2007, 01:27:29 pm »
Is possible to integrate function for edit comment? And also notify on comment
4
« on: July 03, 2007, 03:58:32 am »
PPS for next release can you integrate thumbnail code (like imageshack)? Edit! I have integrate thumbnail code! Open gallery.template.php Search // Show image linking codes if ($modSettings['gallery_set_showcode_bbc_image'] || $modSettings['gallery_set_showcode_directlink'] || $modSettings['gallery_set_showcode_htmllink']) { echo '<b>',$txt['gallery_txt_image_linking'],'</b><br /> <table border="0"> '; 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>'; } echo '</table>'; } and replace with // Show image linking codes if ($modSettings['gallery_set_showcode_bbc_image'] || $modSettings['gallery_set_showcode_directlink'] || $modSettings['gallery_set_showcode_htmllink']) { echo '<b>',$txt['gallery_txt_image_linking'],'</b><br /> <table border="0"> '; 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_bbc_image']) { echo '<tr><td width="30%">', $txt['gallery_txt_bbcimage_thumb'], '</td><td> <input type="text" value="[url=' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . "][img]" . $modSettings['gallery_url'] . 'thumb_' . $context['gallery_pic']['filename'] . '[/img][/url]" 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_txt_htmllink'], '</td><td> <input type="text" value="<img src="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . '" />" size="50" /></td></tr>'; } if ($modSettings['gallery_set_showcode_htmllink']) { echo '<tr><td width="30%">', $txt['gallery_txt_htmllink_thumb'], '</td><td> <input type="text" value="<a href="' . $modSettings['gallery_url'] . $context['gallery_pic']['filename'] . "" target="_blank"><img src="" . $modSettings['gallery_url'] . 'thumb_' . $context['gallery_pic']['filename'] . '" border="0"/></a>" size="50" /></td></tr>'; } echo '</table>'; } Now open gallery.english.php, search $txt['gallery_txt_bbcimage'] = 'BB Code'; $txt['gallery_txt_directlink'] = 'Direct Link'; $txt['gallery_txt_htmllink'] = 'Html Link'; and replace with $txt['gallery_txt_bbcimage'] = 'BB Code'; $txt['gallery_txt_bbcimage_thumb'] = 'Thumb BB Code'; $txt['gallery_txt_directlink'] = 'Direct Link'; $txt['gallery_txt_htmllink'] = 'Html Link'; $txt['gallery_txt_htmllink_thumb'] = 'Thumb Html Link'; See result! http://darkwolf.altervista.org/forum/index.php?action=gallery;sa=view;id=17
5
« on: July 02, 2007, 10:21:46 pm »
6
« on: July 02, 2007, 09:58:01 pm »
That would require to alter Gallery.template.php and remove the check for guest
Ok Thanks. maybe tomorrow i test (now i go to sleep)
7
« on: July 02, 2007, 09:51:51 pm »
The new release mainly added image linking codes settings. To upgrade unistall the old gallery then install the new gallery.
Ok thanks! PS how i can repair search option for guest?
8
« on: July 02, 2007, 09:45:47 pm »
Hi! Now I have rel. 1.7.5.1 but today i have see the new rel. 1.7.6! Do you have a changelog of this new release (maybe you can insert a changelog with release download?) How i can upgrade to last version? PS i have found same bug with W3C! (alt attribute, bad table etc) please can you repair for next release? Last questions. I have see that guest not see search option in gallery but work fine if write manually in address bar "/index.php?action=gallery;sa=search" maybe is possible to fix search option for guest? Thanks for this best work (and sorry for my bad english) Regards, DarkWolf
9
« on: June 29, 2007, 02:54:03 pm »
That's an error if you are using an old version of SMF Gallery Lite which did not have those text strings or using a language pack where that string does not exist.
Now i have installed new version but i have the same error with gallery_text_oldpicturebutr is very sample to repair, simply open /forum/Themes/default/Gallery.template.php, search echo '<div align="center"><br /><b>' . $txt['gallery_text_oldpicture'] . '</b><br /> and replace with echo '<div align="center"><br /> Now all work fine! PS i have found other small bug in template now i have fix and my gallery is valid W3C Thank'you very much for your work, Regards DarkWolf. - PS sorry for my bad english
Pages: [1]
|
Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header
by Michel68
Today at 08:27:36 am
|
No thumbnails on new uploads
by Tonyvic
Today at 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
|
[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
|
|
|