Welcome, Guest. Please Login or Register.
November 25, 2024, 06:58:08 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 ... 35 36 [37] 38 39 ... 49 Reply Ignore Print
Author Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod  (Read 341855 times)
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #540 on: April 08, 2003, 07:13:20 PM »
Reply with quote

When I try to import new pics I get

List of new pictures

Fatal error: Call to undefined function: db_connect() in /home/sites/site284/web/yabbse/gallery/searchnew.php on line 42
Logged
Nerd3d
Full Member
***
Posts: 107


Happy Rendering

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #541 on: April 08, 2003, 07:22:10 PM »
Reply with quote

@ Angel Skin: Yup, that's broken. Hopefully it will get fixed in the next version. For now we have been adding the pictures one at a time (Yeah PITA).
Logged
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #542 on: April 08, 2003, 07:24:23 PM »
Reply with quote

Thanks.  Do you have any idea what the upload error is about?  I checked line 300 and I can't see what would be wrong with it.

PS the site is http://www.splintmusic.co.uk/yabbse

logon id visitor
password visitor
« Last Edit: April 08, 2003, 07:26:25 PM by Angel Skin » Logged
Nerd3d
Full Member
***
Posts: 107


Happy Rendering

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #543 on: April 08, 2003, 07:39:37 PM »
Reply with quote

Argument 4 is the title argument for the picture. Did you edit the upload page to use a different variable or something?

I tested the upload thing on your site. I believe the image is being uploaded, but the entry is not added to the DB because the function is not being aclled with the correct parameters. Hope this helps.
Logged
Nerd3d
Full Member
***
Posts: 107


Happy Rendering

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #544 on: April 08, 2003, 07:47:39 PM »
Reply with quote

Yep, yep, I see it. You've replaced the "title" field with a name field. That could work, but the name of the text box needs to remain as "title" or you will need to do some serious hacking to change that.
Logged
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #545 on: April 08, 2003, 07:50:34 PM »
Reply with quote

No I left it as it is.

Not sure what you mean about the parameters.  The only thing I did was use a newer version as the mysql for my site isn't localhost.  I'll try again!
Logged
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #546 on: April 08, 2003, 08:01:46 PM »
Reply with quote

Quote from: Nerd3d on April 08, 2003, 07:47:39 PM
Yep, yep, I see it. You've replaced the "title" field with a name field. That could work, but the name of the text box needs to remain as "title" or you will need to do some serious hacking to change that.

Where do I change the field to a title field?
Logged
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #547 on: April 08, 2003, 08:15:03 PM »
Reply with quote

Ok now I've changed it and I get this error

An Error Has Occurred!

Users are not allowed to upload images.
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #548 on: April 08, 2003, 08:22:55 PM »
Reply with quote

hmm... i don't know why that error occured
in db_input.php, line 200:         if(!add_picture($album, $CONFIG['userpics'], $picture_name, $title))
and in function.inc.php, line 297:function add_picture($aid, $filepath, $filename, $title)
so they "should" be fine...

did u get that error when trying to upload a new pic or use the search image feature?
what changes did u make to the source files?
i noticed that your gallery is empty, were u able to upload successfully before applying the patch?
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Angel Skin
Full Member
***
Posts: 128


I'm a llama!

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #549 on: April 08, 2003, 08:31:39 PM »
Reply with quote

I'd never tried uploading.  The db_input.php line was wrong.  I've changed that and the new error message I got trying to upload a low resolution jpeg is


The picture 'albums/userpics/Leon 1.jpg' can't be inserted in the album

The image you have uploaded is corrupted
Logged
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #550 on: April 08, 2003, 08:33:14 PM »
Reply with quote

To get the search new function working, edit addpic.php, search for:if (add_picture($aid, $dir, $pic)){and replace withif (add_picture($aid, $dir, $pic, '')){

as simple as that :)
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 #551 on: April 15, 2003, 05:01:03 PM »
Reply with quote

Hi Spaceman!

Perhaps you want a better galley software - look at www.4homepages.de

This is a really great stuff of software.
Logged

Ciao MI
---
YaBBSE 1.51 RC45
PHP 4.3.1
MySQL 4.0.10-gamma
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

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

i went there when i was trying to find a gallery script for my community long time ago
the script is too bloated to integrate with YSE, it has its own login system, etc
it does have lots of powerful & neat features, but that also means it will be more difficult to integrate with YSE
Coppermine was simple and easier to integrate to YSE, thats the main reason why i chose it
Logged

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


I'm a redneck!

countryman816@hotmail.com
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #553 on: April 18, 2003, 05:58:14 PM »
Reply with quote

I like the idea of the gallery mod for yabbse. But i'm a newb and dont have alot of confidence in myself about adding this mod. Is there a set of more detailed instructions for the install. The readme file is sorta vauge on a lot of issues. Dont want to screw up my board, took me along time to get it working right to begin with.


thanks

Tony
Logged
Nerd3d
Full Member
***
Posts: 107


Happy Rendering

WWW
Re:[Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod
« Reply #554 on: April 18, 2003, 07:23:55 PM »
Reply with quote

Tonyc, let's see how much of a newb you really are...

Have you used Board Mod?
Familiar with creating folders and CHMOD in your FTP program?
Know the "Real Path" to your www folder on your server?

If you answer yes to these questions you probably won't have any problems getting this going.
Logged
Pages: 1 ... 35 36 [37] 38 39 ... 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.517 seconds with 20 queries.