Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 181
Total: 181

Author Topic: SMF Gallery Lite Help Information  (Read 171694 times)

0 Members and 1 Guest are viewing this topic.

Offline Ken.

  • SMF Gallery Pro Customer
  • Full Member
  • *****
  • Posts: 113
  • TP Rules!
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #75 on: May 12, 2008, 06:17:59 pm »
problematic that code should work OK if you have everything set up correctly.
Your best bet for support for the code and how to get it to work in a TinyPortal block would be to post your question or issue in the topic where you got the code.
If you don't have TinyPortal installed I'm not so sure that you would be able to get that code to work the way that you wish to.

Offline drj126

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 5
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #76 on: August 16, 2008, 08:36:45 am »
Gallery path...

Something has happened to our gallery. We're now getting a path error. Can someone show me a sample path? I thought ours was:

ftp://fotographicks.com/SDO/forum/gallery

But the error says it isn't.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #77 on: August 16, 2008, 09:06:02 am »
That isn't it.
Check under Server Settings copy the sources path
And change Sources to gallery/
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline drj126

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 5
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #78 on: August 16, 2008, 09:23:03 am »
Now THAT I can do!!

Worked, thank you very much!!!

Offline drj126

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 5
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #79 on: August 16, 2008, 11:41:57 am »
Well... maybe NOT!!

I'm getting reports from the users that they can upload, but only SEE the dreaded red x box.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #80 on: August 16, 2008, 12:36:41 pm »
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline drj126

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 5
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #81 on: August 16, 2008, 05:00:29 pm »
Still the x box...

Offline drj126

  • Bad Emails DO NOT EMAIL
  • Member
  • *
  • Posts: 5
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #82 on: August 19, 2008, 08:22:52 pm »
The error message is gone, but those people uploading upload successfully, but then get the red x...

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #83 on: August 19, 2008, 08:49:26 pm »
Means something wrong with the gallery url not right! need to be http://www.yoursite.com/gallery/
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline Aspharanx

  • Member
  • *
  • Posts: 2
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #84 on: September 01, 2008, 06:08:27 am »
Anybody can help? I installed this gallery mod but I can't find anywhere to adjust the settings. I've saw some screenshots where there was a link in the configuration part but there's no link in my menu. It shows that it's installed via the package manager but it's like it's not there. I've checked and it has made all the tables in db, the files seem at the right location.

I've even tried going via mysite/?action=gallery but it's just the main page of my forum I get then. I've been searching for hours now trying to use older versions, reinstalling, ... I can't find what's wrong so I hope you guys can help?

Forum is 1.1.5 and the version of the mod is 1.8.3

Kind regards.

Offline mashby

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • ChopPix.com
Re: SMF Gallery Lite Help Information
« Reply #85 on: September 01, 2008, 09:17:02 am »
I'll guess that you are using a custom theme. What is the URL to your site, too? You're likely going to have to edit your index.template.php file.

Offline Aspharanx

  • Member
  • *
  • Posts: 2
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #86 on: September 01, 2008, 01:49:27 pm »
Yeah, I'm using a custom theme.

The site is www.dendermondeleeft.be.

If you'd be so kind to tell me what I have to edit in my index.template.php file?

Offline mashby

  • Jr. Member
  • **
  • Posts: 81
    • View Profile
    • ChopPix.com
Re: SMF Gallery Lite Help Information
« Reply #87 on: September 01, 2008, 04:29:37 pm »
Depending on the mods you have installed this may or may not work.
Look for something like this:
Code: [Select]
if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];

Add 'gallery', to the list, something like this:
Code: [Select]
if (in_array($context['current_action'], array('gallery', 'search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];

The add this code to the place where you want the Gallery link to appear (slightly below where the above code is):
Code: [Select]
// The [gallery]!
echo '<li><a class="gallery' , $current_action == 'gallery' ? ' active' : '', '" href="', $scripturl, '?action=gallery">' , $txt['smfgallery_menu'] , '</a></li>';

Hope that works.

Offline Matt5L

  • Member
  • *
  • Posts: 7
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #88 on: October 11, 2008, 02:30:21 pm »
BTW Thanks to all who have created this wonderful addon!

Ok I have read thru here and still cant get my button to work, I erased the code I put in so we can start from scratch.
Im using the Black Rain V2 script. SMF 1.1.6 and Simple Portal 2.0.4.

Here is my index.template file attached.  PLEASE NOTE its in UTF-8 my laptop broke and im only using wordpad so can someone please convert it for me to the right format!?

Thank You in advance,
Matt
« Last Edit: October 11, 2008, 02:55:57 pm by Matt5L »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: SMF Gallery Lite Help Information
« Reply #89 on: October 12, 2008, 09:50:07 am »
Here is the update template_menu function

Code: [Select]
function template_menu()
{
global $context, $settings, $options, $scripturl, $txt;

// Work out where we currently are.
$current_action = 'home';
if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers')))
$current_action = 'admin';
if (in_array($context['current_action'], array('gallery','search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm')))
$current_action = $context['current_action'];
if ($context['current_action'] == 'search2')
$current_action = 'search';
if ($context['current_action'] == 'theme')
$current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin';

// Are we using right-to-left orientation?
if ($context['right_to_left'])
{
$first = 'last';
$last = 'first';
}
else
{
$first = 'first';
$last = 'last';
}
  echo '<div id="tabs6">';

// How about the [home] button?
echo '<ul><li><a href="', $scripturl, '"><span>'.$txt[103].'</span></a></li>';

// How about the [forum] button?
echo '<li><a href="', $scripturl, '?action=forum" ><span>', $txt['sp-forum'], '</span></a></li>';

// How about the [help] button?
echo '<li><a href="', $scripturl, '?action=help" ><span>', $txt[119], '</span></a></li>';

// How about the [search] button?
if ($context['allow_search'])
echo '<li><a href="', $scripturl, '?action=search"><span>', $txt[182] , '</span></a></li>';

// How about the [arcade] button?
echo '<li><a href="', $scripturl, '?action=arcade"><span>', $txt['arcade'] , '</span></a></li>';

// Is the user allowed to administrate at all? ([admin])
  if ($context['allow_admin'])
echo '<li><a href="', $scripturl, '?action=admin"><span>', $txt[2], '</span></a></li>';
 
// Edit Profile... [profile]
if ($context['allow_edit_profile'])
echo '<li><a href="', $scripturl, '?action=profile"><span>', $txt[467], '</span></a></li>';

// The [calendar]!
if ($context['allow_calendar'])
echo '<li><a href="', $scripturl, '?action=calendar"><span>', $txt['calendar24'], '</span></a></li>';

// Gallery
if ($context['allow_smfgallery_view'])
echo '<li><a href="', $scripturl, '?action=gallery"><span>', $txt['smfgallery_menu'] , '</span></a></li>';



// Go to PM center... [pm]
if ($context['user']['is_logged'] && $context['allow_pm'])
echo '<li><a href="', $scripturl, '?action=pm"><span>' , $txt['pm_short'] , ' ', $context['user']['unread_messages'] > 0 ? '[<strong>'. $context['user']['unread_messages'] . '</strong>]' : '' , '</span></a></li>';

// the [member] list button
if ($context['allow_memberlist'])
echo '<li><a href="', $scripturl, '?action=mlist"><span>' , $txt[331] , '</span></a></li>';

// If the user is a guest, show [login] and [register] buttons.
if ($context['user']['is_guest'])
{
echo '<li><a href="', $scripturl, '?action=login"><span>', $txt[34], '</span></a></li>
  <li><a href="', $scripturl, '?action=join"><span>', $txt[97], '</span></a></li>';
}
// Otherwise, they might want to [logout]...
else
echo '<li><a href="', $scripturl, '?action=logout;sesc=', $context['session_id'], '"><span>', $txt[108], '</span></a></li>';
  echo '</ul></div>';
}
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
5 Replies
7845 Views
Last post January 12, 2007, 06:28:22 am
by softtouch
10 Replies
9104 Views
Last post December 05, 2007, 10:49:46 pm
by djmac
3 Replies
7441 Views
Last post April 21, 2008, 10:17:18 pm
by SMFHacks
3 Replies
5233 Views
Last post October 06, 2009, 03:08:29 pm
by william777
8 Replies
5303 Views
Last post January 29, 2012, 03:43:22 pm
by statusjpn

+- Recent Topics

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

Powered by EzPortal