11
glennnphp
Re: Random Member ... ?
  • 2006/9/4 15:42

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


thanks that worked well...



12
glennnphp
Re: Random Member ... ?
  • 2006/9/4 15:27

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


thanks very much ---

i've tried to hire someone to help me "correct" a query i have running against another table to where it queries the xoops_avatars table instead. haven't had anyluck with someone who knows MySQL real well. i wonder if you'd be willing to look at the (short) script? i can pay a little.

can i PM it to you?



13
glennnphp
Re: Random Member ... ?
  • 2006/9/4 15:18

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


i got it - i can just run that query and print the XML, right? save it as a php file...?



14
glennnphp
Re: Random Member ... ?
  • 2006/9/4 15:11

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


well, one of the blocks is New Members, and it shows a list of Members and their Avatars (if selected) - obviously the five (or however many i choose) newest ones.

i guess the code for these blocks is XML?

so instead of Listing x New Members, i'd like to list 1 Random member. our site is built around highlighting the members themselves (entertainers, etc).



15
glennnphp
Re: Random Member ... ?
  • 2006/9/4 15:03

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


awesome - instead of printing a link, can that query be made to just appear as Viewed Member on a timed interval? Just like a New Members block, but with just one...



16
glennnphp
Random Member ... ?
  • 2006/9/4 14:05

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


i would like to display a random Member, or a Daily Member Spotlight would be better - anyone know of a module or capability?

thanks



17
glennnphp
Re: editing the header
  • 2006/9/3 6:58

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


hey Snow, can i hire you to do something that probably woon't take you 15 minutes? in MySQL? it's an older script that needs to just call the new xoops_users tables... shouldn't be much at all...?



18
glennnphp
Re: editing the header
  • 2006/9/3 6:54

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


yeah, that's what i've been doing. it still doesn't work with the imge backgrounded, but it works with the image inserted as long as i clean the smarty templates each time.

theyre a pain!! what's the point? how was i supposed to change logo.gif to begin with???



19
glennnphp
Re: editing the header
  • 2006/9/3 6:30

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


found it - it was in my smarty templates...



20
glennnphp
Re: editing the header
  • 2006/9/3 6:22

  • glennnphp

  • Just popping in

  • Posts: 54

  • Since: 2006/8/30


Quote:

snow77 wrote:
their there but your design doesn't need them.

take that table you have and replace it with this:

<table width="100%" cellspacing="0">
    <
tr >
      <
td id="headerbanner">&nbsp;</td>
    </
tr>
    <
tr>
      <
td id="headerbar" colspan="2">&nbsp;</td>
    </
tr>
</
table>


and your style.css likes this:


#headerbanner {
background-color: #FFFFFF;
background-image: url(LTLF.gif);
background-repeat: no-repeat;
background-position: center;
height: 155px;
}


it's actually easy, with just a little more practice with css



this:

<table width="100%" cellspacing="0">
<tr id="header">
<td height="76" align="center" id="headerlogo"><a href="<{$xoops_url}>/"></a>sdfgsdhf</td>
</tr>
<tr>
<td id="headerbar" colspan="2">&nbsp;</td>
</tr>
</table>


has actually been in theme.html for over an hour and i haven't seen any changes yet. i just left it like that...

i notice that it's calling a headerlogo id that's nowhere in my XOOPS folder...




TopTop
« 1 (2) 3 4 5 6 »



Login

Who's Online

114 user(s) are online (70 user(s) are browsing Support Forums)


Members: 0


Guests: 114


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