Welcome, Guest. Please Login or Register.
March 29, 2024, 08:32:51 AM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod « previous next »
Pages: 1 ... 33 34 [35] 36 37 ... 49 Reply Ignore Print
Author Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod  (Read 333393 times)
Silver Dragon
Full Member
***
Posts: 157


Uh, Dragons are cool.

ICQ - 1972247webmaster@alphavideo.com WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #510 on: March 31, 2003, 10:45:47 PM »
Reply with quote

Ahhh, well... I got it to work by taking out that variable...  Hopefully someone will be able to add some sort of if/then statement to make it all go correctly.

In the mean time, I'll just have two PHP files... One for uploading and one for search and upload.

-SD
Logged

Silver Dragon
Full Member
***
Posts: 157


Uh, Dragons are cool.

ICQ - 1972247webmaster@alphavideo.com WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #511 on: March 31, 2003, 11:17:36 PM »
Reply with quote

Here's my temp fix... I just re-created the pages that are required by the searching function and gave them a different name.  For anyone that needs this working NOW feel free to try these files.

This is not the right way to do it, but it is a workign way.  Hopefully someone will be able to fix that $title variable so we don't have to do this.  Until then...

http://pfabb.lunabyte.com/attachments/searchfix.zip
Logged

kjp
Noobie
*
Posts: 2


I'm a llama!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #512 on: April 01, 2003, 10:56:21 PM »
Reply with quote

This is driving me nuts...  The installation went great.  I can access the Gallery by going to http://www.listkids.com/gallery however it won't show up as buttons on the front page, http://www.listkids.com

Can anyone provide any assistance?  I have inserted the proper tags into my template as seen below:

Quote
<title><yabb title></title>
<yabb galleryHeader>


Quote
</head>
<body text="#000000" bgcolor="#F3F3F3" link="#284357" <yabb galleryBodyTag>>
<br>

Quote
<table border="0" width="100%" cellpadding="3" cellspacing="0" bgcolor="#808080" align="center">
             <tr>
<td valign="middle" bgcolor="#DADADA" align="center"><font size="1"><yabb menu>
<yabb galleryMenu>

Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #513 on: April 01, 2003, 11:06:49 PM »
Reply with quote

run the .mod file and upload english.lng and Subs.php
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
CrazyC
Jr. Member
**
Posts: 85


My name says enough.

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #514 on: April 02, 2003, 02:36:21 PM »
Reply with quote

Quote from: Silver Dragon on March 31, 2003, 11:17:36 PM
Here's my temp fix... I just re-created the pages that are required by the searching function and gave them a different name.  For anyone that needs this working NOW feel free to try these files.

This is not the right way to do it, but it is a workign way.  Hopefully someone will be able to fix that $title variable so we don't have to do this.  Until then...

http://pfabb.lunabyte.com/attachments/searchfix.zip

This search new fix will most likely only work for someone using a pfabb portal.  When I ported the gallery to Pfabb, I had to add some extra variables to the file.  And the new release for Pfabb will only work on Pfabb.  If anyone is interested in the temporary fix for the searchnew function,  you have to go into searchnew.php and change line 42 from:
$connection = db_connect();
to:
$connection = $dbcon;
Then you can leave that change because it's only used when clicking searchnew from the gallery's admin menu.

Next, go into functions.inc.php and change line 300 from:
function add_picture($aid, $filepath, $filename, $title)
To:
function add_picture($aid, $filepath, $filename)
After using the searchnew function to add multiple pictures, you will need to change function.inc.php back to the way it was, or your users will not be able to add a titile to a picture when uploading.

Silver Dragon found this temporary solution as you can read previously.  I am elaborating a little more on it because the version of the gallery he is using is for Pfabb and I know there were a bunch of people looking for this feature here.

Remember....if you change functions.inc.php so that you can upload multiple pictures, change it back for normal gallery use.
« Last Edit: April 02, 2003, 02:37:48 PM by CrazyC » Logged

CrazyC
Webby
Beta Tester
YaBB God
*****
Posts: 829


Some mistakes are too funny to make only once.

ICQ - 9814812webby@salesplaza.nl WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #515 on: April 03, 2003, 12:11:53 PM »
Reply with quote

This is too weird !

The sorting of the images now works !

I didn't do anything with the script, maybe there has been a change on the server ?!
Logged

Webby of salesplaza.nl
The YaBBSE buttongenerator : Click HERE !
PoohBear
Jr. Member
**
Posts: 66


Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #516 on: April 05, 2003, 05:53:15 AM »
Reply with quote

My users can't delete their comments, when the delete button is pressed it goes to a information page saying "no changes have been made....."

@Spiff, did you have any joy with the advanced user level changes you were looking at? It would be great if I could set access privileges for various albums.

;)
Logged
JRCarr
Jr. Member
**
Posts: 72


The Jack of all Trades and the Master of None.

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #517 on: April 05, 2003, 06:29:30 AM »
Reply with quote

Quote from: PoohBear on April 05, 2003, 05:53:15 AM
My users can't delete their comments, when the delete button is pressed it goes to a information page saying "no changes have been made....."

@Spiff, did you have any joy with the advanced user level changes you were looking at? It would be great if I could set access privileges for various albums.

;)

Unless something else has change since I did this, the was my solution to the same problem.
QuoteSpaceman-Spiff, I found the problem of a non-admin user not being able to delete their own comments.  In the delete.php file the following section:
  case 'comment':
     if ($AUTHORIZED){
        $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$HTTP_GET_VARS[id]'";
     } else {
        $query = "DELETE FROM {$CONFIG['TABLE_COMMENTS']} WHERE msg_id='$HTTP_GET_VARS[id]' and author_id='$username'";
     }
Needs to have the variable in the "else" changed from "author_id" to msg_author".  The yabbse_gallery_comments Table contains the field msg_author not author_id.  Hope this helps any one else that have the problem.
Hope this helps.

Jack
Logged

Jack
Macindy
Noobie
*
Posts: 14


Apple wow!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #518 on: April 05, 2003, 07:49:00 AM »
Reply with quote

Hi all! Hi Spaceman...
Works the Gallery with 1.5.1 Final?
Must I use boardmod after upgrade to 1.5.1 final? When cames a new Gallery? (with groups rights) ;)
Should we localize the Gallery?
Thx
Cu MI
Logged

Ciao MI
---
YaBBSE 1.51 RC45
PHP 4.3.1
MySQL 4.0.10-gamma
PoohBear
Jr. Member
**
Posts: 66


Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #519 on: April 05, 2003, 07:58:23 AM »
Reply with quote

Thanks Jack, that did the trick :)

@Spiff, maybe you should consider changing the mod file? Any news about the access rights you were working on  ???
« Last Edit: April 05, 2003, 08:00:45 AM by PoohBear » Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #520 on: April 05, 2003, 09:09:04 AM »
Reply with quote

sorry, haven't had the time for the access right, have a school project due next tuesday, maybe next weekend will be a better time to do that

i have not tried the gallery with final 1.5.1, did u guys get any error messages?

QuoteWorks the Gallery with 1.5.1 Final?
Must I use boardmod after upgrade to 1.5.1 final? When cames a new Gallery?
if u want to upgrade to 1.5.1, u only need to run the .mod file again in BoardMod, and upload Subs.php & english.lng again, and everything will be fine :)

i've made a new .mod file last week, did anyone try it? it's supposed to fix the copyright error bug
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
CrazyC
Jr. Member
**
Posts: 85


My name says enough.

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #521 on: April 06, 2003, 04:03:32 AM »
Reply with quote

Quotei've made a new .mod file last week, did anyone try it? it's supposed to fix the copyright error bug
That problem went away for a few of my users after the copyright change.
I have also not heard of anyone having that error with PfaBB either.  So, I think it worked.

But, everyone is still having probs with that install thing.  hehe  I know you nip it in the butt when you have the time.  Get that school work done first though.  hehe, JK
Logged

CrazyC
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #522 on: April 06, 2003, 06:17:43 AM »
Reply with quote

i've update the alternate db_input.php today, the older one is missing $title when calling add_picture function :P

the temporary workaround for the installer is the manual installer zip
i'll make a .ya package for next version
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Macindy
Noobie
*
Posts: 14


Apple wow!

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #523 on: April 06, 2003, 03:39:25 PM »
Reply with quote

perfect - ya package is the best solution...
in my gallery the search new pics doesn't work - is this a bug?
I copied the pics in the gallery/album dir and the click search new pics - I get a result with the title bar and no results...
Logged

Ciao MI
---
YaBBSE 1.51 RC45
PHP 4.3.1
MySQL 4.0.10-gamma
don_miguel
Guest
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #524 on: April 07, 2003, 08:34:33 AM »
Reply with quote

I've upgraded my YaBBSE to 1.5.1 and so I thought - let's try out the gallery mod! I got a problem with the normal install, so I did the manual installation.

But when I click on the gallery button, i got an error:

Quote
Warning: Failed opening './QueryString.php' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/domain/gallery/include/init.inc.php on line 30

Warning: Failed opening './english.lng' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/domain/gallery/include/init.inc.php on line 31

Warning: Failed opening './german.lng' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/domain/gallery/include/init.inc.php on line 32

Warning: Failed opening './Sources/Subs.php' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/domain/gallery/include/init.inc.php on line 33

Warning: Failed opening './Sources/Errors.php' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/domain/gallery/include/init.inc.php on line 34

Warning: Failed opening './Sources/Load.php' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/domain/gallery/include/init.inc.php on line 35

Warning: Failed opening './Sources/Security.php' for inclusion (include_path='.:/usr/local/lib/php') in /kunden/domain/gallery/include/init.inc.php on line 36

Fatal error: Call to undefined function: clicklog() in /kunden/domain/gallery/include/init.inc.php on line 48

Has anybody an idea?
Thanks for your help!

Miguel
Logged
Pages: 1 ... 33 34 [35] 36 37 ... 49 Reply Ignore Print 
YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.061 seconds with 19 queries.