Icy Phoenix

     
 


This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies. 
Page 2 of 2
Goto page Previous  1, 2
 
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
no ideas, sorry.

i had to delete my site so i converted my board to  phpbb3. i lost my album but maybe one day i will be able to reupload and convert them.
 



 
lefty74Send private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
Thank you for this mod! The old page looked too simple and I have been looking fr this type of layout for a long time.
 



 
FusioneSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
Here is what I have using the above mod by lefty74

 albumindex1

Here is what I would like to have... it doesn't need the slideshow link or the text under the category.
I just would like the personal categories listed for each user.  Anyone up for taking a look at this?

 albumindex2
 



 
losthillsguySend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
it has been a while since i looked at phpbb2 code.

i jsut quickly did below, there may well be functions etc that need including.
below simply lists the categories that a user has with the description. it does not separate subcats and all that so a. make a backup b. you install this at your own risk
OPEN album_personal_index.php
FIND
Code: [Download] [Hide] [Select]
}

$sql = "SELECT COUNT(DISTINCT u.user_id) AS total
        FROM ". USERS_TABLE ." AS u, ". ALBUM_TABLE ." AS p, " . ALBUM_CAT_TABLE . " AS c
        WHERE u.user_id <> ". ANONYMOUS ."
            AND c.cat_user_id = u.user_id
            AND c.cat_id = p.pic_cat_id";

if ( !($result = $db->sql_query($sql)) )
{

BEFORE, ADD
Code: [Download] [Hide] [Select]
            $sql = "SELECT cat_id, cat_view_level, cat_title, cat_desc, cat_user_id
            FROM ". ALBUM_CAT_TABLE ."
            WHERE cat_user_id = " . $user_id ."
            AND cat_parent <> 0
            AND cat_view_level IN ($cat_view_level)
            ORDER BY cat_title
            ";
            if( !($result = $db->sql_query($sql)) )
            {
                message_die(GENERAL_ERROR, 'Could not query last pic on profile information', '', __LINE__, __FILE__, $sql);
            }
        
        while( $row2 = $db->sql_fetchrow($result) )
{
        $row_cat_id = $row2['cat_id'];
        $pers_ind_cat_url = append_sid(album_append_uid("album_cat.$phpEx?cat_id=" . $row_cat_id . "&user_id=" . $user_id));
            
$template->assign_block_vars('memberrow.cats', array(
        'TITLE' => '<a href="' . $pers_ind_cat_url . '">' . $row2['cat_title'] . '</a>',
        'DESC' => $row2['cat_desc'],
        

));

}



OPEN album_personal_index_body.tpl
FIND
Code: [Download] [Hide] [Select]
        <td class="{memberrow.ROW_CLASS}" align="center">&nbsp;<span class="gen">{memberrow.ALBUM_IMG}</span></td>

REPLACE WITH
Code: [Download] [Hide] [Select]
        <td class="{memberrow.ROW_CLASS}" align="left"><span class="genmed"><table><tr><td>
            <!-- BEGIN cats -->
        &nbsp;• ;&nbsp;{memberrow.cats.TITLE}<br/>
        <span class="gensmall">&nbsp;&nbsp;&nbsp;&nbsp;{memberrow.cats.DESC}<br/><br/></span>
        
        <!-- END cats -->
        </td></tr></table></span></td>


note: &nbsp;• ;&nbsp;{memberrow.cats.TITLE}<br/> should in the beginning be "&nbsp; & # 8226 ;&nbsp;" but it makes a • out of the &# 8 226
 




____________
lefty74
www.zoocrew.eu - help us save our wildlife
 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
Hey Thanks

I can handle the first part of the instructions.  But I'm not sure about this...

note: &nbsp;• ;&nbsp;{memberrow.cats.TITLE}<br/> should in the beginning be "&nbsp; & # 8226 ;&nbsp;" but it makes a • out of the &# 8 226
 



 
losthillsguySend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
sorry, wasnt quite sure how to write this

&nbsp;• ;&nbsp; you will need to write the html code for the •  which is 8226
 




____________
lefty74
www.zoocrew.eu - help us save our wildlife
 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
Let me try that again.

    •
 



 
Last edited by losthillsguy on Fri 14 Mar, 2008 00:17; edited 3 times in total 
losthillsguySend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
yeah almost,
http://www.w3.org/TR/html401/sgml/entities.html#h-24.2.1
it is not just 8226 but if i put the code in here it makes an icon out of it.
have a look at the link and search for 8226, that will show you the code you need to use
 




____________
lefty74
www.zoocrew.eu - help us save our wildlife
 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
lefty74.  you are a very generous person and much good will come your way!

Check it out!!
http://356registry.com/forum/album_personal_index.php


One thing and it will be perfect.  Can i make the font smaller that lists the categories?
 



 
losthillsguySend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
try this

OPEN album_personal_index_body.tpl
FIND
Code: [Download] [Hide] [Select]
        <td class="{memberrow.ROW_CLASS}" align="left"><span class="genmed"><table><tr><td>
            <!-- BEGIN cats -->
        &nbsp;• ;&nbsp;{memberrow.cats.TITLE}<br/>
        <span class="gensmall">&nbsp;&nbsp;&nbsp;&nbsp;{memberrow.cats.DESC}<br/><br/></span>
        
        <!-- END cats -->
        </td></tr></table></span></td>

REPLACE WITH
Code: [Download] [Hide] [Select]
        <td class="{memberrow.ROW_CLASS}" align="left"><table><tr><td>
            <!-- BEGIN cats -->
        <span class="genmed">&nbsp;• ;&nbsp;{memberrow.cats.TITLE}</span><br/>
        <span class="gensmall">&nbsp;&nbsp;&nbsp;&nbsp;{memberrow.cats.DESC}<br/><br/></span>
        
        <!-- END cats -->
        </td></tr></table></td>

 




____________
lefty74
www.zoocrew.eu - help us save our wildlife
 
lefty74Send private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
Thanks a bunch.  I will play with it a bit now.  I like the avatar and the last photo posted thumbnail.

But if we get about 100 or 200 cars listed we'll want to make the rows shorter. I think eliminating the avatar and thumbnail will do that.

I can play with the code to eliminate those.

 
 



 
losthillsguySend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
OK Lefty, one more challenge I'm facing.   I made the updated changes and now have a really good looking Personal Gallery Index.

One flaw is if someone has photos in their gallery WITHOUT creating a sub category there is no link.  So I guess on the link column it needs a link to their gallery without categories similar to the original personal index in FAP.  

In the example Omar #3 has 4 photos posted but no link available.  I used the code in the above posts to make the mods to this gallery index.

 albumindex3
 



 
losthillsguySend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
Never mind, with a little trial and error I got it to work.  Thanks!

 albumindex4
 



 
losthillsguySend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: User Personal Galleries Page Customization 
 
great  
 




____________
lefty74
www.zoocrew.eu - help us save our wildlife
 
lefty74Send private message  
Back to topPage bottom
This forum is locked: you cannot post, reply or edit topics.  This topic is locked: you cannot edit posts or make replies.  Page 2 of 2
Goto page Previous  1, 2


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events