Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs... - Page 25 Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs... - Page 25
 

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]

Main Menu

Modpack with bridge support: PM, avatar, watermark, cropped/ sharpened thumbs...

Started by Stramm, February 24, 2006, 01:34:35 PM

Previous topic - Next topic

0 Members and 11 Guests are viewing this topic.

justbishop

Yes, the pictures that just won't watermark for some reason are the already uploaded, full sized images.  I have run the admin tools several times, in various configurations (only thumbnails, full sized and resized, all, etc.)

Stramm

Quote from: Stramm on June 29, 2006, 06:55:06 PM
you'll need to chmod all fiiles/ folders to what you use now

as already mentioned a few times. Check your config to see what your actual settings are (I'd guess [folder/ files] 755/ 644)... but you may have to set this to (777/666 or 755/666 or ...). That's due to exotic server setups

justbishop

Ok, when I installed CPG, I'd CHMODed everything the way it said to.  When it gave me a choice between 755 and 777, I believe I chose 777 every time.  I would be happy to check again, but I'm confused about what folders and files should be set to what for this all to work.

angeldevil

I'm working to the translation of your beautiful Mod in Italian language and I would ask a question to you.
Is it possible to make the following two modifications?


Visual notification on the new comments receipts with link to the "Last comments page"

Red or yellow numbers coloration when the values are not equal to zero

an you help me? See the attached image please

TNX

angeldevil
a

Stramm

Quote from: justbishop on June 29, 2006, 08:51:51 PM
Ok, when I installed CPG, I'd CHMODed everything the way it said to.  When it gave me a choice between 755 and 777, I believe I chose 777 every time.  I would be happy to check again, but I'm confused about what folders and files should be set to what for this all to work.

folders should be fine with 777, chmod all files to 666 and try if it works. As said, some setups are exotic. I've explained that several times in modpack and/ or watermark threads

Stramm

Quote from: angeldevil on June 30, 2006, 02:16:21 PM
I'm working to the translation of your beautiful Mod in Italian language and I would ask a question to you.
Is it possible to make the following two modifications?


Visual notification on the new comments receipts with link to the "Last comments page"

Red or yellow numbers coloration when the values are not equal to zero

an you help me? See the attached image please

TNX

angeldevil

I'll give you an example for the PMs...
in themes.inc.php find function loginForm and copy it over to the theme you're using (don't include the last bracket } before the ending ?>)

now you can experiment with that function as you wish.
after
list($tot_new_messages) = @mysql_fetch_array($result);
mysql_free_result($result);

add
($tot_new_messages == 0) ? $tot_new_messages = "<span style=\"color: green\">$tot_new_messages</span>": $tot_new_messages = "<span style=\"color: red\">$tot_new_messages</span>" ;

do something similar for  buddies.

The number of comments since the last login/ visit
probably possible but resource hungry. You can just enhance the function you just copied. You need to query the user table for the last visit date/ time and the query the comments table for comments added later than the last visit date. You even could make that a config option ;)


angeldevil

Hello Stramm! the various coloration works perfectly!  ;D
Now I try to experiment on the visual notification on comments

Many thanks!!!
a

fovsports

Hello Stramm,
Very powerfull piece of code you have written. Community based sites have been the rage for awhile now.
Here is my question.... I would like to be able to have the profile.php page for my members have the link "click here to view {users_id} buddies".  See attached picture.

Thanks for your help on all that you have done. I hope this is not to much to request.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.shoiecast.com%2Fstramm%2Fprofilelink.jpg&hash=eba0b48b2c03186bd9e22fa5e557531388d32c26)

antisa33

Please can you help me, the mod is ok for all the theme but not with mine : i need the Digital_Flow theme  :-\
I try to add {LOGIN_FORM} on my template.html but now i have a blanck page !
Please help
Thanks!!

antisa33



Stramm

Quote from: fovsports on July 07, 2006, 06:55:34 PM
Hello Stramm,
Very powerfull piece of code you have written. Community based sites have been the rage for awhile now.
Here is my question.... I would like to be able to have the profile.php page for my members have the link "click here to view {users_id} buddies".  See attached picture.

Thanks for your help on all that you have done. I hope this is not to much to request.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.shoiecast.com%2Fstramm%2Fprofilelink.jpg&hash=eba0b48b2c03186bd9e22fa5e557531388d32c26)

haven't you asked taht before??
adding a link to the profile is easy. To modify the buddy_manage.php to work for the owner of the buddy list and users viewing other members buddy ists isn't that trivial. Would require to rewrite some crucial parts of that file. An easier solution would be to just copy the code that only shows and doesn't administer the buddy list into a new file and call that.

tandiono


Stramm

for me it doesn't look like a problem when viewing an intermediate image but a problem with the smf settings (can't be loaded). Try to fix the smf settings table

tandiono

Quote from: Stramm on July 09, 2006, 12:16:32 AM
for me it doesn't look like a problem when viewing an intermediate image but a problem with the smf settings (can't be loaded). Try to fix the smf settings table

Hello,

how can i fix it? Please advice me. Thanks

Stramm

ask that on the integrating/ bridging board. Not related to the modpack. And stick to one thread.
http://forum.coppermine-gallery.net/index.php?topic=33647.0

edit:
now you have another error message but GauGau already told you in this thread what to do
http://forum.coppermine-gallery.net/index.php?topic=33645.msg156956#msg156956

Stramm

Quote from: tandiono on July 09, 2006, 02:32:08 AM
Hello,

how can i fix it? Please advice me. Thanks

I hope you finally stick to one thread now.
After you finally enabled debug mode I was able to see the problems you have. It's a known issue. Happens when bridged and with avatars enabled. In addition to that the db users of the forum and cpg need to be different. A link to the fix has also been posted several times in this thread
http://forum.coppermine-gallery.net/index.php?topic=29153.msg135084#msg135084

Justttt

hey stramm , i have 2 copies of your modpack uploaded /album, /ladies ... when i install ladies gallery i would like it to use its own database prefix ladies_, but use the cp4_users table from album so i have all members on both. how would i do this

thanks,
   Justttt
J U S T T T T

Stramm


Justttt

J U S T T T T