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: 43294
Total Topics: 7523
Most Online Today: 118
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 126
Total: 126

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.


Messages - tatore

Pages: [1]
1
SMF Gallery Lite / Re: Random Image in Block?
« on: January 22, 2008, 06:52:17 am »
That's a way to show the thumbs in a superbe look, I always loved the Protocultura's website, really.


oh that code won't work since SSI requires that it be loaded before all php


You would need to replace ssi_galleryrandom(); in your index.template.ph with something like
Code: [Select]
global $scripturl,$db_prefix,$modSettings,$boardurl;

  if(empty($modSettings['gallery_url']))
  {
    $modSettings['gallery_url'] = $boardurl . '/gallery/';
  }
 
  $request = db_query("SELECT thumbfilename,ID_PICTURE,filename FROM

{$db_prefix}gallery_pic GROUP BY thumbfilename ORDER BY RAND() LIMIT 1", __FILE__,

__LINE__);
  $row = mysql_fetch_assoc($request);
  mysql_free_result($request);
  echo' <center><a href="', $scripturl, '?action=gallery;sa=view;id=',

$row['ID_PICTURE'], '"><img src="',  $modSettings['gallery_url'] .

$row['thumbfilename'] ,'" /></a></center>'

;
?><script language="javascript" type="text/javascript">
<!--
function linkingcodes() {
  newwindow2=window.open('','name','height=250,width=800,scrollbars=yes');
  var tmp = newwindow2.document;
  tmp.write('<html><head><title>Linking codes</title>');
  tmp.write('');
  tmp.write('</head><body bgcolor="#FFFFFF"><center><font color="#000000" size="1" face="verdana">');
  tmp.write('HTML For Websites:</br><form><textarea rows="2" cols="90">&lt;a href="<?echo $modSettings['gallery_url'].$row['filename']; ?>"&gt;&lt;img src="<?echo $modSettings['gallery_url'].$row['thumbfilename'];?>"&gt;&lt;/a&gt;</textarea></form> ');
  tmp.write('</br></br>BBC For Forums</br><form><textarea rows="2" cols="90">[url=<?echo $modSettings['gallery_url'].$row['filename']; ?>][img]<?echo $modSettings['gallery_url'].$row['thumbfilename'];?>[/img][/url]</textarea></form>');
  tmp.write('</font></center></body></html>');
  tmp.close();
}
// -->
</script><center><form>
</br><input type="button" onClick="return linkingcodes()" value="Linking codes!">
</form></center>
<?

Unfortunately I didn't find any way to put the code into index.template and then see itwork properly.
SmfHack, when you have a chance..
I'm using DilberMc.
I'd coded the boardindex.template file to show the pics into the infocenter side, but for the tons of queries generated I've gave up.
However, in a test site I'd like to see the effect they have if I will be able to show them under the main user bar.

2
Support / Re: Troubles with gallery after change server and charset.
« on: July 15, 2007, 08:02:42 am »
The gallery path is correct, I'm sure.

NO!!!Sorry!
I had a slash problem!
this was the directory: /home/diXXXXa/public_html/forum/gallery
 You have changed with: /home/dixxxxa/public_html/forum/gallery/

Thank you, Forgive me and thank you for your direct assistance.  ;)

3
Support / Re: Troubles with gallery after change server and charset.
« on: July 15, 2007, 07:33:48 am »
Ive sent you a PM, so you can see the red X instead of pictures...the new uploaded-

4
Hi,
I've recently changed server, and charset language from iso to utf8.
The gallery shows perfectly the images that I've imported from the old hosting, but if I upload now, in the new server and with new language (utf8)new pics, the new uploads are shown as a X, it seems that it can't find pictures.
I've managed new paths, and everyting was working perfectly before change.
I've a customized theme, and I wonder if SMFhacks gives to me a suggestion about how to make it work correctly, and if the problem is the charset.
What is needed to do?

5
Support / Re: impossible upgrade from lite to pro
« on: December 26, 2006, 02:23:58 pm »
i've told you by mail and I'll tell You here: you're perfect!!!
I'm trying the translation on my forum  ::) ::) ::) causa I've seen that's not the same "on action".
As soon as possible for everyone.
It's a gallery that I suggest to everyone.
Lite is good, but "pro" is so complete...
Thank you again. ;)

6
Support / Re: impossible upgrade from lite to pro
« on: December 26, 2006, 10:57:54 am »
I'm planning it with my wbm.
Could You send me, please, privately your email?
I'll use it just in case I'll send the ftp parameters.
thank You.
Maybe I have the italian translation as a gift. ;D
I'll need to make it better, after installation  ::)

7
Support / Re: impossible upgrade from lite to pro
« on: December 26, 2006, 12:32:44 am »
I'' explain better:
I've tried to install, over the lite vsn and it tells me that everything was installed succesfully, but no any option changed from lite version.
The adm, control panel is the same with "donate....if you want to upgrade....". Nothing is changed.
It appears as installed between the packages installed, but it's not true.
And it's impossible to reinstall or uninstall without getting several errors-

Do You need any file attached to control?

8
Support / impossible upgrade from lite to pro
« on: December 25, 2006, 04:55:15 am »
How is it possible that I can't upgrade the versions?
I've bought this morning the "pro" version, but I always have the same options of the lite-
If I want to upgrade it manually, do I find a tutorial?

9
SMF Gallery Lite / Re: How to add lite version, on a specific point
« on: December 23, 2006, 02:45:41 am »
..a help  :-[

10
SMF Gallery Lite / Re: How to add lite version, on a specific point
« on: December 22, 2006, 04:00:57 am »
Great! I'm trying...but wich page php do I have to modify and wich is the code (and where) to insert into it to have a gallery thumb. complete in a specific point of the forum?
The question was how to replace the lite gallery instead of "scrolling" last post?
Sorry if I'm annoying you, but I need to see it in action before make changes :-\

11
SMF Gallery Lite / Re: How to add lite version, on a specific point
« on: December 21, 2006, 01:53:54 pm »
Thank you for your prompt response...
do you suggest to buy directly the "pro" version or better to try for first the lite version?
However I've tried to post a picture of my idea where to get the gallery, cause i guess is a nice view for visitors not subscribed to see the thumbs of 4, 5, or 6 pictures.
My forum is http://www.discuspassion.net/forum , so you can have an idea about my projects, and the gallery would be putted in the scrolling instead of "post recenti", that anybody may reach from somewherelse.
I have tried the lite vs in a website with smf but it's a site that I use to learn by myself php language..and that's why I'm asking how to integrate it and if I can have some problem installing it (pro) with rc3 in the way I've suggested on my first post using the same position of the site http://www.c4dbrasil.com/ but down, not under the logo-site.

Thank You a lot and sorry for my silly english ::)

12
SMF Gallery Lite / How to add lite version, on a specific point
« on: December 21, 2006, 05:10:02 am »
Hi to everyone.
I write from Italy, and since yesterday I'm interested by smf pro, but I'm going to read that it's better to try the lite version, and then upgrade with "pro".
Good! I have now on packages readu to be installed the lite version, and I'd like to install it like on this site:
http://www.c4dbrasil.com/ that I find a wonderful site-forum.
Do I have to add a button to the nav bar, and how to choose the part in wich install the gallery?
My idea is to install i instead of "post recenti"(last post).
I attach a picture-
Thanks a lot for your assistance
P.s. my forum is 1.1 rc3

Pages: [1]

+- Recent Topics

Please Help! by fmofmpls
Today at 01:47:09 pm

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

Powered by EzPortal