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 2 3 4 [5] 6 7 8 9   Go Down

Author Topic: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification  (Read 270494 times)

0 Members and 1 Guest are viewing this topic.

celeritycat

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #80 on: December 22, 2005, 10:03:00 am »

Stramm, can you tell me what php files and where I need to edit in order to change the appearance of the Welcome and login on the front page? It would be nice if I could set it up with a style according to theme and not always left aligned or maybe change the button style. Stuff like that! Much appreciated.


Oh and by the way once I changed the email link to my pm everything works wonderful. Nice Job!  Happy Holidays!
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #81 on: December 22, 2005, 12:03:37 pm »

It's pretty easy... there are two (three if you count the language file) places where to edit the stuff.
1. template.html  --> have {LOGIN_FORM} where you want the welcome message/ form to appeare on the site
2. have a look at include/themes.inc.php and find at the bottom the function loginForm
  --> either modify it here to your needs (eg. display other info despite buddy and PM) or if you want it theme specific copy the entire function into your theme.php and do your modifications there
3. If you just want to change the text... just look it up in the language file (english.php - $lang_loginform). If you want to translate it... copy $lang_loginform to eg. dutch.php and do the translation

hope this helps

sigepjedi

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 111
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #82 on: December 22, 2005, 10:44:55 pm »

where can i get the most recent version of this now?

im looking for the section with the avatars, mine doesnt seem to have a place for you to upload it to your profile. thanks.
Logged

soteu00

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #83 on: December 25, 2005, 11:22:43 pm »

hi
i have installed your mod pack, basicly i unpload the files  and replaced the ones that were there
now i have this error hen i click on an image
Critical error
There was an error while processing a database query


http://acaciasrubras.com/coppermine/displayimage.php?album=2&pos=4

Logged

soteu00

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #84 on: December 26, 2005, 02:05:09 am »

well, i am just lost
how exactly do i install this mod pack
where are the instructions?
sorry iam new in coppermine
Logged

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #85 on: December 26, 2005, 02:46:16 am »


okay, i attached it, if you need anything else let me know. thanks a lot for lookin at the file. I don't know what could be wrong with it, if its the same one everyone else has, all i changed was the order of links so the Upload file link is first, and commented out Home because i have a flash header that has a home link.


starmm! just wondering if you saw the attachement on this post, still can't get avatars to work  ??? >:( :'(

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #86 on: December 26, 2005, 10:51:18 am »

starmm! just wondering if you saw the attachement on this post, still can't get avatars to work  ??? >:( :'(

oh... sorry, forgotten about it :(
checked it and it is just perfect. PM me for my email addy and then send me a zip of your cpg install please

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #87 on: December 26, 2005, 10:55:40 am »

well, i am just lost
how exactly do i install this mod pack
where are the instructions?
sorry iam new in coppermine

this thread's all the info. Replace the files in your coppermine directory with the ones in the attached zip. Then do the SQL changes (easy with a tool like PHPMyAdmin)
Docs on how to use the mods... http://forum.coppermine-gallery.net/index.php?topic=21469.0
That's the old modpack for 1.3. There you can find some more basic info

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #88 on: December 28, 2005, 01:00:40 pm »

also my avatars no longer work, it just shows  {AVATAR}        next to the name... everything worked fine in my last version before i upgraded to 1.4 , could that be a sql problem? even tho it seems to be the same sql code for the avatars as the 1.3.x version mod.      ???

Thanks for your help... found out finally what the problem is
Not only the avatar shouldn't work but the notifications and the PM link next to the commenter name shouldn't neither. This is simply cause you're using the 'multiline comments' mod. This plugin changes the variable $template_add_your_comment and the function theme_html_comments. Of course the plugin author didn't add code necessary for this modpack to work.

I've modified the plugin code a lil bit. Should work but it's untested... no guarantee
Oh, and if you enable 'Display info right of thumb' then it looks far better if you reduce 'Number of columns on thumbnail page' to 2

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #89 on: December 28, 2005, 06:29:24 pm »

Thanks for your help... found out finally what the problem is
Not only the avatar shouldn't work but the notifications and the PM link next to the commenter name shouldn't neither. This is simply cause you're using the 'multiline comments' mod. This plugin changes the variable $template_add_your_comment and the function theme_html_comments. Of course the plugin author didn't add code necessary for this modpack to work.

I've modified the plugin code a lil bit. Should work but it's untested... no guarantee
Oh, and if you enable 'Display info right of thumb' then it looks far better if you reduce 'Number of columns on thumbnail page' to 2

Thank you so much Stramm, once again you got the fix for it. I know this took a while to figure out, so thank you so much for taking time to figure it out!! It works perfect.  :D

easyjava

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
  • Be Tresh
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #90 on: December 29, 2005, 09:21:14 am »

Hello, thank you for your nice job.

I just want to know if it's possible to apply Kubrick template to your contribution. I'm sorry but i'm a newbie ! I'have tried with that : http://forum.coppermine-gallery.net/index.php?topic=24993.0 but it doesn't work.

Thank you very much
Logged

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #91 on: December 30, 2005, 04:21:08 pm »

Hi Stramm, tnx for the mod, it works great !
However i do have 1 problem. Im using coppermine bridged with joomla.
To bridge those two, im using a commercial component that comes with e modified version
of coppermine.

Could you tell me which lines in which files to edit, so i can edit those withoud replacing
the whole file.


Cheers
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #92 on: December 30, 2005, 04:22:51 pm »

use a diff viewer like winmerge to find out.
Logged

n3n

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 173
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #93 on: December 30, 2005, 04:29:00 pm »

great idea gaugau, but im using a mac.
gonna search for an alternative though

tnx :)
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #94 on: January 06, 2006, 09:48:26 pm »

Hello, thank you for your nice job.

I just want to know if it's possible to apply Kubrick template to your contribution. I'm sorry but i'm a newbie ! I'have tried with that : http://forum.coppermine-gallery.net/index.php?topic=24993.0 but it doesn't work.

Thank you very much

I'm sure it'll work. When I have some spare time I'll have a look... or you can read this thread, I've mentioned all theme stuff that possible may need editing

easyjava

  • Contributor
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 120
  • Be Tresh
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #95 on: January 09, 2006, 02:34:02 pm »

Hello,

I have tried but there is a problem with the comments.
I have read the theme stuff, but I don't understand how it work.

 ???
Logged

Roadster

  • Coppermine newbie
  • Offline Offline
  • Posts: 13
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #96 on: January 11, 2006, 09:22:40 pm »

The Avatar hack will this work whit a bridged phpBB ??? Would be nice to have Avatars next to the user's comments
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #97 on: January 12, 2006, 08:47:47 am »

easyjava: please attach a zip with the theme. I can't download it from the given source
Roadster: no, that's a hack for the standalone. But with some basic php knowledege it should be easy to find an easy way (ie use phpBB avatars instead)

rutger

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
    • http://www.vanderlinden.com
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #98 on: January 12, 2006, 11:28:34 am »

Risking to sound like a total n00b (sometimes I doubt) I would like to ask where I can find the zip containing the modpack?

Thanks.

-- never mind, I found it in the other mod tree (1.3.5). Thanks!
« Last Edit: January 12, 2006, 12:34:48 pm by rutger »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #99 on: January 12, 2006, 05:17:37 pm »

Risking to sound like a total n00b (sometimes I doubt) I would like to ask where I can find the zip containing the modpack?

Thanks.

-- never mind, I found it in the other mod tree (1.3.5). Thanks!

This is the thread for the CPG 1.4x modpack. The zip can be found in the very first post
If you're using CPG 1.3x then you're right to read the other modpack thread
Pages: 1 2 3 4 [5] 6 7 8 9   Go Up
 

Page created in 0.024 seconds with 19 queries.