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 270468 times)

0 Members and 1 Guest are viewing this topic.

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 #60 on: December 10, 2005, 11:25:48 am »

Hey Stramm, I'm using the Igames theme, I'm not sure which functions to edit to be able to use the PM system mod, i can't figure it out, what to put where.... a link to my gallery is www.thebeerrun.com/gallery         

that should work out of the box. Except maybe you use a modified theme...
if you can't get it  to work zip the theme folder and attach it to your next post

pslawinski... I'll have a look

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #61 on: December 10, 2005, 10:30:20 pm »

that should work out of the box. Except maybe you use a modified theme...
if you can't get it  to work zip the theme folder and attach it to your next post

pslawinski... I'll have a look



Thanks Stramm, i attached my igames theme folder, i customized it a bit with my header and some adsense boxes, other then that, i cant find anywhere to send a message in a persons profile. I saw it in the classic view, but not in my igames theme, which is the set theme.

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #62 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.      ???

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #63 on: December 11, 2005, 05:30:34 am »

Thanks Stramm, i attached my igames theme folder, i customized it a bit with my header and some adsense boxes, other then that, i cant find anywhere to send a message in a persons profile. I saw it in the classic view, but not in my igames theme, which is the set theme.

lol... i found the problem, turns out the images just weren't in the images folder for the PM send, and PM reply... not sure if its in everyones, or i messed something up. Anyways, i still can't get the {avatar} to display properly, in the comments, it shows up fine in the "friends" page.

MavricK

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

lol also in my PM system, now that i got it working... when it emails you a message... it gives a porn link? is that built in.... ?

Hello FrankyJ, You have received a new private message at The Beer Run Dot Com from devo. Please click here to log in and read it: http://www.myporntal.com/vote/pms.php If you don't want to receive these notification emails anymore just update your profile and unmark the 'Notify me on new private messages' checkbox. {ADMIN}     

the "myporntal.com"  part lolol is that a spam attack on me? or is that a built in message for the PM system... just curious hahah

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 #65 on: December 15, 2005, 03:45:36 pm »

sorry, I'll fix that with the next version. This mods were custom work that got the permission to get published here on the mods board. I've tried to remove all hard links and all hardoced language stuff. Still it's possible that some stuff remained.

Anyways, if that 'porn link' (it's a 404 cause the site doesn't exist anymore) gives you a spam attack???? (how would it do that?? Does this link have your email addy??) then check your computer for spyware. I've set this site up myself and it's clean (was clean) of any disgusting stuff you can think off.

To get rid of that hardcoded link change in pms_send.php
Code: [Select]
            '{LINK}' => "http://www.myporntal.com/vote/pms.php"
to your own pms.php

as said... I'll make it an auto thingie with the next mod update


Cause of the avatar problem... It should work with the original theme.php that ships with 1.4.2. If you've changed that file you'll have to modify the functions you've added (I've listed them somewhere in this thread)

MavricK

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

no i didn't get spam attacked or anything, I was just wondering if something took over the link, or it was hardcoded. I fixed it now tho thank you. The new PM system is great. Now i'm going to work on fixing the Avatars thank you Stramm.

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #67 on: December 15, 2005, 07:04:22 pm »

Changes in the theme file...
function assemble_template_buttons, function theme_main_menu -- > here I've added the above mentioned My friends link. So if your theme soesn't use this standard functionm you'll have to chaneg your themes function

$template_thumbnail_view, function theme_display_thumbnails  -- > some lil changes to be able to move some thumb descripton from below the thumb to it's right side

$template_image_comments, function theme_html_comments  -- > to make the commenters name clickable and if PM is enabled display a PM button next to teh commenter name and to display the avatar

$template_add_your_comment, function theme_html_comments -- > subscribe / unsubscribe links

function theme_html_picinfo  -- > changes to display a clickable link to download the movie (if the displayed media is a movie) in picinfo

function theme_html_img_nav_menu -- > prepared so that it'S possible to display the owners name, id, pic title above a picture (just the tags need to be added to $template_img_navbar and it's rocking)

new function -- > function loginForm  -- > to display the loginform and the PM, buddy quick stats
-------------------------------------------------------------------------------------------------------------------------------------------------

I don't have a problem with any of those functions, those are the only modifications i can find to theme.php, which function would be for the avatar? everything else works.  The avatar works fine in some spots, just not in the comment spot. but profile, and my buddies page they all show up. Only things i've modifed on themes.php was "@" to Options, and commented out Home ont he links.  ???

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 #68 on: December 15, 2005, 07:09:56 pm »

$template_image_comments
check that variable

and have a look at the one in themes.inc.php to see how to add the avatar
basically {AVATAR} {MSG_BODY} would spit out the avatar (if set) and the comment

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #69 on: December 15, 2005, 07:38:09 pm »

$template_image_comments
check that variable

and have a look at the one in themes.inc.php to see how to add the avatar
basically {AVATAR} {MSG_BODY} would spit out the avatar (if set) and the comment

okay, i checked out those, in my themes.php file, $template_image_comments doesn't exist, only in themes.inc.php      also, in the themes.inc.php  {AVATAR} {MSG_BODY}    is set, but in the gallery, you only see "{AVATAR}"  next to the persons name, the text.

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 #70 on: December 15, 2005, 07:40:38 pm »

in the classic theme too?

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #71 on: December 15, 2005, 07:44:04 pm »

in the classic theme too?

yeah in the classic theme, $template_image_comments doesn't exist either. its version 1.4.2  says in the theme.php file even.

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 #72 on: December 16, 2005, 08:41:56 am »

yeah in the classic theme, $template_image_comments doesn't exist either. its version 1.4.2  says in the theme.php file even.

yup,cause it's in themes.inc.php. If you want a different design for a certain theme you put that in the themes file and rewrite it
I wanted to know if the classic theme doesn't show the avatar too and instead displays {AVATAR}

ganeshcp

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 33
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #73 on: December 17, 2005, 05:32:02 pm »

I think there should be a note regarding the extra copyright line "Modded by Stramm" that is added to coppermine while installing this mod. I know the original author has taken great effort and time to make this mod but is that line without a link truly necessary? Then we should have such credits for all mods we install.
Logged

MavricK

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

yup,cause it's in themes.inc.php. If you want a different design for a certain theme you put that in the themes file and rewrite it
I wanted to know if the classic theme doesn't show the avatar too and instead displays {AVATAR}

The classic theme doesn't show the avatar either, just displays {AVATAR} , how can i fix this to work on my igames theme! :(

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #75 on: December 17, 2005, 10:12:58 pm »

I think there should be a note regarding the extra copyright line "Modded by Stramm" that is added to coppermine while installing this mod. I know the original author has taken great effort and time to make this mod but is that line without a link truly necessary? Then we should have such credits for all mods we install.

Since its free, open soruce software, a line that gives credit to the author isn't asking much at all. You could pay lots of $ for software like this. If you spent the time making mods, im sure you would want credit. I don't see any problem with his credit line at all. I'd do the same thing if i could make mods. Other mods have the same thing actually, i've seen a couple. Not a big deal, or related to this help topic really? 

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 #76 on: December 18, 2005, 12:21:57 pm »

try toi reupload the themes.inc.php from the modpack to your include directory. If it doesn't show the avatar then this should fix it.

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #77 on: December 18, 2005, 11:32:44 pm »

try toi reupload the themes.inc.php from the modpack to your include directory. If it doesn't show the avatar then this should fix it.

ok, i re installed the mod pack, the latest one even to make sure again.... tried to re input the SQL for the avatar SQL and its already set, and i updated the  database with the admin tool.  Checked the comments and it still shows "{avatar}" instead of the image, also i think the PM sign next to the authors name is broken too,  only on the comments page though, ever works on everything else... so the only time their is problems is when you view an image and it displays the comments section.  Should i reinstall a file that contains the comments section or something? I have no clue how it used to work and now it doesn't just doesn't make sense to me! I'm trying everything, the avatar and pm system is my favorite part of the mod!   ???  :'(

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 #78 on: December 19, 2005, 09:10:30 am »

please zip the file your_cpg_dir/include/themes.inc.php and attach it to your next post

MavricK

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 46
    • MavricK Net Designs
Re: Mod Pack: Watermark, better thumbs, avatar, buddy, PM, notification
« Reply #79 on: December 19, 2005, 09:32:12 am »

please zip the file your_cpg_dir/include/themes.inc.php and attach it to your next post


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.
Pages: 1 2 3 [4] 5 6 7 8 9   Go Up
 

Page created in 0.024 seconds with 19 queries.