1
jaylach
Re: Error msg
  • 2010/8/30 4:40

  • jaylach

  • Just popping in

  • Posts: 7

  • Since: 2010/8/24


While you may have installed in the root of your public folder you probably did not actually install to the root of your hosting area. Most decent hosting has areas you can access outside of your public folder. All public folder means is what can be accessed via a browser on the internet.

From the path, Folder /home/thdradmi/public_html/xoops_data, we can see that the above is your case. You would want to move the Xoops data to the 'thdradmi' folder. This is good security as these files are then in an area that can not be reached by an outside browser. You will need an FTP client to do this. I suggest Filezilla.

Someone else is going to have to tell you what configuration files you are going to have to edit to reflect the move.

To be honest, unless you have done a lot already, I think it would be easier to just do a new install.



2
jaylach
Re: Default home page
  • 2010/8/28 15:23

  • jaylach

  • Just popping in

  • Posts: 7

  • Since: 2010/8/24


Go to Admin/Preferences/General

Select a module to use as the start page.



3
jaylach
Re: Champions League Result Football module
  • 2010/8/27 21:54

  • jaylach

  • Just popping in

  • Posts: 7

  • Since: 2010/8/24


The Matchdart module would probably do well for you. To make it look right I'm sure you would need to change some text but I would not think that to be difficult.
https://xoops.org/modules/repository/singlefile.php?cid=78&lid=1724



4
jaylach
Re: webtraffic module?
  • 2010/8/27 20:38

  • jaylach

  • Just popping in

  • Posts: 7

  • Since: 2010/8/24


If you are looking for what I think you are you might want to look at FireStats athttp://firestats.cc/ .

I does need a data base but will be quite content sharing with your Xoops data base.

It will give you some PHP code that you would insert in your mainfile.php. It does not really matter where you insert it as long as it is not within a conditional statement.

The code FireStats gives you will look something like the following.
<?php include('complete site path'); fs_add_site_hit(1); ?>


You would need to remove the <?php and ?> to make it look like,
include('complete site path'); fs_add_site_hit(1);





5
jaylach
Re: Modified who's on-line template as a user welcome
  • 2010/8/27 17:48

  • jaylach

  • Just popping in

  • Posts: 7

  • Since: 2010/8/24


Thanks for the response. :)

I was already thinking of getting rid of the notifications link and adding articles and blog.



6
jaylach
User menu template in box modification
  • 2010/8/27 16:30

  • jaylach

  • Just popping in

  • Posts: 7

  • Since: 2010/8/24


I wanted to have the private message in box in my user menu but without sub options. However I also wanted a display of the number of new messages.

I also wanted separate user menu listings for in box and pm.

First I made the pm module not visible. Then I added the following lines to my user menu template. It works great and only displays the new message count if there are actually unread messages.

<a href="http://my.jaylach.com/modules/pm">Messaging</a>

<
a href="<{xoAppUrl viewpmsg.php}>" title="<{$block.lang_inbox}>"><{$block.lang_inbox}><{if $block.new_messages 0}>&nbsp;(<{$block.new_messages}>&nbsp;unread)<{/if}></a>



7
jaylach
Modified who's on-line template as a user welcome
  • 2010/8/27 16:08

  • jaylach

  • Just popping in

  • Posts: 7

  • Since: 2010/8/24


Hi, very much a newbie here. ;)

I just installed Xoops a couple of weeks ago to build a community type site so I really have no idea as to what I am doing.

I wanted to have welcome messages display for guests and registered members. The guest welcome was more than simple, just create a custom block viewable only by anonymous. The welcome for members gave me a bit more trouble. I wanted to have the welcome display their user name in the message. I also wanted just admins to see who's on-line.

I tried repeatedly to create a custom block as a welcome displaying the user name with no success. Then it dawned on me that I could modify the who's on-line template.

I surrounded the original template with an if $xoops_isadmin statement and added my welcome before the if. It works just fine!

I would like to do things in a correct manner so my question is how should I have done this? I have a hunch my solution would not be considered proper.

I can only offer my site as a demo.
http://my.jaylach.com
username: xoops
password: xoopsforum

Thank you for any insight and instruction.
Jay

<div align="center"><h2><strong>Welcome back, <{$xoops_uname}>!<br>
Great to see you again.</strong></h2><br>
<
strong>View any new <a href="<{xoAppUrl notifications.php}>" title="<{$block.lang_notifications}>">notifications</a>.<br>
Go to your <a href="<{xoAppUrl viewpmsg.php}>" title="<{$block.lang_inbox}>"><{$block.lang_inbox}>inbox</a>.
</
strong>
</
div><br><br>
<{if 
$xoops_isadmin}>
<{
$block.online_total}><br /><br />
<{
$block.lang_members}>: <{$block.online_members}><br />
<{
$block.lang_guests}>: <{$block.online_guests}><br /><br />
<{
$block.online_names}>
<
a href="javascript:openWithSelfMain('<{$xoops_url}>/misc.php?action=showpopups&type=online','Online',420,350);" title="<{$block.lang_more}>">
    <{
$block.lang_more}>
</
a>
<{/if}>




TopTop



Login

Who's Online

248 user(s) are online (176 user(s) are browsing Support Forums)


Members: 0


Guests: 248


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