Seite 7 von 343

Verfasst: 25.11.2007 09:05
von Gumfuzi
Clown's Pack:

Code: Alles auswählen

############################################################## 
## MOD Title: Supercharged Album Pack 1
## MOD Author: Volodymyr (CLowN) Skoryk 
## MOD Description: 
##   A series of modification for Album version 2 by Smartor ( http://smartor.is-root.com ) 
##
## MOD Includes:
##	-Random pictures on album index
##	-Highest rated pictures on album index
##	-Searching of album & personal album
##	-smilies enabled
##	-comments, rating, smilies box on same page
##	-improved layout of comments
##	-added messenger buttons, avatar, pm, email buttons to comments page
##	-custumizing looks and settings from admin pannel
##	-hot or not page
##	-watermark
##	-mid thumbnail
##      -other misc improvements
## 
## MOD Version: 1.5.1
## MOD Release Date: 01.18.04 12:46:09 am
## 
## MOD Requirements:  Album version 2 by Smartor ( http://smartor.is-root.com ) 
## 
## Installation Level: easy 
## Installation Time: 4 minutes 
## 
## Files To Edit: 2
##  viewonline.php
##  admin/index.php
##
## Files To Delete: 7
##	album_rate.php
##	album_page.php
##	album_comment.php
##	templates/ YOUR TEMPLET HERE /album_rate_body.tpl
##	templates/ YOUR TEMPLET HERE /album_comment_body.tpl
##	templates/ YOUR TEMPLET HERE /album_cat_body.tpl
##	templates/ YOUR TEMPLET HERE /album_index_body.tpl
##	
## Included Files: 30
##	album.php
##	album_cat.php
##	album_comment_edit.php
##	album_comment_delete.php
##	album_hotornot.php
##	album_personal.php
##	album_personal_index.php
##	album_pic.php
##	album_picm.php
##      album_search.php
##	album_showpage.php
##	sp_db_install.php
##	sp_db_install_fix.php
##	admin/admin_album_clown_SP.php
##	album_mod/album_common.php
##	album_mod/album_constants.php
##	album_mod/album_functions.php
##	album_mod/clown_album_functions.php
##	album_mod/mark.png
##	album_mod/rank.gif
##	templates/ YOUR TEMPLET HERE /admin/album_clown_sp_body.tpl
##	templates/ YOUR TEMPLET HERE /album_cat_body.tpl
##	templates/ YOUR TEMPLET HERE /album_comment_body.tpl
##	templates/ YOUR TEMPLET HERE /album_hon.tpl
##	templates/ YOUR TEMPLET HERE /album_index_body.tpl
##	templates/ YOUR TEMPLET HERE /album_personal_body.tpl
##	templates/ YOUR TEMPLET HERE /album_personal_index_body.tpl
##	templates/ YOUR TEMPLET HERE /album_posting_smilies.tpl
##	templates/ YOUR TEMPLET HERE /album_search_body.tpl
##	templates/ YOUR TEMPLET HERE /album_showpage_body.tpl
##
##
## MOD Preconditon: Comment and Rating system MUST be enabled in Admin Panel, and "View full pic as a popup" must be set to "No".
## 
## MOD Copyrights: Volodymyr (CLowN) Skoryk © 2003 - 2004
##		   Original Watermark code & continuous pictures mod © Luciano 2003
##		   Highest Rated Pictures code @ MarkFulton.com
## 		  		 
############################################################## 
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD (including SQL Database) 
############################################################## 
#
############################################################## 
##   This hack is released under the GPL License.
##   This hack can be freely used, but not distributed, without permission.
##   Intellectual Property is retained by the hack author(s) listed above.
############################################################## 
# 
#-----[ OPEN ]------------------------------------------------------- 
# 
viewonline.php

# 
#-----[ FIND ]------------------------------------------------------- 
# 
				case PAGE_ALBUM:
					$location = $lang['Album'];
					$location_url = "album.$phpEx";
					break;

# 
#-----[ REPLACE WITH ]------------------------------------------------------- 
# 

				case PAGE_ALBUM:
					$location = "Album Index";
					$location_url = "album.$phpEx";
					break;
				case PAGE_ALBUM_PERSONAL:
					$location = "Viewing Personal Album of a user";
					$location_url = "album_personal_index.$phpEx";
					break;
				case PAGE_ALBUM_PICTURE:
					$location = "Viewing Pictures or Posting/Reading comments in the Album";
					$location_url = "album_showpage.$phpEx";
					break;
				case PAGE_ALBUM_SEARCH:
					$location = "Searching the Album";
					$location_url = "album_search.$phpEx";
					break;
#
#-----[ OPEN ]-------------------------------------------------------
#
admin/index.php

#
#-----[ FIND ]----------------------------------------
#
				case PAGE_ALBUM:
					$location = $lang['Album'];
					$location_url = "album.$phpEx?pane=right";
					break;


#
#-----[ REPLACE WITH ]----------------------------------
#
				case PAGE_ALBUM:
					$location = "Album Index";
					$location_url = "album.$phpEx?pane=right";
					break;
				case PAGE_ALBUM_PERSONAL:
					$location = "Viewing Personal Album of a user";
					$location_url = "album_personal_index.$phpEx?pane=right";
					break;
				case PAGE_ALBUM_PICTURE:
					$location = "Viewing Pictures or Posting/Reading comments in the Album";
					$location_url = "album_showpage.$phpEx?pane=right";
					break;
				case PAGE_ALBUM_SEARCH:
					$location = "Searching the Album";
					$location_url = "album_search.$phpEx?pane=right";
					break;

# 
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------------------- 
# 
#
#-----[ DELETE FILES ]------------------------------------------------------- 
#
	now delete the files listed above
#
#-----[ COPY FILES ]------------------------------------------------------- 
#
	now take all included files and paste them in you phpbb directory
#
#-----[ RUN INSTALL FILE ]------------------------------------------------------- 
#
	now run sp_db_install.php ... after your done, delete the file
	now run sp_db_install_fix.php ... after your done, delete the file
#
############################################################## 
# EoF 
##############################################################
cat_hierarchy mod für das Album:

Code: Alles auswählen

## EasyMod 0.0.11 compliant
## ##############################################################
## MOD Title: Album Category Hierarchy
## 
## MOD Author: IdleVoid < idlevoid@slater.dk > (N/A) N/A
## 
## MOD Description: With this mod its possible to create sub categories in public galleries as well in personal galleries.
##                  There is an administration control panel to control several aspects of the mod.
##                  The mod is compatible with the Super Charged Pack version 1.5.1. by CLowN
##                  This mod is based on the Category/Forum Hierarchy Mod by Ptirhiik, so alot of credit should go to him. 
mal sehen, ob ich später noch links dazu finde...

Verfasst: 25.11.2007 09:21
von nickvergessen
Also das mit dem Clownspack scheint ja keine SQLs zu betreffen dürfte also kein Problem sein. Beim cat_hierarchy ist das anders.
Vorallem die Subalben in der persönlichen Gallery werden hier Probleme machen, da mir dafür keine Lösung einfällt. Denn in v0.2.0 so wie in den vorigen gab es noch nie eine Alben_id für die Persönliche Gallery. Die Bilder werden einfach so aus der Tabelle gezogen, wo die Bilder drin sind und zwar die, wo die alben_id -1 ist und dann die user_id übereinstimmt. Mal sehen was mir dazu noch einfällt.

Verfasst: 25.11.2007 15:14
von Gumfuzi
ah, ok - das wichtigste ist, dass einfach die Bilder alle übernommen werden, also mit dem Uploader, Bilderdetails und Bewertungen sowie Comments.

Pers. Kategorien haben ich nicht (hatte ich deaktiviert, da alleine die Auswahlbox" bei 18.000 Usern so lange brauchte).

Und wenn schlimmstenfalls die Bilder alle in einer Kategorie landen, ist das immer noch besser, als die ganzen Bilder per Hand zu uppen;)

Habe ich da mit der 2.0.53 + Hierarchy + Clown Chancen?

Verfasst: 25.11.2007 17:43
von nickvergessen
Also ich denkmal, dass alle Kategorien auf dem Index landen werden, die Struktur musst du dann halt selbst wiederherstellen, dürfte aber sonst kein Problem sein!

Verfasst: 25.11.2007 18:12
von Gumfuzi
Du meinst, es werden zwar die Bilder in den einzelnen Kategorien sein, aber eben alle Kategorien sind direkt "unter" dem index und eben keine Subforen mehr (müssten man dann manuell anlegen bzw. verschieben) - damit kann man ja gut leben, wenn dem so ist.

Aber wegen dem Konverter vom phpBB2: da soll ich doch besser noch auf die 0.1.4 warten, oder?

Verfasst: 25.11.2007 18:31
von nickvergessen
Ja, wobei die neue Version vermutlich 0.2.0 wird ;)

Auch das mit den Kategorien hast du so richtig verstanden.

Verfasst: 25.11.2007 19:01
von Gumfuzi
sehr gut!
*schongespanntbin*

Gibt es eine grobe Planung, wann die 0.2.0 kommen wird? Will niemanden "festnageln", nur rein informativ.

Verfasst: 25.11.2007 19:30
von nickvergessen
Ich hoffe auf diese Woche, kann aber nichts versprechen...

Verfasst: 25.11.2007 19:41
von Gumfuzi
danke für die Info!

Klar, solche Angaben sind immer ohne Gewähr ;)

Verfasst: 27.11.2007 15:38
von nickvergessen
Schneller wie erwartet, aber hoffentlich trotzdem so gut ;)

Download v0.2.0

Für mehr Information 1ten und 2ten Beitrag im Thema lesen.
Bug gefunden: http://mods.flying-bits.org/bugtracker/viewcat.php?c=6
Feature Request: http://mods.flying-bits.org/bugtracker/viewcat.php?c=7