1
mktwain124
Re: Single installation of xoops using symlinks
  • 2008/6/6 14:49

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


I've done it successfully for subdomains, but it's complicated:
1.) core installation on same server
2.) symlinks created from each subdomain, excluding cache & uploads folders
3.) separate MySQL database for each subdomain - created from phpmyadmin, not XOOPS installation
4.) requires a few core and module hacks

Advantages:
- Performance isn't affected by symlinks
- only have to update one set of core files & saves server space
- separate database allows completely different settings and templates for each subdomain
- can create separate cpanel admin access to each subdomain

Disadvantages:
- core hacks!!!
- my web host disallows symlinks from separate domains even tho they are on the same server, so I can only use on subdomains

Bottom line is that it can be done, but requires pretty good understanding of XOOPS/PHP code.



2
mktwain124
Re: godaddy.com
  • 2004/9/23 15:27

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Same here. I'm very happy with godaddy for domain registration, but host my sites elsewhere.



3
mktwain124
Re: Here are my boys...
  • 2004/9/8 22:03

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


I used to be with HostRocket. Their servers were generally fast and about 95% up. Unfortunately, they were majorly hacked and for some unknown reason had stored my credit card info where outsiders could get to it (why would they do that?) It was a total nightmare! Needless to say, I'm walking around these days with a different credit card and webhost...



4
mktwain124
Re: Simple shopping cart
  • 2004/9/8 21:48

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


A couple of the key OSCommerce devs left and created Zen Cart, which is easier to customize without core modifications, but doesn't have the non-dev contribution/template support.



5
mktwain124
Re: XOOPS Physical Path
  • 2004/5/5 16:52

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Here's another suggestion:

Do you have cpanel access to your site. If yes, use cpanel's File Manager and navigate to the "folder" where XOOPS is installed. It should display the physical path at the top. You might have to add that first part /home/www/*** to it to get the full physical path.



6
mktwain124
Re: XOOPS Physical Path
  • 2004/5/4 16:37

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Try this. Save the code below as a new file titled rootpath.php and upload it to your main directory (same directory where you find files like mainfile.php, index.php, backend.php, user.php) Then point your browser to this file -http://yoursite/rootpath.php and it will display your physical root path. Make sure that this is exactly the same as you have defined in mainfile.php for XOOPS_ROOT_PATH

// Use this script to get the physical root path of your server
// Just upload this file to the main directory and point your browser to it
// http://your_xoops_directory/rootpath.php

<?php
echo "Your root path is <b>".str_replace("\","/",getcwd())."</b><br />";
echo 
"without string replace: <b>".str_replace("\","/",getcwd())."</b>";
?>



7
mktwain124
Re: Site Loading Times?
  • 2004/3/26 19:07

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


7 secs from the US. Cable modem/mid-day.



8
mktwain124
Re: Shoutbox Problem
  • 2004/2/26 22:24

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


I use it with XOOPS 2.0.6 with some problems as well. I got blank posts if I didn't have "use tables" set to "on" and if I tried to use a percentage (i.e. 100%) in the iFrame height rather than just a number. Not sure if I'm going to keep it installed.



9
mktwain124
Re: Blocks in center-left and center-right
  • 2004/2/23 17:45

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


oops, forgot to include that I use this code in both my html pages, so that they look just like my other center blocks:

<div style="padding: 12px 12px 12px 12px;">
  <
fieldset>
    <
legend id="centerCcolumn"><span class="blockTitle"Your Block Title </span></legend>
    <
div class="blockContent">

      <
p align="left"Your Block Text (any html)
      </
p>
    </
div>
  </
fieldset>
</
div>

*** you should change the above <div style> <fieldset> <legend> to match exactly the block styling you designate in theme_blockcenter_c.html and it will look exactly like your other center blocks



10
mktwain124
Re: multi Lists of avatars?
  • 2004/2/23 16:58

  • mktwain124

  • Just popping in

  • Posts: 44

  • Since: 2002/9/27


Well, I was able to add several additional "Lists" to show up in edituser.php?op=avatarform (which a user clicks to display a unique group of avatars to select from.)

Unfortunately, I am running into a problem with the javascript function in misc.php - myimage_onclick(counter) - it starts counting the entire avatar list and returns incorrect selections. Is there any way to change the javascript function to select the avatar from its unique field "avatar_id" rather than the relative "counter" variable?

Sorry, for such a technical post, but if someone can help me with the javascript, I will be able to contribute this hack so others can have more than one "List" of avatar groups.




TopTop
(1) 2 3 4 »



Login

Who's Online

249 user(s) are online (181 user(s) are browsing Support Forums)


Members: 0


Guests: 249


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