Welcome, Guest. Please Login or Register.
November 25, 2024, 12:38:07 PM
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 ... 10 11 [12] 13 14 ... 49 Reply Ignore Print
Author Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod  (Read 341882 times)
searanch
Noobie
*
Posts: 33


Re:[Beta] Photo Gallery Mod
« Reply #165 on: December 21, 2002, 06:35:42 PM »
Reply with quote

Hey Zarsky,

This apparently is a common problem - no one seems to have a simple fix.

I wouldn't even attempt to follow the instructions that Mad Moya gave - prolly crash my whole forum.

Gotta be one genius out there - here is the problem:

Zarsky and I do not have the header graphic and/or the footer graphics from the YaBBSE forum pages on the Gallery page...

 8)

A simple fix would be greatly appreciated...
« Last Edit: December 21, 2002, 07:19:59 PM by searanch » Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #166 on: December 21, 2002, 06:41:04 PM »
Reply with quote

Giving your url helped alot. Your image says that it is located here. http://www.yoursite.com/yabbse/gallery/YaBBImages/yourimage.jpg
Just change the link to image  in your template that is located in your gallery folder to this http://www.yoursite.com/yabbse/YaBBImages/yourimage.jpg

As for the other graphics. Take out the gallery/ in the template or create a YaBBImages/ folder in your gallery abd move the images there.
« Last Edit: December 21, 2002, 07:29:40 PM by diva_uno » Logged

Karma -1?! Damn that llama!!!
searanch
Noobie
*
Posts: 33


Re:[Beta] Photo Gallery Mod
« Reply #167 on: December 21, 2002, 07:16:41 PM »
Reply with quote

Worked like a damn...

 ;D
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #168 on: December 21, 2002, 07:26:15 PM »
Reply with quote

I figured out that the problem I'm having is a database problem. For those who manually installed the gallery. Did you create new tables in your database. Or were the tables added to the information that Yabb created?
Was the install suppose to dump the sql database file?
Logged

Karma -1?! Damn that llama!!!
zarsky99
Noobie
*
Posts: 28


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #169 on: December 21, 2002, 08:13:21 PM »
Reply with quote

searanch and diva_uno,

I know that simply copying the images would fix theimage problems....the reason the link is not right is because the mod adds the follow command in index.php

else if ($action == 'gallery') { header("Location: gallery/"); }
This appends .../gallery to all image links and all include statements....at least I think that's what it does...I would prefer a "cleaner" fix that would properly refence everything so I do not have to worry about blocks or new images I create and link becoming a problem...if I was on linux I could simply use a symbolic link to reference back to the YaBBimages dir....ah well I will keep trying some other ideas I have and report back any success!!!

Zarsky
Logged
zarsky99
Noobie
*
Posts: 28


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #170 on: December 21, 2002, 08:25:25 PM »
Reply with quote

One other note:

For some reason my header graphic (logo)  does not even get the correct link parsed through ???  I fixed the footer graphics using diva_uno's suggestion, but not sure what to do about the header graphic..

Zarsky
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #171 on: December 21, 2002, 08:53:38 PM »
Reply with quote

Right click on the broken image...and look at properties in the menu. This will tell you where the template says where the image is. Most likely it's not there.
Logged

Karma -1?! Damn that llama!!!
zarsky99
Noobie
*
Posts: 28


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #172 on: December 21, 2002, 09:04:44 PM »
Reply with quote

Yes yes I did that and the img url=""  So it does not link anywhere for the image....this is due to the header call in the mod...at least I think it is...I am not even sure if it is possible to hard code the url since it is being parsed that way by php ???

You can see for yourself here:

http://www.zerr.org/family/index.php?action=gallery

Zarsky
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #173 on: December 21, 2002, 09:34:05 PM »
Reply with quote

I would try hard coding it in.  Do you have another template file in your gallery folder? If you do already I would just put the html code to the image in the template and upload it again. If you don't have a template file in your gallery like me...I had to copy images over to my gallery folder instead of changing everything withing the template which would have been a pain. But try that.
Yeah ;)
Logged

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


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #174 on: December 22, 2002, 12:29:59 AM »
Reply with quote

Well the putting the tables into my database manually didn't help. I don't know what is wrong.
When I go into gallery it is not like I am even on the message board. My admin button doesn't show up and the welcome message does not include a username.
If anyone can help me your help would be appreciated.
Logged

Karma -1?! Damn that llama!!!
CrimSon_ReD
Full Member
***
Posts: 170


RED, WHITE & BLUE - enUFF saiD!!

WWW
Re:[Beta] Photo Gallery Mod
« Reply #175 on: December 22, 2002, 04:21:47 AM »
Reply with quote

I tried to install this mod with boardmod to use it with
my yapp 0.6 and unfortunately I ran across 30 errors
while using boardmod sooooooo.........

I just didnt feel like manually importing 30 lines of code.
Toobad this would have been kickass with my yapp!
Logged

John R
PHP Challenged
Global Moderator
Sr. Member
*****
Posts: 387


Click, Click, Click, Bang!

ICQ - 3166233codehammer@thevortex.com
Re:[Beta] Photo Gallery Mod
« Reply #176 on: December 22, 2002, 05:26:14 AM »
Reply with quote

Unfortunately, when a mod is written for YaBB SE and you try to install it on YaPP you will run into problems if you try to use BoardMod as some of the code is different.  

It is possible to install the mod by hand though and it works flawlessly.  As long as you follow the instructions included with the Mod file there is only one real difference.  The part that places the gallery link into your menubar is not needed.  You add the link in your YaPP admincenter in the menu management section.

cheers............
Logged

Be careful what you wish for, it might come true!

Note: I do not acknowledge support requests via PM, MSN or ICQ, please use the support boards.
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #177 on: December 22, 2002, 05:29:30 AM »
Reply with quote

I thought there were only 5 lines to add into the scripts?
A lot of people got it working on Yapp...Don't give up!
 ;)
Logged

Karma -1?! Damn that llama!!!
CrimSon_ReD
Full Member
***
Posts: 170


RED, WHITE & BLUE - enUFF saiD!!

WWW
Re:[Beta] Photo Gallery Mod
« Reply #178 on: December 22, 2002, 04:39:43 PM »
Reply with quote

ooops yeah you're right I goofed it was only 5  changes.
im sorry I had got it confused with another mod.

I recieved errors on two in which the commands were not the
same so its kinda tricky to figure out where they fo such

Error on task #3

look for:

as:else if ($action == 'yabbinfo') { include_once "$sourcedir/Admin.php"; showYaBBInfo(); }

replace with:

else if ($action == 'gallery') { header("Location: gallery/"); }

Error:

Step 3 ... failed - ERR(1): Search string could not be found



Error: Step #5

look for:

$yymenu = "<a href=\"$scripturl\">$img[home]</a>$menusep<a href=\"$helpfile\" target=_blank>$img[help]</a>$menusep<a href=\"$cgi;action=search\">$img[search]</a>";

replace with:

$yymenu .= "$menusep<a href=\"$scripturl?action=gallery\">$img[gallery]</a>";

Step 5 ... failed - ERR(1): Search string could not be found


Well I think these are the problems so people are facing.
If its possible to resolve such problems, then it would work fluidly!

ok I manually did what I could...
I chmoded everything, and well now it just hangs on the install.php screen and doesnt do anything.

It doesnt install nor create the new database tables.

« Last Edit: December 22, 2002, 05:17:40 PM by CrimSon_ReD » Logged

zarsky99
Noobie
*
Posts: 28


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #179 on: December 23, 2002, 02:14:22 AM »
Reply with quote

All,

I will be releasing a special alpha version of Spiff's coppermine mod tailored specifically for YaPP....I only have two problems to figure out...expect to see it show up in a new thread over at the YaPP forum tomorrow...one error I am trying to resolve is the loss of the logo picture's img src link after being parsed...the other error is with my recent posts block that gets passed bad parsed links and causes mysqlk errors...look in one of my previous posts fora link to see an example of it running.

Zarsky
Logged
Pages: 1 ... 10 11 [12] 13 14 ... 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.041 seconds with 20 queries.