11
mktwain124
Re: Blocks in center-left and center-right
  • 2004/2/23 15:53

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Here's another way which has worked for me. I wanted to display the same thing, so I put the following code into my theme.html file, right after the call to display the left column:

<td id="centercolumn">
  <{if 
$xoops_showcblock == 1}>
    <
table cellspacing="0">
      <{if !
$xoops_isuser}>
    <
tr>
      <
td id="centerTopcolumn" colspan="2">
      <{
php}>include("uploads/topblock_guest.html");
      <{/
php}>
      </
td>
    </
tr>
    <
tr>
      <{/if}>
        
      <{if 
$xoops_isuser}>
        <
tr>
          <
td id="centerTopcolumn" colspan="2">
          <{
php}>include("uploads/topblock_user.html");
      <{/
php}>
          </
td>
        </
tr>
        <
tr>
      <{/if}>
    <
tr>

*** and 
then normal call to centerLcolumncenterRcolumn and centerCcolumnThe ending </if> is at the end of the centercolumn section ***

Then I put the 2 html files in my uploads folder. This way there is a different first block to display depending whether visiter has logged in or not. Also, if you don't want the block to display, you can have a blank html with the same name, rather than having to recode your theme.html file.

BTW, my homepage is set to None, but I've tested this with it set to News and Forums and it still works. Hope this helps.





12
mktwain124
multi Lists of avatars?
  • 2004/2/22 21:57

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Has anyone hacked edituser.php?op=avatarform to show more than one list of avatar groups?

If you have more than a couple dozen avatars, the popUpWindow that displays them loads too slowly. It would be ideal to have several Links - when clicked, where each would display a different group of avatars in the popUpWindow.

Xoops 1.3 had such a hack, but that was before kernel/avatar structure.



13
mktwain124
global xoopsUser?
  • 2004/2/22 0:14

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


I would like to call the function getUnameFromId($uid) from kernel/user.php to use within a specific module. For example, within a module I have a specific $uid and would like to use that function to retrieve and display the uname. I tried using
global xoopsUser;

at the top of the page, but that didn't work. Any suggestions on how to make a function like this available to a page within a module? Thanks in advance.



14
mktwain124
Re: xoops.js used to be localized as xoopsjs.php
  • 2004/2/13 18:43

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


_THANK_YOU, now I _SOMEWHAT_UNDERSTAND



15
mktwain124
Re: xoops.js used to be localized as xoopsjs.php
  • 2004/2/13 14:42

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Just out of curiosity, what's the problem with including xoops.js?



16
mktwain124
Re: How to say the word "xoops"

wow, what a fun site! Thanks for sharing it.



17
mktwain124
xoopslists - dropdown and text field together?
  • 2004/1/1 23:30

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


I'm trying to create a form field in edituser.php that can use items from a defined list in xoopslists.php, but can also accept text entry. Within the context of the XoopsFormSelect class, is this possible?

For example, I've added a country field to the user table and can fill it with a dropdown list in edituser.php using the XoopsFormSelectCountry class. However, I would like to allow the user to alternatively input their own text for the "country" field, if they don't see the selection they want in the dropdown list.

I've not seen this used in any of the other dropdowns used in Xoops. Thanks in advance for any help.



18
mktwain124
Re: The email address block is always yellow? How can I change it?
  • 2003/12/29 2:21

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


me, too!

Thanks for clearing that up



19
mktwain124
Re: Xoops search with memory
  • 2003/12/28 20:20

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Quote:
I'll have our devs look into this (but I also recommend getting firebird!)

Regardless of what an XOOPS admin uses for a browser, the majority of users/members out there use IE5.5 and IE6, so we need to make sure it works for them.



20
mktwain124
Re: Agenda-X 2.0 wish list
  • 2003/12/11 17:56

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Quote:
Is it just me or because of December that makes a click into Agenda-X from minical that brings it to 2004 instead of 2003?

There is a correction that needs to be made in approx line 66 of minical.inc.php [correct so that year=".$y."]

Change this:
echo "<a href=$agendax_url/index.php?op=cal&month=".$m."&year=".$ny.">";


To this:
echo "<a href=$agendax_url/index.php?op=cal&month=".$m."&year=".$y.">";


Great module wjue! Thanks for all your hard work




TopTop
« 1 (2) 3 4 »



Login

Who's Online

221 user(s) are online (139 user(s) are browsing Support Forums)


Members: 0


Guests: 221


more...

Donat-O-Meter

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

Latest GitHub Commits