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: Stories or link post  (Read 7330 times)

0 Members and 1 Guest are viewing this topic.

bulldozer

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Stories or link post
« on: March 18, 2004, 03:01:40 am »

I would like to see a way of posting url links in Coppermine or story posts.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Stories or link post
« Reply #1 on: March 18, 2004, 07:48:23 am »

You already can post links - use bbcode (similar to the bbcode here on the board). You can add long text in category description, album description and picture description. You have bbs integration to seamlessly integrate with a board, where the really long stories could go. What else do you need?

GauGau
Logged

Jaero

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
    • http://me.warcry.com
Stories or link post
« Reply #2 on: March 18, 2004, 11:58:27 pm »

By story posts do you mean uploading text files? That's actually something I am in need of as well.

I turned my CPM into a Fan Art gallery: http://me.warcry.com/content/fanart/

And I intended to use it also as a Fiction gallery. Is there no possibility of being able to attach .txt, .rtf, .doc, or .pdf files? I know 4images allows PDFs... unfortunately we can't integrate our gallery with phpBB as on the network my site is on, there are existing forums.
Logged
Jaero - jaero@warcry.com
Site Manager - ME Warcry
http://me.warcry.com

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Stories or link post
« Reply #3 on: March 19, 2004, 12:03:18 am »

Uploading of text files, as well as multi media files, is standard in the next version, and a mod is available for this version, look in the stickies in the mods forum for 'coppermine should allow video'
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

bulldozer

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Stories or link post
« Reply #4 on: March 20, 2004, 03:11:41 am »

I have the video mod. It allows thumbnails for .txt files.

.Htm and .html don't seem to work, though.
Logged

omniscientdeveloper

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 901
Stories or link post
« Reply #5 on: March 20, 2004, 03:58:02 am »

"htm" and "html" files should be allowed, maybe not in the original release though. You can modify it by adding it to the document array in the init.inc.php file.
Logged

bulldozer

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Stories or link post
« Reply #6 on: March 20, 2004, 04:18:40 am »

Your suggestion worked! Thanks bro!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Stories or link post
« Reply #7 on: March 20, 2004, 10:25:22 am »

keep in mind that allowing html files (or even php) is a huge security risk. Only recommended if users can't upload at all on your gallery, i.e. if you (as gallery admin) will be the only person to upload scripts.

GauGau
Logged

bulldozer

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Stories or link post
« Reply #8 on: March 21, 2004, 08:08:55 am »

good security tip.
Logged

bulldozer

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Stories or link post
« Reply #9 on: March 30, 2004, 09:04:11 pm »

It would be nice if for text and html links, it would display it on same page as opposed to opening in a popup.

I'm looking in terms of something like an adult membersarea with stories, videos, and images.

I think alot of you are thinking of coppermine as sort of an additional thing to be added for forums where users can upload pics. I think it can work great for both, but there are different styles for both. Integrated with a forum, users can post stories on the forum. ON a membership type area, lots of stories would be posted more from the top down and be more organized.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Stories or link post
« Reply #10 on: March 30, 2004, 10:55:37 pm »

to open links in the same window, search the code and replace
Code: [Select]
target="_blank"with
Code: [Select]
target="_top" - simple html.

To avoid pop-ups, edit displayimage.php and find
Code: [Select]
$pic_html = "<a href=\"javascript:;\" onClick=\"MM_openBrWindow('displayimage.php?pid=$pid&fullsize=1','" . uniqid(rand()) . "','scrollbars=yes,toolbar=yes,status=yes,resizable=yes,width=$winsizeX,height=$winsizeY')\">";and modify accordingly.

GauGau
Logged

bulldozer

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Stories or link post
« Reply #11 on: March 31, 2004, 01:12:36 am »

thanks for the tip.
Logged
Pages: [1]   Go Up
 

Page created in 0.028 seconds with 20 queries.