Welcome, Guest. Please Login or Register.
November 25, 2024, 02:45:10 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 ... 12 13 [14] 15 16 ... 49 Reply Ignore Print
Author Topic: [Beta 1.5.1RC1 & 1.4.1] Photo Gallery Mod  (Read 341892 times)
naneo
Jr. Member
**
Posts: 78


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #195 on: January 07, 2003, 07:40:08 PM »
Reply with quote

help me?
kann leider kein english. ähhh i can't speak English
www.boehsebaeren.de
template.html is in gallery folder
here is my template
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE><yabb title></TITLE>
<style type="text/css">
<!--
A:link        {text-decoration: none; color: #FFB903;}
A:visited     {text-decoration: none; color: #FFB903;}
A:hover       {text-decoration: none; color: #DDDDDD; font-style: normal; text-decoration: underline

overline}}
BODY          {scrollbar-face-color: #272A2F;
                scrollbar-shadow-color: #1B1E25;
                scrollbar-highlight-color: #cccccc;
               scrollbar-3dlight-color: #272A2F;
                scrollbar-darkshadow-color: #1B1E25;
                scrollbar-track-color: #000000;
               scrollbar-arrow-color: #ffb903; font-family: Verdana}
.nav          {text-decoration: none; color: #FFFFFF;}
.nav:link     {text-decoration: none; color: #FFFFFF;}
.nav:visited  {text-decoration: none; color: #FFFFFF;}
.nav:hover    {text-decoration: none; color: #FFB903; font-style: normal; text-decoration: underline}
.windowbg     {font-size: 14px; font-family: verdana, Verdana, arial, helvetica, serif; background-color: #272A2F;; border-color: #6B6B6B #252525 #252525 #6B6B6B; FONT-FAMILY: verdana, Verdana, arial, helvetica, serif; padding-top: 2px;
padding-right: 2px; padding-bottom: 2px; padding-left: 2px; border-style: outset; border-top-width: 1px;

border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
.windowbg2    {font-size: 14px; background-color: #444444;; border-color: #999999 #414141 #414141 #999999; border-style:

outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
.windowbg3    {font-size: 14px; background-color: #606060;; border-color: #FFFF99 #CC9900 #CC9900 #FFFF99; border-style:

outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
.titlebg    {background-color: #606060; border-color: #FFFFFF #000000 #000000 #FFFFFF; border-style: outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
.catbg    {background-color: #40454C; border-color: #999999 #414141 #414141 #999999; border-style: outset; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}

.text1        {font-style: normal; font-weight: bold; font-size: 12px; color: #000000;}


.oldcatbg        {background-color: #40454C; color: #EEEEEE; font-weight: bold; font-size: 9px;; border: 1px

#666666 solid}
.bordercolor  {background-color: #000000;}
.quote        {font-size: 10px; font-family: Arial; color: #FFFFFF; background-color: dimgray;; border:

#666666; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px}
.code         {font-size: 12px; font-family: "Courier New", Courier, mono; color: #000000; background-color:


#FFB920;}
TD            {font-family: Verdana; color: #FFFFFF}
input         {background-color: #333333; font-family: Verdana; font-size: 10pt; color: #FFFFFF;}
textarea      {background-color: #333333; font-family: Verdana; font-size: 10pt; color: #FFFFFF;}
select        {background-color: #333333; font-family: Verdana; font-size: 9pt; color: #FFFFFF;}
.poll        {font-size: 10px; font-family: Arial; background-color: dimgray; color: red;}
-->
</STYLE>

<META http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<META content=><yabb title>" <name=description>
<META content="PHP, MySQL, bulletin, board, free, open, source, yabb, yet, another, SE" name=keywords>
<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<body text="#FFFFFF" bgcolor="000000" bottomMargin="0" leftMargin="0" rightMargin="0" topMargin="0" MARGINWIDTH="0" MARGINHEIGHT="0">
<TABLE class=bordercolor cellSpacing=0 cellPadding=0 width="99%" align=center bgColor=#272A2F border=0>
  <TBODY>
  <TR>
    <TD>
      <TABLE class=bordercolor cellSpacing=1 cellPadding=0 width="100%" align=center bgColor=#000000 border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
              <TBODY>
              <TR>
                <TD vAlign=center align=center bgColor=#000000><yabb logo></TD>
                <TR>
                <TD vAlign=center align=center bgColor=#000000><FONT size=2><yabb uname><yabb im><yabb time>
            </FONT></TD></TR></TBODY></TABLE></TD></TR>
        <TR vAlign=center align=middle bgColor="#444444" class="windowbg2">
          <TD bgColor=#444444><FONT size=1><yabb menu><yabb gallerymenu><FONT></TD>



      <TABLE class=bordercolor cellSpacing=1 cellPadding=0 width="100%" align=center
bgColor=#000000 border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=3 width="100%" align=center bgColor=#000000 border=0>
              <TBODY>
              <TR>
                 <TD vAlign=top width="15%">

<yabb sblocksl></TD>

                  <TD vAlign=top width="70%">

<yabb sblocksc>
<br>
<yabb main>
<br>
<yabb sblocksbc>

   </TD>

<td vAlign=top width="15%">
<yabb sblocksr></td>
   </TR>
   </TBODY>
              </TABLE>
          </TD>
        </TR>
        </TBODY>
       </TABLE>
    </TD>
   </TR>
  </TBODY>
</TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
  <TBODY>
  <TR>
    <TD noWrap align=right><yabb VBStyleLogin></TD></TR></TBODY></TABLE><BR>
<TABLE class=bordercolor cellSpacing=0 cellPadding=0 width="99%" align=center bgColor=#000000 border=0><yabb galleryHeader>
  <TBODY>
  <TR>
    <TD>
      <TABLE class=bordercolor cellSpacing=1 cellPadding=0 width="100%" align=center bgColor=#000000 border=0>
        <TBODY>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=3 width="100%" bgColor=#000000 border=0>
              <TBODY>
              <TR>
                <TD vAlign=center align=right width="2%" bgColor=#444444>
   
                </TD><TD vAlign=center align=middle width="98%" bgColor=#444444><yabb copyright></TD>
               </TR>
               </TBODY>
            </TABLE>
            </TD>
         </TR>
         </TBODY>
       </TABLE>
      </TD>
<yabb galleryHeader>
    </TR>
    </TBODY>
</TABLE>
</BODY>


init.inc.php
include_once "../QueryString.php";
include_once "../Settings.php";
include_once "../german.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";
Logged
Coyote
YaBB God
*****
Posts: 702


I love YaBB SE!

Re:[Beta] Photo Gallery Mod
« Reply #196 on: January 07, 2003, 07:50:08 PM »
Reply with quote

Vergeben Sie bitte mein Deutsch - dies ist ein Übersetzer Text.

Der beste Weg, dieses Problem zu sortieren, soll die Pfade in der YaBBSE Admin Mitte ändern.

Änderung, die es in der Verwalter Mitte auch repariert aus dem keine doppelte Modellrahmen Html Akte in der gallerry Wurzel haben muß.


Sie brauchen dies in Ihrem Modellrahmen nicht

init.inc.php
include_once "../QueryString.php";
include_once "../Settings.php";
include_once "../german.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";


« Last Edit: January 07, 2003, 07:55:04 PM by Coyote » Logged

To the world - you are just one person, but to one person you are the world!
Coyote
YaBB God
*****
Posts: 702


I love YaBB SE!

Re:[Beta] Photo Gallery Mod
« Reply #197 on: January 07, 2003, 07:54:26 PM »
Reply with quote

PS - I dont speak a word of German - so if Im talkin nonsense please tell me :)

Sie vielleicht fähig zu kopieren und Paste der Modellrahmen in yabbse admin Mitte zu einem neuen Akte gerufenem Modellrahmen Html und daß stellt in der Gallerie Wurzel.

Aber ich denkt dont, daß sein der beste Weg ist, dies zu lösen.

Logged

To the world - you are just one person, but to one person you are the world!
naneo
Jr. Member
**
Posts: 78


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #198 on: January 08, 2003, 06:02:55 AM »
Reply with quote

 ??? ??? ???    ;)

You can answere me in english. I just try to find someone who can translate it.
thanks
Logged
Coyote
YaBB God
*****
Posts: 702


I love YaBB SE!

Re:[Beta] Photo Gallery Mod
« Reply #199 on: January 09, 2003, 06:00:38 PM »
Reply with quote

ok :)

first of all - remove this from your template.html

init.inc.php
include_once "../QueryString.php";
include_once "../Settings.php";
include_once "../german.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";


You need to put the full paths in your YaBB Admin Center.

I have a post in this thread which talks about it.



I am not sure if anyone can help me though :(

When I try to search for images using the automated feature in the gallery admin, I get this error message.

Fatal error: Call to undefined function: db_connect() in /home/fertilit/public_html/mainboard/gallery/searchnew.php on line 42

Anybody have any ideas? Everything else works fine :(

Logged

To the world - you are just one person, but to one person you are the world!
AsOrA
Jr. Member
**
Posts: 73


A khmer in YaBB land

ICQ - 114348627blackhanuman@hotmail.com WWW
Re:[Beta] Photo Gallery Mod
« Reply #200 on: January 10, 2003, 03:03:38 PM »
Reply with quote

Chkmode problem:
Thx for this one mode, i have installed on my boad run with YaBBSE1.5 manualy and i have a problem with chkmod, all my upped pictures have a chkmod 600,
my galery folder and sub ( images, pictures, include are a chkmode 777 )
anny one have an idea ?
thx.
Logged

Dr_Michael
Sr. Member
****
Posts: 317


Hellenic web

WWW
Re:[Beta] Photo Gallery Mod
« Reply #201 on: January 12, 2003, 02:51:53 PM »
Reply with quote

Let me ask: Can this mod limit access to specific member groups of the forum? I mean I would like to create a special group and only the members assigned to this group to be able to upload photos. Is it possible?
Logged

charlottezweb
Sr. Member
****
Posts: 446


charlottezweb.com

ICQ - 101387162 WWW
Re:[Beta] Photo Gallery Mod
« Reply #202 on: January 12, 2003, 06:44:41 PM »
Reply with quote

You can disable users and guests and enable global mods, but i think that's it...

So if you wanted your global mods to be the only ones with access, then yes.  If not, then i don't think so.
Logged

"yabb-sense makes the heart grow fonder"
-----------------------------------------------------
Charlottezweb.com
Reliable, well-supported & affordable hosting and design.  Free Yabbse installs.
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #203 on: January 17, 2003, 03:21:28 AM »
Reply with quote

Quote from: mikemikeson on December 27, 2002, 01:44:26 PM
Quote from: Jacko on December 26, 2002, 07:13:01 AMtrying to get this working on v1.5.

all actions are now in an array in index.php

I think everything will work if I can figure out how to get the

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

into the array. Any ideas?


I'm tried to configure the gallery for 1.5.0 also...but I'm not that much into "programming" ...can't figure aout how to embed it into the arry....
somebody run this mod with 1.5.0 ?

*excuse may bad english* :-)

cheers

I have been playing around with trying to get this to work with 1.5 but no luck. You have to insert the array before this line:
'yabbinfo' => array("$sourcedir/Admin.php", 'showYaBBInfo'));That is all I know.

I tried using this for the array:
'gallery' => array("$boarddir/gallery/", 'gallery'),
But I get this error when I click on the gallery button:
2: Unable to access /gallery/
(/home/virtual/site461/fst/var/www/html/community/index.php ln 292)

There is something else that you have to insert into the index.php or in the array. I'm believing header has to be somewhere within the script...but maybe I'm wrong. Hopefully someone can figure this out. The only thing that is not working is linking the button to the actually gallery because if you go to http://www.yoursite.com/yabbse/gallery the gallery is there and is still working with the database.
I think I will ask for help to see if someone can tell me how to get this working and I'll post it here.
Logged

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


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #204 on: January 17, 2003, 10:42:29 AM »
Reply with quote

To get it to work in 1.5
I have got the button to point to the gallery without the array action. I guess as long as it works that is all that matters so don't bother adding anything into the index.php file.
Besides that everything else is the same except for Sources/Subs.php.
This is what you do:

Open Subs.php and find:
$cgi = "$scripturl?board=$board";add this after:
$galleryurl = "$boardurl/gallery/";
Next find:
global $mnum, $munred, $ID_MEMBER;add this after:
global $galleryurl;
Lastly find:
$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>";add this after:
$yymenu .= "$menusep<a href=\"$galleryurl\">$img[gallery]</a>";
This takes you to the gallery. Nothing else really needed editing with this mod because it has it's on tables that are just linked to the yabbse tables.

If someone fixes this so that the array actions work that's cool. I just wanted to tell everyone how I got it to work if they were having problems. ;)
Logged

Karma -1?! Damn that llama!!!
Zombie
Noobie
*
Posts: 29


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #205 on: January 17, 2003, 04:44:29 PM »
Reply with quote

Thanks diva!
I've been racking my brain try to figure out that array problem.

I have another problem.  When I try to run the install.php for the gallery, nothing happens.

Ive tried re-downloading but I get the same problem.  What could it be, any suggestions?
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #206 on: January 17, 2003, 05:51:51 PM »
Reply with quote

Make sure everything is chmod right.
Also, are you using the gallery that was included in the zip with the mod. I know some people made the mistake of trying to use the gallery from the coppermine site. Chmod is usually the problem though.
Logged

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


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #207 on: January 18, 2003, 11:22:59 AM »
Reply with quote

diva_uno,

You seem to be a kind and helpful soul; I have been lurking for quite some time, but now I am forced to actually post a question(s). I managed to get the Photo Gallery to install just fine as a separate gallery. But this mod is driving me nuts! I REALLY-REALLY want it for my board members, but everytime I try to run BoardMod to install it, I get the following error message on step 3 in the index.php (yabbse 1.40):
Step 3 ... failed - ERR(1): Search string could not be foundThe search string in question:
else if ($action == 'yabbinfo') { include_once "$sourcedir/Admin.php"; showYaBBInfo(); }Therefore, I have no idea where to put this, even if I were to do it manually:
else if ($action == 'gallery') { header("Location: gallery/"); }Mind you, I'm no expert, but I'm not a complete goof either. But for the life of me, I'm stumped and frustrated and I REALLY-REALLY want this mod!

Please help me! Even a link back to the page where this was discussed (I have been going over the last 14 pages until my eyes burn).

Thanks in advance ...
Logged
diva_uno
Full Member
***
Posts: 119


I'm your mama!!!

Re:[Beta] Photo Gallery Mod
« Reply #208 on: January 18, 2003, 05:28:33 PM »
Reply with quote

In this case you do a manual install. If that is the only error you are receiving or even if there are more...I'll just tell you how to get that "else if" action into your index.php.
Just open index.php in "Notepad". After you open it go to Search>Find and either type in what you are trying to find...which is:
else if ($action == 'yabbinfo') { include_once "$sourcedir/Admin.php"; showYaBBInfo(); }Or do a keyword search such as:
showYaBBInfo.
When you find the string of code that resembles exactly the code above...just add:
else if ($action == 'gallery') { header("Location: gallery/"); }Right after it.
Sometimes boardmod doesn't work.

And thank you for what you said. I like to be helpful because I appreciate the help other people give me.
YabbSE is a great community.
 ;D
Logged

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


I'm a llama!

Re:[Beta] Photo Gallery Mod
« Reply #209 on: January 18, 2003, 05:51:06 PM »
Reply with quote

Thanks so much. I'll keep looking for that bit of code. But I have been searching for 4 days now and haven't been able to find it :o  You confirmed what I thought I needed to do.

Meanwhile, 5 minutes later ...

Nope. It isn't there. I even opened up the original zip file with a fresh yabbse in it and looked for it in that index.php (just in case an earlier mod removed it). That line just isn't there either ...


I'm SO bummed :'(

Is there a way of adding that line in some where (where? I have no idea)?
Logged
Pages: 1 ... 12 13 [14] 15 16 ... 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.051 seconds with 20 queries.