Ok, first off. LOVE the software. Thank you. ;D
Now the issue... I've bridged with IPB and everything seems to be working perfectly, however, I would like to get the IPB member bar over to the gallery page to further perpetuate the "sameness" of the two softwares. I think this can be done rather simply, however, I seem to be having issues with your theme.php file.
That file includes {MAIN_MENU1}, {MAIN_MENU2}, {GALLERY}, and {ADMIN_MENU} fields to be placed into the template.html file. It sucks that so many functions ride in each variable... i.e. {MAIN_MENU1} has A LOT of functions.
Question: Can I create other templates and functions to split out some of those? i.e. I would like one to include in the template.html file thats, say, {USER_NAME}. This will display the currently logged in user. As well as other functions for displaying certian menu items based on if the user is logged or not.
If they're logged I'd like to display:
A "logged in" version of the IPB member bar:
Logged in username
A subscriptions link based on their member group
Categories link
My profile link
My favorites link
My albums link
Create album link
Edit album link
Upload link
Contact/Feedback Link
Albums list
Last uploads
Last comments
Most viewed
Top rated
Search
If they're not logged I'd like to display:
Categories link
Contact/Feedback link
Albums list
Last uploads
Last comments
Most viewed
Top rated
Search
These need to be done in two separate tables.
It didn't attach my image... >:(
You can add extra {PLACEHOLDER} tags yes. Put what they should be transformed to in either the header or footer functions of the theme.php (header if before {GALLERY}, footer if after {GALLERY}).
What if I need to call certain things such as username? Will that call just as well in the header or footer function as the function it currently resides in?
i.e. Logged user name is in the function theme_main_menu1()
function, and it's called by '{LOGIN_NAME}' => "[" . USER_NAME . "]",
If I put '{LOGIN_NAME}' => "[" . USER_NAME . "]",
into the footer will it still pull the name?
Also, I do not need all of the
<!-- BEGIN register -->
<!-- END register -->
<!-- BEGIN login -->
<!-- END login -->
<!-- BEGIN logout -->
<!-- END logout -->
<!-- BEGIN my_gallery -->
<!-- END my_gallery -->
<!-- BEGIN allow_memberlist -->
<!-- END allow_memberlist -->
<!-- BEGIN my_profile -->
<!-- END my_profile -->
<!-- BEGIN faq -->
<!-- END faq -->
<!-- BEGIN upload_pic -->
<!-- END upload_pic -->
Code because I'm not using the template that way, is there a way to remove that? Basically my template is static. Its one way for logged users and another for not logged. Period.
???