Achtung: In deinem Browser ist JavaScript entweder nicht installiert oder deaktiviert. Einige Funktionen dieser Seite stehen daher leider für dich nicht zur Verfügung.

Login

Benutzeranmeldung

Geben Sie Ihren Benutzernamen und Ihr Passwort ein, um sich an der Website anzumelden:

Kennwort vergessen?

reihenfolge der posts


Autor Nachricht
Verfasst am: 08. 12. 2005 [13:39]
Anonymous
Themenersteller
Dabei seit: 29.12.2005
Beiträge: 29
ähhh... sollte der neuste eintrag in nem thema nicht ganz oben stehen?
Verfasst am: 08. 12. 2005 [17:32]
DustbinLaws
Dabei seit: 24.11.2005
Beiträge: 206
nein
ich kenn kein forum, bei dem das so is

http://www.ebay.orion-fx.com/OrionEffekte_FuzzUp.gif
Verfasst am: 08. 12. 2005 [18:24]
alex
Alex
Dabei seit: 24.11.2005
Beiträge: 3891
Heyho lieber Gast icon_smile.gif


Das ist normal so - hier wie in so gut wie jedem anderen Forum auch.
Verfasst am: 09. 12. 2005 [00:11]
Skepnad
Dabei seit: 01.12.2005
Beiträge: 71
Es gibt Foren, bei denen der neuste Beitrag oben steht. Aber die sehe ich recht selten.

http://oenothera.de/midgardforum/grafiken/banner_klein.jpg
Verfasst am: 11. 01. 2006 [14:24]
Anonymous
Themenersteller
Dabei seit: 29.12.2005
Beiträge: 29
Es gibt sehrwohl Boards, auf denen die neuesten Beiträge "oben" stehen.

Es gibt sogar welche, da kann sich jeder User selbst aussuchen wie es dargestellt werden soll.

Siehe: www.lpi-clan.de

Für den Admin:

http://www.phpbb.com/phpBB/viewtopic.php?p=1427432

[code:1:4c7742badf]##############################################################
## MOD Title: Post Display Order MOD
## MOD Author: warmweer <undisclosed email> (N/A) testsite removed since it's not up to date
## MOD Description: This MOD will allow your members to choose a general sort order for the posts in viewtopic.
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: ±20 minutes
## Files To Edit: 7
## viewtopic.php
## includes/usercp_register.php
## includes/usercp_avatar.php
## admin/admin_users.php
## language/lang_english/lang_main.php
## templates/subSilver/profile_add_body.tpl
## templates/subSilver/admin/user_edit_body.tpl
##
## Included Files: n/a
##
##############################################################
## For Security Purposes, Please Check: http://www.phpbb.com/mods/ for the
## latest version of this MOD. Downloading this MOD from other sites could cause malicious code
## to enter into your phpBB Forum. As such, phpBB will not offer support for MOD's not offered
## in our MOD-Database, located at: http://www.phpbb.com/mods/
##############################################################
## Author Notes:
## This mod adds an extra setting with which the user can specify the general post display ordering in viewtopic. Default sortorder when registering is Descending (Newest_first). This can be changed in usercp_register (look at the POST_VAR sortorder)
## User and admin can change the selected display order.
##
##############################################################
## MOD History:
##
## 2003-08-30 - Version 1.0.0
## - submitted to MODdb (corrected a FIND and changed version)
## 2003-08-27 - Version 0.0.2
## - Corrected a few mistakes and left-outs in the install instructions
## 2003-08-09 - Version 0.0.1
## - Initial code release
##
##############################################################
## MOD Localisation:
##
## N/A
##
#################################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
#################################################################

#
#-----[ SQL ]------------------------------------------
# If you do not know how to do the below SQL dump from command line, than you will need to
# download, install & use an SQL Interface, such as:
# MySQL: phpMyAdmin ( http://www.phpmyadmin.net/ )
# PostgreSQL: PostgreSQL Manager ( http://ems-hitech.com/pgmanager/ )
#
ALTER TABLE phpbb_users ADD user_sortorder TINYINT null DEFAULT '0';
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_register.php
#
#-----[ FIND ]------------------------------------------
#
$popup_pm = ( isset($HTTP_POST_VARS['popup_pm']) ) ? ( ($HTTP_POST_VARS['popup_pm']) ? TRUE : 0 ) : TRUE;
#
#-----[ AFTER, ADD ]------------------------------------------
#
$sortorder = ( isset($HTTP_POST_VARS['sortorder']) ) ? ( ($HTTP_POST_VARS['sortorder']) ? TRUE : 0 ) : 0;
#
#-----[ FIND ]------------------------------------------
#
$sql = "UPDATE " . USERS_TABLE .
" SET " . $username_sql . $passwd_sql
#
#-----[ IN-LINE FIND ]-------------------------------------
#
user_style = $user_style,
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
user_sortorder = $sortorder,
#
#-----[ FIND ]------------------------------------------
#
$sql = "INSERT INTO " . USERS_TABLE . " (user_id, username, user_regdate, user_password, user_email,
#
#-----[ IN-LINE FIND ]-------------------------------------
#
user_style,
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
user_sortorder,
#
#-----[ FIND ]-------------------------------------
#
VALUES ($user_id, '" . str_replace("\'", "''", $username) . "', " . time() . ", '" . str_replace("\'", "''", $new_password) . "', '" . str_replace("\'", "''", $email) . "',
#
#-----[ IN-LINE FIND ]-------------------------------------
#
$user_style,
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
$sortorder,
#
#-----[ FIND ]------------------------------------------
#
$allowviewonline = $userdata['user_allow_viewonline'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$sortorder = $userdata['user_sortorder'];
#
#-----[ FIND ]-------------------------------------
#
display_avatar_gallery($mode, $avatar_category, $user_id, $email, $current_email, $coppa, $username, $email,
#
#-----[ IN-LINE FIND ]-------------------------------------
#
$user_style,
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
$sortorder,
#
#-----[ FIND ]------------------------------------------
#
'NOTIFY_PM_NO' => ( !$notifypm ) ? 'checked="checked"' : '',
#
#-----[ AFTER, ADD ]------------------------------------------
#
'SORTORDER_ASC' => ( $sortorder ) ? 'checked="checked"' : '',
'SORTORDER_DESC' => ( !$sortorder ) ? 'checked="checked"' : '',
#
#-----[ FIND ]------------------------------------------
#
'L_ALWAYS_ADD_SIGNATURE' => $lang['Always_add_sig'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_SORT_ASCENDING' => $lang['Oldest_First'],
'L_SORT_DESCENDING' => $lang['Newest_First'],
#
#-----[ FIND ]------------------------------------------
#
'L_NOTIFY_ON_PRIVMSG' => $lang['Notify_on_privmsg'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_MESSAGE_ORDER' => $lang['Select_message_order'],
#
#-----[ OPEN ]-------------------------------------
#
includes/usercp_avatar.php
#
#-----[ FIND ]-------------------------------------
#
function display_avatar_gallery($mode, &$category, &$user_id, &$email, &$current_email, &$coppa, &$username, &$email,
#
#-----[ IN-LINE FIND ]-------------------------------------
#
&$style,
#
#-----[ IN-LINE AFTER, ADD ]-------------------------------------
#
&$sortorder,
#
#-----[ FIND ]-------------------------------------
#
$params = array('coppa', 'user_id', 'username', 'email', 'current_email', 'cur_password', 'new_password',
#
#-----[ IN-LINE FIND]-------------------------------------
#
'style',
#
#-----[ IN-LINE AFTER, ADD]-------------------------------------
#
'sortorder',
#
#-----[ OPEN ]------------------------------------------
#
language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Always_notify_explain'] = 'Sends an e-mail when someone replies to a topic you have posted in. This can be changed whenever you post.';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Select_message_order'] = 'Select the order in which posts will be shown';
#
#-----[ OPEN ]------------------------------------------
#
admin/admin_users.php
#
#-----[ FIND ]------------------------------------------
#
$popuppm = ( isset( $HTTP_POST_VARS['popup_pm']) ) ? ( ( $HTTP_POST_VARS['popup_pm'] ) ? TRUE : 0 ) : TRUE;
#
#-----[ AFTER, ADD ]------------------------------------------
#
$sortorder = ( isset($HTTP_POST_VARS['sortorder']) ) ? ( ($HTTP_POST_VARS['sortorder']) ? TRUE : 0 ) : 0;
#
#-----[ FIND ]------------------------------------------
#
SET " . $username_sql . $passwd_sql . "user_email = '" . str_replace("\'", "''", $email) . "', user_icq = '" . str_replace("\'", "''", $icq) . "', user_website = '" . str_replace("\'", "''", $website) . "',
#
#-----[ IN-LINE FIND ]-------------------------------------
#
user_style = $user_style,
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
user_sortorder = $sortorder,
#
#-----[ FIND ]------------------------------------------
#
$notifypm = $this_userdata['user_notify_pm'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
$sortorder = $this_userdata['user_sortorder'];
#
#-----[ FIND ]------------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="notifypm" value="' . $notifypm . '" />';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$s_hidden_fields .= '<input type="hidden" name="sortorder" value="' . $sortorder . '" />';
#
#-----[ FIND ]------------------------------------------
#
'NOTIFY_PM_NO' => (!$notifypm) ? 'checked="checked"' : '',
#
#-----[ AFTER, ADD ]------------------------------------------
#
'SORTORDER_ASC' => ( $sortorder ) ? 'checked="checked"' : '',
'SORTORDER_DESC' => ( !$sortorder ) ? 'checked="checked"' : '',
#
#-----[ FIND ]------------------------------------------
#
'L_ALWAYS_ADD_SIGNATURE' => $lang['Always_add_sig'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_SORT_ASCENDING' => $lang['Oldest_First'],
'L_SORT_DESCENDING' => $lang['Newest_First'],
#
#-----[ FIND ]------------------------------------------
#
'L_NOTIFY_ON_PRIVMSG' => $lang['Notify_on_privmsg'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_MESSAGE_ORDER' => $lang['Select_message_order'],
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES}:</span></td>
<td class="row2">
<input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />
<span class="gen">{L_YES}</span>  
<input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_MESSAGE_ORDER}:</span></td>
<td class="row2">
<input type="radio" name="sortorder" value="1" {SORTORDER_ASC} />
<span class="gen">{L_SORT_ASCENDING}</span>  
<input type="radio" name="sortorder" value="0" {SORTORDER_DESC} />
<span class="gen">{L_SORT_DESCENDING}</span></td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/user_edit_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_ALWAYS_ALLOW_SMILIES}:</span></td>
<td class="row2">
<input type="radio" name="allowsmilies" value="1" {ALWAYS_ALLOW_SMILIES_YES} />
<span class="gen">{L_YES}</span>  
<input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_MESSAGE_ORDER}:</span></td>
<td class="row2">
<input type="radio" name="sortorder" value="1" {SORTORDER_ASC} />
<span class="gen">{L_SORT_ASCENDING}</span>  
<input type="radio" name="sortorder" value="0" {SORTORDER_DESC} />
<span class="gen">{L_SORT_DESCENDING}</span></td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
//
// Decide how to order the post display
//
#
#-----[ AFTER, ADD ]------------------------------------------
#
if ($userdata['user_sortorder'] == 0)
{
$user_post_order = 'desc';
$user_post_time_order = 'DESC';
}
else
{
$user_post_order ='asc';
$user_post_time_order = 'ASC';
}
#
#-----[ FIND ]------------------------------------------
#
$post_order = 'asc';
$post_time_order = 'ASC';
#
#-----[ REPLACE WITH ]------------------------------------------
#
$post_order = $user_post_order;
$post_time_order = $user_post_time_order;
#
#-----[ FIND ]------------------------------------------
#
if ( !empty($post_id) )
{
$start = floor(($forum_topic_data['prev_posts'] - 1) / intval($board_config['posts_per_page'])) * intval($board_config['posts_per_page']);
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( !empty($post_id) )
{
if ($userdata['user_sortorder'] == 0)
{
$sql = "SELECT COUNT(post_id) AS total_posts FROM " . POSTS_TABLE . " WHERE forum_id = " . $forum_id . " AND topic_id = " . $topic_id;
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Could not obtain number of posts in topic", '', __LINE__, __FILE__, $sql);
}
$total_posts = ( $row = $db->sql_fetchrow($result) ) ? intval($row['total_posts']) : 0;

$start = floor(($total_posts - $forum_topic_data['prev_posts'] )/ intval($board_config['posts_per_page'])) * intval($board_config['posts_per_page']);
}
else
{
$start = floor(($forum_topic_data['prev_posts'] - 1) / intval($board_config['posts_per_page'])) * intval($board_config['posts_per_page']);
}
}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM[/code:1:4c7742badf]
Verfasst am: 11. 01. 2006 [22:10]
Kalevala
Dabei seit: 14.12.2005
Beiträge: 72
HERRJE! :shock:
Was ist das denn für ein grausiges Geschreibsel... icon_rolleyes.gif icon_lol.gif

Satyam eva jayate.
(Mundakorpanisad 3.1.6)


Humppaa tai kuole!
Verfasst am: 11. 01. 2006 [22:20]
alex
Alex
Dabei seit: 24.11.2005
Beiträge: 3891
Eine Anleitung, den Quelltext des Boardes dahingehend zu ändern, dass neue Posts obne stehen.

Aber ich lasse das lieber so, wie es ist.

Danke trotzdem.
Verfasst am: 28. 10. 2021 [11:57]
rodericktaplin4765
Roderick Taplin
Dabei seit: 28.10.2021
Beiträge: 2
Is there anyone here who is also having a problem on accessing the other topic boards?

about us
Verfasst am: 03. 11. 2021 [15:41]
hervedew9561
Herve Dew
Dabei seit: 03.11.2021
Beiträge: 1
You helped me a lot indeed and reading this.

apprenez en plus
Verfasst am: 17. 11. 2021 [11:05]
robertsmith2845
Robert Smith
Dabei seit: 28.10.2021
Beiträge: 2
Why is there an SQL error when accessing some page of the forum?

mobilemechanicoforlando.com
Verfasst am: 20. 12. 2021 [16:56]
nilehack9257
nilehack9257
Dabei seit: 20.12.2021
Beiträge: 1
I’m definitely delighted I found it.

https://www.toiturevictoriaville.com/
Verfasst am: 19. 01. 2022 [16:48]
robertlee2353
Robert Lee
Dabei seit: 19.01.2022
Beiträge: 1
Those codes at the top is gonna be useful for those who need to study the flow of that particular program.

read more
Verfasst am: 01. 02. 2022 [15:35]
rodericktaplin4765
Roderick Taplin
Dabei seit: 28.10.2021
Beiträge: 2
I agree with the author of this thread, why they don't do it anyway?

mobile auto repair lehi
Verfasst am: 13. 02. 2022 [16:47]
raymondballard6355
Raymond Ballard
Dabei seit: 13.02.2022
Beiträge: 1
The free download link of discography of some bands is awesome, keep uploading them.

htts://www.pavingprosoflasvegas.com/contact-us/
Verfasst am: 30. 03. 2022 [21:45]
richardgagnon9563
Richard Gagnon
Dabei seit: 30.03.2022
Beiträge: 1
I want to thank you.

click here
Verfasst am: 27. 06. 2022 [23:04]
calebmable8545
Caleb Mable
Dabei seit: 27.06.2022
Beiträge: 1
To the next. Cheers!

essouchage
Verfasst am: 27. 07. 2022 [22:21]
ryannaber6565
ryannaber6565
Dabei seit: 27.07.2022
Beiträge: 1
It's for my mission.

emondagesaint-jerome.com



Waldbühne lädt bei freiem Eintritt ein

Von Erinnerungen, Rückblicken und Genuss

Wolken mit Gesichtern oder Jesus auf einem Pfannkuchen

Hinzu kommen Borknagar, Wolfheart und Hinayana

Neues Album und Tour im nächsten Jahr

Sieben Alpha-Hein-Mücks

Doomiges Live-Konzert in eine mögliche neue Normalität