MyXoops Forum

Re: Danke das sie sich einloggen Seite... [Das Einsteiger-Forum] - myXOOPS German Support

Gepostet am:21.02.2003 18:31
glassJAw
glassJAw Offline (Show more)
Posts: 522
Since: 11.02.2003
#7

Re: Danke das sie sich einloggen Seite...

nimm einfach das x2t-theme, dann brauchst du an dem redirect nichts ändern.
außerdem schaut dann der rest der site fast genauso wie diese hier aus!
[size=xx-small]a child's rhyme stuck in my head.
it said that life is but a dream.
I've spent so many years in question
to find I've known this all along.

|~ Maynard James Keenan ~||~ Tool - Third Eye ~|
[/size]

mirk

"myXOOPs"-Neuling
Gepostet am:21.02.2003 18:14
mirk
mirk Offline (Show more)
"myXOOPs"-Neuling
Posts: 49
Since: 22.12.2002
#6

Re: Danke das sie sich einloggen Seite...

ok danke habs gefunden... aber könnte ich jetzt den quelltext aus eurer datei heben???

Advertisement

Gepostet am:0
Advertisement (Show more)
Posts: 0
Since: 0


Hier könnten Sie Ihre Anzeige aufgeben!
Bitte kontaktieren Sie uns, um mehr darüber zu erfahren.
Gepostet am:21.02.2003 13:02
glassJAw
glassJAw Offline (Show more)
Posts: 522
Since: 11.02.2003
#5

Re: Danke das sie sich einloggen Seite...

durch modifikation der datei
include/functions.php

nun suchst du nach der funktion redirect_header und ersetzt sie durch den folgenden code:
/*
* Function to redirect a user to certain pages
*/
function redirect_header($url, $time=3, $message='')
{
  global 
$xoopsConfig, $xoopsRequestUri;
  if (!
headers_sent())
  {
   
header("Location: $url");
 }
 else 
 {
   if (!
defined('XOOPS_CPFUNC_LOADED')) {
      require_once 
XOOPS_ROOT_PATH.'/class/template.php';
     
$xoopsTpl = new XoopsTpl();
     
$xoopsTpl->assign('sitename', $xoopsConfig['sitename']);
      
$xoopsTpl->assign('langcode', _LANGCODE);
     
$xoopsTpl->assign('charset', _CHARSET);
     
$xoopsTpl->assign('time', $time);
     if (
strstr($url, 'user.php')) {
       if (!
strstr($url, '?')) {
         
$url .= '?xoops_redirect='.urlencode($xoopsRequestUri);
       } else {
          
$url .= '&xoops_redirect='.urlencode($xoopsRequestUri);
       }
     }
     
$xoopsTpl->assign('url', $url);
     
$message = trim($message) != '' ? $message : _TAKINGBACK;
     
$xoopsTpl->assign('message', $message);
     
$xoopsTpl->assign('lang_ifnotreload', sprintf(_IFNOTRELOAD, $url));
     
$GLOBALS['xoopsModuleUpdate'] = 1;
      
$xoopsTpl->display('db:system_redirect.html');
      exit();
   } else {
      echo 
'
     <html>
      <head>
      <title>'
.$xoopsConfig['sitename'].'</title>
     <meta http-equiv="Content-Type" content="text/html; charset='
._CHARSET.'" />
      <meta http-equiv="Refresh" content="'
.$time.'; url='.$url.'" />
     <style type="text/css">
         body {background-color : #fcfcfc; font-size: 12px; font-family: Trebuchet MS,Verdana, Arial, Helvetica, sans-serif; margin: 0px;}
         .redirect {width: 70%; margin: 110px; text-align: center; padding: 15px; border: #e0e0e0 1px solid; color: #666666; background-color: #f6f6f6;}
         .redirect a:link {color: #666666; text-decoration: none; font-weight: bold;}
          .redirect a:visited {color: #666666; text-decoration: none; font-weight: bold;}
         .redirect a:hover {color: #999999; text-decoration: underline; font-weight: bold;}
      </style>
      </head>
     <body>
      <div align="center">
      <div class="redirect">
        <span style="font-size: 16px; font-weight: bold;">'
.$message.'</span>
           <hr style="height: 3px; border: 3px #E18A00 solid; width: 95%;" />
        <p>'
.sprintf(_IFNOTRELOAD, $url).'</p>
      </div>
          </div>
      </body>
     </html>'
;
    }
 }
 exit();
}

[size=xx-small]a child's rhyme stuck in my head.
it said that life is but a dream.
I've spent so many years in question
to find I've known this all along.

|~ Maynard James Keenan ~||~ Tool - Third Eye ~|
[/size]

forlon

"myXOOPs"-Neuling
Gepostet am:21.02.2003 12:46
forlon
forlon Offline (Show more)
"myXOOPs"-Neuling
Posts: 35
Since: 02.11.2002
#4

Re: Danke das sie sich einloggen Seite...

Und wie hast Du die abgeschaltet?
--------------------------------------------------
C-JAY.net is my Site
Gepostet am:21.02.2003 12:38
glassJAw
glassJAw Offline (Show more)
Posts: 522
Since: 11.02.2003
#3

Re: Danke das sie sich einloggen Seite...

du kannst diese seiten ändern indem du die folgende datei modifizierst:

system/system_redirect.htm

die datei findest du in der administration im theme-manager.
natürlich kannst du auch zusätzlich die CSS-datei anpassen!

ich für meinen teil hab dir redirects komplett abgeschaltet!
[size=xx-small]a child's rhyme stuck in my head.
it said that life is but a dream.
I've spent so many years in question
to find I've known this all along.

|~ Maynard James Keenan ~||~ Tool - Third Eye ~|
[/size]

mirk

"myXOOPs"-Neuling
Gepostet am:21.02.2003 12:32
mirk
mirk Offline (Show more)
"myXOOPs"-Neuling
Posts: 49
Since: 22.12.2002
#2

Re: Danke das sie sich einloggen Seite...

eben so die seite danke für ihren beitrag... (hab ich gerade gesehn)

mirk

"myXOOPs"-Neuling
Gepostet am:21.02.2003 12:31
mirk
mirk Offline (Show more)
"myXOOPs"-Neuling
Posts: 49
Since: 22.12.2002
#1

Danke das sie sich einloggen Seite...

hallo

ich wollte die gleiche danke...seite wie ihr hier aber benütze ein ganz anderes thema... und habe xoops v2 rc2

kann mir jemand helfen??? thx
Diesen Thread durchsuchen:  1 Anonyme Benutzer

Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5732 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 2061 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag