Does anyone actually understand how to install a mod?
I have the "private photo" mod, but for the life of me can't follow the instructions, and if you want to post a question on expertzzz you have to pay!
On my SMF forum, the mods are self installing, but if you are using a theme other than the default you occasionally have to modify the files manually, a pain but no great difficulty.
I notice in admin there is an option to upload modules, what are they?
I tried to do the installation on that basis, i.e. modify the files myself, but when I got to stage 6 (modifying upload media.php), some of the code it said to look for wasn't there, so that stopped me in my tracks, below are the instructions minus the code itself, is there something I'm missing?
Title: Private Photo Mod for Dolphin 6.0 - 6.01
Description: Let your member upload their intimate photos or let them have the private photo option accessible only to their friends or those who they granted password.
This mod will aslo sends email to private photo owner when submit button is clicked and to the viewer when access is granted by the owner.
Private Photo Post Moderation can also be manage on admin panel.
features:
- upload private photos separately from your public photos
- quickly grant/ungrant access to someone when you're viewing their profile or grant access when sending mail
- auto grant private photo access to user's friends
- disallow private photo access to block list member of the user
- displays an indicator on how many public and private photo a user have
- adds a submit request button when user is not granted private photo access yet
- sends an email to the recipient when submit button is clicked
- besides from the email sent, memember page also displays and indicator that a new private photo request is found
- adds private photo access management in contacts page
- if a user has no public photo but has private, a gender icon with lock is displayed, indicates the user has photo but private.
added files:
<site root directory>profilePrivatePhotos.php
<site root directory>uploadPrivatePhoto.php
copy all images from each folder
<site root directory>templates\base\images\icons\
<site root directory>templates\<template>\images\
replace files:
<site root directory>templates\base\images\media_tab_*.png
added language entries:
//Key = String
_ATT_PRIVATEPHOTO = <b><a href="{0}contacts.php?show=priv_passwd_inv&list=me">New Private Photo Requests</a></b> waiting for you!
_ATT_PRIVATEPHOTO_NONE = No new friends (<a href="{0}contacts.php?show=priv_passwd">go to My Private Photo Access</a>)
_My Private Photos = My Private Photos
_Private Photo = Private Photo
_Request for access = Request for access
_Submit request = Submit request
_Access granted = Access granted
_Grant Private Photo Access = Grant Private Photo Access
_Remove Private Photo Access = Remove Private Photo Access
_Public Photos = Public Photos
_Private Photos = Private Photos
_private_photo= private photo
_Private Photo Access list = Private Photo Access list
_Access removed = Access removed
_Private Profile Photos = Private Profile Photos
_MEMBERS_REQUESTED_PRIVATE_PHOTO_TO_YOU = MEMBERS REQUESTED PRIVATE PHOTO ACCESS TO YOU
_Private Photo Access = Private Photo Access
_Grant Private Photo Request = Grant Private Photo Request
_Delete Private Photo Access = Delete Private Photo Access
_MEMBERS_YOU_REQUESTED_PRIVATE_PHOTO = MEMBERS YOU REQUESTED PRIVATE PHOTO ACCESS
_Back Request = Back Request
affected files:
1. compose.php
2. contacts.php
3. list_pop.php
4. member.php
5. photos_gallery.php
6. upload_media.php
7. inc/design.inc.php
8. inc/menu_content.inc.php
9. inc/classes/BxDolMedia.php
10. templates/base/scripts/BxBaseProfileView.php
11.templates/base/base/css/upload_media.css
12.templates/base/base/css/general.css
Installation Steps:
run query altermedia.sql
Then it gived the modified coding for the 12 files.