Cat mod Cat mod
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Cat mod

Started by Lucas Xavier, November 04, 2005, 09:27:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Lucas Xavier

 ;D I made a crack to help the owners of largest galleries like me.

http://rapidshare.de/files/7191532/catmgr.php.html

Download this file and upload to path of gallery (be sure that you made a backup of the old file

http://rapidshare.de/files/7191584/catmod.php.html

Upload this simple page to path of gallery too.

Working

To load fast the cat page, I removed the drop down menu and you can move on catmod.php the cats. Just looking the query string number (appear on adress bar)

Example:
thumbnails.php?album=521

And copy and paste on catmod.php form =)

be sure that you are logged to make the modifications!

Thanx people

xplicit

So what you did was replaced:

        echo '                <td class="tableb" width="4%">' . "\n" . cat_list_box($category['parent'], $category['cid']) . "\n" . '</td>' . "\n"; at line 212

to this

        echo '                <td class="tableb" width="4%">¬¬</td>' . "\n";

and wrote a script...

I think it needs more explanation cause the files catmod.php has to be edited because you hardcoded parts like:

<form method="post" action="/gallery/catmgr.php?op=createcat">


<script language="JavaScript" type="text/JavaScript">
var Pic = new Array()

Pic[0] = 'images/nopic.jpg'
Pic[967] = 'albums/userpics/thumb_001%7E4.jpg'
Pic[981] = 'albums/userpics/thumb_001%7E5.jpg'
Pic[984] = 'albums/userpics/thumb_001%7E6.jpg'
Pic[968] = 'albums/userpics/thumb_002%7E3.jpg'
Pic[982] = 'albums/userpics/thumb_002%7E4.jpg'
Pic[985] = 'albums/userpics/thumb_002%7E5.jpg'
Pic[969] = 'albums/userpics/thumb_003%7E3.jpg'
Pic[983] = 'albums/userpics/thumb_003%7E4.jpg'
Pic[986] = 'albums/userpics/thumb_003%7E5.jpg'
Pic[970] = 'albums/userpics/thumb_004%7E1.jpg'
Pic[987] = 'albums/userpics/thumb_004%7E2.jpg'
Pic[971] = 'albums/userpics/thumb_005%7E0.jpg'
Pic[988] = 'albums/userpics/thumb_005%7E1.jpg'
Pic[972] = 'albums/userpics/thumb_006%7E2.jpg'
Pic[973] = 'albums/userpics/thumb_007%7E1.jpg'
Pic[974] = 'albums/userpics/thumb_008%7E1.jpg'
Pic[975] = 'albums/userpics/thumb_009%7E0.jpg'
Pic[976] = 'albums/userpics/thumb_010%7E0.jpg'
Pic[977] = 'albums/userpics/thumb_011.jpg'
Pic[978] = 'albums/userpics/thumb_012.jpg'
Pic[979] = 'albums/userpics/thumb_013.jpg'
Pic[980] = 'albums/userpics/thumb_014.jpg'
Pic[965] = 'albums/userpics/thumb_gwenstefani-beverlyhills1.jpg'
Pic[966] = 'albums/userpics/thumb_gwenstefani-beverlyhills2.jpg'
Pic[1046] = 'albums/candid/2005/mars/thumb_gwenstefani-mars1.jpg'
Pic[1054] = 'albums/candid/2005/mars/thumb_gwenstefani-mars10.jpg'
Pic[1056] = 'albums/candid/2005/mars/thumb_gwenstefani-mars11.jpg'
Pic[1055] = 'albums/candid/2005/mars/thumb_gwenstefani-mars12.jpg'
Pic[1057] = 'albums/candid/2005/mars/thumb_gwenstefani-mars13.jpg'
Pic[1045] = 'albums/candid/2005/mars/thumb_gwenstefani-mars2.jpg'
Pic[1047] = 'albums/candid/2005/mars/thumb_gwenstefani-mars3.jpg'
Pic[1048] = 'albums/candid/2005/mars/thumb_gwenstefani-mars4.jpg'
Pic[1050] = 'albums/candid/2005/mars/thumb_gwenstefani-mars5.jpg'
Pic[1049] = 'albums/candid/2005/mars/thumb_gwenstefani-mars6.jpg'
Pic[1051] = 'albums/candid/2005/mars/thumb_gwenstefani-mars7.jpg'
Pic[1052] = 'albums/candid/2005/mars/thumb_gwenstefani-mars8.jpg'
Pic[1053] = 'albums/candid/2005/mars/thumb_gwenstefani-mars9.jpg'

function ChangeThumb(index)
{
        document.images.Thumb.src = Pic[index]
}
        </script>


Just pasting a file without proper explanation is not likely to be used by less experienced users/programmers


Don't ask me: Can you do this .... or Give me that...or I need Quick help in PM's. I'm not Santaclaus so post your questions on the board so it will be in the benefit for everyone.