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.

osu searles

(This is the first block I have tried to create, so apologies in advance if this is user error.)

I receive the following error:
QuoteParse error: syntax error, unexpected $end in /Sources/Load.php(1735) : eval()'d code(35) : eval()'d code on line 177

Thank you for any assistance.

G6Cad

If you copied the code in the first post and made a PHP block for it on your forum, you should not get an error.
Make sure you have pasted the entire code in a PHP block.

osu searles

Thank you G6.

I happened to miss the final } which threw the whole thing off. 

DOH!

G6Cad

We have all done that one time or another.  :D
Glad you got it to work

Craven

One problem I noticed was when you go to minimize the whole left block it seems to remove all the blocks but this one... Is there something in the Admin portion of the script that needs to be changed?  to see what I see. go here... www.dawnofannihilation.com/doa-forum
Login: test3
Password: 1234

Gourgi

#35
if i'm right this code is for not displaying specific categories of images gallery
// do not allow the following category numbers to be displayed
// example: $gal_disallowCats = "4,2,7" - don't show categories 2, 4, or 7
$gal_disallowCats = "";


what change should be done in the original code in order to display random images only from categories i want?

in fact i want to display only one category but i think the solution of displaying more than one preferred categories  will fit everybody's needs and will make this snippet just the best one !!  :laugh:

Thurnok

I'll add an option to only display certain categories this weekend.

Thurnok

@Craven
I went to your site, and upshrinked left and right blocks.  Used Mozilla, FireFox, and IE - didn't see what you are reporting....

What browser/version are you using?

baktasht

Wow, very nice. Works very well. GREAT JOB!

Mannie

Can you also do a latest images block for smf gallery pro ?

This website is proudly hosted on Crocweb Cloud Website Hosting.