#1  
Old 04-15-2008, 12:36 PM
Raymond Benc's Avatar
Raymond Benc Raymond Benc is offline
phpFoX Developer
 
Join Date: Aug 2005
Posts: 3,860
Thanks: 77
Thanked 1,160 Times in 309 Posts
Feedback Score: (3)
Raymond Benc has disabled reputation
Default [1.6+] Gallery - "Added By" mod

Thanks to Craigster.

Here is quick little mod I whipped up to add a "Added By: UserName" under a Gallery image when its viewed in public areas such as the "RECENT IMAGES" found in the index page, gallery section (including featured images) and when viewing a groups index page.

For a sample of how it looks on the "RECENT IMAGES" checkout the screenshot provided.

To install the mod you will be required to modify the default package and below I have provided the steps needed to install the mod.

1) Open the file: /design/templates/default/_modules/Gallery/Browse.html

Look for:
Code:
Content visible to registered users only.
Under that add:
Code:
Content visible to registered users only.
2) Next open the file: /design/templates/default/_modules/Gallery/FeaturedPic.html

Look for:
Code:
Content visible to registered users only.
Under that add:
Code:
Content visible to registered users only.
3) Next open the file:
/design/templates/default/_modules/Gallery/RecentImages.html

Look for:
Code:
Content visible to registered users only.
Under that add:
Code:
Content visible to registered users only.
4) Next open the file:
/design/templates/default/_modules/Groups/GroupViewGalleryPhotos.html

Look for:
Code:
Content visible to registered users only.
Under that add:
Code:
Content visible to registered users only.
5) Next open the file:
/include/modules/Gallery/classes/PhpFox_ComponentFeaturedPic.class.php

Look for:
Code:
Content visible to registered users only.
Replace with:
Code:
Content visible to registered users only.
Next look for:
Code:
Content visible to registered users only.
Under that add:
Code:
Content visible to registered users only.
6) Next open the file:
/include/modules/Gallery/classes/PhpFox_ComponentRecentImages.class.php

Look for:
Code:
Content visible to registered users only.
Replace with:
Code:
Content visible to registered users only.
If you run into any problems installing the mod let me know.
Attached Images
File Type: jpg screenshot.jpg (9.6 KB, 398 views)
__________________
Regards,
Raymond Benc (phpFoX Developer)
/**
*
@ Blog | Twitter | My Mods
*/

Last edited by Raymond Benc : 04-15-2008 at 12:44 PM.
The Following 26 Users Say Thank You to Raymond Benc For This Useful Post:
Blankfeeler (05-17-2009), Cfriskme (01-27-2009), chamila (12-27-2008), codex (04-15-2008), coolwurkz (04-15-2008), Craigster (04-16-2008), d3m0n1x (04-20-2009), dvelle (07-03-2009), ellejones (12-22-2008), Helsdingen (01-27-2009), jimbo442 (01-06-2009), khurram (06-19-2008), knowzdamnwell (05-24-2008), kraze2007 (04-15-2008), Kribba (04-16-2008), makeamate (11-03-2008), myfuecom (04-18-2008), nemo (04-16-2008), nx.vc (03-16-2009), ourlordsfriends.com (05-30-2008), RainbowWarrior (05-23-2009), SlideRiceFC (05-05-2008), sunstar (06-17-2008), thunder88 (12-16-2008), UnionDance (04-29-2008), zacklie (04-18-2008)
  #2  
Old 04-15-2008, 12:42 PM
coolwurkz's Avatar
coolwurkz coolwurkz is offline
3rd Party Developer
 
Join Date: Nov 2006
Location: Philippines
Posts: 3,590
Thanks: 250
Thanked 742 Times in 392 Posts
Feedback Score: (11)
coolwurkz will become famous soon enough
Default

though mine says Posted by: :)
__________________
Teamwurkz Zones - Get Your Unlimited Premium Phpfox Themes NOW!
Over 50 mini mods! Plus EMAIL Templates
Please contact us here for support

Get the news and latest updates! follow us
  #3  
Old 04-15-2008, 12:45 PM
Raymond Benc's Avatar
Raymond Benc Raymond Benc is offline
phpFoX Developer
 
Join Date: Aug 2005
Posts: 3,860
Thanks: 77
Thanked 1,160 Times in 309 Posts
Feedback Score: (3)
Raymond Benc has disabled reputation
Default

Code:
Content visible to registered users only.
opps, sorry didn't know there was already a mod like this.
__________________
Regards,
Raymond Benc (phpFoX Developer)
/**
*
@ Blog | Twitter | My Mods
*/
  #4  
Old 04-15-2008, 12:48 PM
coolwurkz's Avatar
coolwurkz coolwurkz is offline
3rd Party Developer
 
Join Date: Nov 2006
Location: Philippines
Posts: 3,590
Thanks: 250
Thanked 742 Times in 392 Posts
Feedback Score: (11)
coolwurkz will become famous soon enough
Default

nope, just in my gallery http://www.pixelwurkz.com/tplVibrant.../gallery/main/ , your recent pic is cool. your mod is cool, if there will be any should be also free.
__________________
Teamwurkz Zones - Get Your Unlimited Premium Phpfox Themes NOW!
Over 50 mini mods! Plus EMAIL Templates
Please contact us here for support

Get the news and latest updates! follow us

Last edited by coolwurkz : 04-15-2008 at 12:59 PM.
  #5  
Old 04-15-2008, 05:21 PM
Xcelmind's Avatar
Xcelmind Xcelmind is online now
phpFox Fanatic
 
Join Date: Feb 2008
Posts: 551
Thanks: 32
Thanked 36 Times in 31 Posts
Feedback Score: (0)
Xcelmind is on a distinguished road
Default Thanks

I think i will try this.
  #6  
Old 04-16-2008, 06:17 PM
nemo's Avatar
nemo nemo is offline
phpFox Fanatic
 
Join Date: Sep 2006
Posts: 931
Thanks: 90
Thanked 52 Times in 35 Posts
Feedback Score: (3)
nemo is on a distinguished road
Default

thanks. nice to see Natio join the Mod club. welcome. we hope to see more
__________________
GOOGLE ADSENSE SPECIALIST . Unleash Your Site's Earning Potential - One on One customisation service $$$

AmericanHarleyRider "My site is still very young, but the percentage increase was about 400%"
djema "Getting more and more satisfied when I see my site improve and my results"
As Seen By :
beachmonkey
ajmboy
bartender10

And many more!!..
  #7  
Old 04-17-2008, 02:56 PM
Marz's Avatar
Marz Marz is offline
phpFox Fanatic
 
Join Date: Jan 2008
Location: Toronto
Posts: 973
Thanks: 99
Thanked 97 Times in 84 Posts
Feedback Score: (1)
Marz is on a distinguished road
Default

Has anyone installed this mod? Do you have a demo to show? I'm quite intersted.
__________________
People I trust:

- Scooty
- Dazzy
- Citizen
- berto
- santocki
- teamV
  #8  
Old 04-17-2008, 11:30 PM
Craigster's Avatar
Craigster Craigster is offline
phpFox Fanatic
 
Join Date: May 2006
Location: California
Posts: 1,326
Thanks: 201
Thanked 143 Times in 110 Posts
Feedback Score: (0)
Craigster is on a distinguished road
Default

No demo of it, but all it is doing is adding the text "Added by: username" below the gallery images.
So when you look at your Home page, in the recent images section, you can see who posted the pic.
Also, in the group gallery you can now see who posted an image, previously you had no idea who posted it.

Code:
Content visible to registered users only.
__________________
1.6 Build 20, upgraded from 1.1.
  #9  
Old 04-18-2008, 01:18 AM
Marz's Avatar
Marz Marz is offline
phpFox Fanatic
 
Join Date: Jan 2008
Location: Toronto
Posts: 973
Thanks: 99
Thanked 97 Times in 84 Posts
Feedback Score: (1)
Marz is on a distinguished road
Default

I installed it. It works great. It was very easy to install. You rock natio. Thanks for doing this. Much appreciated.
__________________
People I trust:

- Scooty
- Dazzy
- Citizen
- berto
- santocki
- teamV
  #10  
Old 05-27-2008, 08:49 PM
MrEurope MrEurope is offline
phpFox Fanatic
 
Join Date: May 2008
Posts: 649
Thanks: 39
Thanked 42 Times in 36 Posts
Feedback Score: (1)
MrEurope is on a distinguished road
Default

Sorry but I do not know if I need to ask you Natio or Craigster?

I have another theme installed on my community than the default.

Questions:

1.
Will this mod also work with this theme. I would love if it did because I think it is a great that the members can see who post in mail gallery and also in group galleries.

2.
Will this also work with the phrase manager. I need it to say uploaded by in my language




Code:
Content visible to registered users only.
__________________
I am using 1.6.20

Sending greatful thoughts to all you who are helping people like me that are not gifted coders. Thank you!!!

Also a big shoutout to theese really cool modders/support-people:

's - RAEL, Alonelyblogger, Easymods, Purefan, Fern, Santocki, Sia, Forestclown

If you want professional solutions and service I can recommend all of them. Their mods/fixes etc. add great value to your community and they offer good service.
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 07:03 PM.