Welcome, Guest. Please Login or Register.
November 25, 2024, 05:57:40 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Completed mods  |  [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod « previous next »
Pages: 1 ... 13 14 [15] 16 17 ... 49 Reply Ignore Print
Author Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod  (Read 341903 times)
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #210 on: January 18, 2003, 05:53:58 PM »
Reply with quote

Just send me your index.php to [email protected]. I'll hook it up for you. ;)
Logged

Karma -1?! Damn that llama!!!
PZ
Noobie
*
Posts: 16


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #211 on: January 18, 2003, 06:03:29 PM »
Reply with quote

That's mighty generous of you :D  I'll email it to you now. Actually, I think I will email you both my exsisting index.php and the one in the original yabbse 1.40 zip. It would be best if I could get it going on my exsisting index.php, so I don't mess up my Smilie mod ;) (hope you find it, though I have my doubts)

Meanwhile, I might just download Yabbse 1.50 and see if that line is in there ... (but I am going to wait for 1.51 to upgrade)

Thanks a bunch :-*
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #212 on: January 18, 2003, 06:36:56 PM »
Reply with quote

OK....
I hope this works because I have to leave for work after I type this.
You are right...that line does not exist. I say put
else if ($action == 'yabbinfo') { include_once "$sourcedir/Admin.php"; showYaBBInfo(); }right ater this line:
else if ($action == 'test') { include_once "$sourcedir/UserLanguage.php"; LoadLanguage(); }
Then put
else if ($action == 'gallery') { header("Location: gallery/"); }Right after the Yabbinfo line.
If adding that Yabbinfo line messes something up in your board I would delete it and just keep the gallery line in there right after the loadlanguage line.

Hope that works!!!
Logged

Karma -1?! Damn that llama!!!
PZ
Noobie
*
Posts: 16


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #213 on: January 18, 2003, 06:50:56 PM »
Reply with quote

Thank YouAt least I know now that I wasn't just too stupid to find it. I think I'll take a nap and follow your instructions after a few Zs. I'll be back, to let you know how it turns out :D
Logged
PZ
Noobie
*
Posts: 16


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #214 on: January 19, 2003, 04:27:08 AM »
Reply with quote

This where things are now. Manually adding the lines you suggested and the ones needed for the rest of the mod, went fairly smooth. But I won't really know for sure until I get past this problem:
Warning: Failed opening './Sources/Subs.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site7/fst/var/www/html/yabbse/membersgallery/include/init.inc.php on line 22

Warning: Failed opening './Sources/Errors.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site7/fst/var/www/html/yabbse/membersgallery/include/init.inc.php on line 23

Warning: Failed opening './Sources/Load.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site7/fst/var/www/html/yabbse/membersgallery/include/init.inc.php on line 24

Warning: Failed opening './Sources/Security.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site7/fst/var/www/html/yabbse/membersgallery/include/init.inc.php on line 25

Fatal error: Call to undefined function: clicklog() in /home/virtual/site7/fst/var/www/html/yabbse/membersgallery/include/init.inc.php on line 45
That's what happens when I try to run the install.php for the gallery. I chmodded everything appropriately and the tables showed up in MySQL databse, but no go as of right now.

As far as having made a directory name change from gallery to membersgallery, I made the appropriate changes to the index.php to account for that path. Plus, these are the same errors I got several days ago when attempting the install. And as I mentioned, the independent Photo Gallery installed and is working fine on my site.

Back to the errors; is ths a deal breaker? Is there a solution to this?
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #215 on: January 19, 2003, 05:59:28 AM »
Reply with quote

Just got home...
I read your post and instantly I knew I had this same problem.
What you have to do is open include/init.inc.php that is in your gallery directory and find these line:
include_once "../QueryString.php";
include_once "../Settings.php";
include_once "../english.lng";
include_once "$sourcedir/Subs.php";
include_once "$sourcedir/Errors.php";
include_once "$sourcedir/Load.php";
include_once "$sourcedir/Security.php";
include_once "include/config.inc.php";
include_once "include/functions.inc.php";

You have to put your complete path to all of these. Get rid of "$sourcedir" and put complete path.  A lot of people was having this problem for some reason.
But with that it should work.
Logged

Karma -1?! Damn that llama!!!
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #216 on: January 19, 2003, 06:01:12 AM »
Reply with quote

Oh...and you won't have to reinstall...at least I don't think you do. Just fixing that and uploading it should make it all work.
Logged

Karma -1?! Damn that llama!!!
PZ
Noobie
*
Posts: 16


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #217 on: January 19, 2003, 06:18:00 AM »
Reply with quote

I tried doing your last suggestion, but it took me backwards from where I had finally gotten while you were at work. What I did find is that this almost works:include_once "../Settings.php";
include_once "../english.lng";
include_once "../Sources/Subs.php";
include_once "../Sources/Errors.php";
include_once "../Sources/Load.php";
include_once "../Sources/Security.php";
include_once "include/config.inc.php";
include_once "include/functions.inc.php";
The only problem that I see so far, is that it isn't reading my template properly. The menu buttons are text instead of images and the gallery index page just hangs there. But we're getting closer ;D
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #218 on: January 19, 2003, 06:38:04 AM »
Reply with quote

Quote from: diva_uno on December 21, 2002, 12:13:41 AMActually there is no template.html. I would figure an html page with php in it would not fuction correctly. In the Subs.php file find this line :
if (!file_exists($templateFile))
      $templateFile = $boarddir."/template.html";

And change it to this:
if (!file_exists($templateFile))
      $templateFile = $boarddir."./template.php";

Just that simple.
In older post I noticed everyone was trying to figure this out. No need to have 2 of the same file on your server.

This a quoted from one of my older post. This may be the problem. I think I saw somewhere on this thread where someone was getting text instead of a button. Maybe in the first few pages.
Logged

Karma -1?! Damn that llama!!!
PZ
Noobie
*
Posts: 16


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #219 on: January 19, 2003, 07:11:31 AM »
Reply with quote

That didn't seem to do it, but I put a template.php in my gallery folder and added ../ to a few of the paths and it doesn't hang any more.

Now, if I can get the Gallery button to show up on the main board menu, I'll have my testers give it the once over :)

I'm guessing it's another path issue ...
Logged
PZ
Noobie
*
Posts: 16


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #220 on: January 19, 2003, 07:56:08 AM »
Reply with quote

I got the gallery button to show up now on the main board :D  But I had to do this to get it to work:<TD bgColor=#afc6db><yabb menu> <A
href="http://www.pzsweb.com/yabbse/membersgallery/index.php?action=gallery"><IMG
alt="Member's Photo Gallery" src="http://www.pzsweb.com/yabbse/YaBBImages/gallery.gif"
border=0></A> <yabb galleryMenu> </td>
Which, as long as it works, I guess it will be OK. I even logged out to test whether I could upload a picture or not, and I couldn't ;D  Now to see if the other members can create albums and test it up right.

Thank you so much for all your help!!! (diva_uno)  Please feel free to join my yabb! You probably won't find the kind of topics that you can sink your teeth into, like you do here, but we are a friendly bunch :-*
Logged
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:[Beta] Photo Gallery Mod
« Reply #221 on: January 20, 2003, 08:26:37 AM »
Reply with quote

Gallery works fine on my 1.4.1 board.. apart from the sorts dont seem to work?!? Click on data or name sort.. and they dont do anything.

 ???
Logged
PZ
Noobie
*
Posts: 16


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #222 on: January 20, 2003, 11:31:49 AM »
Reply with quote

Oh Great! I thought everything was running smoothly until you had to point that out ;)

I hadn't noticed that until just now ::)

One thing I have noticed, is when you try to reply to an e-card from your inbox (outlook express), the address has extra stuff in it that screws it up and won't let you send it automatically ???  This may have been pointed out before, but I just noticed that too. As nifty as the gallery is, I suppose this is a minor inconvenience.
Logged
charlottezweb
Sr. Member
****
Posts: 446


charlottezweb.com

ICQ - 101387162 WWW
Re:[Beta] Photo Gallery Mod
« Reply #223 on: January 20, 2003, 03:54:46 PM »
Reply with quote

yeah, my sort buttons did work, and then as a week or so ago they stopped working   ???

oh well...it's a minor thing i guess

Logged

"yabb-sense makes the heart grow fonder"
-----------------------------------------------------
Charlottezweb.com
Reliable, well-supported & affordable hosting and design.  Free Yabbse installs.
PioneeR
Llama Hunter
YaBB God
*****
Posts: 767


Re:[Beta] Photo Gallery Mod
« Reply #224 on: January 20, 2003, 06:04:27 PM »
Reply with quote

Just niggles me  ;D

Quote from: maddness on January 20, 2003, 03:54:46 PMyeah, my sort buttons did work, and then as a week or so ago they stopped working   ???

oh well...it's a minor thing i guess


Logged
Pages: 1 ... 13 14 [15] 16 17 ... 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.084 seconds with 20 queries.