1
kjs222
Module/Site Loading Issue: "WWW" Dependant
  • 2006/3/9 17:49

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Hi All,

Our site has been up for a few years now; but there's a nagging problem that keeps arising.

When you access the site using either:

www.domainname.com or
domainname.com

Everything loads properly.

However, when you access certain modules (in this case, newbb v.1) the

- "domainname.com/modules/newbb(/index.php)" works fine, while
- "www.domainname.com/modules/newbb(/index.php)" loads up a blank page.

(Note, the same goes with /modules/newbb/*)

I'm positive the problem depends on the mainfile.php setting for site url. Currently the site url is: domainname.com - if I change the site url to www.domainname.com, then the module loads fine using www.

Oh, I don't get any blatant error messages when I set php debug on.

So... I'm guessing that others have encountered this before. For all I know it could have been fixed in subsequent versions of newbb. If anyone has insight, I'd appreciate.

Thanks,
Keith
Oh Canada!... Best episode ever.



2
kjs222
Re: MySQL on Windows Installation
  • 2005/12/23 4:05

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


BTW brash,

I do congradulate you for being a Microsoft IIS MVP.

Resized Image


Best wishes,
Keith
Oh Canada!... Best episode ever.



3
kjs222
Re: MySQL on Windows Installation
  • 2005/12/23 3:54

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Quote:

... The fact that you lack the technical know how to install and configure Xoops/MySQL on a Windows system is in no way a short coming of Microsofts operating systems, so don't pretend it is anything otherwise....


I hardly have to defend my statement. The figures provided show that (for me) Windows was either too complicated or too foriegn or to restrictive or something. Therefore, for me, Linux was an immensley better solution, and therefore I endorse it.

If you feel Windows is better for some reason, that's great. It probably means you know how to set up Windows far better than I do. You could probably setup Linux better than I too! Way to go!

Cheers,
Keith
Oh Canada!... Best episode ever.



4
kjs222
Re: MySQL on Windows Installation
  • 2005/12/22 23:25

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Wise indeed.

Stats:

Windows install time: 10 hours
Status: Unsuccessful

Linux install time: 15 minutes
Status: Perfect

Conclusion... hmmm... hard to say.
Oh Canada!... Best episode ever.



5
kjs222
Re: MySQL on Windows Installation
  • 2005/12/22 22:59

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Haha, too late - I'm switching to Linux. Ahhh, good old linux. If anyone else is in my situation, my personal recommendation is Linux. It just works. Go with a trusted shared hosting plan (I personally use icdsoft.com), and laugh your way to a simple setup and reliable service.

Wishing never to deal with a Windows server again...

Keith
Oh Canada!... Best episode ever.



6
kjs222
MySQL on Windows Installation
  • 2005/12/22 19:42

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Hi All,

Hmmm... I must have installed XOOPS on Linux 25+ times. Now I need to install it on Windows, and I am once again reminded of how much I love Microsoft (enough said).

So, I'll keep this short, and hopefully some Windows-saavy xoopster out there can quickly tell me where I'm messed up.

1. This client is on GoDaddy's windows NT server... not my choice :).

2. My error is one that I've seen many times on this forum:

Warning [PHP]: extension_loaded() has been disabled for security reasons in file d:hostingjkrenpublic2classdatabasemysqldatabase.php line 74
Error 
[Xoops]: MySQL extension not loaded in file d:hostingjkrenpublic2classdatabasemysqldatabase.php line 74


3. You can see PHP info and the error message on my joint phpinfo/index.php screen:

http://pursuingwisdom.org/public2/index.php

4. Due to not having access to the host machine (foolish GoDaddy binds our hands - it hurts us!), I actually populated the database manually, edited mainfile.php manually, and then tried index.php...


========================================

My Quesions:

- is this for sure a problem with php.ini?
- Could it be some problem with XOOPS configuration?
- If it is a problem with php.ini - how could I solve this given that my hands are tied on a foolish windows shared hosting account with GoDaddy?

Many thanks in advanced. I'll also accept the answer "screw foolish Windows and move the client to linux"... I'm already [] close to doing so.

Cheers,
Keith
Oh Canada!... Best episode ever.



7
kjs222
CRM (Customer Relations Manager) Module?
  • 2004/8/9 14:38

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Is there a simple CRM module that includes snail-mail personal information tracking linked to the standard XoopsUser?

General Specificaitons
Quote:

The Information needed for standard snail-mailing applications is:

Title 
First Name 
Middle Name 
Last Name 
Suffix 
Mailing Address 
City 
State/Province 
Zip/Postal Code 
Country 
Phone 
E-Mail (overlap from Xoops)

The idea behind this module is to collect information from each individual user (private per-user) and also for staff to be able to manage that information (all users).

Note that all this information should be processed using javascript/backend verifiers for correct-ness. Also note that a "GOOD" solution would not only provide these fields, but include the kind of user-friendly - possibly javascript-automated pull-downs for things like Title, Suffix, State/Province, & Country. Also, a "GOOD" solution should have some intelligence when checking phone number and zip/postal code.

- Due to the headaches of version controlling and system upgrading (particularly in light of possible overhauls of UserInfo in XOOPS 2.1), I'm leaning towards a separate module linked to the XoopsUserID. The information in this module wouldn't need to be embedded into current pages (like registration, User Profile, or Edit Profile) rather it could simply be a link from these pages to the module's own page.




I've looked into wjue's guanxicrm site, and while it looks promising, there doesn't appear to be a prototype available (for XOOPS Module). Also, as my site is primarily for US/Canada contacts, I'm not sure if his module is suited for that (he specifies other countries as the target).

Also, on this thread, Ackbarr mentions that the new XOOPS 2.1 might include customized user information tools. This seems interestesting to me, however, I havn't found a link to see what features the new version offers (can anyone provide me with that?).

Finally, I've looked at general PHP CRM systems (which was what first led me to wjue's module), but most of these appear to be more complicated than what I'm looking for, and I don't have any experience (yet) of porting PHP scripts to XOOPS modules.

If none an existing module nor a new XOOPS version exists, then I'd consider creating a module that suits my needs myself (or trying to find a XOOPS developer to do it for me - if you're interested, PM me with your experience and price).

So, I'm interested in feedback on a number of levels:
1. Might guanxicrm work for me in the forseeable future?
2. Are there any other XOOPS Modules that could handle my specifications?
3. Is there a link to / what are the features of the new XOOPS user system for XOOPS 2.1?
4. How difficult is it to port another PHP script to XOOPS (or would it be easier to start from scratch)?
5. If you're interested in being contracted for development in this project (given no other solutions work), PM me your rate / experience.
6. If you were in my situation, what would you do?

Many thanks,
Keith



8
kjs222
Re: Top Page - Can't Keep The Start Module On Top
  • 2004/8/8 1:47

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Good-day,

The order you're experiencing can be explained by analyzing the index.html page in your site's "/themes/[your current theme]/index.html" file.

You'll find here the php template that defines how your page is put together. It includes loops to show each block element, and if you're at all familiar with HTML and source code, you'll quickly understand why your experience happens.

The issue lies in the following code:

Quote:

<td id="centercolumn">

<!-- Display center blocks if any -->
<{if $xoops_showcblock == 1}>

<table cellspacing="0">
<tr>
<td id="centerCcolumn" colspan="2">

<!-- Start center-center blocks loop -->
<{foreach item=block from=$xoops_ccblocks}>
<{include file="default/theme_blockcenter_c.html"}>
<{/foreach}>
<!-- End center-center blocks loop -->

</td>
</tr>
<tr>
<td id="centerLcolumn">

<!-- Start center-left blocks loop -->
<{foreach item=block from=$xoops_clblocks}>
<{include file="default/theme_blockcenter_l.html"}>
<{/foreach}>
<!-- End center-left blocks loop -->

</td><td id="centerRcolumn">

<!-- Start center-right blocks loop -->
<{foreach item=block from=$xoops_crblocks}>
<{include file="default/theme_blockcenter_r.html"}>
<{/foreach}>
<!-- End center-right blocks loop -->

</td>
</tr>
</table>

<{/if}>
<!-- End display center blocks -->

<div id="content">
<{$xoops_contents}>
</div>
</td>


This is the cell for the center column (as indicated by the css tag). Within this cell, there are divs and tables defined for particular block-types and content, the order seen above (which is from default theme set) is:

- Center Center column blocks
- Center Left column blocks
- Center Right column blocks, and
- Content (which refers to the actual content of this page).

With this information in-hand, there's two solutions:

1. Go into your active theme's index.html file and re-position the blocks as you wish (fir instance, you could cut out the Center-Center column blocks from the top and move them to the bottom). This is quite simple, so long as you have a basic understanding of HTML - it'll do exactly what you tell it to.

2. Download, install, activate, and order a module that displays news items in blocks. I know there are a few; I've only used "spotlight" myself (and I like it). I belive there's another called something like "lykoszine," as well as a number of block-packages I've ran into - I believe I tried and failed to install lykoszine in the past, but that doesn't mean it won't work for you.

Hope that helps,

Keith



9
kjs222
Re: Customisation of Xoops Registration screen
  • 2004/8/7 20:04

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Hi There,

I too am interested in extending the user table in the database. I've hacked a couple sites already to take out AIM/MSN and replace them with relevant user data, however updated site specifications call for user fields similar to:

https://psoriasis.org/secure/membership.php

(No, I am not at all associated with this site)

One idea that's always been at the back of my mind is to retain the old XOOPS User table integrity (thereby avoiding headaches on upgrades) and instead simply add a module that handles the extra information, and on the database side have a table that links to User's primary ID... ... but I'm guessing no-one's done that yet?

I'm pretty sure a lot of XOOPS admins out there have already created such a user info table (since it's standard for any kind of snail-mail communication or demographic research).

So... I guess I'll either have to start hacking the user table or wait; all the same, I'd be interested in hearing how others addressed this issue, and if anyone has these "standard" fields successfully coded.

All the best for a fast 2.1 release!

Keith



10
kjs222
Re: Private Messages: Outbox
  • 2004/8/6 21:50

  • kjs222

  • Friend of XOOPS

  • Posts: 116

  • Since: 2003/3/1 1


Hi All,

I hardly remember working on this one, but I tried the below installation procedure on a fresh XOOPS and it seems to work without a hitch! Lucky for me, yay for you, and many thanks to the original authors, who did most of the work!

The good news is install is easy; download, unzip and upload the contents (two files) into site root.

You'll find the zip file here.

The second good news is install is real easy - put a link somewhere into the site pointing to:

"http://yoursiteurl/mpenviadas.php"

Hmmm... there's not much bad news... except that there's a chance you'll select (and list) messages that you don't want... for instance, I seem to remember when I first installed these files, it would list notifications as sent by particular users... while they are actually sent automatically.

The solution for that one was to add a "where" clause in the SQL select statement (mpenviadas.php:16). So, my advice to you is to install it and see if it works, and if it selects stuff you don't want, go into the line specified above and find a text string that works for you... if you're confused, ask, and I'll try to clarify :).

Happy coding everyone, and thanks again to the original author.

Keith




TopTop
(1) 2 3 4 ... 11 »



Login

Who's Online

94 user(s) are online (78 user(s) are browsing Support Forums)


Members: 0


Guests: 94


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