[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.

Guestbook4u nummerierung

Go to page 1, 2  Next
This forum is locked: you cannot post, reply to, or edit topics.    This topic is locked: you cannot edit posts or make replies.    Printer Friendly Page     Forum Index ›  Guestbook 4U

View previous topic :: View next topic  
Author Message
mskphi
Agent
Agent

Offline Offline
Joined: Jul 15, 2004
Posts: 99

PostPosted: 19.07.2004 00:27
Post subject: Guestbook4u nummerierung

moin, bin fleissig am testen, hab bei mir (manchmal??) das problem, dass die einträge alle die gleiche nummer haben. hab das problem erst nach ein paar einträgen festgestellt. hat das noch jemand??


mskphi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache1.3.33/PHP 4.4.7/MySQL 4.0.27/CPG 9.1.2.1
Back to top
View user's profile Visit poster's website
mskphi
Agent
Agent

Offline Offline
Joined: Jul 15, 2004
Posts: 99

PostPosted: 19.07.2004 00:29
Post subject: Re: Guestbook4u nummerierung

ups, sorry, falsches forum, oder??


mskphi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache1.3.33/PHP 4.4.7/MySQL 4.0.27/CPG 9.1.2.1
Back to top
View user's profile Visit poster's website
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 19.07.2004 12:18
Post subject: Re: Guestbook4u nummerierung

benutzt du die aktuelle version ?

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
mskphi
Agent
Agent

Offline Offline
Joined: Jul 15, 2004
Posts: 99

PostPosted: 20.07.2004 19:36
Post subject: Re: Guestbook4u nummerierung

ja, 8.2a
sollte ich mir die version irgendwie zerschossen haben? taucht der fehler sonst nicht auf?


mskphi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache1.3.33/PHP 4.4.7/MySQL 4.0.27/CPG 9.1.2.1
Back to top
View user's profile Visit poster's website
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 20.07.2004 22:50
Post subject: Re: Guestbook4u nummerierung

und aktuelleste guestbook4u version auch ?

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
mskphi
Agent
Agent

Offline Offline
Joined: Jul 15, 2004
Posts: 99

PostPosted: 29.07.2004 00:06
Post subject: Re: Guestbook4u nummerierung

inzwischen bin ich bei version 8.2b. das problem besteht weiterhin. allerdings kann ich nicht genau nachvollziehen woran es liegt. manchmal passt die darstellung, machmal nicht...


mskphi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache1.3.33/PHP 4.4.7/MySQL 4.0.27/CPG 9.1.2.1
Back to top
View user's profile Visit poster's website
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 16.08.2004 14:30
Post subject: Re: Guestbook4u nummerierung

demolink?

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
mskphi
Agent
Agent

Offline Offline
Joined: Jul 15, 2004
Posts: 99

PostPosted: 16.09.2004 18:03
Post subject: Re: Guestbook4u nummerierung

guestbook ist auf meiner hp. ausloeser


mskphi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache1.3.33/PHP 4.4.7/MySQL 4.0.27/CPG 9.1.2.1
Back to top
View user's profile Visit poster's website
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 24.09.2004 12:27
Post subject: Re: Guestbook4u nummerierung

hi ,

teste mal folgendes :

modules/guestbook4u/index.php

$g_i => $gbook4u_i
und

$g_id => $gbook4u_id

ändern

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
mskphi
Agent
Agent

Offline Offline
Joined: Jul 15, 2004
Posts: 99

PostPosted: 26.09.2004 21:32
Post subject: Re: Guestbook4u nummerierung

habs jetzt so gelöst:
Array:
$g_id = $total_entry-$entry;
$g_i=$g_id+1;
...
$g_i--;
scheint zu funktionieren und sieht toll aus!! Shocked
trotzdem danke für den hinweis auf die stelle, hat mir suchen erspart.


mskphi's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache1.3.33/PHP 4.4.7/MySQL 4.0.27/CPG 9.1.2.1
Back to top
View user's profile Visit poster's website
Aragon01
Guest





PostPosted: 21.10.2004 19:12
Post subject: Re: Guestbook4u nummerierung

Habe das selbe Problem, nur das keine der Vorschläge mir weitergeholfen hat ( oder es liegt an mir *g*)

[quote]modules/guestbook4u/index.php

$g_i => $gbook4u_i
und

$g_id => $gbook4u_id

ändern[/quote]

muss ich doch dann alle Variablen dementsprechend ändern, oder?

Den nselbst wenn ich diese ersetze, tut sich an der Nummerirung nichts. Er scheint passend zu zählen, nimmt aber halt die Zahl der Einträge als Nummer für alle Einträge ;-/
Back to top
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 22.10.2004 15:28
Post subject: Re: Guestbook4u nummerierung

demolink?

_________________
.: USE THE FORCE :.
Helft mit ! Keine Unbeantworteten Beiträge mehr

Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
Aragon
Investigator
Investigator

Offline Offline
Joined: Oct 20, 2004
Posts: 6

PostPosted: 23.10.2004 03:51
Post subject: Re: Guestbook4u nummerierung

Stimmt, wär nicht uninteressant *g*

macht-doof.de/cpgnuke/...uestbook4U


Aragon please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
Aragon
Investigator
Investigator

Offline Offline
Joined: Oct 20, 2004
Posts: 6

PostPosted: 25.10.2004 10:11
Post subject: Re: Guestbook4u nummerierung

Hm.. gibts hier kein Edit oder so?

Also, habe eben was witziges festgestellt.. Bin ich als Admin eingeloggt, zählt das Gästebuch korrekt, logge ich mich als normaler User / als Gast ein, bekommt jedes GB Post als Ziffer die der Gesamtzahl an Posts... Vllt grenzt das ja mein Problem ein...


Aragon please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 25.10.2004 13:43
Post subject: Re: Guestbook4u nummerierung

in modules/guestbook4u/index.php

function ShowGuestbook4U($module_name,$entry)
{
require_once("header.php");

global $db, $prefix, $admin, $module_name, $entry, $total_entry;
global $bgcolor1, $bgcolor2, $AllowableHTML;
global $gbook4uinfo, $navigation;

OpenTable();
echo "[ &lt;a href=\"".getlink("Guestbook4U&amp;amp;op=AddEntry")."\"&gt;". _SIGNGUESTBOOK."&lt;/a&gt;</b> ]";
CloseTable();

Overall_Header();
echo "<br />";
$sql = "select * from ".$prefix."_guestbook4u order by id desc limit $entry, ".$gbook4uinfo['entries_per_page']."";
$result = $db-&gt;sql_query($sql); $gbook4u_id = $total_entry-$entry;while ($row = $db-&gt;sql_fetchrow($result))
{
OpenTable();
// $date = $row['date'];
$date=date("d.m.Y",$row['date']);

$comment = $row['comment'];
$comment = check_words($comment);

if ($gbook4uinfo['allow_html'] == 0) { $comment = htmlspecialchars($comment); }
// if ($gbook4uinfo['allow_nbbcode'] == 1){ $comment = decode_bbcode($comment); }
// if ($gbook4uinfo['allow_smilies'] == 1){ $comment = set_smilies($comment); }
if ($gbook4uinfo['allow_nbbcode'] == 1){ $comment = decode_bbcode(set_smilies(encode_bbcode($comment)),1); }


if (($gbook4uinfo['show_userinfo'] == 1) and ($row['user'] == '1')){
echo "<b>$gbook4u_id.<a href=\"".getlink("Your_Account&amp;op=userinfo&amp;username=".$row['name']."")."\"&gt;".$row['name']."</b>&lt;/a&gt;\n";
}else{
echo "<b>$gbook4u_id.".$row['name']."</b>\n";
}
if ($row['email']) {
echo " &lt;a href=\"mailto:".$row['email']."\"&gt;&lt;img border=\"0\" alt=\"Email\" align=\"middle\" src=\"modules/".$module_name."/images/mail.gif\" width=\"20\" height=\"17\"&gt;&lt;/a&gt;\n";
}
if ($row['url']) {
echo " &lt;a href=\"".$row['url']."\" target=\"_blank\"&gt;&lt;img border=\"0\" alt=\"Homepage\" src=\"modules/".$module_name."/images/url.gif\" align=\"middle\" width=\"20\" height=\"20\"&gt;&lt;/a&gt;\n";
}

// $gbook4u_i--;
echo "<b>&lt;img alt=\"$module_name\" src=\"modules/".$module_name."/images/post.gif\" width=\"9\" height=\"9\"&gt;$date</b>";
CloseTable();

OpenTable();
echo "<br />";
$comment = substr($comment, 0, $gbook4uinfo['max_wordlength']);
echo $comment;
echo "<br />";
CloseTable();

if (is_admin($admin)){
OpenTable();

if ($gbook4uinfo['show_id'] == 1){
echo "&amp;nbsp;&lt;img alt=\"ID\" src=\"modules/$module_name/images/lock.gif\"&gt;&amp;nbsp;&amp;nbsp;ID:".$row['id']."";
}

if ($gbook4uinfo['show_ip'] == 1){
$hostname = ( eregi("^[-a-z_]+", $row['host']) ) ? "Host" : "IP";
echo "&amp;nbsp;&amp;nbsp;&lt;img alt=\"IP \" src=\"modules/$module_name/images/ip.gif\"&gt;&amp;nbsp;&amp;nbsp;$hostname: ".$row['host']." - ";
}


echo "[&amp;nbsp;&lt;a href=\"".adminlink("Guestbook4UEditEntry&amp;amp;id=$row[id]")."\"&gt;"._EDITENTRY."&lt;/a&gt;";
echo "&amp;nbsp;|&amp;nbsp;&lt;a href=\"".adminlink("Guestbook4UDeleteEntry&amp;amp;id=$row[id]")."\"&gt;"._DELETEPOST."&lt;/a&gt;&amp;nbsp;]";



CloseTable();
} $gbook4u_id--;echo "<br />";
}habe downloads aktualliesiert

einfach index.php überschreiben


Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
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.    Printer Friendly Page    Forum Index ›  Guestbook 4U
Page 1 of 2
All times are GMT + 1 Hour
Go to page 1, 2  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