Advanced search  

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

Pages: [1]   Go Down

Author Topic: About me plugin  (Read 6955 times)

0 Members and 1 Guest are viewing this topic.

bvu007

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
About me plugin
« on: November 19, 2007, 11:51:50 pm »

Hi,
I'd like to see a new plugin titled "About me"  that opens a form with the users (i.e. gallery owner) biographical information, contact adress, location, phone nr. etc. The new form can optional show a picture of the gallery owner.
You access the new form from the main menu by clicking on the menuitem "About me".

Maybe you can add additional fields for entering usefull links, recommended by gallery owner.

All the relevant informations should be stored in the database and can be modified in the users profile only, which should be
enhanced by the new fields.

Thanks
Bodo

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: About me plugin
« Reply #1 on: November 20, 2007, 08:28:35 am »

No plugin needed. Just create a custom php page named aboutme.php (within your coppermine root) with this content:
Code: [Select]
<?php
define
('IN_COPPERMINE'true);
require(
'include/init.inc.php');
pageheader($lang_banning_php['title']);
?>

Your custom content here
<?php
pagefooter
();
ob_end_flush();
?>
Add a link to this custom page to your coppermine navigation and you're fine.
Logged

François Keller

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: fr
  • Offline Offline
  • Gender: Male
  • Posts: 9094
  • aka Frantz
    • Ma galerie
Re: About me plugin
« Reply #2 on: November 20, 2007, 08:42:10 am »

humm, not sure it's what bvu007 mean's
I think he will a "about_me" page for each user who has his album in the user albums categorie
Logged
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: About me plugin
« Reply #3 on: November 20, 2007, 08:49:04 am »

A plugin like that would require a huge amount of custom coding, with additional database fields, corresponding queries and forms, an admin backend config screen and so on. Way beyond what you can expect from free support.
The thread starter originally posted this in the feature requests board. Not a valid feature request, that's why the thread got moved here.
Logged

bvu007

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: About me plugin
« Reply #4 on: November 20, 2007, 08:13:04 pm »

Well the About-me plugin could be designed in a similar method like the "contact me" plugin.

However the About-me form should then only show the administrators information like Occupation, Biography,  Interests which can be entered in the administrators profile.
All these fields are allready in the database and are never  used anywhere else in the gallery, as far as I see.

I like to suggest to add some more usefull fields to the users profile in the future, e.g phone number usefull links to add these to the About-me form.

The form might be usefull to those who run coppermine gallery as their personal photo-gallery without letting other users to login an create a profile.
So the informations in a About-me form should onyl come from the administrators profile.


Thanks for your attention.
Bodo


Logged

just_some_guy

  • Supporter
  • Coppermine addict
  • ****
  • Offline Offline
  • Posts: 539
  • I am currently on holiday, back in a few weeks. :D
Re: About me plugin
« Reply #5 on: November 20, 2007, 08:18:11 pm »

Look into the use of custom fields in user profiles. There is even a longer entry form which you could turn into an "about me" section.
Logged
Tambien, Hablo Español      PHP - Achieve Anything
"The Internet is becoming the town square for the global village of tomorrow. " - Bill Gates
Windows 7 Forums

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: About me plugin
« Reply #6 on: November 21, 2007, 08:15:06 am »

Looks like you only want to display the information about the admin / site owner and nobody else. Do as I suggested initially then: create aboutme.php and add all the information you want to see there.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.