You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 158 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - GT for My_eGallery [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
dotcomUNDERGROUND
Lieutenant
Lieutenant


Joined: Jul 18, 2003
Posts: 180


PostPosted: Thu Aug 07, 2003 11:39 am Reply with quoteBack to top

Do you guys plan to make GT work with My_eGallery too?
it would be very helpfull for lots of people i guess
Find all posts by dotcomUNDERGROUNDView user's profileSend private messageVisit poster's website
hamesh
Support Mod
Support Mod


Joined: Feb 13, 2003
Posts: 170

Location: Canada

PostPosted: Sun Sep 07, 2003 2:26 am Reply with quoteBack to top

This should get you started...

Add this to your .htaccess file:

Code:
#My_eGallery
RewriteRule ^showgal-([0-9]*)-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html modules.php?name=My_eGallery&file=index&do=showgall&gid=$1&offset=$2&orderby=$3
RewriteRule ^showgal-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html modules.php?name=My_eGallery&do=showgall&gid=$1&offset=&orderby=$2
RewriteRule ^showgal-([0-9]*).html modules.php?name=My_eGallery&file=index&do=showgall&gid=$1
RewriteRule ^showpic-([0-9]*)-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html modules.php?name=My_eGallery&file=index&do=showpic&gid=$1&pid=$2&orderby=$3
RewriteRule ^showpic-([0-9]*)_(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD).html modules.php?name=My_eGallery&file=index&do=showpic&pid=$1&orderby=$2
RewriteRule ^showpic-([0-9]*).html modules.php?name=My_eGallery&file=index&do=showpic&pid=$1


Then add these to your header.php file under $urlin = array:

Code:
"'(?<!/)modules.php\?name=My_eGallery&file=index&amp;do=showgall&amp;gid=([0-9]*)&amp;offset=([0-9]*)&amp;orderby=(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD)'",
"'(?<!/)modules.php\?name=My_eGallery&file=index&amp;do=showgall&amp;gid=([0-9]*)&amp;offset=&amp;orderby=(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD)'",
"'(?<!/)modules.php\?name=My_eGallery&file=index&amp;do=showgall&amp;gid=([0-9]*)'",
"'(?<!/)modules.php\?name=My_eGallery&file=index&amp;do=showpic&amp;gid=([0-9]*)&amp;pid=([0-9]*)&amp;orderby=(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD)'",
"'(?<!/)modules.php\?name=My_eGallery&file=index&amp;do=showpic&amp;pid=([0-9]*)&amp;orderby=(titleA|titleD|dateA|dateD|ratingA|ratingD|hitsA|hitsD)'",
"'(?<!/)modules.php\?name=My_eGallery&file=index&amp;do=showpic&amp;pid=([0-9]*)'",
"'(?<!/)modules.php\?name=My_eGallery&file=index&do=showpic&pid=([0-9]*)'" // for block-AlbumNew.php


And these in header.php below $urlout = array:

Code:
"showgal-\\1-\\2_\\3.html",
"showgal-\\1_\\2.html",
"showgal-\\1.html",
"showpic-\\1-\\2_\\3.html",
"showpic-\\1_\\2.html",
"showpic-\\1.html",
"showpic-\\1.html",


Remember these have to be in order. It doesn't matter where you add them in function replace_for_mod_rewrite, so long as you add them in the same place (I entered them at the top of each array). If you add them to the bottom, drop the comma ',' on the last line.

Still working on it. Will post any additions as I make them.

Cheers!

_________________
Image

Last edited by hamesh on Sun Sep 07, 2003 11:37 am; edited 3 times in total
Find all posts by hameshView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Sun Sep 07, 2003 5:56 am Reply with quoteBack to top

Welcome back hamesh.

As soon as I can get the server issue resolved I'm going to spend an entire week going thru this forum and integrating all the new code into GT.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Mesum
Support Staff
Support Staff


Joined: Mar 11, 2003
Posts: 842

Location: Chicago

PostPosted: Sun Sep 07, 2003 9:46 am Reply with quoteBack to top

Man, I want for coppermine.... I think most of us users use coppermine.

_________________
Only FREE Dating site for Desis.
Find all posts by MesumView user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN Messenger
dotcomUNDERGROUND
Lieutenant
Lieutenant


Joined: Jul 18, 2003
Posts: 180


PostPosted: Wed Sep 10, 2003 6:01 am Reply with quoteBack to top

thanks dude

just after i get bit clearified answers on updating my site ill put them on sites with thousands on pics being maintained with My_eGallery.

it will be a big help for me
Smile

thanks again for the great work

_________________
[ Bangla Music | Web Hosting Bangladesh | Domain Registration Bangladesh ]
Find all posts by dotcomUNDERGROUNDView user's profileSend private messageVisit poster's website
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Wed Sep 10, 2003 6:56 pm Reply with quoteBack to top

Hmm, i just did everything exactly as said and it didnt work.
I will post files in just a few minutes.

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
hamesh
Support Mod
Support Mod


Joined: Feb 13, 2003
Posts: 170

Location: Canada

PostPosted: Thu Sep 11, 2003 8:53 pm Reply with quoteBack to top

I checked your gallery and you must be using an older version that mine. Your URLs have op=modload in them. I found an version updated for PHP-Nuke 6.5 (mostly sql statements updated) that doesn't have op=modload in any of the files. You can grab that updated version here:

http://server1.belchfire.net/downloads/My_eGallery_phpnuke6.5_with_Rating_Support.rar

It should also fix all the database errors you're getting because of the old sql statements. Perhaps I'll zip up my modified My_eGallery files and post it here along with the rewrite rules that work for it.


Last edited by hamesh on Thu Sep 11, 2003 9:12 pm; edited 1 time in total
Find all posts by hameshView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Thu Sep 11, 2003 9:03 pm Reply with quoteBack to top

http://abadox.biz/wildcats/modules.php?name=My_eGallery
Note: Some problems present i am unaware of how to fix.
Partaning to Note, I have just fixed the problem by removing part of line 75 in displaycatagory.php

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Sun Sep 14, 2003 11:08 am Reply with quoteBack to top

I fixed all of my problems that i have seen so far.

I have also edited Meg slitly to work for me so coudl you just tell me what i need to fix manualy instead of risking losing it all?

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
hamesh
Support Mod
Support Mod


Joined: Feb 13, 2003
Posts: 170

Location: Canada

PostPosted: Sun Sep 14, 2003 11:49 am Reply with quoteBack to top

Sure, whatcha need? By the way, I've been using My_eGallery for two years and the only reason I'm still using it is because it's the only one that does what I need. I too have modified mine considerably over that time. But unless you have a compelling reason to use My_eGallery, just don't. Development on it stopped over a year ago. There are better galleries out there such as Menalto Gallery, http://gallery.menalto.com and http://www.nukedgallery.com, and Coppermine, http://phpnuke-uk.net/modules.php?name=Downloads&d_op=search&query=coppermine (main site currently experiencing problems). I'd suggest you use one of those instead.

But feel free to post your questions about My_eGallery and I'll try to help Smile

_________________
Image
Find all posts by hameshView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Sun Sep 14, 2003 12:32 pm Reply with quoteBack to top

I looked at all of those.

I like Copermine but not gallery.

And i am stiking with Meg for the same reasons as you are.

Would it be possible for you to zip your entire gallery since i asume that it works much better than mine does and works with GT.

Thanks,
Kyle

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
hamesh
Support Mod
Support Mod


Joined: Feb 13, 2003
Posts: 170

Location: Canada

PostPosted: Sun Sep 14, 2003 12:53 pm Reply with quoteBack to top

Sure thing. Grab it here:

http://server1.belchfire.net/nuke/downloads/

I included an install.txt file. Read it first. I tested it as best I could and it works. It should work with the GT rules above since that's what I based them on. Good luck Smile
Find all posts by hameshView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
hamesh
Support Mod
Support Mod


Joined: Feb 13, 2003
Posts: 170

Location: Canada

PostPosted: Sun Sep 14, 2003 1:19 pm Reply with quoteBack to top

Oh, if you don't like my custom gallery templates, here are the defaults:

Code:

   [Main Page] Default - Main Page:

   Main Gallery Page Template:

<table align="center">
 <tr>
  <td colspan="2">
  <:GALLNAME:>
  </td>
 </tr>
 <tr>
  <td>
  <:IMAGE:>
  </td>
  <td valign="top" align="left">
  <:DESCRIPTION:>
  </td>
 </tr>
</table>

   Template CSS:

.common_text_black {text-color:#000000}
.common_text_white {text-color:#ffffff}


   [Gallery Pages] Default - Gallery pages:

   Thumbnail view Template:

<table border="0" cellpadding="0" cellspacing="0">
 <tr>
  <td>
  <:IMAGE:>
  </td>
  <td valign="top">
  <p>
   <table>
    <tr>
     <td align="center">
     <:DATE:>
     </td>
     <td align="center">
     <:RATE:>
     </td>
     <td align="center">
     <:HITS:>
     </td>
     <td align="center">
     <:NEW:>
     </td>
    </tr>
   </table>
   </p>
   <p>
   <:DESCRIPTION:>
   </p>
   <p>
   <:NBCOMMENTS:> | <:FORMAT:> | <:SIZE:>
   </p>
  </td>
 </tr>
</table>

   Picture view Template:

<table>
 <tr>
  <td valign="top" align="center">
  <:NAMESIZE:>
  <br><br>
   <TABLE CellPadding="0" CellSpacing="0">
    <TR>
     <TD valign="top">
     <:SUBMITTER:>
     <:DATE:>
     <:HITS:>
     <:RATE:>
     </TD>
    </TR>
   </table><br>
   <:RATINGBAR:><br>
   <:POSTCARD:><br>
   <:DOWNLOAD:><br>
   <:PRINT:>
   </td>
  <td width="80%" align="center">
  <:IMAGE:>
  </td>
 </tr>
 <tr>
  <td colspan="2"><:DESCRIPTION:></td>
 </tr>
 <tr>
  <td colspan="2">
  <:COMMENTS:>
  </td>
 </tr>
</table>

   Template CSS:

.common_text_black {text-color:#000000}
.common_text_white {text-color:#ffffff}

_________________
Image
Find all posts by hameshView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
kjcdude
Captain
Captain


Joined: Jun 10, 2003
Posts: 441

Location: Southern California

PostPosted: Sun Sep 14, 2003 1:20 pm Reply with quoteBack to top

I hav just installed your MEG on my computer and it seems to work fine, now i just need to test it on the server.

_________________
Diablo Heat | The OC Sucks [b]Hot or Not[/b] | TheOCSucks.com The OC Sucks
Find all posts by kjcdudeView user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
hamesh
Support Mod
Support Mod


Joined: Feb 13, 2003
Posts: 170

Location: Canada

PostPosted: Sun Sep 14, 2003 1:44 pm Reply with quoteBack to top

Oh, one new feature I added is a Show all by this artist button at the bottom of each picture. If you setup your own templates, you can insert it by entering:

Code:
<:SEARCH3:>

in the HTML of your template. Hope you like it Smile

_________________
Image
Find all posts by hameshView user's profileSend private messageSend e-mailVisit poster's websiteMSN MessengerICQ Number
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.605 Seconds - 137 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::