BetaONE will rise again!


Reply
  #1  
Old 26th Jul 03, 11:52 PM
Sephiroth Sephiroth is offline
BetaONE Supporter
 
Join Date: Jul 2001
Posts: 1,979
Sephiroth is an unknown quantity at this point
Send a message via MSN to Sephiroth
If so, can you help me translate something? I'm trying to install something on the board here, but the readme is written in german... and even when I run it through babelfish I still can't understand half of what it's telling me to do. If anybody does, could you please go through the German in this file and translate for me?

nevermind - see my post below, thanks though

Code:
//-------------------------------------- // 3. Topics.php //-------------------------------------- // finde: * * * *//------------------------------------- * * * *// Get the forum info based on the forum ID, get the category name, ID, and get the topic details * * * *//------------------------------------- * * * * * * * *$DB->query("SELECT t.*, f.thank_you, f.name as forum_name,.................................... // (es folgt noch mehr code in dieser zeile, aber da er hier irrelevant ist, habe ich den code ausschnitt verkürzt.) // ERSETZE EXAKT den folgenden Teil darin: f.name as forum_name, // durch: f.thank_you, f.name as forum_name, //------------------------------------------------------------ // Einige Zeilen tiefer findest Du folgendes: 'name' * * * * => $this->topic['forum_name'] * * * *, // füge folgendes darunter ein: 'thank_you' * *=> $this->topic['thank_you'] * * * * , //------------------------------------------------------------ // finde: function reply_button() { // füge DARÜBER folgendes ein: function thanx_button($thankYouAllow) { *global $ibforums; if($thankYouAllow > 0){ * *if ($this->topic['state'] == 'closed') *{ * // Do we have the ability to post in * // closed topics? * * if ($ibforums->member['g_post_closed'] == 1) * { * *return "<a href='{$this->base_url}&act=thanx&f=".$this->forum['id']."&t=".$this->topic['tid']."'><{A_THANKS}></a>"; * } * else * { * *return " "; * } *} * *if ($this->topic['state'] == 'moved') *{ * return " "; *} * *if ($this->topic['poll_state'] == 'closed') *{ * return " "; *} * *return "<a href='{$this->base_url}&act=thanx&f=".$this->forum['id']."&t=".$this->topic['tid']."'><{A_THANKS}></a>"; }else{ *return " "; } } //------------------------------------------------------------ //finde: $this->topic['REPLY_BUTTON'] *= $this->reply_button(); // füge DARUNTER folgendes ein: $this->topic['THANX_BUTTON'] *= $this->thanx_button($this->forum['thank_you']); //------------------------------------------------------------ // finde: ORDER BY p.pid LIMIT $first, ".$ibforums->vars['display_max_posts']); // ERSETZE mit: ORDER BY p.post_date LIMIT $first, ".$ibforums->vars['display_max_posts']); //------------------------------------------------------------ //------------------------------------------------------------ //-------------------------------------- // 3. skin/sx/skin_topic.php (Solltest Du mehrere Skins installiert haben, // so musst Du diesen Schritt für alle Deine skin_topics in den einzelnen Skin // Verzeichnissen wiederholen) //-------------------------------------- // finde (zweimal): {$data[TOPIC][REPLY_BUTTON]} // ERSETZE jeweils mit: {$data[TOPIC][THANX_BUTTON]}{$data[TOPIC][REPLY_BUTTON]} //------------------------------------------------------------ //------------------------------------------------------------ //-------------------------------------- // 4. index.php //-------------------------------------- // finde: 'buddy' * *=> "browsebuddy", // füge DARÜBER folgendes ein: 'thanx' * *=> "Thanks", //------------------------------------------------------------ //------------------------------------------------------------ //-------------------------------------- // 5. config_global.php //-------------------------------------- // Füge eine neue Zeile am Ende ein (direkt über dem "?>") $INFO['thank_id'] * = '1'; //------------------------------------------------------------ //------------------------------------------------------------ //-------------------------------------- // 6. sources/Admin/ad_settings.php //-------------------------------------- // finde: *$ADMIN->html .= $SKIN->add_td_row( array( "<b>Number Formatting</b><br>You may choose which character to separate thousands from hundreds<br>(EG: USA & UK use a comma)" , * * * * * *$SKIN->form_dropdown( 'number_format', * * * * * * * * * array( * * * * * * * * * * 0 => array( 'none', 'Don\'t format' ), * * * * * * * * * * 1 => array( 'space' , 'Space' ), * * * * * * * * * * 2 => array( ',' , ',' ), * * * * * * * * * * 3 => array( '.' , '.' ), * * * * * * * * * * *), * * * * * * * * * $INFO['number_format'] *) * * * * ) * * *); // füge darunter folgendes ein: *//----------------------------------------------------------------------------------------------------------- * * * * *$ADMIN->html .= $SKIN->add_td_basic( 'Thank You Button', 'left', 'catrow2' ); * *//----------------------------------------------------------------------------------------------------------- * * * * * $ADMIN->html .= $SKIN->add_td_row( array( "<b>User ID for 'Mr. Thank You'</b>" , * * * * * *$SKIN->form_input( "thank_id", $INFO['thank_id'] *) * * * * ) * * *); //------------------------------------------------------------ // suche nach: 'debug_level', 'sql_debug' // ERSETZE durch: 'debug_level', 'sql_debug', 'thank_id' //------------------------------------------------------------ //------------------------------------------------------------ //-------------------------------------- // 7. sources/Admin/ad_forums.php // DU MUSST DIESEN TEIL 4 MAL MACHEN!!! // Ein und derselbe Code kommt vier mal in der Datei // vor und beide Schritte müssen alle vier mal wie beschrieben // durchgeführt werden! //-------------------------------------- // suche nach: *$ADMIN->html .= $SKIN->add_td_row( array( "<b>Posts in this forum increase member post count?</b>" , * * * * * * *$SKIN->form_yes_no("inc_postcount", $forum['inc_postcount'] ) * * * * * * *) * * *); // füge darunter ein: *$ADMIN->html .= $SKIN->add_td_row( array( "<b>Allow the 'Thank You' Function in this Forum?</b>" , * * * * * * *$SKIN->form_yes_no("thank_you", $forum['thank_you'] ) * * * * * * *) * * *); //------------------------------------------------------------ // suche nach: 'sub_can_post' * * *=> $IN['sub_can_post'], // füge darunter ein: 'thank_you' * * => $IN['thank_you'], //------------------------------------------------------------ //------------------------------------------------------------ //-------------------------------------- // 8. ACP //-------------------------------------- --> *Skins & Templates >> Manage HTML Templates >> Template Tool (für alle installierten Skins) //-------------------------------------- --> Skins & Templates >> Manage Macros >> EDIT >> Add a Macro: Macro Key: A_THANKS Macro Replacement: <img src='style_images/<#IMG_DIR#>/t_thanks.gif' border='0' *alt=''> //-------------------------------------- --> Als nächstes müssen wir dem Forum sagen, wessen User-ID er bei dem erstellen der Thank You Posts verwenden soll, hierbei ist wichtig, die User-ID und nicht den Usernamen zu verwenden! Gehe im ACP nach: Board Settings >> Basic Config >> User ID for 'Mr. Thank You' und trage dort die gewünschte ID ein WICHTIG -> Die User ID sollte später möglichst nicht mehr gewechselt werden, da es sonst zu Problemen kommen kann! //-------------------------------------- --> Last but not least, müssen wir die Funktion für die gewünschten Foren freischalten (default ist aus!) Forum Control >> Manage >> Allow the 'Thank You' Function in this Forum? (YES/NO) //-------------------------------------- Das war´s schon, viel Spass damit :) Koksi [ Koksi@ibforen.de ] //------------------------------------------------------------------ ###################################### ## * * Hide Hack integration * * * *## ###################################### // Wenn Du bereits den Hide Hack von spoon110 benutzt, kannst Du den Thank You Hack dahingehend implementieren, // dass auch ein Klick auf den Danke Button "unhided" // Alles was Du dazu tun musst, ist folgendes: // Öffne sources/Topics.php und suche nach folgendem Code: // ############### HIDE (LOCK) HACK ################### $DB->query("SELECT author_name FROM ib_beta_posts WHERE topic_id='".$this->topic['tid']."'"); while($info = $DB->fetch_row()) { $allposters[] = $info['author_name']; } // ############### HIDE (LOCK) HACK ################### // ERSETZE diesen durch: // ############### HIDE (LOCK) HACK ################### $DB->query("SELECT author_name FROM ib_beta_posts WHERE topic_id='".$this->topic['tid']."'"); while($info = $DB->fetch_row()) { $allposters[] = $info['author_name']; } $DB->query("SELECT user_name FROM ib_beta_thanks WHERE topic_id='".$this->topic['tid']."'"); while($info = $DB->fetch_row()) { $allposters[] = $info['user_name']; } // ############### HIDE (LOCK) HACK ################### //------------------------------------------------------------------
Reply With Quote
  #2  
Old 27th Jul 03, 12:10 AM
Sephiroth Sephiroth is offline
BetaONE Supporter
 
Join Date: Jul 2001
Posts: 1,979
Sephiroth is an unknown quantity at this point
Send a message via MSN to Sephiroth
nevermind... poolman found a copy of it in english thankfully
Reply With Quote
  #3  
Old 27th Jul 03, 09:37 AM
Kawadevil Kawadevil is offline
Member
 
Join Date: Feb 2003
Posts: 61
Kawadevil
I can read it, it's more of a help thing for the code. :P
But you got an English one.
Reply With Quote
  #4  
Old 28th Jul 03, 06:58 PM
JacKDynne's Avatar
JacKDynne JacKDynne is offline
Administrator
 
Join Date: Oct 2001
Location: The Past Through Tomorrow
Posts: 1,591
JacKDynne will become famous soon enoughJacKDynne will become famous soon enough
Send a message via MSN to JacKDynne
Only german I know is from that Def Leppard song:

Ooondack Neeeebin Gowtin Globin....

or ummmm......erm.....something like that

/JD
__________________


Reply With Quote
  #5  
Old 28th Jul 03, 07:03 PM
Kawadevil Kawadevil is offline
Member
 
Join Date: Feb 2003
Posts: 61
Kawadevil
Was sagen Sie Jack?
Reply With Quote
  #6  
Old 31st Jul 03, 03:13 PM
JacKDynne's Avatar
JacKDynne JacKDynne is offline
Administrator
 
Join Date: Oct 2001
Location: The Past Through Tomorrow
Posts: 1,591
JacKDynne will become famous soon enoughJacKDynne will become famous soon enough
Send a message via MSN to JacKDynne
I think it was "Rock of Ages" from the Pyromania Album

Heres the lyrics:

ROCK OF AGES
Def Leppard
Pyromania

Gunter gleiben glauchen globen
All right
I got somethin' to say
Yeah, it's better to burn out
Yeah, than fade away
All right
Ow gonna start a fire
C'mon!

Rise up! Gather round
Rock this place to the ground
Burn it up, let's go for broke
Watch the night go up in smoke
Rock on! Rock on!
Drive me crazier, no serenede
No fire brigade, just Pyromania (c'mon)

What do you want? What do you want?
I want rock'n'roll, yes I do
Long live rock'n'roll
Oh let's go, let's strike a light
We're gonna blow like dynamite
I don't care if it takes all night
Gonna set this town alight

What do you want? What do you want?
I wan't rock'n'roll, alright!
Long live rock'n'roll

Rock of ages, rock of ages
Still rollin', keep a-rollin'
Rock of ages, rock of ages
Still rollin', rock'n'rollin'
We got the power, got the glory
Just say you need it and if you need it
Say yeah!
Heh heh heh heh
Now listen to me

I'm burnin', burnin', I got the fever
I know for sure, there ain't no cure
So feel it, don't fight it, go with the flow
Gimme, gimme, gimme, gimme one more for the road

What do you want? What do you want?
I want rock'n'roll, You betcha
Long live rock'n'roll

Repeat chorus

We're gonna burn this damn place down
Down to the ground
Heh heh heh heh heh heh heh heh heh heh



/JD
__________________


Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:59 PM.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.