• [Template] 4images Forum - 4images templates by Rustynet 5 0 5 1
Currently:  

Author Topic: [Template] 4images Forum - 4images templates by Rustynet  (Read 68179 times)

0 Members and 1 Guest are viewing this topic.

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
[Template] 4images Forum - 4images templates by Rustynet
« on: July 09, 2009, 11:18:28 AM »
4images Forum

  :arrow: Download: http://rustynet.de
  :arrow: Demo: http://demo.rustynet.de/4images1/

Vielleicht muss ich unbedingt erwähnen, das ich für alle mögliche Schaden keine Garantie oder Haftung übernehme :mrgreen:

Erst mal die Vorteile:
1. Wahrscheinlich (99%) kompatible mit alle version von 4images Gallery
2. Keine modifizierung für das bestehende Gallery nötig

Nachteil:
1. Ihr braucht für das Forum ein zusätliche installation von 4images.
2. Forum benötig nur ganz kleine Modifizierung (vielleicht ist es auch auch ein Vorteil).

 :arrow: Forum home:


 :arrow: Forum category:


 :arrow: Forum category mit Sub Fourm:


 :arrow: Topic:


 :arrow: Favorite Topic:


 :arrow: Topic search:


 :arrow: Top Topic:



  :arrow: Jetzt wollen wir das Forum auch noch mit dem bestehenden Gallery integrieren.

Als Beispiel:
Dein 4images Gallery table prefix = Gallery_prefix

Jetzt ändern wir das constant.php von dem Forum

Code: [Select]
define('SESSIONS_TABLE', $table_prefix.'sessions');zu
Code: [Select]
define('SESSIONS_TABLE', 'Gallery_sessions');
und

Code: [Select]
define('USERS_TABLE', $table_prefix.'users');zu
Code: [Select]
define('USERS_TABLE', 'Gallery_users');

  :arrow: Wieviele neue Topics auf dem index.php?
Jetzt ändern wir das index.php von dem Forum

Code: [Select]
$num_new_images = $config['image_cells'];zu
Code: [Select]
$num_new_images = $config['image_cells']*10;
das bedeutet 10 neue Topics sind auf dem index.php


  :arrow: Offne das member.php von dem Forum
finde:
Code: [Select]
$content .= "<table border=\"0\" align=\"center\">\n<tr>\n<td>\n".$media."\n</td>\n</tr>\n</table>\n";füge darunter:
Code: [Select]
if ($image_id)
        redirect("details.php?".URL_IMAGE_ID."=".$image_id);

Das war alles eigentlich was man ändern muss.


  :arrow: ACP setting von dem Forum

General setting:


Category setting:


Setting:


  :arrow: Wichting: das stamp.gif soll nicht gelöscht werden.


Ich wüsche euch noch viel Glück  :wink:

...und weiterhin viel Spass mit 4images.
« Last Edit: July 10, 2009, 03:29:53 PM by rustynet »

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #1 on: July 09, 2009, 11:28:43 AM »
wow!! genial!!!  :thumbup:

das was ich schon immer gesucht habe... ist das forum auch bereits Suma-optimiert? sprich dynamische page-titel und metas?
kann es mit einer bestehenden gallerie (sprich gleicher login) genutzt werden??
wo gibt es eine anleitung hinsichtlich der installation?

gruss, bergblume
« Last Edit: July 09, 2009, 11:39:33 AM by bergblume »

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #2 on: July 09, 2009, 11:57:32 AM »
Mein Fehler, ich wollte eigentlich preview drücken, statt dessen habe ich save gedrückt.
Ich bin eigentlich noch nicht fertig beim schreiben, leider.

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #3 on: July 09, 2009, 11:58:33 AM »
na dann verharre ich mal der dinge die da noch so kommen....  :D

viele grüße, bergblume

Offline kai

  • Administrator
  • Addicted member
  • *****
  • Posts: 1.418
    • View Profile
    • 4images - Image Gallery Management System
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #4 on: July 09, 2009, 12:16:05 PM »
Thank you! Rated with 5 stars :)
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #5 on: July 09, 2009, 12:38:43 PM »
Danke schön :)

Offline Sunny C.

  • Addicted member
  • ******
  • Posts: 1.804
  • I ♥ 4I
    • View Profile
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #6 on: July 09, 2009, 08:21:23 PM »
GEILES TEIL!

Aber ich verstehe nicht wirklich wie ich das ganze installiere!
Und zwar, habe ich eine 4images Installation,
wo genau müssen die Dateien für das Forum hin?

Dazu kommt, wenn auf der Index.php dann die Forenthemen angezeigt werden, werde auch noch die Bilder etc angezeigt ?

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #7 on: July 10, 2009, 09:51:54 AM »
Aber ich verstehe nicht wirklich wie ich das ganze installiere!
Und zwar, habe ich eine 4images Installation,
wo genau müssen die Dateien für das Forum hin?
Dazu kommt, wenn auf der Index.php dann die Forenthemen angezeigt werden, werde auch noch die Bilder etc angezeigt ?
Nein Benny,
dein Gallery solltest Du nichts ändern.
Das Forum teilt lediglich dasselbe user Datenbank mit deiner Gallery.

Erst mal die Vorteile:
1. Wahrscheinlich (99%) kompatible mit alle version von 4images Gallery
2. Keine modifizierung für das bestehende Gallery nötig

Nachteil:
1. Ihr braucht für das Forum ein zusätliche installation von 4images.
2. Forum benötig nur ganz kleine Modifizierung (vielleicht ist es auch auch ein Vorteil).

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #8 on: July 10, 2009, 09:53:12 AM »
moin rustynet...
hast du auch einen funkionierenden demo-link für das 4images-forum?
gruss, bergblume

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #10 on: July 10, 2009, 04:12:20 PM »
hi rustynet...

super danke!! schaut echt gut aus... muss mich jetzt mal bei dir anmelden und ein bisschen "spielen"...

nochmals eine grundsätzliche frage...
ich habe eine 4images-gallery installiert in einer Datenbank1 (db1) - muss ich nun eine weitere 4images-gallery in einer Datenbank2 (db2) installieren - und beide werden dann über den userbereich aus db1 verknüpft?

gruss, bergblume

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #11 on: July 10, 2009, 04:31:25 PM »
Ich habe das so gemacht, ich habe beide 4images in dasselbe Domain und Datenbank installiert.
Die haben nur lediglich verschiedene prefix.

zum Beispiel:
Galerie = $table_prefix = "Galerie_";
Forum = $table_prefix = "Forum_";

Für das Galerie brauchst Du keine neue installation von 4images, Du kannst Deine vorhandene Galerie benutzen.
Das Forum verwendet dann das user_table von der Galerie, in dem Beispiel ist es: 'Galerie_users'

Aber ich glaube, die Integration funktioniert nur, wenn sich die Tabellen in der selben Datenbank befinden.

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #12 on: July 10, 2009, 04:36:06 PM »
ahh ok, danke für die erläuterung... sehr gut so!

Edit: also 1.Feedback von mir nach der installation --- läuft einwandfrei!! wie kann ich nun mein eigenes template auch für das forum verwenden=?= welche dateien hast du beim template angepasst?
« Last Edit: July 10, 2009, 06:19:03 PM by bergblume »

Offline rustynet

  • Addicted member
  • ******
  • Posts: 1.031
  • {if msg}{msg}{endif msg}
    • View Profile
    • rustynet.de
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #13 on: July 10, 2009, 06:52:16 PM »
Ich habe die ganze Änderungen leider nicht notiert.
Aber so viele Änderungen habe ich auch nicht gemacht (glaube ich).

Wichtig sind die 4 Dateien:
member_uploadform.html
thumbnail_bit.html
category_bit.html
details.html

Die Änderungen in diesen 4 Dateien reicht schon um ein Forum zu machen,
den Rest ist bestimmt nur Kleinigkeiten und unwichtig.
« Last Edit: July 10, 2009, 07:33:11 PM by rustynet »

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [Template] 4images Forum - 4images templates by Rustynet
« Reply #14 on: July 10, 2009, 08:23:23 PM »
alles klar...

so habe das forum nun auch mal testweise eingebaut

 :arrow: Demo => Link (integriert in bestehende gallerie ohne extra-db-installation)

wie kann ich in meiner bestehenden gallerie nun die neuesten foreneinträge auf der startseite anzeigen lassen? (edit: gelöst durch integration in bestehende gallerie)
« Last Edit: July 12, 2009, 01:11:23 AM by bergblume »