11
ZPC
Re: The case of the vanishing custom HTML blocks?!?!
  • 2005/10/31 1:34

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


How about deleting all files in /template_c and refreshing the modules in Module admin?




12
ZPC
Re: Please Help For Install XOOPS
  • 2005/10/29 22:12

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


Sorry I can't, cause I am not that handy in unix/linux.

Is it your machine? If you are running Suse Linux and you don't know how to load extension in PHP I must be dreaming and having a really bad dream ... Just kidding...

There might be somebody to tell you more, than just go to installation notes of MySQL and php and follow the instructions ...



13
ZPC
Re: User Menu and Login Block
  • 2005/10/29 22:05

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


ok ... we solved it over ICQ ...



14
ZPC
Re: User Menu and Login Block
  • 2005/10/29 20:46

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


...and there are also mistakes in the HTML ... some missing closin cell tags - </td> ....



15
ZPC
Re: User Menu and Login Block
  • 2005/10/29 20:43

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


I am still not sure if I understand you correctly ...

In the logged-in menu is no background ...
Resized Image

and you want to have the menu to have the same background as the log-in block?
Resized Image

Just like the left menus on Dev.Xoops.org.China??
You will have to select the Imago08 theme...



16
ZPC
Re: User Menu and Login Block
  • 2005/10/29 20:07

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


I am not sure ... if I understand what is the problem. Cause I think the menu supposed to be green when you move the mouse over it ...
Btw, isn't it somehow modified IMAGO:THEME?


Could you make a screen cap of it?



17
ZPC
Re: User Menu and Login Block
  • 2005/10/29 19:48

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


Probably ...

1) the anonymous login block ...
Put the </form> behing the links ...
<{$block.sslloginlink}>
<
a href="<{$xoops_url}>/user.php#lost">Recuperar password!</a>
<
a href="<{$xoops_url}>/register.php">Registar-me!</a>
[
color=FF0000][b]</form>[/b][/color]


2) menu background ...
I would have to see the websites stylesheet ... could you provide here the address of the website? It would help a lot.

Happy xoopsing...



18
ZPC
Re: Remote linking avatars
  • 2005/10/29 19:32

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


The solution shouldn't be too difficult, but needs deeper thoughts ... e.g. in which modules is the avatar used? (which you use?)

Btw, are we talking about XOOPS 2.0 or 2.2?

I am not very familiar with the version 2.2, but in version 2.0.* it would be a lot of hacks into the module/block php files.
The path of the file is usualy (system blocks, newbb) shown similarly to this:

Quote:
'avatar' => XOOPS_UPLOAD_URL.'/'.$userinfo['user_avatar']


...so you guess that you would have to change all the avatar-cabable-to-show blocks/module/template files ... it would be a quite hack ... not talking about the possible database problem, because there is 30 characters limit to the name of the uploaded image - and that probably wouldn't be enough for linking images from some websites...

But still ... it wouldn't be a too big deal hack ... one would just have to remember with every version update to change the updated files...

It's up to you...

Happy xoopsing...



19
ZPC
Re: Please Help For Install XOOPS
  • 2005/10/29 19:12

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


There is no mySql extension loaded to PHP on your server ...

See the same problem here:

XOOPSFAQS: Fatal error: MySQL extension not loaded in...

You (or admin of that server) will have to install the MySQL extension to php ...


One comment I can't resist to say - do you think it's smart to show all the info to you site? Address, database name/login/password?
It's like having a banner ad: HACKERS ARE WELCOME!!!
I suggest to delete those images...

Take care and happy xoopsing...



20
ZPC
Re: User Menu and Login Block
  • 2005/10/29 19:04

  • ZPC

  • Official Support Member

  • Posts: 76

  • Since: 2002/1/16


ok, I had some problem to understand what you want, but I guess I got it ...
note - you will maybe need some CSS editing too, but to this later...

1) line-up of the login block for anonymous user
Just delete the Break behind the "Lembrar" ... you might need to add there some non-breakable space (&nbsp;) instead to make it look nice ...
<input type="checkbox" name="rememberme" value="On" class ="formButton" />Lembrar[color=FF0000][b]<br />[/b][/color]


2) line-up of the user menu of logged-in user
There are probably different ways how to do that. Besides some CSS tweaking (removing the Display:block; directive from the menu and adding some padding arond to get the similar effect, but... ) I think, probably the easiest way with just HTML would be to put this menu in one row of table cells.
Now:
<{if ($xoops_isuser)}>
<!-- 
Codigo do user menu -->
<
td id="usermenu">
      <
class="menuTop" href="<{$xoops_url}>/user.php">Minha Conta</a>
      <
a href="<{$xoops_url}>/edituser.php">Editar Conta</a>
      <
a href="<{$xoops_url}>/notifications.php">Notifica??es</a>
      <
a href="<{$xoops_url}>/user.php?op=logout">Sair</a>
      <{if 
$block.new_messages 0}>
        <
class="highlight" href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}> (<span style="color:#ff0000; font-weight: bold;"><{$block.new_messages}></span>)</a>
      <{else}>
        <
a href="<{$xoops_url}>/viewpmsg.php">Caixa de entrada</a>
      <{/if}>

      <{if 
$xoops_isadmin}>
        <
a href="<{$xoops_url}>/admin.php">Administra??o</a>
      <{/if}>
    </
td>

    <{else}>


And after that table-cell inprisonment:

<{if ($xoops_isuser)}>
<!-- 
Codigo do user menu -->
<
td id="usermenu">
<
table><tr>
      <
td><class="menuTop" href="<{$xoops_url}>/user.php">Minha Conta</a></td>
      <
td><a href="<{$xoops_url}>/edituser.php">Editar Conta</a></td>
      <
td><a href="<{$xoops_url}>/notifications.php">Notifica??es</a></td>
      <
td><a href="<{$xoops_url}>/user.php?op=logout">Sair</a></td>
      <{if 
$block.new_messages 0}>
        <
td><class="highlight" href="<{$xoops_url}>/viewpmsg.php"><{$block.lang_inbox}> (<span style="color:#ff0000; font-weight: bold;"><{$block.new_messages}></span>)</a></td>
      <{else}>
        <
td><a href="<{$xoops_url}>/viewpmsg.php">Caixa de entrada</a></td>
      <{/if}>

      <{if 
$xoops_isadmin}>
        <
td><a href="<{$xoops_url}>/admin.php">Administra??o</a>
      <{/if}></
td>
    </
tr></table>
    </
td>

    <{else}>


There might be a little problem with the style of the new table which is around the menu ... but it depends on the CSS you use, if there is any border, padding, margin for any table, tr and td tags...

Test it ... and we will see...

Happy xoopsing




TopTop
« 1 (2) 3 4 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

57 user(s) are online (30 user(s) are browsing Support Forums)


Members: 1


Guests: 56


Mamba,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits