228471
vinit
Re: CODING: Support needed for coding index.php
  • 2004/10/28 6:36

  • vinit

  • Just can't stay away

  • Posts: 530

  • Since: 2004/1/10


Looks like the code is ok but the result is not as expected.

edituser.php
Quote:

if (count($errors) > 0) {
include XOOPS_ROOT_PATH.'/header.php';
echo '<div>';
foreach ($errors as $er) {
echo '<span style="color: #ff0000; font-weight: bold;">'.$er.'</span><br />';
}
echo '</div><br />';
$op = 'editprofile';
} else {


The above post code works fine. When ever the Real name is blank or Extra info is blank it gives the relevant error message. Only problem is that the error message is not comming at the place where its expected. Rather the the first line of the html page contains the error message and then comes the code of the page. Where as i was expecting header to come first and then the error message. Given below is what i see as html source code once the page is generated

Quote:

<div><span style="color: #ff0000; font-weight: bold;">Real Name is missing</span><br /></div><br /><!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="en" lang="en">


Some how the error message is comming before the header. Am i missing something here.. could you look into this please.
Thanks



228472
psp2yayd
Groupo management?
  • 2004/10/28 6:17

  • psp2yayd

  • Just popping in

  • Posts: 1

  • Since: 2004/10/28


I noticed that anonymous visitors can't see the content of the forum topics on the main page so I clicked on group management and this message appeared...

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root@kc2.incognitonetworks.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/1.3.31 Server at <mysite> Port 80

can help?



228473
irmtfan
how to change theme for each group?
  • 2004/10/28 6:13

  • irmtfan

  • Module Developer

  • Posts: 3419

  • Since: 2003/12/7


how can i change theme for members of each group to one i want ?
for example i have 2 groups "red" and " blue" and i want change theme for red group to "red-theme" and blue group to "blue-theme"
i dont know the code but write something to get name of groups:

$count count($groups);
for (
$i 0$i $count$i++) {
        
$name$groups[$i]->getVar('name'); }

but i dont know how can change the theme ?



228474
waleed
Re: a weird problem
  • 2004/10/28 5:45

  • waleed

  • Just popping in

  • Posts: 57

  • Since: 2004/4/1 5


It is a weird problem <==== me and my spelling mistakes
Quote:
Is it a dedicated box? A firewall in play? Is he accessing across the Internet or a LAN or local machine?

PS - Is it wierd or a wired problem? Sound like both to me


He usues dial up connection. He is using Windows XP SP1.

Thanks



228475
gravies
Re:xcGallery - Recreate Thumbs??
  • 2004/10/28 5:38

  • gravies

  • Not too shy to talk

  • Posts: 119

  • Since: 2004/8/18


I would like to do this too... I can't find any reference to rebuilding thumbs or medium sized images on this site. The default thumb size is 50 and medium is 400. If you change to larger later then neither is regerated at the larger size. You still get images but they are just stretched. If you delete the files they are not regenerated.

Is this a coppermine problem or a xcgallery problem? How hard was integration of coppermine? Is anyone working on porting the newer versions (1.3.2)?



228476
smdcom
Re:Centering Header

in your theme.html find this code

Quote:

<tr id="header">
<td id="headerlogo" align="center"><center><a href="<{xoops_url}>"><img src="<{xoops_url}>/themes/7dana-round/images/logo.jpg" alt="Design by 7dana.com" border="0" /></a></center></td>
<td align="center" id="headerlogo">&nbsp;&nbsp;</td>
</tr>


add the code with color one... hope this make sense...



228477
smdcom
Re:XOOPS.org on Rank No.1 in our topsites list

Quote:

tjnemez wrote:
is this site for XOOPS only? if so i do not believe this is an XOOPS site:http://www.xoops-topsites.com/out.php?id=106


thank you for reporting...



228478
Smitty1
Re:Registrarion Form Whoas
  • 2004/10/28 4:41

  • Smitty1

  • Just popping in

  • Posts: 3

  • Since: 2004/10/28


On having a closer look at the XOOPS code I think it would be tons easier to just add my existing form into the XOOPS user form & get XOOPS to process it & then add my origianl form handling code to it.

How would I go about this?



228479
Jonnoj
Centering Header
  • 2004/10/28 4:06

  • Jonnoj

  • Just popping in

  • Posts: 8

  • Since: 2004/9/15


My sites url:http://jonnoj.clubhost.us/

Can anyone help me out with centering the header. Would I edit the css file or the theme and what would I edit to fix it?



228480
Smitty1
Registration Form Whoas
  • 2004/10/28 4:03

  • Smitty1

  • Just popping in

  • Posts: 3

  • Since: 2004/10/28


I'm trying to intergrate the registration form for XOOPS into another user form I have.

I want the form to post to a page I already have for my current user form & just add a few lines of code to insert them into the XOOPS database.

I was hoping to just add a few MySQL insert queries into my existing form handler.
Is this possible?
What information/feilds needs to go into the XOOPS database?







Login

Who's Online

87 user(s) are online (53 user(s) are browsing Support Forums)


Members: 0


Guests: 87


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