Hilfe bei Einbau der Nickpage in mein Template
lima-city → Forum → Programmiersprachen → PHP, MySQL & .htaccess
after
aktivieren
all
bild
code
datei
eintrag
email
forum
galerie
gel
hilfe
image
navigation
not
page
portal
setting
sperren
url
-
Hallo Freunde,
ich habe ein Anliegen an euch ich habe bei mir das orange Template installiert, achja habe phpbb plus drauf l?uft auch wunderbar. Aber jetzt habe ich das nickpage addon bei mir installiert und l?uft auch *g* jedoch sehe ich nicht den Button der Nickpage bzw. kann ich nicht hunzuf?gen, habe deswegen jemanden im I-Net gefragt und der konnte mir eine Hilfe Datei f?r ?nf?nger geben *loL* Blick da nicht durch kann mir bitte jemand helfen *heul*
Hier die Hilfe die ich bekommen habe
##########################################
#Anleitung zum manuellen Einbau des Nickpage MOD f?r plus 1.5.2
#
#created and released by www.emule@boinc.de
##########################################
#included files
#admin/admin_nickpage.php
#admin/admin_nickpage_prune.php
#admin/admin_nickpage_sperren.php
#admin/index.php
#images/nickpage/"all needed images"
#language/lang_english/email/nickpagegb_notify.tpl
#language/lang_german/email/nickpagegb_notify.tpl
#templates/nickpage/"all neded .tpl and images"
#nickpage.php
#nickpage_admin.php
#nickpage_gb.php
#nickpage_install.php
#nickpage_list.php
#nickpage_vote.php
#viewtopic.php
#
#
#files to edit
#
#includes/constants.php
#includes/page_header.php
#includes/usercp_viewprofile.php
#language/lang_english/lang_admin.php
#language/lang_english/lang_main.php
#language/lang_german/lang_admin.php
#language/lang_german/lang_main.php
#templates/[color=red]"dein template"[/color]/[color=red]deine #template[/color].cfg
#templates/[color=red]"dein template"[/color]/overall_header.tpl
#templates/[color=red]"dein template"[/color]/portal_body.tpl
#templates/[color=red]"dein template"[/color]/profile_view_body.tpl
#templates/[color=red]"dein template"[/color]/viewtopic_body.tpl
#portal.php
#viewtopic.php
##########################################
#
#Time to edit 60 Minuten bei Anf?ngern
#
#
lade die "nickpage_install.php" in das Hauptverzeichnis deines PHPbbplus 1.5.2 Board's.
Logge dich als Admin in dein Boad ein und f?hre die Datei nickpage_install.php aus.
l?sche die dai wieder.
uploade die Dateien im "nickpage_addon_f_plus152.zip"
-----[ OPEN ]-----
includes/constants.php
-----[ FIND ]-----
define('PAGE_STAFF', -22);
-----[ AFTER, ADD ]-----
define('PAGE_NICKPAGE', -99);
-----[ FIND ]-----
?>
-----[ BEFORE, ADD ]-----
//Nickpage
define('NICKPAGE_TABLE', $table_prefix.'nickpagemod');
define('BUDDIE_TABLE', $table_prefix.'nickpagebuddies');
define('FAVORITEN_TABLE', $table_prefix.'nickpagefavs');
define('GAESTEBUCH_TABLE', $table_prefix.'nickpagegb');
define('GALERIE_TABLE', $table_prefix.'nickpagegalerie');
define('VOTES_TABLE', $table_prefix.'nickpagevotes');
define('NICKPAGECONFIG_TABLE', $table_prefix.'nickpageconf');
define('PAGE_NICKPAGE', -15);
-----[ OPEN ]-----
includes/page_header.php
-----[ FIND ]-----
//-- fin mod : ranks -------------------------------------------------------------------------------
//
-----[ AFTER, ADD ]-----
//Nickpagelink zeigen?
//
if ( $userdata['session_logged_in'] )
{
//Nickpage vorhanden?
$sql = "SELECT COUNT(uid) AS zaehle FROM ".NICKPAGE_TABLE." WHERE uid='".$userdata['user_id']."'";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Konnte Querrie nicht ausf?hren!', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
//Konfiguration (ab wieviel posts...)
$sql = "SELECT anzahl_posts FROM ".NICKPAGECONFIG_TABLE;
if( !($result2 = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Konnte Querrie nicht ausf?hren!', '', __LINE__, __FILE__, $sql);
}
$row2 = $db->sql_fetchrow($result2);
if($row['zaehle'] == "1" OR $row2['anzahl_posts'] <= $userdata['user_posts'])
{
$template->assign_block_vars('Shownickpagebutton',array(
'U_NICKPAGE' => append_sid('nickpage.'.$phpEx.'?admin='.$userdata['username']),
));
}
}
-----[ OPEN ]-----
includes/usercp_viewprofile.php
-----[ FIND ]-----
$profiledata = get_userdata($HTTP_GET_VARS[POST_USERS_URL]);
-----[ AFTER, ADD ]-----
//
//Nickpage
//
$sql = "SELECT COUNT(uid) AS zaehle FROM ".NICKPAGE_TABLE." WHERE uid='".$_GET['u']."'";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Querrie-Fehler', '', __LINE__, __FILE__, $sql);
}
$row = $db->sql_fetchrow($result);
if($userdata['user_id'] == $_GET['u'] OR $row['zaehle'] == "1")
{
$server_protocol = ($board_config['cookie_secure']) ? 'https://' : 'http://';
$server_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['server_name']));
$server_port = ($board_config['server_port'] <> 80) ? ':' . trim($board_config['server_port']) : '';
$script_name = preg_replace('#^\/?(.*?)\/?$#', '\1', trim($board_config['script_path']));
$script_name = ($script_name == '') ? $script_name : '/' . $script_name;
$url = append_sid('nickpage.'.$phpEx.'?user='.$profiledata['username']);
$pm_img ='<a href="' . $temp_url . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
$nickpage = '<a href="'.$url.'"><img src="' . $images['Nickpage_button'] . '" border="0" alt="'.$server_protocol.$server_name.$server_port.$script_name.'/'.$url.'"></a>';
}
else
{
$nickpage = 'nicht eingerichtet';
}
-----[ FIND ]-----
'USERNAME' => $profiledata['username'],
-----[ BEFORE, ADD ]-----
'U_NICKPAGE' => $nickpage,
-----[ OPEN ]-----
language/lang_english/lang_admin.php
-----[ FIND ]-----
//
// That's all Folks!
// -------------------------------------------------
-----[ BEFORE, ADD ]-----
//
//Nickpage Allgemein
//
$lang['Nickpage'] = "Nickpage";
$lang['General_nickpage'] = "General Nickpage Settings";
$lang['Beschreibung_general_nickpage'] = "Here you can edit the general Nickpage Settings of your Forum. To disable single Nickpages please use <i>Edit Nickpages</i> in the Navigation.";
$lang['Anzahl_postings'] = "How many postings does a User need to create a Nickpage?";
$lang['Registered_only'] = "Only registered Users can see Nickpages?";
$lang['Buddielist'] = "maximum Ammount of Buddies?";
$lang['Favlinks'] = "maximale Ammount of Favorite Links?";
$lang['Guestbook'] = "Guestbook";
$lang['Allow_guestbook'] = "Activate Guestbook?";
$lang['Entry_per_page'] = "How many Guestbook Entrys on a page?";
$lang['Guestbook_guestwriter'] = "Should only registered Users be allowed to write to the guestbooks?";
$lang['Galerie'] = "Gallery";
$lang['Allow_galerie'] = "Activate Gallery?";
$lang['Galerie_maxpics'] = "Maximum Pictures on Nickpage?";
$lang['GD'] = "Which GD Version is running on your Server?";
$lang['GD_1'] = "< 1.6";
$lang['GD_2'] = "> 1.6";
$lang['GD_3'] = "> 2.0.1";
$lang['Kreatives'] = "Creative Pages";
$lang['Allow_kreatives'] = "Activate Creative Pages?";
//
//Nickpage Pages sperren
//
$lang['Sperren'] = "Edit Nickpages";
$lang['Beschreibung_sperren_nickpage'] = "Here you can enable or disable existing Nickpages.";
$lang['Sperren_nickpage'] = "disable Nickpage";
$lang['Sperren_go'] = "Disable";
$lang['Sperren_search'] = "Find User";
$lang['Gesperrt_nickpage'] = "disabled Nickpages";
$lang['Gesperrt_aktion'] = "Enable";
//
//Nickpage Pruning
//
$lang['PRUNE'] = "You can merge existing Forum User with the Nickpages here.<br>Nickpages of deleted Users will be also deleted !";
$lang['WHAT_YOU_WANT_TO_DO'] = 'What do you want to do?';
$lang['PRUNE_NOT_EXISTENT'] = 'Deleting Nickpages of not existing Users (deleted Useraccounts)';
$lang['Nickpage_prune_ready'] = 'Nickpage Pruning done';
$lang['Nickpage_pruned_users'] = 'Nickpages and their Data has been deleted.';
$lang['Nickpage_pruned_np'] = 'deleted Nickpages';
$lang['Nickpage_pruned_gb'] = 'deleted Guestbook Entrys';
$lang['Nickpage_pruned_ga'] = 'deleted Pics';
$lang['Nickpage_pruned_bu'] = 'deleted Buddies';
$lang['Nickpage_pruned_li'] = "deleted URL's";
$lang['Nickpage_pruned_vo'] = 'deleted Votings';
-----[ OPEN ]-----
language/lang_english/lang_main.php
-----[ FIND ]-----
// That's all, Folks!
// -------------------------------------------------
//
-----[ BEFORE, ADD ]-----
//Header und Navigation
$lang['NP_NOT_ACTIVATED'] = 'Your Nickpage is not created!<br><br>Do you want to create it now ?';
$lang['NP_NOT_ACTIVATED_2'] = 'Your Nickpage is not created yet!';
$lang['NP_NEEDED_POSTS'] = 'You still need <b>'.$posts.'</b> Postings to create your own Nickpage.';
$lang['NP_NICKPAGE_REQUEST'] = 'A Nickpage has to be called like this:<br><br><b>nickpage.php?user=Nicknameofyourchoice</b>';
$lang['NP_NICKPAGE_OF'] = 'Nickpage from';
$lang['NP_VOTE_FOR'] = 'rated this Nickpage';
$lang['NP_LAST_ONLINE'] = 'last online';
$lang['NP_STATUS'] = 'Status';
$lang['NP_VISITS'] = 'Visits';
$lang['NP_NAVIGATION'] = 'Navigation';
$lang['NP_HOME'] = 'Home';
$lang['NP_SELFMADE'] = 'Creatives';
$lang['NP_GALERIE'] = 'Gallery';
$lang['NP_PM_ME'] = 'PM to me';
$lang['NP_GB_ENTRY'] = 'GB Entry';
$lang['NP_ADMIN'] = 'Admin';
$lang['NP_FAVORTIE_URL'] = 'Top Links';
$lang['NP_BUDDY'] = 'Buddies';
$lang['NP_VOTES'] = 'Ratings';
$lang['NP_YES'] = 'yes';
$lang['NP_NO'] = 'no';
$lang['NP_STOP'] = 'Access denied';
$lang['NP_WINDOW_CLOSE'] = 'This Window will close in 5 seconds.';
$lang['NP_BUDDY_ADD_ME'] = 'Add me to your Buddylist';
//Allgemein
$lang['NP_NAME'] = 'Name';
$lang['NP_OLD'] = 'Age';
$lang['NP_FROM'] = 'City';
$lang['NP_EMAIL'] = 'Email';
$lang['NP_WEBSITE'] = 'Website';
$lang['NP_INTERESTS'] = 'Hobbys';
$lang['NP_GUESTBOOK'] = 'Guestbook';
$lang['NP_SITE'] = 'Site';
$lang['NP_WRITE_ON'] = 'wrote on';
$lang['NP_NEXT_SITE'] = 'next Page';
$lang['NP_SITE_BEFORE'] = 'previous Page';
$lang['NP_GB_BUTTON'] = 'Create Entry';
//Galerie
$lang['NP_NEXT'] = 'next';
$lang['NP_BEFORE'] = 'back';
$lang['NP_PIC_ALT'] = 'hit it';
//Guestbook Entry
$lang['NP_GUESTBOOK_AT'] = 'Guestbookentry to';
$lang['NP_WARNING'] = 'HTML is <b><font color="red">deactivated</b></font>, BB-CODE is <b><font color="green">activated</font></b>, , Smilie-Code is <b><font color="green">activated</font></b>';
$lang['NP_YOUR_NAME'] = 'Your Name';
$lang['NP_MESSAGE_TO'] = 'Message to';
$lang['NP_ADD_ENTRY'] = 'Add Entry';
$lang['NP_RESET_ENTRY'] = 'Reset';
$lang['NP_GB_THX'] = 'Thank you for your Guestbook Entry';
$lang['NP_GB_USER_WANTS'] = 'wants, that only registered Users can add Entrys to his Guestbook';
$lang['NP_GB_REGISTERED_ONLY'] = 'only registered Users are allowed to create Guestbook Entrys';
$lang['NP_GB_FORBIDDEN_FROM_ADMIN'] = 'The Guestbook has been deactivated by the Administrator';
//Vote
$lang['NP_VOTE'] = 'Rate';
$lang['NP_CHOOSE'] = 'select';
$lang['NP_FANTASTIC'] = 'very good';
$lang['NP_GOOD'] = 'good';
$lang['NP_NORMAL'] = 'geht so';
$lang['NP_BAD'] = 'schlecht';
$lang['NP_VERY_BAD'] = 'sehr schlecht';
$lang['NP_DO_VOTE'] = 'Rate';
$lang['NP_VOTES_BEFORE'] = 'You already rated this User .';
$lang['NP_NOT_ALLOWED'] = 'You are not allowed to rate this User!';
$lang['NP_VOTE_THX'] = 'Thanks for your Rating';
//Nickpage CMS
$lang['NP_BACK_TO_NICKPAGE'] = 'back to Nickpage';
$lang['NP_CONFIGURATION'] = 'General Configuration';
$lang['NP_SECURITY'] = 'Security';
$lang['NP_GUESTBOOK'] = 'Guestbook';
$lang['NP_BIRTHDAY'] = 'Date of birth (DD.MM.YY)';
$lang['NP_BIRTHDAY_COMMENT'] = '(If you do not want to display your Age,<br>leave all 3 Fields blank!)';
$lang['NP_SHOW_EMAIL'] = 'Show Emailaddy';
$lang['NP_SHOW_EMAIL_COMMENT'] = '(This setting also changes <br>your general Forum Settings!)';
$lang['NP_INFORMATION'] = 'Information';
$lang['NP_SPECIALNICKNAME'] = 'Special Nickname';
$lang['NP_USERPIC'] = 'Userpic (200x200,PNG/GIF/JPEG)';
$lang['NP_SAFE'] = 'Save';
$lang['NP_SETBACK'] = 'Reset';
$lang['NP_ADD_LINK'] = 'Add Link';
$lang['NP_LINK_NAME'] = 'Description';
$lang['NP_LINK_ADRESS'] = 'URL';
$lang['NP_EDIT_LINK'] = 'Edit Links';
$lang['NP_EDIT'] = 'Edit';
$lang['NP_DELETE'] = 'Delete';
$lang['NP_ADD_BUDDY'] = 'Add Buddy';
$lang['NP_NICKNAME'] = 'Nickname';
$lang['NP_NICKNAME_SEARCH'] = 'Find Nickname';
$lang['NP_ADD_GALERIE'] = 'Add Pic';
$lang['NP_PIC'] = 'Pic';
$lang['NP_PIC_TITLE'] = 'Description';
$lang['NP_ADD_SELFMADE'] = 'make Creatives';
$lang['NP_SECURITY_SETTINGS'] = 'Edit Security Settings';
$lang['NP_REGISTERED_ONLY_VIEW'] = 'Only registered Users are allowed to view my Nickpage';
$lang['NP_REGISTERED_ONLY_GB'] = 'Only registered Users are allowed to write into my Guestbook';
$lang['NP_MANAGE_GUESTBOOK'] = 'Edit Guestbook Entrys';
$lang['NP_AUTHOR'] = 'Author';
$lang['NP_DATE'] = 'Date';
$lang['NP_TIME'] = 'Time';
$lang['NP_ENTRY'] = 'Entry';
$lang['NP_DELETE_PIC'] = 'Delete Pic';
$lang['NP_GB_EMAIL'] = 'Send Email if a new Guestbook Entry was created ?';
//Notification
$lang['Notification_nickpage_subject'] = 'new Guestbook Entry exists';
//Adminref
$lang['NICKPAGE'] = "Display a Nickpage";
$lang['Name'] = 'Name';
$lang['Alter'] = 'Age';
$lang['Userpic'] = 'Photo';
$lang['Eintraege'] = 'GB-Entrys';
$lang['Bilder'] = 'Gal-Pics';
$lang['Zugang'] = 'Enter';
$lang['Recent_Nickpages'] = "Recent Nickpages";
$lang['No_Recent_Nickpages'] = "No Nickpages available";
$lang['Nickpagelist'] = "Nickpage List";
-----[ OPEN ]-----
language/lang_german/lang_admin.php
-----[ FIND ]-----
// That's all Folks!
-----[ BEFORE, ADD ]-----
//
//Nickpage Allgemein
//
$lang['Nickpage'] = "Nickpage";
$lang['General_nickpage'] = "Allgemeine Nickpage Einstellungen";
$lang['Beschreibung_general_nickpage'] = "Hier k?nnen Sie die allgemeinen Einstellungen zu den Nickpages Ihres Forums treffen. Um einzelne Nickpages zu sperren verwenden Sie bitte <i>Nickpages verwalten</i> in der Navigation.";
$lang['Anzahl_postings'] = "Wie viele Postings ben?tigt ein User, um eine Nickpage erstellen zu d?rfen?";
$lang['Registered_only'] = "Nur eingeloggte User d?rfen Nickpages einsehen?";
$lang['Buddielist'] = "maximale Anzahl an Buddies?";
$lang['Favlinks'] = "maximale Anzahl an Favorite Links?";
$lang['Guestbook'] = "G?stebuch";
$lang['Allow_guestbook'] = "G?stebuch aktivieren?";
$lang['Entry_per_page'] = "Anzahl der G?stebucheintr?ge pro Seite?";
$lang['Guestbook_guestwriter'] = "Sollen nur eingeloggte User in die G?steb?cher schreiben d?rfen?";
$lang['Galerie'] = "Galerie";
$lang['Allow_galerie'] = "Galerie aktivieren?";
$lang['Galerie_maxpics'] = "Maximale Anzahl an Bildern pro Nickpage?";
$lang['GD'] = "Welche GD l?uft auf dem Server?";
$lang['GD_1'] = "< 1.6";
$lang['GD_2'] = "> 1.6";
$lang['GD_3'] = "> 2.0.1";
$lang['Kreatives'] = "Kreativseiten";
$lang['Allow_kreatives'] = "Kreativseiten aktivieren?";
//
//Nickpage Pages sperren
//
$lang['Sperren'] = "Nickpages verwalten";
$lang['Beschreibung_sperren_nickpage'] = "Hier k?nnen Sie bereits erstellte Nickpages sperren und entsperren.";
$lang['Sperren_nickpage'] = "Nickpage sperren";
$lang['Sperren_go'] = "Sperren";
$lang['Sperren_search'] = "User finden";
$lang['Gesperrt_nickpage'] = "gesperrte Nickpages";
$lang['Gesperrt_aktion'] = "Entsperren";
//
//Nickpage Pruning
//
$lang['PRUNE'] = "Hier werden existente Forenuser mit den Nickpages und deren Daten abgeglichen.<br>Nickpagedaten bereits gel?schter User werden ohne Erbarmen gel?scht.";
$lang['WHAT_YOU_WANT_TO_DO'] = 'Was m?chtest du tun?';
$lang['PRUNE_NOT_EXISTENT'] = 'L?schen von Nickpages nicht existenter User (gel?schter Useraccounts)';
$lang['Nickpage_prune_ready'] = 'Nickpage Pruning abgeschlossen';
$lang['Nickpage_pruned_users'] = 'Nickpages und deren Daten wurden gel?scht.';
$lang['Nickpage_pruned_np'] = 'gel?schte Nickpages';
$lang['Nickpage_pruned_gb'] = 'gel?schte G?stebucheintr?ge';
$lang['Nickpage_pruned_ga'] = 'gel?schte Bilder';
$lang['Nickpage_pruned_bu'] = 'gel?schte Buddies';
$lang['Nickpage_pruned_li'] = "gel?schte URL's";
$lang['Nickpage_pruned_vo'] = 'gel?schte Votings';
-----[ OPEN ]-----
language/lang_german/lang_main.php
-----[ FIND ]-----
// That's all Folks!
-----[ BEFORE, ADD ]-----
//Header und Navigation
$lang['NP_NOT_ACTIVATED'] = 'Deine Nickpage ist bisher nicht eingerichtet!<br><br>M?chtest du das jetzt tun?';
$lang['NP_NOT_ACTIVATED_2'] = 'Deine Nickpage ist bisher nicht eingerichtet!';
$lang['NP_NEEDED_POSTS'] = 'Du ben?tigst noch <b>'.$posts.'</b> Posts, um dir eine Nickpage anzulegen.';
$lang['NP_NICKPAGE_REQUEST'] = 'Eine Nickpage ist in folgender Form aufzurufen:<br><br><b>nickpage.php?user=NicknamedeinerWahl</b>';
$lang['NP_NICKPAGE_OF'] = 'Nickpage von';
$lang['NP_VOTE_FOR'] = 'bewerte diese Nickpage';
$lang['NP_LAST_ONLINE'] = 'zuletzt online';
$lang['NP_STATUS'] = 'Status';
$lang['NP_VISITS'] = 'Visits';
$lang['NP_NAVIGATION'] = 'Navigation';
$lang['NP_HOME'] = 'Home';
$lang['NP_SELFMADE'] = 'Kreatives';
$lang['NP_GALERIE'] = 'Galerie';
$lang['NP_PM_ME'] = 'PM an mich';
$lang['NP_GB_ENTRY'] = 'GB Eintrag';
$lang['NP_ADMIN'] = 'Admin';
$lang['NP_FAVORTIE_URL'] = 'Top Links';
$lang['NP_BUDDY'] = 'Buddies';
$lang['NP_VOTES'] = 'Bewertungen';
$lang['NP_YES'] = 'ja';
$lang['NP_NO'] = 'nein';
$lang['NP_STOP'] = 'Zugriff verwehrt';
$lang['NP_WINDOW_CLOSE'] = 'Das Fenster schlie?t sich in 5 Sekunden.';
$lang['NP_BUDDY_ADD_ME'] = 'F?ge mich deiner Buddielist hinzu';
//Allgemein
$lang['NP_NAME'] = 'Name';
$lang['NP_OLD'] = 'Alter';
$lang['NP_FROM'] = 'Wohnort';
$lang['NP_EMAIL'] = 'Email';
$lang['NP_WEBSITE'] = 'Webseite';
$lang['NP_INTERESTS'] = 'Hobbies';
$lang['NP_GUESTBOOK'] = 'G?stebuch';
$lang['NP_SITE'] = 'Seite';
$lang['NP_WRITE_ON'] = 'schreibt am';
$lang['NP_NEXT_SITE'] = 'n?chste Seite';
$lang['NP_SITE_BEFORE'] = 'vorherige Seite';
$lang['NP_GB_BUTTON'] = 'Eintrag vornehmen';
//Galerie
$lang['NP_NEXT'] = 'vor';
$lang['NP_BEFORE'] = 'zur?ck';
$lang['NP_PIC_ALT'] = 'hau mal drauf';
//Guestbook Entry
$lang['NP_GUESTBOOK_AT'] = 'G?stebucheintrag an';
$lang['NP_WARNING'] = 'HTML ist <b><font color="red">deaktiviert</b></font>, BB-CODE ist <b><font color="green">aktiviert</font></b>, , Smilie-Code ist <b><font color="green">aktiviert</font></b>';
$lang['NP_YOUR_NAME'] = 'Dein Name';
$lang['NP_MESSAGE_TO'] = 'Message an';
$lang['NP_ADD_ENTRY'] = 'Eintrag hinzuf?gen';
$lang['NP_RESET_ENTRY'] = 'Zur?cksetzen';
$lang['NP_GB_THX'] = 'Vielen Dank f?r deinen G?stebucheintrag.';
$lang['NP_GB_USER_WANTS'] = 'm?chte, das nur registrierte Forenbenutzer in sein G?stebuch schreiben d?rfen';
$lang['NP_GB_REGISTERED_ONLY'] = 'nur registrierte Forenbenutzer d?rfen in die G?steb?cher schreiben';
$lang['NP_GB_FORBIDDEN_FROM_ADMIN'] = 'Das G?stebuch wurde durch den Administrator deativiert';
//Vote
$lang['NP_VOTE'] = 'Bewerte';
$lang['NP_CHOOSE'] = 'w?hle aus';
$lang['NP_FANTASTIC'] = 'sehr gut';
$lang['NP_GOOD'] = 'gut';
$lang['NP_NORMAL'] = 'geht so';
$lang['NP_BAD'] = 'schlecht';
$lang['NP_VERY_BAD'] = 'sehr schlecht';
$lang['NP_DO_VOTE'] = 'Bewertung abgeben';
$lang['NP_VOTES_BEFORE'] = 'Du hast diesen User bereits bewertet .';
$lang['NP_NOT_ALLOWED'] = 'Du bist nicht befugt, diesen User zu bewerten!';
$lang['NP_VOTE_THX'] = 'Vielen Dank f?r deine Bewertung.';
//Nickpage CMS
$lang['NP_BACK_TO_NICKPAGE'] = 'zur?ck zur Nickpage';
$lang['NP_CONFIGURATION'] = 'Allgemeine Konfiguration';
$lang['NP_SECURITY'] = 'Sicherheit';
$lang['NP_GUESTBOOK'] = 'G?stebuch';
$lang['NP_BIRTHDAY'] = 'Geburtsdatum (TT.MM.JJ)';
$lang['NP_BIRTHDAY_COMMENT'] = '(Ist die Anzeige des Alters nicht erw?nscht,<br>m?ssen alle 3 Felder frei bleiben!)';
$lang['NP_SHOW_EMAIL'] = 'Emailaddy zeigen';
$lang['NP_SHOW_EMAIL_COMMENT'] = '(Diese Ver?nderung wirkt sich auf<br>deine allgemeine Foreneinstellung aus!)';
$lang['NP_INFORMATION'] = 'Information';
$lang['NP_SPECIALNICKNAME'] = 'Spezialnickname';
$lang['NP_USERPIC'] = 'Userpic (200x200,PNG/GIF/JPEG)';
$lang['NP_SAFE'] = 'Speichern';
$lang['NP_SETBACK'] = 'Zur?cksetzen';
$lang['NP_ADD_LINK'] = 'Link hinzuf?gen';
$lang['NP_LINK_NAME'] = 'Bezeichnung';
$lang['NP_LINK_ADRESS'] = 'URL';
$lang['NP_EDIT_LINK'] = 'Links bearbeiten';
$lang['NP_EDIT'] = 'Bearbeiten';
$lang['NP_DELETE'] = 'L?schen';
$lang['NP_ADD_BUDDY'] = 'Buddy hinzuf?gen';
$lang['NP_NICKNAME'] = 'Nickname';
$lang['NP_NICKNAME_SEARCH'] = 'Nickname finden';
$lang['NP_ADD_GALERIE'] = 'Bild hinzuf?gen';
$lang['NP_PIC'] = 'Bild';
$lang['NP_PIC_TITLE'] = 'Bezeichnung';
$lang['NP_ADD_SELFMADE'] = 'mache Kreatives';
$lang['NP_SECURITY_SETTINGS'] = 'Sicherheit einstellen';
$lang['NP_REGISTERED_ONLY_VIEW'] = 'Nur registrierte/eingeloggte User d?rfen meine Nickpage anschauen';
$lang['NP_REGISTERED_ONLY_GB'] = 'Nur registrierte/eingeloggte User d?rfen in mein G?stebuch posten';
$lang['NP_MANAGE_GUESTBOOK'] = 'G?stebucheintr?ge verwalten';
$lang['NP_AUTHOR'] = 'Autor';
$lang['NP_DATE'] = 'Datum';
$lang['NP_TIME'] = 'Zeit';
$lang['NP_ENTRY'] = 'Eintrag';
$lang['NP_DELETE_PIC'] = 'Bild l?schen';
$lang['NP_GB_EMAIL'] = 'Emailbenachrichtigung bei neuen G?stebuch Eintr?gen?';
//Notification
$lang['Notification_nickpage_subject'] = 'neuer G?stebucheintrag vorhanden';
//Adminref
$lang['NICKPAGE'] = "Anzeigen einer Nickpage";
$lang['Name'] = 'Name';
$lang['Alter'] = 'Alter';
$lang['Userpic'] = 'Passbild';
$lang['Eintraege'] = 'GB-Eintraege';
$lang['Bilder'] = 'Gal-Bilder';
$lang['Zugang'] = 'Zugang';
$lang['Recent_Nickpages'] = "Letzte Nickpages";
$lang['No_Recent_Nickpages'] = "Keine Nickpages vorhanden";
$lang['Nickpagelist'] = 'Nickpage Liste';
-----[ OPEN ]-----
templates/[color=red]"dein template"[/color]/[color=red]deine #template[/color].cfg
-----[ FIND ]-----
?>
-----[ BEFORE, ADD ]-----
$images['Nickpage_button'] = "templates/nickpage/nickpage_button_big.gif\" class=\"imgfade\" " . "$ifade";
-----[ OPEN ]-----
templates/[color=red]"dein template"[/color]/overall_header.tpl
-----[ FIND ]-----
<!-- END switch_user_logged_in -->
-----[ AFTER, ADD ]-----
<!-- BEGIN Shownickpagebutton -->
•
<a href="{Shownickpagebutton.U_NICKPAGE}">Nickpage</a>
<!-- END Shownickpagebutton -->
-----[ OPEN ]-----
templates/[color=red]"dein template"[/color]/portal_body.tpl
-----[ FIND ]-----
<img src="templates/fisubsilversh/images/arrow.gif" alt="{L_RECENT}"> <a href="{U_RECENT}">{L_RECENT}</a><br />
-----[ AFTER, ADD ]-----
<img src="templates/fisubsilversh/images/arrow.gif" alt="{L_NICKPAGELIST}"> <a href="{U_NICKPAGELIST}">{L_NICKPAGELIST}</a><br />
-----[ FIND ]-----
<!-- BEGIN switch_none_recentfiles -->
<tr>
<td class="row1" align="left"><span class="gensmall">{L_NO_RECENT_FILE}</span></td>
</tr>
</table>
-----[ AFTER, ADD ]-----
<table border="0" cellpadding="0" cellspacing="0" class="tbl"><tr><td class="tbll"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblbot"><img src="images/spacer.gif" alt="" width="8" height="4" /></td><td class="tblr"><img src="images/spacer.gif" alt="" width="8" height="4" /></td></tr></table>
<br />
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th nowrap="nowrap" colspan="2">{L_Recent_Nickpages}</th>
</tr>
<!-- BEGIN nickpagemod -->
<tr>
<td class="row1"><span class="gensmall"><img src="templates/fisubsilversh/images/post_ind1_bl.gif" /> {nickpagemod.NAME}</span></td>
<td class="row2" align="center"><span class="gensmall">{nickpagemod.LSEEN_TIME}</span></td>
</tr>
<!-- END nickpagemod -->
</table>
[color=red]Thx to Nina3Jungs for this real working Code[/color]
-----[ OPEN ]-----
templates/[color=red]"dein template"[/color]/profile_view_body.tpl
-----[ FIND ]-----
<td class="genmed">{GALLERY_IMG}</td>
</tr>
-----[ AFTER, ADD ]-----
<tr>
<td class="explaintitle" align="right" nowrap="nowrap">Nickpage:</td>
<td>{U_NICKPAGE}</td>
</tr>
-----[ OPEN ]-----
templates/[color=red]"dein template"[/color]/viewtopic_body.tpl
-----[ FIND ]-----
<td valign="bottom" nowrap="nowrap" class="{postrow.ROW_CLASS}">{postrow.POSTER_ONLINE}{postrow.GALLERY_IMG}{postrow.PROFILE_IMG}{postrow.PM_IMG}{postrow.EMAIL_IMG}{postrow.WWW_IMG}{postrow.AIM_IMG}{postrow.YIM_IMG}{postrow.MSN_IMG}{postrow.ICQ_IMG}
-----[ AFTER, ADD ]-----
<!-- BEGIN Nickpagebutton -->
<a href="{postrow.Nickpagebutton.U_NICKPAGE}">{postrow.NICKPAGE_IMG}</a>
<!-- END Nickpagebutton -->
-----[ OPEN ]-----
portal.php
-----[ FIND ]-----
//
// END - Recent Files
//
-----[ AFTER, ADD ]-----
//
// Newest Nickpages Mod
//
$sql = "SELECT a.user_id, a.username, b.name, b.created FROM ".USERS_TABLE." a, ".NICKPAGE_TABLE." b WHERE b.uid=a.user_id ORDER BY b.created DESC LIMIT 6";
if (!$result = $db->sql_query($sql))
{
message_die(GENERAL_ERROR, 'Could not query Nickpage information', '', __LINE__, __FILE__, $sql);
}
$nickpage_list = $db->sql_fetchrowset($result);
for($i = 0; $i < count($nickpage_list); $i++)
{
$username = $nickpage_list[$i]['username'];
$userdate = $nickpage_list[$i]['created'];
if(strlen($username) > 17)
{ // Limit title length to avoid wrap
$username = strip_tags($username, '<a><ul><li>');
$username = substr($username,0,15);
$username .= "...";
}
$row_color = ( !($i % 2) ) ? $theme['td_color1'] : $theme['td_color2'];
$row_class = ( !($i % 2) ) ? $theme['td_class1'] : $theme['td_class2'];
$template->assign_block_vars('nickpagemod', array(
"ROW_COLOR" => "#" . $row_color,
"ROW_CLASS" => $row_class,
'NAME' => '<a href="' . append_sid("nickpage.php?user=$username") . '">' . $username . '</a>',
'LSEEN_TIME' => date("m.d.y", $nickpage_list[$i]['created']),
)
);
}
[color=red]Thx to Nina3Jungs for this real working Code[/color]
-----[ FIND ]-----
'L_RECENT_FILES' => $lang['Recent_files'],
-----[ AFTER, ADD ]-----
'L_NICKPAGELIST' => $lang['Nickpagelist'],
-----[ FIND ]-----
'U_CONTACT' => append_sid("kontakt.$phpEx"),
-----[ AFTER, ADD ]-----
'U_NICKPAGELIST' => append_sid("nickpage_list.$phpEx"),
-----[ SAVE/UPLOAD ]-----
#
#
#
#
EofM
#
#www.emule@boinc.de
######################################### -
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage
-
Das sind jeweils die Anweisungen die du bzw. ein automatischer mod-installer wie easymod zu befolgen hast:
Beispiel:
-----[ OPEN ]-----
includes/constants.php
diese datei mitm filemanager der nem Editor ?ffnen
-----[ FIND ]-----
define('PAGE_STAFF', -22);
diese Zeile in der Datei finden
-----[ AFTER, ADD ]-----
define('PAGE_NICKPAGE', -99);
Nach der zeile von oben das hier einf?gen
usw. -
Hi,
ich mu? ja nicht bei a anfangen ich mu? ja nur das orange template (irgendwelcheDateien) anpa?en blick da nicht durch wo ich da anfangen mu? installiert ist es ja -
-----[ OPEN ]-----
templates/[color=red]"dein template"[/color]/[color=red]deine #template[/color].cfg
-----[ FIND ]-----
?>
-----[ BEFORE, ADD ]-----
$images['Nickpage_button'] = "templates/nickpage/nickpage_button_big.gif\" class=\"imgfade\" " . "$ifade";
-----[ OPEN ]-----
templates/[color=red]"dein template"[/color]/overall_header.tpl
-----[ FIND ]-----
<!-- END switch_user_logged_in -->
-----[ AFTER, ADD ]-----
<!-- BEGIN Shownickpagebutton -->
?
<a href="{Shownickpagebutton.U_NICKPAGE}">Nickpage</a>
<!-- END Shownickpagebutton -->
Dieser Bereich beschreibt das Einf?gen und adressieren Deines Buttons in die Page
CBR900Biker
-
Hi CBR das hat jetzt super geklappt aber wof?r ist die portal.tpl?
-
Die Portal.tpl ist die Datei, in der der eigentliche Aufbau Deiner Portalseite gespeichert ist. Dort werden Deine ganzen Tabellen erzeugt und ausgegeben.
CBR900Biker -
1 Frage h?tte ich dann noch, ich hab jatzt den Button Nickpage drin, kann man irgendwie im Profil eines Benutzer auch nen link machen wo man drauf klickt umd man ist auf seiner nickpage?
Kannst auch gerne diesen Post ins Spam Forum verschieben, hab immer ein schlwechtes Gewissen beimn schreiben wegen den Gulden, brauch ja nur Hilfe *g* du bist echt klasse
gru? melondj -
Normalerweise m?sste bei der kompletten Installation in der Profil?bersicht eines Users die Nickpage mit auftauchen und auch zum anklicken sein.
Welche Version hast Du denn installiert ? -
Achso dann liegt das wieder an dem template
hab den normalen nickpage mod f?r phpbb plus 1.52 benutzt
-
Diskutiere mit und stelle Fragen: Jetzt kostenlos anmelden!
lima-city: Gratis werbefreier Webspace für deine eigene Homepage