phpBB2.de Forum Index  
[netclusive - internet broadcasting]
 FAQ  •  Search  •  Download  •  Bookmarks  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •  Log in
 
        
 
        
 

LinkLift

View next topic
View previous topic

This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.
Author Message
Magician-Spiff
phpBB2.de User
phpBB2.de User



Joined: 14 Dec 2002
Posts: 113
Location: Fangorn

PostPosted: Sat 14 Dec, 2002 19:09 Reply with quoteBack to top 

Also meine Frage is, ob man die Mods vor der installation schon hinzufügen muss oder ob das keine Rolle spielt..., denn bei meinen letzten Mods ging keiner (nach der installation),...
gibt es irgendwo tutorials zu Mods? Denn bei mir funzt so ziemlich nichts.

thx, Spiff

_________________
I Love PHPBB ^^
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
Google







Posted: Back to top

roger1000
phpBB2.de User
phpBB2.de User



Joined: 05 Aug 2002
Posts: 1162
Location: FRANKEN

PostPosted: Sat 14 Dec, 2002 19:27 Reply with quoteBack to top 

Einen Mod solltest du nach der installation einbauen, eine install-Anleitung ist eigentlich immer dabei in form einer txt-file, bevor du jedoch irgendwelche files änderst, solltest du immer ein Backup deiner vorhandenen files machen, denn man weiss ja nie was so passiert!
Desweiteren musst du natürlich auch darauf achten das du alle änderungen die benötigt werden durchführst!
Auch musst du bei den meisten Mods Datenbank einträge vornemen!
wenn du alles berücksichtigst was in der txt-file steht, dann wird der Mod auch funktionieren!!

gruß Roger

_________________
Wer wissen will was Spass ist, sollte mal ne KILO-GIXXER fahren!!
Forum
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
Magician-Spiff
phpBB2.de User
phpBB2.de User



Joined: 14 Dec 2002
Posts: 113
Location: Fangorn

PostPosted: Sat 14 Dec, 2002 19:31 Reply with quoteBack to top 

hmm, danke... und wie seh ich das, wenn ich was in der datenbank machen muss?

_________________
I Love PHPBB ^^
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
roger1000
phpBB2.de User
phpBB2.de User



Joined: 05 Aug 2002
Posts: 1162
Location: FRANKEN

PostPosted: Sat 14 Dec, 2002 19:35 Reply with quoteBack to top 

Nun entweder ist eine install.php in dem Mod dabei, oder aber es steht ganz am anfang von den Änderungen igendwas von SQL und Zeilen die mit ALTER TABLE........ beginnen Exclamation

gruß Roger

_________________
Wer wissen will was Spass ist, sollte mal ne KILO-GIXXER fahren!!
Forum
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
Magician-Spiff
phpBB2.de User
phpBB2.de User



Joined: 14 Dec 2002
Posts: 113
Location: Fangorn

PostPosted: Sat 14 Dec, 2002 19:44 Reply with quoteBack to top 

aha, aber das steht in den Readmes normalerweise...,
noch ne frage, wenn ich z.B. die Statistik installiere und die auf den Index bringen will (also da wo auch Memberlist, Registrieren etc. is), was muss ich da tun..., die statistic.php ist vorhanden, aber kein link vom index her....

_________________
I Love PHPBB ^^
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
roger1000
phpBB2.de User
phpBB2.de User



Joined: 05 Aug 2002
Posts: 1162
Location: FRANKEN

PostPosted: Sat 14 Dec, 2002 20:03 Reply with quoteBack to top 

Da musst du mal in der txt-file schaun, da sollte irgendwo was stehen wie du den Link in die Overal_header einfügst Exclamation

gruß Roger

_________________
Wer wissen will was Spass ist, sollte mal ne KILO-GIXXER fahren!!
Forum
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
Magician-Spiff
phpBB2.de User
phpBB2.de User



Joined: 14 Dec 2002
Posts: 113
Location: Fangorn

PostPosted: Sat 14 Dec, 2002 20:10 Reply with quoteBack to top 

hmmm, hab mal reingeschaut, kann da nix finden.. hier die Readme...:
Code:
#################################################################
## Mod Title:    Statistics
## Mod Version:  1.2.2
## Author:       Nivisec < nivisec@hotmail.com >
## Description:  Displays several tables of statistics for
##               your board.
##
##               Includes authorization checking so no
##               topic links that the user can't view
##               should come up.
##
## Installation Level:  easy
## Installation Time:   5-10 Minutes
## Files To Edit:       posting.php
## Included Files:      statistics.tpl
##                      topsmilie_install.php
##                      statistics.php
##                      statistics_install.txt
##                      lang_statistics.php
##
## Example Page: http://nivisec.com/mods/statistics.php
## Discussion Forum: http://nivisec.com/mods/viewforum.php?f=1
#################################################################
## For Security Purposes, This MOD Cannot Be Posted Or Added At Any Non-Official phpBB Site
#################################################################
##
## Author Note:
## There are lots of variables that are easily modified so
## the user can customize the language inside lang_statistics.php
##
## Make sure you run the topsmilie_install.php to
## insert the new field for data.  From here you may also import
## your already used smilies from old messages.  This will take
## some time if you have a large board, and if you cancel the
## script is set to still run until it finishes!
##
## If for some reason your images aren't showing up on the graph,
## you'll need to edit the statistics.php to relect where they are
## realative to your main template directory.  This should be
## already auto-detected though :)
##
## The idea for this page inspired by Daniel Baker
## < dbaker-phpBB@ityt.com > whom wrote the original statistics.php.
##
## Special thanks to Brewjah for finding and hammering out the bugs
## that occur on smaller/newer boards with me.
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################
##
## VERSION HISTORY
##
## v1.2.2
##  - Fixed a few potential problems for some users with the smilie install
##       file and the way it worked.
##  - Updated to be fully phpBB coding standards compliant.
##  - Added support (just a small part thus far because it is alpha) for EasyMod
##      installer.
##
## v1.2.1
##  - Changed is_null function calls to isset for compatibility reasons.
##  - Fixed a problem with the bar width percentages display.
##  - Fixed a problem with the posting.php code
##  - Merged oldsmilies_import, and the install/uninstall into one file.
##
## v1.2.0
##  - Fixed a few various bugs that were reported earlier
##       on such as reference passing errors, divide by 0,
##       and the #1 smilie not showing up.
##  - Converted all code to phpBB coding standards.
##  - Streamlined the code decreasing the file size.
##  - Removed Acyd's addition for now until I can update
##       it or he does, but I think he's not around to do
##       so.
##  - Made the v1.x.x series of the mod work with phpBB2.0
##       final and discontinued any support for RC versions.
##
## v1.1.8
##  - Acyd fixed a bug with post percentages and updated his
##       file to reflect it.
##  - Since his math algorithm was way better and much neater
##       than mine, I just incorported his into my file :)
##  - Look for a Statistics v2.0 later on as a complete
##       re-write of this mod to reflect all that I've learned
##       writing this, rating mod, and looking at Acyd's
##       code for attachment mod hehe.  Don't sit and hold
##       out for this though because I don't have much time
##       to even think of starting until next week.
##
## v1.1.72
##  - Updated the Acyd Burn changes zip file with one small
##       modification he made, but a good one.  The bars are
##       now relative to the highest number, better for the
##       eye now.
##
## v1.1.71
##  - Added the Acyd Burn changes zip file.
##
## v1.1.7
##  - The elusive graph image hopefully is fixed for good on the display
##        part.
##  - Fixed from returning users in the top 10 with 0 posts.
##  ****UPGRADE NOTES****
##  - To go from 1.1.6 -> 1.1.7 just copy statistics.php and statistics.tpl
##        over their old counterparts.
##
## v1.1.6
##  - Changed from using the included .png to using your voting graphics bar.
##  - Hopefully finally fixed the stupid graphic bar problems for good this
##       time.
##  - Pending the graphics bar working, this is probably final release.
##  - Watch for my next project of topic rating later this week if this turns
##       out to be final.
##
## v1.1.5
##  - Converted to use language files.  Note the deletion of statistics_vars.php
##        and the creation of lang_statistics.php!
##  - The CVS for 2/19 was the one with the new junk, not 2/18...Changed that after
##        finding out.
##  - Updated the smilies table to use a % and a graph in files statistics.php and
##        statistics.tpl.
##  - Optimized some of the code in statistics.php
##
## v1.1.4
##  - Decided not to mess with trying to make it not count in /quote and
##        /code tags after looking at how un-fun it would be for me to
##        do.  You guys will have to live with it counting those :)
##        preg_match_all function isn't a nice laid out function, it gave
##        me a headache reading about it.
##  - Bugs are getting smaller and smaller...Hopefully this will be finished
##        soon.
##  *statistics_install_2-18.txt*
##  - The CVS as of 2/18/2002 is very different, so requires a seperate
##       set of instructions.
##  *oldsmilie_import.php*
##  - Added a parser to go through your old posts and count the smilies.
##       Keep in mind this script works the best it can, but if you have
##       a lot of posts, it isn't that happy doing it :)  Might time out
##       and require you to run it a few times to complete it.
##  - You are kind of on your own on this one, it worked fine for me but
##       isn't something I really want to support and debug for everyone
##       that it may not work for...If there is any.
##  - It will take a while and make sure you follow the directions on the page!
##
## v1.1.3
##  * In statistics.php *
##  - Small typo in the graph percentage calculator fixed.
##  - Found out the - 1 wasn't needed on the topic replies display, so
##    removed it.
##
## v1.1.2
##  - Will no longer pull posts with 0 replies as a active topic
##  - Percentages on the graphic bar are now scaled based on highest
##       user percent.  100% will now be the absolute highest shown.
##  - Anonymous username will no longer show up as a top poster.
##  - Fixed a problem with top poster percent adding up to over 100%
##       due to deleted posts on small boards.
##  - Made all the user editable variables inside a seperate php file
##       to make updating during this "small bug fix" period.  It is
##       now in statistics_vars.php so you don't have to redo the file
##       each update of statistics.php.
##
## v1.1.1
##  - Filled quick request to have all smilies in post counted.
##      In the profile.php code you can now set to 0 or 1
##      based on what you want.
##
## v1.1.0
##  - Modified table width in templates.
##  - Added more variables to make it easier for
##      non-english users to change text in one place
##      only.
##  - Added administrative statistics to the page.
##  - Fixed some typos.
##  - Added in top 10 smilies code.
##
##
## v1.0.1
##  - Initial Release.
##
#################################################################

#
#-----[ EDIT TO YOUR LANGUAGE (Optional) ]------------------------------------------
#
lang_statistics.php

#
#-----[ UPLOAD AND RUN THE SCRIPT ]------------------------------------------
#
topsmilie_install.php

#
#-----[ UPLOAD ]------------------------------------------
#
statistics.php -- to /
statistics.tpl -- to /templates/subSilver/
lang_statistics.php -- /languages/lang_english/

#
# Start EasyMod v0.4alpha Install Code
#
#-----[ OPEN ]------------------------------------------
#
posting.php

#
#-----[ FIND ]------------------------------------------
#
//
// Check and set various parameters
//


#
#-----[ BEFORE, ADD ]------------------------------------------
#
function top_smilies($message)
{
   global $db, $board_config;

   $sql = "SELECT code, smilies_id, smile_stat
   FROM " . SMILIES_TABLE;

   if( !$result = $db->sql_query($sql) )
   {
      message_die(GENERAL_ERROR, "Couldn't obtain smilies data", "", __LINE__, __FILE__, $sql);
   }
   $smile = $db->sql_fetchrowset($result);

   for ($i = 0; $i < count($smile); $i++)
   {
      if ($count_smile = preg_match_all ("/(?<=.\\W|\\W.|^\\W)" . phpbb_preg_quote($smile[$i]['code'], "/") . "(?=.\\W|\\W.|\\W$)/", ' ' . $message . ' ', $tmp_smile))
      {
         $smilie_usage = $smile[$i]['smile_stat'] + $count_smile;
         $sql = "UPDATE " . SMILIES_TABLE . "
         SET smile_stat = $smilie_usage
         WHERE smilies_id = " . $smile[$i]['smilies_id'];

         if( !$result = $db->sql_query($sql) )
         {
            message_die(GENERAL_ERROR, "Couldn't update smilies data", "", __LINE__, __FILE__, $sql);
         }
      }
   }
}

#
#-----[ FIND ]------------------------------------------
#
            if ( $error_msg == '' )
            user_notification($mode, $post_data, $forum_id, $topic_id, $post_id, $notify_user);

#
#-----[ REPLACE ]------------------------------------------
#
            if ( $error_msg == '' )
            {
               user_notification($mode, $post_data, $forum_id, $topic_id, $post_id, $notify_user);
               if( $mode != "editpost" )
               {
                  top_smilies($message);
               }
            }

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM

_________________
I Love PHPBB ^^
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
roger1000
phpBB2.de User
phpBB2.de User



Joined: 05 Aug 2002
Posts: 1162
Location: FRANKEN

PostPosted: Sat 14 Dec, 2002 20:27 Reply with quoteBack to top 

Hast du mal nen Link zu deiner Seite Question

gruß Roger

_________________
Wer wissen will was Spass ist, sollte mal ne KILO-GIXXER fahren!!
Forum
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
Magician-Spiff
phpBB2.de User
phpBB2.de User



Joined: 14 Dec 2002
Posts: 113
Location: Fangorn

PostPosted: Sat 14 Dec, 2002 20:36 Reply with quoteBack to top 

hab vorhin gerade die Seite gelöscht.. mach sie nochmal neu.. (also das forum), warum?

_________________
I Love PHPBB ^^
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
roger1000
phpBB2.de User
phpBB2.de User



Joined: 05 Aug 2002
Posts: 1162
Location: FRANKEN

PostPosted: Sat 14 Dec, 2002 20:52 Reply with quoteBack to top 

nun dann hätte man mal schaun können, aber ich denke du hast die lang_main deiner Sprache nicht angepasst und darum wurde die Seite nicht angezeigt Exclamation

gruß Roger

_________________
Wer wissen will was Spass ist, sollte mal ne KILO-GIXXER fahren!!
Forum
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
Magician-Spiff
phpBB2.de User
phpBB2.de User



Joined: 14 Dec 2002
Posts: 113
Location: Fangorn

PostPosted: Sat 14 Dec, 2002 20:57 Reply with quoteBack to top 

also habs nun wieder on www.mojo-shrine.net.tc
hab aber bisher nur die german language files drin und en theme...,
ne frage noch, wie mach ich, das die User auf die Avas zugriff haben und dass sie eigene nehmen können?

_________________
I Love PHPBB ^^
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
roger1000
phpBB2.de User
phpBB2.de User



Joined: 05 Aug 2002
Posts: 1162
Location: FRANKEN

PostPosted: Sat 14 Dec, 2002 21:56 Reply with quoteBack to top 

das mit dem Avataren musst du im Admin-panel einstellen und zwar unter konfiguration Question

gruß Roger

_________________
Wer wissen will was Spass ist, sollte mal ne KILO-GIXXER fahren!!
Forum
OfflineView user's profileSend private messageSend e-mailVisit poster's websiteICQ Number
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.This topic is locked: you cannot edit posts or make replies.

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum

Similar Topics
Topic Author Forum Replies Posted
Neu install und kein Forum da agm-admin Installation / Upgrade 1 Tue 26 May, 2009 18:17 View latest post
Suche diverse Mods Hunter phpBB2.x - MOD Support 2 Sun 03 May, 2009 19:38 View latest post
Frage zum Portal - Board Navigation blackyx Support allgemein 0 Wed 22 Apr, 2009 00:31 View latest post
kb_mod Install Probleme baba_n phpBB2.x - MOD Support 1 Thu 02 Apr, 2009 07:39 View latest post
Frage maxee phpBB2.x - Diskussion 1 Sun 29 Mar, 2009 20:07 View latest post