Fork me on GitHub


 Bas   Précédent   Suivant

« 1 2 3 (4) 5 6 »


Re: Comment changer un theme en theme francais
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
H-Hich, regarde dans le repertoire templates_c et edite la template theme_html.php ou quelque chose comme ça, normalement il devrait y'en avoir plusieurs le nom du thème au quel appartient la template est marquer en commentaire au commencement du code html !

Sinon regarde dans les options Xoops-Preferences, si mettre à jour à partir de /themes est activer !

Posté le : 27/08/2006 23:34
Transférer la contribution vers d'autres applications Transférer


Re: Refaire un bouton "Admin"
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
Merci, ça marche impec mais une derniere chose je voudrais faire la même chose, mais avec un bouton /user.php quand on est identifié ça marque Votre profil, et quand on est pas identifié ça marque s'inscrire !

Merci encore !

Posté le : 18/08/2006 20:09
Transférer la contribution vers d'autres applications Transférer


Re: Problème après passage du serveur sous Debian..
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
Merci !!!!!!!!!!!!!!!!!!!

Je lest ai mis en 777 et ça marche impec !

Je te remercie !

Vive :xfsuper:

Posté le : 18/08/2006 19:59
Transférer la contribution vers d'autres applications Transférer


Problème après passage du serveur sous Debian..
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
Bonjour à tous, alors j'ai un problème, ce matin j'etait encore avec un server sous Windows et j'ai voulu passer à Debian donc j'installe tout va bien hop le serv marche php aussi base de donée SQL ok !

Voila donc j'avait stocker mon site xoops sur un ftp alors je le prend je copie tout les fichiers dans /var/www/ je change dans le mainfile l'user de la BDD, le chemin vers mon site qui avant était C:\www\ maintenant j'ai mis /var/www/ j'ai biensur re-up ma base de donnée donc tout content j'ouvre mon site et la BAM page blanche !

J'ai regarder le code source, il est vierge...

J'ai activer le mode debug et voila ce qu'il me trouve:
This page cannot be displayed due to an internal error.

If 
you are the administrator of this siteplease visit the Xoops Troubleshooting Page for assistance.

Helpful infomation you should provide while asking for assistance:

Notice [PHP]: Undefined indexdebug_mode in file include/common.php line 235
Warning 
[PHP]: in_array(): Wrong datatype for second argument in file include/common.php line 235
Error 
[Xoops]: Smarty errorunable to write to $compile_dir '/var/www/nunux-world/templates_c'Be sure $compile_dir is writable by the web 
server user
in file class/smarty/Smarty.class.php line 1084


J'ai aussi de remmetre le thème par defaut en passant par Phpmyadmin mais rien !

Merci si vous pouvez m'aidez...

PS: J'ai un autre CMS à coter (RUNcms) qui tourne même après mon passage à Debian...

Posté le : 18/08/2006 18:59

Edité par Christian sur 18/08/2006 23:35:33
Transférer la contribution vers d'autres applications Transférer


Refaire un bouton "Admin"
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
Hello à tous !
Alors, je vous éxplique en fait j'ai une navbar dans mon thème avec marquer forum.. etc... et je voudrais rajouter le bouton 'Admin' mais visible que par les Admins...

J'ai donc essayer d'utiliser <{if $xoops_isadmin}> mais je ne sait pas ou le placer...

Je vous donne le template de mon thème:
<?php /* Smarty version 2.6.5-dev, created on 2006-08-18 14:35:28
         compiled from C:/wamp/www/nunux-world/themes/blue_ipb/theme.html */ 
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->_tpl_vars['xoops_langcode']; ?>
" lang="<?php echo $this->_tpl_vars['xoops_langcode']; ?>
">

<head>
<meta http-equiv="content-type" content="text/html; charset=<?php echo $this->_tpl_vars['xoops_charset']; ?>
" />
<meta http-equiv="content-language" content="<?php echo $this->_tpl_vars['xoops_langcode']; ?>
" />
<meta name="robots" content="<?php echo $this->_tpl_vars['xoops_meta_robots']; ?>
" />
<meta name="keywords" content="<?php echo $this->_tpl_vars['xoops_meta_keywords']; ?>
" />
<meta name="description" content="<?php echo $this->_tpl_vars['xoops_meta_description']; ?>
" />
<meta name="rating" content="<?php echo $this->_tpl_vars['xoops_meta_rating']; ?>
" />
<meta name="author" content="<?php echo $this->_tpl_vars['xoops_meta_author']; ?>
" />
<meta name="copyright" content="<?php echo $this->_tpl_vars['xoops_meta_copyright']; ?>
" />
<meta name="generator" content="" />
<title><?php echo $this->_tpl_vars['xoops_sitename']; ?>
 - <?php echo $this->_tpl_vars['xoops_pagetitle']; ?>
</title>
<link href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/favicon.ico" rel="SHORTCUT ICON" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<?php echo $this->_tpl_vars['xoops_themecss']; ?>
" />

<script type="text/javascript">
<!--
<?php echo $this->_tpl_vars['xoops_js']; ?>

//-->
</script>

<script type="text/javascript">
<!--

var getById = (typeof document.getElementById != "undefined");

function toggleDisplay(obj,display1,display2){

    if(!getById) return;
    
    obj = getRef(obj);
    
    if(obj.style.display == display2)
        obj.style.display = display1;
    else
        obj.style.display = display2;
    
    repaintFix();
}

function getRef(obj){
    if(getById)
        return(typeof obj == "string") ? document.getElementById(obj) : obj;
}

function repaintFix(obj){ 
    
    if("undefined" == typeof document.body
      || "undefined" == typeof document.body.style) return;
    
    if(obj == null)
        obj == document.body;
    else obj = getRef(obj);
    
    document.body.style.visibility = "hidden";
    document.body.style.visibility = "visible";
}


//-->
</script>

</head>
<body>
<table cellspacing="0" cellpadding="0" class="bg">
<tr><td>

<table cellspacing="0" cellpadding="0" class="bg1" border="0" >
<tr><td class="header">
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
"/>
<img src="<?php echo $this->_tpl_vars['xoops_url']; ?>
/themes/<?php echo $this->_tpl_vars['xoops_theme']; ?>
/images/logo.jpg"></a> </a>
</td>
<td class="banner"><?php echo $this->_tpl_vars['xoops_banner']; ?>
</td>
</tr></table><br>
</td>
</tr>
<tr>
<td>

<!-- Start Headerbar -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="10">
<img src="<?php echo $this->_tpl_vars['xoops_imageurl']; ?>
images/hbar_left.gif" width="10" height="25" alt="" />
</td>
<td>
<img src="<?php echo $this->_tpl_vars['xoops_imageurl']; ?>
images/swich.gif" width="25" height="25" alt="block control" class="pointer" onclick="toggleDisplay('left','block','none')" />
</td>
<td width="100%" class="topnav">
<!-- navibar set -->
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/">Accueil</a>
&nbsp;&bull;&nbsp;
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/modules/news/">News</a>
&nbsp;&bull;&nbsp;
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/modules/ipboard/">Forum</a>
&nbsp;&bull;&nbsp;
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/modules/mydownloads/">Telechargement</a>
&nbsp;&bull;&nbsp;
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/search.php">Recherche</a>
&nbsp;&bull;&nbsp;
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/user.php">Profil/Se Connecter</a>
&nbsp;&bull;&nbsp;
[size=x-large]C'est ici que je voudrais mettre le truc admin[/size]
<a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/admin.php">Admin</a>

</td>
<td>
<?php if ($this->_tpl_vars['xoops_showrblock'] == 1): ?>
<img src="<?php echo $this->_tpl_vars['xoops_imageurl']; ?>
images/swich.gif" width="25" height="25" alt="block control" class="pointer" onclick="toggleDisplay('right','block','none')" />
<?php endif; ?>
<?php 
if ($this->_tpl_vars['xoops_showrblock'] == 0): ?>
<img src="<?php echo $this->_tpl_vars['xoops_imageurl']; ?>
images/swi_off.gif" width="25" height="25" alt="open and close right-block" alt="block control" />
<?php endif; ?>
</td>
<td width="10">
<img src="<?php echo $this->_tpl_vars['xoops_imageurl']; ?>
images/hbar_right.gif" width="10" height="25" alt="" />
</td>
</tr>
</table>
<!-- End Headerbar -->



</td></tr>

<tr><td><br>
<table cellspacing="2" cellpadding="2"><tr><td id="left" width=170>

<!-- Start left blocks loop -->

<?php if (count($_from = (array)$this->_tpl_vars['xoops_lblocks'])):
    foreach (
$_from as $this->_tpl_vars['block']):
?>
<table class="outline"><tr><td>

<table cellspacing="0" cellpadding="2">
<tr><td class="blockTitle2">&nbsp;<?php echo $this->_tpl_vars['block']['title']; ?>
</td></tr>
<tr><td class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>

</td></tr></table>

</td></tr></table><br>

<?php endforeach; unset($_from); endif; ?>

<!-- End left blocks loop -->

</td>
<td style="padding: 0px 5px 0px;">

<!-- Display center blocks if any -->

<?php if ($this->_tpl_vars['xoops_showcblock'] == 1): ?>
<table cellspacing="0">
<tr><td width="100%" colspan="2">

<!-- Start center-center blocks loop -->

<?php if (count($_from = (array)$this->_tpl_vars['xoops_ccblocks'])):
    foreach (
$_from as $this->_tpl_vars['block']):
?>
<table class="outline"><tr><td>
<table cellspacing="1" cellpadding="5">
<tr><td class="blockTitle">&nbsp;<?php echo $this->_tpl_vars['block']['title']; ?>
</td></tr>
<tr><td class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>
</td></tr></table>
</td></tr></table><br />
<?php endforeach; unset($_from); endif; ?>

<!-- End center-center blocks loop -->

</td></tr>
<tr><td width="50%">

<!-- Start center-left blocks loop -->

<?php if (count($_from = (array)$this->_tpl_vars['xoops_clblocks'])):
    foreach (
$_from as $this->_tpl_vars['block']):
?>
<table class="outline"><tr><td>
<table cellspacing="1" cellpadding="5">
<tr> <td class="blockTitle">&nbsp;<?php echo $this->_tpl_vars['block']['title']; ?>
</td></tr>
<tr><td class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>
</td></tr></table>
</td></tr></table><br />
<?php endforeach; unset($_from); endif; ?>

<!-- End center-left blocks loop -->

</td><td width="50%">

<!-- Start center-right blocks loop -->

<?php if (count($_from = (array)$this->_tpl_vars['xoops_crblocks'])):
    foreach (
$_from as $this->_tpl_vars['block']):
?>
<table class="outline"><tr><td>

<table cellspacing="1" cellpadding="5">
<tr> <td class="blockTitle">&nbsp;<?php echo $this->_tpl_vars['block']['title']; ?>
</td></tr>
<tr><td class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>
</td></tr></table>
</td></tr></table><br />
<?php endforeach; unset($_from); endif; ?>

<!-- End center-right blocks loop -->

</td></tr></table>
<?php endif; ?>

<!-- End display center blocks -->

<div id="content"><?php echo $this->_tpl_vars['xoops_contents']; ?>
</div></td>
<?php if ($this->_tpl_vars['xoops_showrblock'] == 1): ?>
<td id="right" width=170 align=center>

<!-- Start right blocks loop -->

<?php if (count($_from = (array)$this->_tpl_vars['xoops_rblocks'])):
    foreach (
$_from as $this->_tpl_vars['block']):
?>
<table class="outline"><tr><td id="right">

<table cellspacing="0" cellpadding="2">
<tr><td class="blockTitle2">&nbsp;<?php echo $this->_tpl_vars['block']['title']; ?>
</td></tr>
<tr><td class="blockContent"><?php echo $this->_tpl_vars['block']['content']; ?>
</td></tr></table>

</td></tr></table><br>

<?php endforeach; unset($_from); endif; ?>


<!-- End right blocks loop -->

<?php endif; ?></td></tr></table>
</td></tr>
</table>


</td></tr>
</table>

</body>
</html>

Posté le : 18/08/2006 14:51
Transférer la contribution vers d'autres applications Transférer


Re: Deplacer baniere de pub
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
Je comprend ce que tu veut faire, c'est simple suffit d'aller dans la partie Admin tu va dans bannières-->ajouter--> lien de l'image tu ne met rien tu coche juste utiliser du html et tu met ton code qui est celui ci (recuperer dans le code source de ta page ;)
<script type="text/javascript"><!--
google_ad_client "pub-1014012509374561";
google_ad_width 468;
google_ad_height 60;
google_ad_format "468x60_as";
google_ad_type "text_image";
google_ad_channel ="";
google_color_border "336699";
google_color_bg "FFFFFF";
google_color_link "0000FF";
google_color_text "000000";
google_color_url "008000";
//--></script>
<script type="text/javascript"
  
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>

Et voila !

Posté le : 16/08/2006 21:56
Transférer la contribution vers d'autres applications Transférer


Re: Comment changer un theme en theme francais
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
Juste comme ça theside conseil d'ami hein ;) efface le repertoire /install de ton serveur je viens de rentrer dans ta partie admin sur xoops oublie pas de faire ça c'est pour ton bien !

Posté le : 16/08/2006 21:52
Transférer la contribution vers d'autres applications Transférer


Re: Xoops et wampserver : problème d'installation ?
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
J'ai eu le même problème il suffit de:

édite le fichier : /install/class/mainfilemanager.php

change :

$content = fread($file, filesize($this->path) );
fclose($file);



par :

clearstatcache();
$content = fread($file, filesize($this->path) );
fclose($file);



et refais l'installation.

Source:MR Blueteen

Posté le : 12/08/2006 11:54
Transférer la contribution vers d'autres applications Transférer


Re: Problème, j'ai éffacé la table sql pour les smilies
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
Merci beaucoup SVN c'est ceci que j'attendais !

Merci aussi eagle d'avoir éssayé de m'aider !

Posté le : 02/06/2006 18:35
Transférer la contribution vers d'autres applications Transférer


Problème, j'ai éffacé la table sql pour les smilies
Aspirant
Inscrit: 09/04/2006 17:19
Messages: 55
Bonjour à tous.

Voila comme le dit le titre, suite à une fausse manip j'ai éffacé la table forumzone_smilies je voudrais bien savoir comment la récupéré car la tout mes smilies ont disparus et je suis dans l'impossibilité d'en rajouté.

Ps: j'ai oublié de faire une save de ma BDD SQL...

Merci pour vos futurs reponses, qui je l'esperent regleront mes problèmes.

Posté le : 02/06/2006 17:25

Edité par moi123 sur 02/06/2006 18:36:57
Transférer la contribution vers d'autres applications Transférer



 Haut
« 1 2 3 (4) 5 6 »




Propulsé avec XOOPS | Graphisme adapté par Tatane, Grosdunord, Montuy337513

57 Personne(s) en ligne (48 Personne(s) connectée(s) sur Forum) | Utilisateur(s): 0 | Invité(s): 57 | Plus ...