CyberiaPC.com Community Forums Main Page
RSS Feeds: Late(st) News | Zenith Picture Gallery | Most Recent Community Topics | Tips, Tricks and Other Useful Stuff

Welcome Guest ( Log In | Register )

 Forum Rules Also hosted on SourceForge and FreshMeat
Reply to this topicStart new topic
> Only the name under the tumbnail
Mercyful
post May 10 2006, 07:06 PM
Post #1


New Member
*

Group: Members
Posts: 2
Joined: 10-May 06
Member No.: 3,545

Netherlands




Hello there first at all i wonna thank the maker for this nice script......

And now the question. What i have to do, so i can only see the name of the picture under the tumbnail.
Because when i set the detail to no under the tumbnail i see nothing at all.

Maby there is a possebility in the script that need a small change and thats all.

Hope there is someone with a solution.

Thanks to that one.... dance.gif
Go to the top of the page
 
+Quote Post
usr.c
post May 10 2006, 07:31 PM
Post #2


Boss, my code's compiling (xkcd)
Group Icon

Group: Admins
Posts: 10,440
Joined: 19-September 01
Member No.: 1

Nothing Selected




Thanks for your comments. Look in functions/f_global.php for (line 164)

CODE
//output what?

and under it you'll find

CODE
if(in_array("title",$show_what))   echo "<strong><span class='tiny_text'>{$row['title']}</span></strong><br/>";
if(in_array("description",$show_what))   echo "<span class='tiny_text'>{$row['description']}</span><br/>";
if(in_array("date",$show_what))   echo "<span class='tiny_text'>{$lang['last_updated']} {$row['d']}</span><br/>";
if(in_array("size",$show_what))   echo "<span class='tiny_text'>{$lang['file_size']} {$row['fsize']}Kb</span><br/>";
if(in_array("category",$show_what))   echo "<span class='tiny_text'>{$lang['category']} {$row['category']}</span><br/>";
if(in_array("rating",$show_what))   echo "<span class='tiny_text'>{$lang['rating']} {$row['r']}</span><br/>";
if(in_array("comment_body",$show_what))   echo "<strong><span class='tiny_text'>{$row['comment_body']}</span></strong><br/>";

You can comment the ones you don't want.

Let me know if you have any problems.


--------------------


Things that I don't suck at: Photography (flickr, JPG Mag), Skydiving, Splitting atoms, Flying a space shuttle
"Don't bail; the best gold is at the bottom of barrels of crap!" -Randy Pausch
I have people-skills goddamnit! What is wrong with you people!!! | www.skyrill.com
Go to the top of the page
 
+Quote Post
Mercyful
post May 14 2006, 11:44 AM
Post #3


New Member
*

Group: Members
Posts: 2
Joined: 10-May 06
Member No.: 3,545

Netherlands




The only thing i need to do was this:

// echo "<span class='tiny_text'>{$lang['comments_counter']} "; if($c_row['c'] == "0") echo $lang['none']; else echo $c_row['c']; echo "</span><br/>";

I comment the above out, that was enough.

Great thanks to you.

By the way here is the link to the site Tanya Janssen

I am less or more the webmaster for this lady.
She make great paintings.....
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 21st June 2013 - 04:03 AM