I have read through this entire post... all 9 pages to this point! I thought I'd help a little bit as I noticed a recurrent step on many of the files mentioned.
I still don't see answers to how to add the firstname, lastname under the
thumbnails on all the screens, so I discovered that once you've done the changes provided by thunderstrike up to this point, all you have to do is the following (thank you for all this
great work, btw!!!):
This procedure will change the username link to display the firstname lastname below each thumbnail (thumbnail_bit.html) on each of the screens indicated below.
Follow these procedures on the following files:
- categories.php
- search.php
- index.php
- lightbox.php
- If you followed thunderstrike's directions, you should have already done top.php and details.php
Find:
$sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.", "user_name")."
Replace with:
$sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.", "user_name").", u.user_firstname, u.user_lastname
Short cut to above:Find:
$sql = "SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits".$additional_sql.", c.cat_name".get_user_table_field(", u.", "user_name")."
Add to end of the line, after the ":
, u.user_firstname, u.user_lastname
*Don't forget that this
only works if you've already followed all of thunderstrike's directions up to this point, starting from the first page of this thread.
This is the only part I was trying to fix, not all the other occurrences of the username (only the publicly viewed info). I just wanted visitors to be able to see the member's full name instead of their username with all occurrences of their image. So, as far as the rest of what cloe is looking for, sorry I can't help with that as I'm not a php guru like thunderstrike... lol!
Hope I've helped a little. And again, thanks thunderstrike for all the very hard work you've done on these procedures! Great job! What a huge help you've been!