Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - bag53

Pages: [1]
1
Mods & Plugins (Requests & Discussions) / Comments on catagories.
« on: April 17, 2003, 07:54:33 AM »
I would like to let users post comments on catagories and subcatagories as well as images. Like if I had a subcatagory called "Vacation 2003" people could comment on that, not just the individual images within that subcatagory.

How would this be done?

2
Templates & Styles (Requests & Discussions) / Paging.php
« on: March 01, 2003, 09:58:47 AM »
How do you set the max paging links for {paging}?

For example:

In main.php, I changed this:

Code: [Select]
$lang['paging_next'] = "»";
$lang['paging_previous'] = "«";


to this:
Code: [Select]
$lang['paging_next'] = "Next Page";
$lang['paging_previous'] = "Previous Page";


Now, when I do a search with a common keyword in my gallery, I get this:

Quote
« First page  Previous Page  12  13  14  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  Next Page  Last page »


Which I want, but, I would like to lower that range of numbered page links from ten, to six, so it would appear as:

Quote
« First page  Previous Page  15  16  17  18  19  20  21  22  23  24  25  26  27  28  29  Next Page  Last page »


The contents of {paging}, the way it is now, is longer than the width of my table, and it word wraps inside the cell. I tried using nowrap="nowrap", but this just makes my table bigger.

Any suggestions?

3
Mods & Plugins (Requests & Discussions) / Latest Comment on Home Page
« on: February 17, 2003, 07:05:43 AM »
How would I go about making a mod to display the very latest image comment on the sidebar of home page, top page, details etc.? It would have the image thumb and underneath have the comment with the user name of the commenter.

Do a query to the DB for the latest comment, in a last_comment.php file?
Then use a last_comment_bit.html template file?

4
Mods & Plugins (Requests & Discussions) / I need help with new user field
« on: February 13, 2003, 07:52:13 AM »
I am trying to add a "Real Name" field to the users that will only be displayed in the admin Control Panel. My 4images site is a private membership (friends and family only), and I would like to know who people are when they join. I have already set up activation by admin only.

I have read db_field_definitions.php and have already created the user_realname column in the 4images_users table.

Where am I supposed to put this line:

Code: [Select]
$user_realname['user_realname'] = array($lang['user_realname'], "text", 1);

In db_field_definitions.php?

Which file is all the new user activation information stored in the database?
register.php?

5
How could I add a "Print" button in image details. It would go beside the "Lightbox", "eCard", "Download", and "Download Zip" buttons. This way users can print images without downloading them first.

6
Installation, Update & Configuration / Account expires after inactivity.
« on: August 13, 2002, 07:39:42 PM »
Is there a way to set accounts to automatically expire after a definable amount of inactivity?

Could I make it so user's accounts will expire after, let's say, two months of inactivity?
Do user accounts waiting activation expire after a while? Or do they just remain inactive forever?

7
Discussion & Troubleshooting / "Top Images" or "Top Bilder" link missin
« on: August 06, 2002, 07:53:19 AM »
I was bouncing around the 4images website and I checked out the Live Demo. I noticed that there is a "Top Images" link up by the "New Images" link. Clicking this link takes you to a stats screen that shows the most popular images by rating, downloads, hits, etc.

This link on my website is not there. How can I fix this?

8
I am currently running a PHP weblog script on my site and I want to insert it between the Catagories table and the New Images table. I have created the new table in home.html and included the weblog php files in index.php. My log appears outside of 4images. I can send you a link by email if you need to see what I mean. Is there anyway to get 4images to include the necessary weblog files correctly? Here the code I changed:


Code: [Select]
//-----------------------------------------------------
//--- Show Categories ---------------------------------
//-----------------------------------------------------
$categories = get_categories(0);
if (!$categories)  {
  $categories = $lang['no_categories'];
}
$site_template->register_vars("categories", $categories);
unset($categories);

//-- // Weblog Includes --------------------------
$blog = 1;
$cat = "3+4+6+8+10";
include(ROOT_PATH.'b2/blog.header.php');
include(ROOT_PATH.'b2/news.php');
include(ROOT_PATH.'b2/b2archives.php');


//-----------------------------------------------------
//--- Show New Images ---------------------------------
//-----------------------------------------------------


How can I include external PHP files into 4images?

9
Feedback & Suggestions / A Few Small Questions
« on: July 08, 2002, 08:46:20 AM »
After filling in the gaps in the english language pack I am finally understanding this script. I have to say "Well done!" and "Thanks!".

Now, what is the "Check New Images" option in the Admin Control Panel? I've clicked on it and did every possible combination of catagories I could think of and it still comes up "No new images found".

What is the user permissions page for? Click on "Edit Users" and click on the far right link under "Options" next to a users name. I get a grid showing all the users along the left and different persmissions on top. Are there supposed to be check boxes in the grid?

How do I add more user groups? Is this feature not included in the free version?

The picture validation (between "Add Images" and "Check New Images") doesn't display any images even though it finds some.

Thanks for your help!

Pages: [1]