361
sbkiller
Re: News Title
  • 2004/7/28 19:32

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Thx!



362
sbkiller
Re: Main Menu
  • 2004/7/28 1:14

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Doesn't work the program



363
sbkiller
Main Menu
  • 2004/7/28 1:08

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


What is the best way to add extra link into the main menu so the theme also wrap it up.

I tried it before in some templates but ended up-side-down you know what I mean...

anyone know?

thx



364
sbkiller
Re: Multiple sites
  • 2004/7/28 0:59

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


What do you mean multiple site... maybe you can give me an example.



365
sbkiller
Re: custom blocks based on sign in
  • 2004/7/28 0:53

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Here, I hope it will help you.

1. Make an html in your theme folder.
(Make sure you file 100% is blank without codes)

theme_blocklogin.html


2. Copy & Paste this into theme_blocklogin.html
<{if $xoops_isuser}>
            <
div style="font:Verdana, Arial, Helvetica, sans-serif; font-size:10px; font-weight:bold; text-align:left ">
                 &
nbsp;&nbsp;Hello&nbsp;<a href="<{$xoops_url}>/user.php"><{$xoops_uname}></a>!
            </
div>
    <{else}>               
          <
form onkeyup="highlight(event)" onclick="highlight(event)" style="margin-top: 2px; margin-bottom: 0px" action="<{$xoops_url}>/user.php" method="post"
              &
nbsp;&nbsp;<input class="form" name="uname" onblur="if(this.value=='') this.value='Username';" onfocus="if(this.value=='Username') this.value='';" type="text" value="Username" size="10" /> 
              <
input class="form" onblur="if(this.value=='') this.value='Password';" onfocus="if(this.value=='Password') this.value='';" value="Password" name="pass" type="password" size="10" /> 
              <
input type="hidden" name="op" value="login" /> 
              <
input class="button" name="submit" type="submit" value="Login" /> 
          </
form
<{/if}>


3. Make another blank html in your theme folder

theme_blockjoin.html

4. Put this in
<{if $xoops_isuser}>
            <
div style="font:Verdana, Arial, Helvetica, sans-serif; font-size:10px; font-weight:bold; ">
                 <
a href="<{$xoops_url}>/user.php?op=logout">Logout</a>
            </
div>
<{else}> 
            <
form style="margin-top: 2px; margin-bottom: 0px" action="<{$xoops_url}>/register.php" method="post"
              <
input class="button" name="submit" type="submit" value=" Join " /> 
            </
form
<{/if}>


5. Save them

6. Open the theme.html

7. Make a table and cells

8. Use this code for the Login Box
<{include file="themeFOLDER/theme_blocklogin.html"}>


9. Use this for the Join button $ logout
<{include file="themeFOLDER/theme_blockjoin.html"}>


10. Save them and upload it.

Info:

Before user login or guest will only see the login box such as username and pass, login button and the join button.

After user logged in they see the welcome message and the logout button.

Before:
------------------------------
| User | Pass [login] [join] |
------------------------------

After:
------------------------------
| Welcome, username [logout] |
------------------------------

You can make this script into a block mode or into your theme.

You can also customize the welcome msg in the theme_blocklogin.html


The real example:

http://test.maxmzone.com




366
sbkiller
Re: Edit Template File - HTML doesn't "Save"
  • 2004/7/28 0:34

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


Everything is possible because it's an Open Source websystem.

All you do, it hack the source file that you need to fit your site, change the way it's function.



367
sbkiller
Re: Looking for designer / coder...
  • 2004/7/28 0:27

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


It's possible

You just have to play around the theme.html templates.

For me a first time understanding the theme system in the XOOPS took my about two days to figured it out.

For the best, you have to know the basis of CSS, HTML, PHP, and XHTML.

Also if might required some programs which can help you to edit the theme and some FTP program.

When you are making a theme, you also have to edit the templates in the administrator area. You have to Clone the Default theme before your edit.

Also in the Admin area General Setting, make sure you enable the option on theme (something for auto update theme recently). You have to turn it off if you are done with your theme.



368
sbkiller
Re: Your thoughts on Kooshin.com
  • 2004/7/28 0:05

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


I chose to switch tohttp://www.fuitadnet.com/ til my current webhost contract ended. (1 year, dam...)

My current hosting also have TOS prevent 18+ material but I don't put 18+ material.lol



369
sbkiller
Something need to be add in the future of Xoops: 2
  • 2004/7/27 23:55

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


You know when you post in the forum with the insert code mode for scripts and after you submitted it.

I can only see the codes and the box but one thing missing... it's the code word on top of the box.

It appear in the insert quote which it said quote on top.

anyways now people will still do understand the box what is it inside... lol

just a suggestion.



370
sbkiller
Something need to add and remove for future version of Xoops
  • 2004/7/27 23:52

  • sbkiller

  • Just can't stay away

  • Posts: 461

  • Since: 2004/6/9 2


You know when you login, posting, commenting, voting etc...
after you press the button it will go into a white page it said please wait, if you don't want to wait click here...blablbala...

That thing made the site bad look and I rather you make that page transition into the skin not outside.

NewBB forum when you delete a topic, it appear a good result with transition. Like Please wait and redirect to the page.

I know that you can customize it now but I suggest that you change that into the skin(theme) wrap.

Sometime that message is useless, because many site doesn't have that.

Maybe good for the server traffic, and make people to wait a moment but also other people around the world also browser the site while you are waiting to be redirected.

If you want to keep this transition page, it's fine but maybe you make it build into with theme and I know it will load much longer but also it gives better time for the server if you think the server needs time??

Thx




TopTop
« 1 ... 34 35 36 (37) 38 39 »



Login

Who's Online

172 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 172


more...

Donat-O-Meter

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

Latest GitHub Commits