[x] Navigation

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

[x] Downloads (Top)

Mod: Wer ist auf dem Bild?
Fragen und Diskussionen zu Modulen / Erweiterungen
Go to page Previous  1, 2, 3  Next
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ›  Module & Blöcke

View previous topic :: View next topic  
Author Message
Poldi
Moderator
Moderator

Offline Offline
Joined: Nov 14, 2004
Posts: 705

PostPosted: 14.01.2009 11:38
Post subject: Re: Mod: Wer ist auf dem Bild?

Hmm ...

Nunja, was braucht man da groß ... die ID des Bildes (pid aus der cms_cpg_pictures), die ID des Users (user_id aus der cms_users) und evtl. noch ein Feld, falls man das ganze noch mit einer "Genehmigungs"-Funktion erweitern will ...

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent
Special-Agent

Offline Offline
Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen
PostPosted: 14.01.2009 17:06
Post subject: Re: Mod: Wer ist auf dem Bild?

Das hört sich doch schon mal ganz gut an.

_________________


clubhouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent
Special-Agent

Offline Offline
Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen
PostPosted: 04.02.2009 15:32
Post subject: Re: Mod: Wer ist auf dem Bild?

Hat den keiner ne Idee, wies weiter gehen kann?

_________________


clubhouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent
Special-Agent

Offline Offline
Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen
PostPosted: 09.02.2009 22:07
Post subject: Re: Mod: Wer ist auf dem Bild?

...?

_________________


clubhouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent
Special-Agent

Offline Offline
Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen
PostPosted: 11.02.2009 18:18
Post subject: Re: Mod: Wer ist auf dem Bild?

Würde das für die Datenbank schon ausreichen?

Array:
<?php
if (!defined('ADMIN_MOD_INSTALL')) { exit; }

class How-is-on-Pic {
    var $radmin;
    var $modname;
    var $version;
    var $author;
    var $website;
    var $description;
    var $dbtables;
// class constructor
    function How-is-on-Pic() {
        $this->radmin = true ;
        $this->modname = 'Mod-Coppermine-How-is-on-Pic';
        $this->version = '0.0.0.1';
        $this->author = 'SpAcEDeViL';
        $this->website = 'www.emsland-partys.de';
        $this->description = 'Mod for Coppermine - How-is-on-Pic';
        $this->dbtables = array('Howpic');
    }

// module installer
    function install() {
        global $installer;
        $installer->add_query('CREATE', 'howpic', "
          pid int(11) NOT NULL auto_increment,
          pos_id INT UNSIGNED NOT NULL,
          pos_user_id INT UNSIGNED NOT NULL,
          PRIMARY KEY (`pid`)",'Howpic');
          
                $source_modules = array('your_account','coppermine');
        
        foreach ($source_modules as $module) {
          define("MODULE","$module");     
          $installer->add_query('INSERT', 'config_custom', "'howpic', '".$module."_active', '0'");
          $installer->add_query('INSERT', 'config_custom', "'howpic', '".$module."_allow_user_mod', '0'");
          $installer->add_query('INSERT', 'config_custom', "'howpic', '".$module."_track_history', '0'");
        }
            
        return true;
    }

// module uninstaller
    function uninstall() {
        global $installer;
        $installer->add_query('DROP', 'howpic');
        $installer->add_query('DELETE','config_custom',"cfg_name='Howpic'");

    }

// module upgrader
    function upgrade($prev_version) {
        global $installer;
    }
}
?>


_________________


clubhouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
clubhouse
Special-Agent
Special-Agent

Offline Offline
Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen
PostPosted: 17.02.2009 16:09
Post subject: Re: Mod: Wer ist auf dem Bild?

ich geb nicht auf....

_________________


clubhouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Poldi
Moderator
Moderator

Offline Offline
Joined: Nov 14, 2004
Posts: 705

PostPosted: 17.02.2009 19:00
Post subject: Re: Mod: Wer ist auf dem Bild?

Würd ich auch ned, clubbi Wink

Aber wenn du mich gleich mit dem Installscript überrennst, dann wirft mich das erstmal aus der Bahn ...
(ok, ich hab mich noch nie mit den Installern beschäftigt, das kommt immer ganz am Schluß bei mir :-))

F***, wenn ich momentan Zeit für irgendwas hätte, dann könnt ich mitbasteln ... naja, vielleicht im Urlaub, wenn du bis dahin nicht schon fertig bist Wink

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent
Special-Agent

Offline Offline
Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen
PostPosted: 19.02.2009 16:38
Post subject: Re: Mod: Wer ist auf dem Bild?

*g* Ich weiß ja noch nicht, mal, ob die Datenbank überhaupt richtig erstellt wird. *g* bzw, das dort drin is, was ich überhaupt brauche *g*

Hehe, wann fängt den dein Urlaub an? *g

_________________


clubhouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Poldi
Moderator
Moderator

Offline Offline
Joined: Nov 14, 2004
Posts: 705

PostPosted: 19.02.2009 19:01
Post subject: Re: Mod: Wer ist auf dem Bild?

Tja, wenn alles glatt geht, in 3 Wochen ...
was aber bei meiner Firma nichts bedeutet Wink

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent
Special-Agent

Offline Offline
Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen
PostPosted: 19.02.2009 21:02
Post subject: Re: Mod: Wer ist auf dem Bild?

hehe,

jo hab nen angebot von jemanden bekommen, der das wohl macht.... aber der will mal eben 65 euro für ne stunde haben... und man kennt ja dann die leute... mit 1 stunde kommen se nicht hin, wollen schon mal eben nen Tag dafür verplempern, und das sind dann auch mal eben schnell 650 euro.... hust hust....

_________________


clubhouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Klas
Moderator
Moderator

Offline Offline
Joined: Apr 14, 2004
Posts: 293

PostPosted: 19.02.2009 21:21
Post subject: Re: Mod: Wer ist auf dem Bild?

Für 650 Euromark könnt ich mir die Zeit auch nehmen Wink

_________________
Bitte lies dies bevor du fragst.

Klas's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Poldi
Moderator
Moderator

Offline Offline
Joined: Nov 14, 2004
Posts: 705

PostPosted: 19.02.2009 21:28
Post subject: Re: Mod: Wer ist auf dem Bild?

naja, wenn man so guckt, was gewissen DF-Entwickler für ihre Mods verlangen ... is das schon heftig teuer Wink

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent
Special-Agent

Offline Offline
Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen
PostPosted: 19.02.2009 22:37
Post subject: Re: Mod: Wer ist auf dem Bild?

Ich hab noch keine Seite gefunden, die für die DF Mods geld verlangt. Welche gibs den da?

Achja, und für 650 euro... die steck ich lieber in mein Studium... vielleicht bekomm ich es irgendwann wieder raus *g*

_________________


clubhouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Poldi
Moderator
Moderator

Offline Offline
Joined: Nov 14, 2004
Posts: 705

PostPosted: 20.02.2009 05:59
Post subject: Re: Mod: Wer ist auf dem Bild?

clubhouse wrote:
Ich hab noch keine Seite gefunden, die für die DF Mods geld verlangt. Welche gibs den da?

Für Mods direkt würde mir nur www.markroper.co.uk/ einfallen .. die meisten machen ja Themes gegen Geld ...

_________________
gG,
Poldi
www.green-dragon.de (Dragonfly 9.2.1)
www.tampones.de (Dragonfly 9.2.1)
www.bfg-deggendorf.de (Dragonfly 9.2.1)
www.sexy-goths.de (Dragonfly 9.1.2.1)
www.gig-hunter.de (deceased)
www.green-dragon.net (Dragonfly CVS ... Testseite)

Poldi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/1.3.37/4.0.27-5.0.18/4.4.9-5.2.1/9.1.0.0-9.2.1
Back to top
View user's profile Visit poster's website
clubhouse
Special-Agent
Special-Agent

Offline Offline
Joined: Nov 04, 2004
Posts: 478
Location: Eine Insel mit 2 Bergen
PostPosted: 20.02.2009 16:11
Post subject: Re: Mod: Wer ist auf dem Bild?

naja, was der da hat, is nich gerade.... reden wir nicht drüber.

Hier gehts ja auch um was anderes, Aber die Preise sind schon nen Unterschied Wink *g*

_________________


clubhouse's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux Debian 4.0 / PHP 5.2.0-8+etch13 / SQL 5.0.32 / CMS 9.2.1
Back to top
View user's profile Visit poster's website ICQ Number
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ›  Module & Blöcke
Page 2 of 3
All times are GMT + 1 Hour
Go to page Previous  1, 2, 3  Next



Jump to:  


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum




Interactive software released under GNU GPL, Code Credits, Privacy Policy