Welcome to Geeklog, Anonymous Friday, March 29 2024 @ 03:40 am EDT

Geeklog Forums

Member Photo plugin


Status: offline

lasttime

Forum User
Junior
Registered: 04/25/02
Posts: 15
Now this is a psuedo plugin but it basically allows your visitors and members alike to see photos of existing members who have submitted a photo and encourages visitors to sign up so they can add their own photo. Check it out here and download it here. Note if I move this download it will be in the same category but on the first page.

Note to Admin: If necessary posting this can wait until tomorrow. Thanks.

 Quote

Status: offline

epretorious

Forum User
Junior
Registered: 07/02/02
Posts: 26
  • I've read the Readme.txt.
  • I've searched lib-common.php.
...but I can't remember the name of the template-element that prints the names of registered/enabled plugins.

(The plugin is registered in gl_plugins and is 'enabled' but doesn't appear in {menu_elements})
Eric P.
Sunnyvale, CA
 Quote

Status: offline

epretorious

Forum User
Junior
Registered: 07/02/02
Posts: 26
What's missing from end of the previous message? menu_elelments between two curly braces.

How can I include those in a comment?
Eric P.
Sunnyvale, CA
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You can't use curly brackets in stories or comments currently - Geeklog's template system will interpret words enclosed in curly brackets as variables. This is a bug that should be fixed in 1.3.6 ... bye, Dirk
 Quote

Status: offline

epretorious

Forum User
Junior
Registered: 07/02/02
Posts: 26
The answer to my question: The "plg_menu_elements" element must be in the template for the plugin name/hyperlin to be displayed. (It was there, plain as day, in the lib-common.php. I was just in too much of a hurry to see it the first time.)
Eric P.
Sunnyvale, CA
 Quote

All times are EDT. The time is now 03:40 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content