Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: info/update/latest news box  (Read 4504 times)

0 Members and 1 Guest are viewing this topic.

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
info/update/latest news box
« on: February 04, 2004, 01:08:19 am »

i start my coppermine gallery about year a go, when my son born to serve my far living family members. The site is a quite success, thanks to coppermine :)
Now i wonder is it a possible to have that kinda feature where i can put some txt info how is my son today? If you don't follow what i mean (perhaps my shitty english) just look around any typical portal basic "latest news" kinda thing.
Other question:
(this might be off topic)
is it possible to give rights to visitors upload fotos in every directory(not only to quest(user?)-gallery). Without giving them admin rights
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
info/update/latest news box
« Reply #1 on: February 04, 2004, 02:37:02 am »

1. Yes, please read the documentation regardign the anycontent box.

2. Check the mods board.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(http://www.mozilla.org/products/firefox/buttons/getfirefox_small.png)

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
info/update/latest news box
« Reply #2 on: February 07, 2004, 11:23:09 pm »

where i can find that document? I read all of what came with installing files with zero reluts.
Do i need to my BS news talk direct to anycontent.php file? And (if so) where
Code: [Select]
<?php
// ------------------------------------------------------------------------- //
// Coppermine Photo Gallery 1.2.0                                            //
// ------------------------------------------------------------------------- //
// Copyright &#40;C&#41; 2002,2003 Gregory DEMAR <gdemar@wanadoo.fr>                 //
// http&#58;//www.chezgreg.net/coppermine/                                       //
// ------------------------------------------------------------------------- //
// Updated by the Coppermine Dev Team                                        //
// see /docs/credits.html for details                                        //
// ------------------------------------------------------------------------- //
// This program is free software; you can redistribute it and/or modify      //
// it under the terms of the GNU General Public License as published by      //
// the Free Software Foundation; either version 2 of the License, or         //
// &#40;at your option&#41; any later version.                                       //
// ------------------------------------------------------------------------- //
starttable&#40;"100%", "Welcome"&#41;;

?>

<tr><td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td></tr>
<?php
endtable
&#40;&#41;;

?>
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
info/update/latest news box
« Reply #3 on: February 08, 2004, 12:22:10 am »

Hi,

what you need to do is edit this bit of the anycontent.php;

starttable("100%", "Welcome");

?>
<tr><td class="tableb" >
This is for any content block - just a test - Edit the file "anycontent.php" to change what is shown here
</td></tr>
<?php
endtable();

edit the red as you want, put in more tables/rows/cells as you need.

then, when done and uploaded, login as admin, go to config, and add it to the 'contents of main page', like this;

Code: [Select]
breadcrumb/anycontent/catlist/alblist.......
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
info/update/latest news box
« Reply #4 on: February 08, 2004, 10:47:01 am »

@ miikali,
I moved yor upgrade posts to the support forum.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

miikali

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
info/update/latest news box
« Reply #5 on: February 08, 2004, 11:31:06 am »

problem with the big pictures:
when i push the thumbnail i got weird fatal error message:
"Fatal error: Call to undefined function: display_film_strip() "
/displayimage.php on line 582
what i have done :)
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.