Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification - Page 5 Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification - Page 5
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification

Started by Stramm, November 29, 2005, 05:05:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

celeritycat

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!

Stramm

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

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.

soteu00

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


soteu00

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

MavricK

Quote from: MavricK on December 19, 2005, 09:32:12 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

Quote from: MavricK on December 26, 2005, 02:46:16 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

Quote from: soteu00 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

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

Quote from: MavricK on December 10, 2005, 10:33:15 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

Quote from: Stramm on December 28, 2005, 01:00:40 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

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

n3n

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

Joachim Müller


n3n

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

tnx :)

Stramm

Quote from: easyjava 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

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

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.

???

Roadster

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

Stramm

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

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!

Stramm

Quote from: rutger 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!

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