TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 884
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 447
  • Total: 447

[Block] SMF Gallery Random Picture

Started by Thurnok, December 01, 2006, 09:32:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ccbtimewiz

Ah.... I see. Never seen code written that way before. =T

mrbean17

Can you add links to view gallery and to add a picture? I attempted to add the html and I got a nice parse code because I suck.

Thanks!

Thurnok

I think I partially understand what you are asking.

Try taking a look at another piece of block code here:
http://www.tinyportal.net/index.php?topic=14235.msg119054#msg119054

mrbean17

That's cool ... but ideally I'd just like links right under the random picture gallery that give the user a click able link to view gallery or add a picture.

Now I will show you my awesome artistic abilities!

---------------------
| (x's are pictures)   |
| x   x   x   x   x   x   |
|                           |
|     "view gallery"    |
|      "add picture"    |
----------------------

Thanks

Thurnok

Not sure I see the point in a link for "View Gallery" as you probably already have that in your menu, plus any picture they click on will show them that picture inside the SMF Gallery's picture view page that also has a link to the main gallery page.  Seems like it would be overly redundant to me.  But, you could simply add the link in the code to display at the bottom of your block.

The "add picture" link could also simply be added at the bottom of the block, though if they do not have rights to add pictures, SMF Gallery probably will display a message to such.  If you only wanted the "add" link to be displayed to users that have permission to add pictures, that would need to be added to the actual code.

forummaker

Here's something odd. When I have a "Copperminefetch" block and a "SMF Gallery Random Picture" block on the front page at the same time the SMF GRP block does not display, and displays this error:
MySQL error:Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)
The error goes away when I remove the Copperminefetch block. I'd like to have both boxes on the page at the same time, but what do I need to do? Thanks in advance for any help.
Here's the link. www.remedydog.com

Thurnok

Sorry, but I do not have Coppermine, so I have no idea how it is setup in SMF.  Also, due to this, I do not have the Copperminefetch block.  And since I'm not the author, I'd say you are better off asking the author of that particular block.  It sounds like something in the Copperminefetch block, but that's not to say it couldn't be something in Coppermine itself, or its setup.

trench

Can we adjust the thumbnail size???  this blocks works fine. Just wanted to make the Thumbnail bigger.

scott_68

 :D

Perfect works really good on my one www.zunft-hyboriens.de.
Same questeion as above - any option to have a little bigger thumbnails  ?


Thurnok

The block currently uses SMF Gallery's own thumbnails.  So the size is set by SMF Gallery.  I've included the request on the wish list for a future release however.

This website is proudly hosted on Crocweb Cloud Website Hosting.